Learn R Programming

paws.storage (version 0.4.0)

dlm_create_lifecycle_policy: Creates a policy to manage the lifecycle of the specified Amazon Web Services resources

Description

Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can create up to 100 lifecycle policies.

See https://www.paws-r-sdk.com/docs/dlm_create_lifecycle_policy/ for full documentation.

Usage

dlm_create_lifecycle_policy(
  ExecutionRoleArn,
  Description,
  State,
  PolicyDetails,
  Tags = NULL
)

Arguments

ExecutionRoleArn

[required] The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

Description

[required] A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.

State

[required] The desired activation state of the lifecycle policy after creation.

PolicyDetails

[required] The configuration details of the lifecycle policy.

Tags

The tags to apply to the lifecycle policy during creation.