v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14810260.6 KB

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

post/policies

Request body

ExecutionRoleArnstring required

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

Descriptionstring required

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

State'ENABLED' | 'DISABLED' required

The desired activation state of the lifecycle policy after creation.

Tagsobject

The tags to apply to the lifecycle policy during creation.

Response

Success

PolicyIdstring

The identifier of the lifecycle policy.