Class: Aws::DLM::Types::LifecyclePolicySummary

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

Overview

Summary information about a lifecycle policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

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


921
922
923
924
925
926
927
928
929
930
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 921

class LifecyclePolicySummary < Struct.new(
  :policy_id,
  :description,
  :state,
  :tags,
  :policy_type,
  :default_policy)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the lifecycle policy.

Returns:

  • (String)


921
922
923
924
925
926
927
928
929
930
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 921

class LifecyclePolicySummary < Struct.new(
  :policy_id,
  :description,
  :state,
  :tags,
  :policy_type,
  :default_policy)
  SENSITIVE = []
  include Aws::Structure
end

#policy_idString

The identifier of the lifecycle policy.

Returns:

  • (String)


921
922
923
924
925
926
927
928
929
930
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 921

class LifecyclePolicySummary < Struct.new(
  :policy_id,
  :description,
  :state,
  :tags,
  :policy_type,
  :default_policy)
  SENSITIVE = []
  include Aws::Structure
end

#policy_typeString

The type of policy. EBS_SNAPSHOT_MANAGEMENT indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.

Returns:

  • (String)


921
922
923
924
925
926
927
928
929
930
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 921

class LifecyclePolicySummary < Struct.new(
  :policy_id,
  :description,
  :state,
  :tags,
  :policy_type,
  :default_policy)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The activation state of the lifecycle policy.

Returns:

  • (String)


921
922
923
924
925
926
927
928
929
930
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 921

class LifecyclePolicySummary < Struct.new(
  :policy_id,
  :description,
  :state,
  :tags,
  :policy_type,
  :default_policy)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags.

Returns:

  • (Hash<String,String>)


921
922
923
924
925
926
927
928
929
930
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 921

class LifecyclePolicySummary < Struct.new(
  :policy_id,
  :description,
  :state,
  :tags,
  :policy_type,
  :default_policy)
  SENSITIVE = []
  include Aws::Structure
end