Class: Aws::DLM::Types::LifecyclePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::LifecyclePolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dlm/types.rb
Overview
**[Custom policies only]** Detailed information about a snapshot, AMI, or event-based lifecycle policy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#date_created ⇒ Time
The local date and time when the lifecycle policy was created.
-
#date_modified ⇒ Time
The local date and time when the lifecycle policy was last modified.
-
#default_policy ⇒ Boolean
**[Default policies only]** The type of default policy.
-
#description ⇒ String
The description of the lifecycle policy.
-
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
-
#policy_arn ⇒ String
The Amazon Resource Name (ARN) of the policy.
-
#policy_details ⇒ Types::PolicyDetails
The configuration of the lifecycle policy.
-
#policy_id ⇒ String
The identifier of the lifecycle policy.
-
#state ⇒ String
The activation state of the lifecycle policy.
-
#status_message ⇒ String
The description of the status.
-
#tags ⇒ Hash<String,String>
The tags.
Instance Attribute Details
#date_created ⇒ Time
The local date and time when the lifecycle policy was created.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#date_modified ⇒ Time
The local date and time when the lifecycle policy was last modified.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#default_policy ⇒ Boolean
**[Default policies only]** The type of default policy. Values include:
-
‘VOLUME` - Default policy for EBS snapshots
-
‘INSTANCE` - Default policy for EBS-backed AMIs
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the lifecycle policy.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#policy_arn ⇒ String
The Amazon Resource Name (ARN) of the policy.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#policy_details ⇒ Types::PolicyDetails
The configuration of the lifecycle policy
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#policy_id ⇒ String
The identifier of the lifecycle policy.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The activation state of the lifecycle policy.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#status_message ⇒ String
The description of the status.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/aws-sdk-dlm/types.rb', line 867 class LifecyclePolicy < Struct.new( :policy_id, :description, :state, :status_message, :execution_role_arn, :date_created, :date_modified, :policy_details, :tags, :policy_arn, :default_policy) SENSITIVE = [] include Aws::Structure end |