lifecycle_policies
Retrieves a list of lifecycle_policies
in a region
Overview
Name | lifecycle_policies |
Type | Resource |
Description | lifecycle_policies |
Id | awscc.imagebuilder.lifecycle_policies |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | The Amazon Resource Name (ARN) of the lifecycle policy. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
arn
FROM awscc.imagebuilder.lifecycle_policies
WHERE region = 'us-east-1'
Permissions
To operate on the lifecycle_policies
resource, the following permissions are required:
Create
iam:PassRole,
imagebuilder:CreateLifecyclePolicy,
imagebuilder:GetLifecyclePolicy,
imagebuilder:TagResource
List
imagebuilder:ListLifecyclePolicies