@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:25.826Z") 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) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .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.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnReplicationSet(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrArn() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getDeletionProtected()
Determines if the replication set deletion protection is enabled or not.
|
java.lang.Object |
getRegions()
Specifies the Regions of the replication set.
|
TagManager |
getTags()
A list of tags to add to the replication set.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDeletionProtected(java.lang.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(java.util.List<java.lang.Object> value)
Specifies the Regions of the replication set.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnReplicationSet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnReplicationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnReplicationSet(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.Object getRegions()
public void setRegions(IResolvable value)
public void setRegions(java.util.List<java.lang.Object> value)
public java.lang.Object getDeletionProtected()
If deletion protection is enabled, you can't delete the last Region in the replication set.
public void setDeletionProtected(java.lang.Boolean value)
If deletion protection is enabled, you can't delete the last Region in the replication set.
public void setDeletionProtected(IResolvable value)
If deletion protection is enabled, you can't delete the last Region in the replication set.