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();
 
  • Method Details

    • getPolicy

      @Stability(Stable) @NotNull Object getPolicy()
      The resiliency policy.
    • getPolicyName

      @Stability(Stable) @NotNull String getPolicyName()
      The name of the policy.
    • getTier

      @Stability(Stable) @NotNull String getTier()
      The tier for this resiliency policy, ranging from the highest severity ( MissionCritical ) to lowest ( NonCritical ).
    • getDataLocationConstraint

      @Stability(Stable) @Nullable default String getDataLocationConstraint()
      Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
    • getPolicyDescription

      @Stability(Stable) @Nullable default String getPolicyDescription()
      The description for the policy.
    • getTags

      @Stability(Stable) @Nullable default Map<String,String> 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

      @Stability(Stable) static CfnResiliencyPolicyProps.Builder builder()
      Returns:
      a CfnResiliencyPolicyProps.Builder of CfnResiliencyPolicyProps