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)


896
897
898
899
900
901
902
903
904
905
906
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 896

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)


896
897
898
899
900
901
902
903
904
905
906
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 896

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:



896
897
898
899
900
901
902
903
904
905
906
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 896

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

#policy_descriptionString

The description for the policy.

Returns:

  • (String)


896
897
898
899
900
901
902
903
904
905
906
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 896

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

#policy_nameString

The name of the policy

Returns:

  • (String)


896
897
898
899
900
901
902
903
904
905
906
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 896

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>

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


896
897
898
899
900
901
902
903
904
905
906
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 896

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)


896
897
898
899
900
901
902
903
904
905
906
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 896

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