LifecyclePolicyArgs class
The set of arguments for LifecyclePolicy. The set of arguments for LifecyclePolicy.
Constructors
-
LifecyclePolicyArgs({Input<
String?> ? description, required Input<String> executionRole, Input<String?> ? name, required Input<List< policyDetails, Input<LifecyclePolicyPolicyDetail> >String?> ? region, required Input<LifecyclePolicyResourceSelection> resourceSelection, required Input<String> resourceType, Input<String?> ? status, Input<Map< ? tags})String, String> ?> -
Creates a new LifecyclePolicyArgs.
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.const -
LifecyclePolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
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