LifecyclePolicyArgs class
The set of arguments for LifecyclePolicy. The set of arguments for LifecyclePolicy.
Constructors
-
LifecyclePolicyArgs({Input<
String?> ? defaultPolicy, required Input<String> description, required Input<String> executionRoleArn, required Input<LifecyclePolicyPolicyDetails> policyDetails, Input<String?> ? region, Input<String?> ? state, Input<Map< ? tags})String, String> ?> -
Creates a new LifecyclePolicyArgs.
defaultPolicySpecify the type of default policy to create. valid values areVOLUMEorINSTANCE.descriptionA description for the DLM lifecycle policy.executionRoleArnThe ARN of an IAM role that is able to be assumed by the DLM service.policyDetailsSee thepolicyDetailsconfiguration block. Max of 1.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.stateWhether the lifecycle policy should be enabled or disabled.ENABLEDorDISABLEDare valid values. Defaults toENABLED.tagsKey-value map of resource tags. 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
-
defaultPolicy
→ Input<
String?> ? -
Specify the type of default policy to create. valid values are
VOLUMEorINSTANCE.final -
description
→ Input<
String> -
A description for the DLM lifecycle policy.
final
-
executionRoleArn
→ Input<
String> -
The ARN of an IAM role that is able to be assumed by the DLM service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policyDetails
→ Input<
LifecyclePolicyPolicyDetails> -
See the
policyDetailsconfiguration block. Max of 1.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
Whether the lifecycle policy should be enabled or disabled.
ENABLEDorDISABLEDare valid values. Defaults toENABLED.final -
Key-value map of resource tags. 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