@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.567Z") @Stability(value=Stable) public interface CfnResiliencyPolicyProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResiliencyPolicyProps.Builder
A builder for
CfnResiliencyPolicyProps |
static class |
CfnResiliencyPolicyProps.Jsii$Proxy
An implementation for
CfnResiliencyPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResiliencyPolicyProps.Builder |
builder() |
default String |
getDataLocationConstraint()
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
|
Object |
getPolicy()
The resiliency policy.
|
default String |
getPolicyDescription()
The description for the policy.
|
String |
getPolicyName()
The name of the policy.
|
default Map<String,String> |
getTags()
The tags assigned to the resource.
|
String |
getTier()
The tier for this resiliency policy, ranging from the highest severity ( `MissionCritical` ) to lowest ( `NonCritical` ).
|
@Stability(value=Stable) @NotNull Object getPolicy()
@Stability(value=Stable) @NotNull String getPolicyName()
@Stability(value=Stable) @NotNull String getTier()
@Stability(value=Stable) @Nullable default String getDataLocationConstraint()
@Stability(value=Stable) @Nullable default String getPolicyDescription()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
@Stability(value=Stable) static CfnResiliencyPolicyProps.Builder builder()
CfnResiliencyPolicyProps.Builder of CfnResiliencyPolicyPropsCopyright © 2022. All rights reserved.