LifecyclePolicyState class

Input properties used for looking up and filtering LifecyclePolicy resources.

Constructors

LifecyclePolicyState({Input<String?>? arn, Input<String?>? description, Input<String?>? executionRole, Input<String?>? name, Input<List<LifecyclePolicyPolicyDetail>?>? policyDetails, Input<String?>? region, Input<LifecyclePolicyResourceSelection?>? resourceSelection, Input<String?>? resourceType, Input<String?>? status, Input<Map<String, String>?>? tags, 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.
const
LifecyclePolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the lifecycle policy.
final
description → Input<String?>?
description for the lifecycle policy.
final
executionRole → Input<String?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
The name of the lifecycle policy to create.
final
policyDetails → Input<List<LifecyclePolicyPolicyDetail>?>?
Configuration block with policy details. Detailed below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
resourceSelection → Input<LifecyclePolicyResourceSelection?>?
Selection criteria for the resources that the lifecycle policy applies to. Detailed below.
final
resourceType → Input<String?>?
The type of Image Builder resource that the lifecycle policy applies to. Valid values: AMI_IMAGE or CONTAINER_IMAGE.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Input<String?>?
The status of the lifecycle policy.
final
tags → Input<Map<String, String>?>?
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.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited