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< ? policyDetails, Input<LifecyclePolicyPolicyDetail> ?>String?> ? region, Input<LifecyclePolicyResourceSelection?> ? resourceSelection, Input<String?> ? resourceType, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new LifecyclePolicyState.
arnARN of the lifecycle policy.descriptiondescription for the lifecycle policy.executionRoleARN for the IAM role you create that grants Image Builder access to run lifecycle actions. More information about this role can be foundhere.nameThe name of the lifecycle policy to create.policyDetailsConfiguration block with policy details. Detailed below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceSelectionSelection criteria for the resources that the lifecycle policy applies to. Detailed below.resourceTypeThe type of Image Builder resource that the lifecycle policy applies to. Valid values:AMI_IMAGEorCONTAINER_IMAGE.statusThe status of the lifecycle policy.tagsKey-value map of resource tags for the Image Builder Lifecycle Policy. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration 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_IMAGEorCONTAINER_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
-
Key-value map of resource tags for the Image Builder Lifecycle Policy. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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