class Aws::ResilienceHub::Types::CreateResiliencyPolicyRequest

@note When making an API call, you may pass CreateResiliencyPolicyRequest

data as a hash:

    {
      client_token: "ClientToken",
      data_location_constraint: "AnyLocation", # accepts AnyLocation, SameContinent, SameCountry
      policy: { # required
        "Software" => {
          rpo_in_secs: 1, # required
          rto_in_secs: 1, # required
        },
      },
      policy_description: "EntityDescription",
      policy_name: "EntityName", # required
      tags: {
        "TagKey" => "TagValue",
      },
      tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical
    }

@!attribute [rw] client_token

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.
@return [String]

@!attribute [rw] data_location_constraint

Specifies a high-level geographical location constraint for where
your resilience policy data can be stored.
@return [String]

@!attribute [rw] policy

The type of resiliency policy to be created, including the recovery
time objective (RTO) and recovery point objective (RPO) in seconds.
@return [Hash<String,Types::FailurePolicy>]

@!attribute [rw] policy_description

The description for the policy.
@return [String]

@!attribute [rw] policy_name

The name of the policy
@return [String]

@!attribute [rw] tags

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.
@return [Hash<String,String>]

@!attribute [rw] tier

The tier for this resiliency policy, ranging from the highest
severity (`MissionCritical`) to lowest (`NonCritical`).
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicyRequest AWS API Documentation

Constants

SENSITIVE