Skip to main content

lifecycle_policies

Retrieves a list of lifecycle_policies in a region

Overview

Namelifecycle_policies
TypeResource
Descriptionlifecycle_policies
Idawscc.imagebuilder.lifecycle_policies

Fields

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the lifecycle policy.
regionstringAWS 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