LifecyclePolicyState constructor

const LifecyclePolicyState({
  1. Input<String?>? arn,
  2. Input<String?>? description,
  3. Input<String?>? executionRole,
  4. Input<String?>? name,
  5. Input<List<LifecyclePolicyPolicyDetail>?>? policyDetails,
  6. Input<String?>? region,
  7. Input<LifecyclePolicyResourceSelection?>? resourceSelection,
  8. Input<String?>? resourceType,
  9. Input<String?>? status,
  10. Input<Map<String, String>?>? tags,
  11. Input<Map<String, String>?>? tagsAll,
})

Creates a new LifecyclePolicyState. arn ARN of the lifecycle policy. description description for the lifecycle policy. executionRole ARN for the IAM role you create that grants Image Builder access to run lifecycle actions. More information about this role can be found here. name The name of the lifecycle policy to create. policyDetails Configuration block with policy details. Detailed below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceSelection Selection criteria for the resources that the lifecycle policy applies to. Detailed below. resourceType The type of Image Builder resource that the lifecycle policy applies to. Valid values: AMI_IMAGE or CONTAINER_IMAGE. status The status of the lifecycle policy. tags Key-value map of resource tags for the Image Builder Lifecycle Policy. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const LifecyclePolicyState({
  this.arn,
  this.description,
  this.executionRole,
  this.name,
  this.policyDetails,
  this.region,
  this.resourceSelection,
  this.resourceType,
  this.status,
  this.tags,
  this.tagsAll,
});