Class: Aws::DLM::Types::LifecyclePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::LifecyclePolicy
- Defined in:
- gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb
Overview
Information about a 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
Indicates whether the policy is a default lifecycle policy or a custom lifecycle 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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
Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy.
true- the policy is a default policy.false- the policy is a custom policy.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 885 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 |