Data Source schema for AWS::ImageBuilder::LifecyclePolicy
id
(String) Uniquely identifies the resource.arn
(String) The Amazon Resource Name (ARN) of the lifecycle policy.description
(String) The description of the lifecycle policy.execution_role
(String) The execution role of the lifecycle policy.name
(String) The name of the lifecycle policy.policy_details
(Attributes List) The policy details of the lifecycle policy. (see below for nested schema)resource_selection
(Attributes) The resource selection of the lifecycle policy. (see below for nested schema)resource_type
(String) The resource type of the lifecycle policy.status
(String) The status of the lifecycle policy.tags
(Map of String) The tags associated with the lifecycle policy.policy_details
Read-Only:
action
(Attributes) The action of the policy detail. (see below for nested schema)exclusion_rules
(Attributes) The exclusion rules to apply of the policy detail. (see below for nested schema)filter
(Attributes) The filters to apply of the policy detail. (see below for nested schema)policy_details.action
Read-Only:
include_resources
(Attributes) The included resources of the policy detail. (see below for nested schema)type
(String) The action type of the policy detail.policy_details.action.include_resources
Read-Only:
amis
(Boolean) Use to configure lifecycle actions on AMIs.containers
(Boolean) Use to configure lifecycle actions on containers.snapshots
(Boolean) Use to configure lifecycle actions on snapshots.policy_details.exclusion_rules
Read-Only:
amis
(Attributes) The AMI exclusion rules for the policy detail. (see below for nested schema)tag_map
(Map of String) The Image Builder tags to filter on.policy_details.exclusion_rules.amis
Read-Only:
is_public
(Boolean) Use to apply lifecycle policy actions on whether the AMI is public.last_launched
(Attributes) Use to apply lifecycle policy actions on AMIs launched before a certain time. (see below for nested schema)regions
(List of String) Use to apply lifecycle policy actions on AMIs distributed to a set of regions.shared_accounts
(List of String) Use to apply lifecycle policy actions on AMIs shared with a set of regions.tag_map
(Map of String) The AMIs to select by tag.policy_details.exclusion_rules.amis.last_launched
Read-Only:
unit
(String) The value's time unit.value
(Number) The last launched value.policy_details.filter
Read-Only:
retain_at_least
(Number) The minimum number of Image Builder resources to retain.type
(String) The filter type.unit
(String) The value's time unit.value
(Number) The filter value.resource_selection
Read-Only:
recipes
(Attributes List) The recipes to select. (see below for nested schema)tag_map
(Map of String) The Image Builder resources to select by tag.resource_selection.recipes
Read-Only:
name
(String) The recipe name.semantic_version
(String) The recipe version.