ServerlessLifecyclePolicyArgs class
The set of arguments for ServerlessLifecyclePolicy. The set of arguments for ServerlessLifecyclePolicy.
Constructors
-
ServerlessLifecyclePolicyArgs({Input<
String?> ? description, Input<String?> ? name, required Input<String> policy, Input<String?> ? region, required Input<String> type}) -
Creates a new ServerlessLifecyclePolicyArgs.
descriptionDescription of the policy.nameName of the policy.policyJSON policy document to use as the content for the new policy.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.typeType of lifecycle policy. Must beretention.const -
ServerlessLifecyclePolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String?> ? -
Description of the policy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the policy.
final
-
policy
→ Input<
String> -
JSON policy document to use as the content for the new policy.
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
-
type
→ Input<
String> -
Type of lifecycle policy. Must be
retention.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