Class: Aws::Imagebuilder::Types::CreateLifecyclePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::CreateLifecyclePolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-imagebuilder/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
-
#description ⇒ String
Optional description for the lifecycle policy.
-
#execution_role ⇒ String
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
-
#name ⇒ String
The name of the lifecycle policy to create.
-
#policy_details ⇒ Array<Types::LifecyclePolicyDetail>
Configuration details for the lifecycle policy rules.
-
#resource_selection ⇒ Types::LifecyclePolicyResourceSelection
Selection criteria for the resources that the lifecycle policy applies to.
-
#resource_type ⇒ String
The type of Image Builder resource that the lifecycle policy applies to.
-
#status ⇒ String
Indicates whether the lifecycle policy resource is enabled.
-
#tags ⇒ Hash<String,String>
Tags to apply to the lifecycle policy resource.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see [Ensuring idempotency] in the *Amazon EC2 API Reference*.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
Optional description for the lifecycle policy.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#execution_role ⇒ String
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the lifecycle policy to create.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#policy_details ⇒ Array<Types::LifecyclePolicyDetail>
Configuration details for the lifecycle policy rules.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#resource_selection ⇒ Types::LifecyclePolicyResourceSelection
Selection criteria for the resources that the lifecycle policy applies to.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The type of Image Builder resource that the lifecycle policy applies to.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Indicates whether the lifecycle policy resource is enabled.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Tags to apply to the lifecycle policy resource.
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/aws-sdk-imagebuilder/types.rb', line 1757 class CreateLifecyclePolicyRequest < Struct.new( :name, :description, :status, :execution_role, :resource_type, :policy_details, :resource_selection, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |