Skip to content

Deletes the specified lifecycle policy resource

Description

Deletes the specified lifecycle policy resource. Deleting the policy removes its schedule, so no further lifecycle runs occur for that policy. If a lifecycle execution is in progress for the policy, Image Builder cancels it. Deletion doesn't revert actions that the policy already applied to your resources.

Usage

imagebuilder_delete_lifecycle_policy(lifecyclePolicyArn)

Arguments

  • lifecyclePolicyArn

    [required] The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.

Value

A list with the following syntax:

list(
  lifecyclePolicyArn = "string"
)

Request syntax

svc$delete_lifecycle_policy(
  lifecyclePolicyArn = "string"
)