Class: Aws::DLM::Types::LifecyclePolicy

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#date_createdTime

The local date and time when the lifecycle policy was created.

Returns:

  • (Time)


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_modifiedTime

The local date and time when the lifecycle policy was last modified.

Returns:

  • (Time)


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_policyBoolean

**[Default policies only]** The type of default policy. Values include:

  • ‘VOLUME` - Default policy for EBS snapshots

  • ‘INSTANCE` - Default policy for EBS-backed AMIs

Returns:

  • (Boolean)


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

#descriptionString

The description of the lifecycle policy.

Returns:

  • (String)


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_arnString

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

Returns:

  • (String)


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_arnString

The Amazon Resource Name (ARN) of the policy.

Returns:

  • (String)


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_detailsTypes::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_idString

The identifier of the lifecycle policy.

Returns:

  • (String)


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

#stateString

The activation state of the lifecycle policy.

Returns:

  • (String)


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_messageString

The description of the status.

Returns:

  • (String)


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

#tagsHash<String,String>

The tags.

Returns:

  • (Hash<String,String>)


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