autoshift_observer_notification_statuses
Creates, updates, deletes or gets an autoshift_observer_notification_status
resource or lists autoshift_observer_notification_statuses
in a region
Overview
Name | autoshift_observer_notification_statuses |
Type | Resource |
Description | Definition of AWS::ARCZonalShift::AutoshiftObserverNotificationStatus Resource Type |
Id | aws.arczonalshift.autoshift_observer_notification_statuses |
Fields
Name | Datatype | Description |
---|---|---|
status | object | Definition of AWS::ARCZonalShift::AutoshiftObserverNotificationStatus Resource Type |
account_id | string | User account id, used as part of the primary identifier for the resource |
region | string | Region, used as part of the primary identifier for the resource |
region | string | AWS region. |
For more information, see AWS::ARCZonalShift::AutoshiftObserverNotificationStatus
.
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Status, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all autoshift_observer_notification_statuses
in a region.
SELECT
region,
status,
account_id,
region
FROM aws.arczonalshift.autoshift_observer_notification_statuses
WHERE region = 'us-east-1';
Gets all properties from an individual autoshift_observer_notification_status
.
SELECT
region,
status,
account_id,
region
FROM aws.arczonalshift.autoshift_observer_notification_statuses
WHERE region = 'us-east-1' AND data__Identifier = '<AccountId>|<Region>';
INSERT
example
Use the following StackQL query and manifest file to create a new autoshift_observer_notification_status
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.arczonalshift.autoshift_observer_notification_statuses (
Status,
region
)
SELECT
'{{ Status }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.arczonalshift.autoshift_observer_notification_statuses (
Status,
region
)
SELECT
'{{ Status }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: autoshift_observer_notification_status
props:
- name: Status
value:
Status: null
DELETE
example
/*+ delete */
DELETE FROM aws.arczonalshift.autoshift_observer_notification_statuses
WHERE data__Identifier = '<AccountId|Region>'
AND region = 'us-east-1';
Permissions
To operate on the autoshift_observer_notification_statuses
resource, the following permissions are required:
Create
arc-zonal-shift:UpdateAutoshiftObserverNotificationStatus
Read
arc-zonal-shift:GetAutoshiftObserverNotificationStatus
Delete
arc-zonal-shift:UpdateAutoshiftObserverNotificationStatus,
arc-zonal-shift:GetAutoshiftObserverNotificationStatus
List
arc-zonal-shift:GetAutoshiftObserverNotificationStatus