Skip to main content

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

Nameautoshift_observer_notification_statuses
TypeResource
DescriptionDefinition of AWS::ARCZonalShift::AutoshiftObserverNotificationStatus Resource Type
Idaws.arczonalshift.autoshift_observer_notification_statuses

Fields

NameDatatypeDescription
statusobjectDefinition of AWS::ARCZonalShift::AutoshiftObserverNotificationStatus Resource Type
account_idstringUser account id, used as part of the primary identifier for the resource
regionstringRegion, used as part of the primary identifier for the resource
regionstringAWS region.

For more information, see AWS::ARCZonalShift::AutoshiftObserverNotificationStatus.

Methods

NameAccessible byRequired Params
create_resourceINSERTStatus, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__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.

/*+ create */
INSERT INTO aws.arczonalshift.autoshift_observer_notification_statuses (
Status,
region
)
SELECT
'{{ Status }}',
'{{ region }}';

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