ServerlessLifecyclePolicyArgs constructor

const ServerlessLifecyclePolicyArgs({
  1. Input<String?>? description,
  2. Input<String?>? name,
  3. required Input<String> policy,
  4. Input<String?>? region,
  5. required Input<String> type,
})

Creates a new ServerlessLifecyclePolicyArgs. description Description of the policy. name Name of the policy. policy JSON policy document to use as the content for the new policy. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. type Type of lifecycle policy. Must be retention.

Implementation

const ServerlessLifecyclePolicyArgs({
  this.description,
  this.name,
  required this.policy,
  this.region,
  required this.type,
});