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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-dlm/types.rb

Overview

Information about a 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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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

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.

Returns:

  • (Boolean)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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



880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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>)


880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
# File 'lib/aws-sdk-dlm/types.rb', line 880

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