Interface CfnResiliencyPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResiliencyPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:34.968Z")
@Stability(Stable)
public interface CfnResiliencyPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnResiliencyPolicy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.resiliencehub.*;
CfnResiliencyPolicyProps cfnResiliencyPolicyProps = CfnResiliencyPolicyProps.builder()
.policy(Map.of(
"policyKey", FailurePolicyProperty.builder()
.rpoInSecs(123)
.rtoInSecs(123)
.build()))
.policyName("policyName")
.tier("tier")
// the properties below are optional
.dataLocationConstraint("dataLocationConstraint")
.policyDescription("policyDescription")
.tags(Map.of(
"tagsKey", "tags"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResiliencyPolicyPropsstatic final classAn implementation forCfnResiliencyPolicyProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecifies a high-level geographical location constraint for where your resilience policy data can be stored.The resiliency policy.default StringThe description for the policy.The name of the policy.getTags()The tags assigned to the resource.getTier()The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicy
The resiliency policy. -
getPolicyName
The name of the policy. -
getTier
The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical). -
getDataLocationConstraint
Specifies a high-level geographical location constraint for where your resilience policy data can be stored. -
getPolicyDescription
The description for the policy. -
getTags
The tags assigned to the resource.A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
-
builder
- Returns:
- a
CfnResiliencyPolicyProps.BuilderofCfnResiliencyPolicyProps
-