Class: Aws::ResilienceHub::Types::CreateResiliencyPolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1704

class CreateResiliencyPolicyRequest < Struct.new(
  :client_token,
  :data_location_constraint,
  :policy,
  :policy_description,
  :policy_name,
  :tags,
  :tier)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#data_location_constraintString

Specifies a high-level geographical location constraint for where your resilience policy data can be stored.

Returns:

  • (String)


1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1704

class CreateResiliencyPolicyRequest < Struct.new(
  :client_token,
  :data_location_constraint,
  :policy,
  :policy_description,
  :policy_name,
  :tags,
  :tier)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#policyHash<String,Types::FailurePolicy>

The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.

Returns:



1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1704

class CreateResiliencyPolicyRequest < Struct.new(
  :client_token,
  :data_location_constraint,
  :policy,
  :policy_description,
  :policy_name,
  :tags,
  :tier)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#policy_descriptionString

Description of the resiliency policy.

Returns:

  • (String)


1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1704

class CreateResiliencyPolicyRequest < Struct.new(
  :client_token,
  :data_location_constraint,
  :policy,
  :policy_description,
  :policy_name,
  :tags,
  :tier)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#policy_nameString

Name of the resiliency policy.

Returns:

  • (String)


1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1704

class CreateResiliencyPolicyRequest < Struct.new(
  :client_token,
  :data_location_constraint,
  :policy,
  :policy_description,
  :policy_name,
  :tags,
  :tier)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#tagsHash<String,String>

Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.

Returns:

  • (Hash<String,String>)


1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1704

class CreateResiliencyPolicyRequest < Struct.new(
  :client_token,
  :data_location_constraint,
  :policy,
  :policy_description,
  :policy_name,
  :tags,
  :tier)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#tierString

The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).

Returns:

  • (String)


1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1704

class CreateResiliencyPolicyRequest < Struct.new(
  :client_token,
  :data_location_constraint,
  :policy,
  :policy_description,
  :policy_name,
  :tags,
  :tier)
  SENSITIVE = [:tags]
  include Aws::Structure
end