CmdID

CmdID / aws / aws imagebuilder

aws imagebuilder create-lifecycle-policy

Creates a lifecycle policy resource. AWS CLI reference

10 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

10 in the AWS CLI reference
--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.
--dry-runValidates the required permissions and request parameters without performing the operation.
--execution-roleThe name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
--nameThe name of the lifecycle policy to create.
--policy-detailsConfiguration details for the lifecycle policy rules.
--resource-selectionSelection criteria for the resources that the lifecycle policy applies to.
--resource-typeThe type of Image Builder resource that the lifecycle policy applies to.
--statusIndicates whether the lifecycle policy resource is enabled.
--tagsTags to apply to the lifecycle policy resource.