@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.339Z") @Stability(value=Stable) public class CfnReplicationSet extends CfnResource implements IInspectable
The AWS::SSMIncidents::ReplicationSet resource specifies a set of Regions that Incident Manager data is replicated to and the KMS key used to encrypt the data.
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.ssmincidents.*;
CfnReplicationSet cfnReplicationSet = CfnReplicationSet.Builder.create(this, "MyCfnReplicationSet")
.regions(List.of(ReplicationRegionProperty.builder()
.regionConfiguration(RegionConfigurationProperty.builder()
.sseKmsKeyId("sseKmsKeyId")
.build())
.regionName("regionName")
.build()))
// the properties below are optional
.deletionProtected(false)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnReplicationSet.Builder
A fluent builder for
CfnReplicationSet. |
static interface |
CfnReplicationSet.RegionConfigurationProperty
The `RegionConfiguration` property specifies the Region and KMS key to add to the replication set.
|
static interface |
CfnReplicationSet.ReplicationRegionProperty
The `ReplicationRegion` property type specifies the Region and KMS key to add to the replication set.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnReplicationSet(software.constructs.Construct scope,
String id,
CfnReplicationSetProps props)
Create a new `AWS::SSMIncidents::ReplicationSet`.
|
protected |
CfnReplicationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnReplicationSet(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getDeletionProtected()
Determines if the replication set deletion protection is enabled or not.
|
Object |
getRegions()
Specifies the Regions of the replication set.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDeletionProtected(Boolean value)
Determines if the replication set deletion protection is enabled or not.
|
void |
setDeletionProtected(IResolvable value)
Determines if the replication set deletion protection is enabled or not.
|
void |
setRegions(IResolvable value)
Specifies the Regions of the replication set.
|
void |
setRegions(List<Object> value)
Specifies the Regions of the replication set.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnReplicationSet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnReplicationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnReplicationSet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnReplicationSetProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getRegions()
@Stability(value=Stable)
public void setRegions(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setRegions(@NotNull
List<Object> value)
@Stability(value=Stable) @Nullable public Object getDeletionProtected()
If deletion protection is enabled, you can't delete the last Region in the replication set.
@Stability(value=Stable)
public void setDeletionProtected(@Nullable
Boolean value)
If deletion protection is enabled, you can't delete the last Region in the replication set.
@Stability(value=Stable)
public void setDeletionProtected(@Nullable
IResolvable value)
If deletion protection is enabled, you can't delete the last Region in the replication set.
Copyright © 2022. All rights reserved.