CmdID / aws / aws imagebuilder
aws imagebuilder update-lifecycle-policy
Updates the specified lifecycle policy. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--client-tokenA unique, case-sensitive identifier you provide to ensure that the operation runs no more than one time.--descriptionOptional description for the lifecycle policy.--execution-roleThe name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.--lifecycle-policy-arnThe Amazon Resource Name (ARN) of the lifecycle policy resource.--policy-detailsThe configuration details for a lifecycle policy resource.--resource-selectionSelection criteria for resources that the lifecycle policy applies to.--resource-typeThe type of image resource that the lifecycle policy applies to.--statusIndicates whether the lifecycle policy resource is enabled.