Interface CfnPolicyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPolicyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:31.925Z") @Stability(Stable) public interface CfnPolicyProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPolicy.

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.resiliencehubv2.*;
 CfnPolicyProps cfnPolicyProps = CfnPolicyProps.builder()
         .name("name")
         // the properties below are optional
         .availabilitySlo(AvailabilitySloProperty.builder()
                 .target(123)
                 .build())
         .dataRecovery(DataRecoveryTargetsProperty.builder()
                 .timeBetweenBackupsInMinutes(123)
                 .build())
         .description("description")
         .kmsKeyId("kmsKeyId")
         .multiAz(MultiAzTargetsProperty.builder()
                 .disasterRecoveryApproach("disasterRecoveryApproach")
                 .rpoInMinutes(123)
                 .rtoInMinutes(123)
                 .build())
         .multiRegion(MultiRegionTargetsProperty.builder()
                 .disasterRecoveryApproach("disasterRecoveryApproach")
                 .rpoInMinutes(123)
                 .rtoInMinutes(123)
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: