Builder

class Builder

Properties

Link copied to clipboard

A unique, case-sensitive identifier you provide to ensure that the operation runs no more than one time. If you retry a request with the same client token, Image Builder returns the original response without running the operation again. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

Link copied to clipboard

Optional description for the lifecycle policy. Because the update replaces the entire configuration, omitting this property removes any existing description.

Link copied to clipboard

The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.

Link copied to clipboard

The Amazon Resource Name (ARN) of the lifecycle policy resource.

Link copied to clipboard

The configuration details for a lifecycle policy resource.

Link copied to clipboard

Selection criteria for resources that the lifecycle policy applies to. You must specify exactly one selection criteria: either recipes or a tag map, not both.

Link copied to clipboard

The type of image resource that the lifecycle policy applies to. The value must match the policy's existing resource type. You can't change the resource type of an existing lifecycle policy.

Link copied to clipboard

Indicates whether the lifecycle policy resource is enabled. Defaults to ENABLED when omitted, so updating a disabled policy without setting this property re-enables it.