CfnReplicationSetProps

class aws_cdk.aws_ssmincidents.CfnReplicationSetProps(*, regions, deletion_protected=None, tags=None)

Bases: object

Properties for defining a CfnReplicationSet.

Parameters:
  • regions (Union[IResolvable, Sequence[Union[ReplicationRegionProperty, Dict[str, Any], IResolvable]]]) – Specifies the Regions of the replication set.

  • deletion_protected (Union[bool, IResolvable, None]) – Determines if the replication set deletion protection is enabled or not. If deletion protection is enabled, you can’t delete the last Region in the replication set.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of tags to add to the replication set.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ssmincidents as ssmincidents

cfn_replication_set_props = ssmincidents.CfnReplicationSetProps(
    regions=[ssmincidents.CfnReplicationSet.ReplicationRegionProperty(
        region_configuration=ssmincidents.CfnReplicationSet.RegionConfigurationProperty(
            sse_kms_key_id="sseKmsKeyId"
        ),
        region_name="regionName"
    )],

    # the properties below are optional
    deletion_protected=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

deletion_protected

Determines if the replication set deletion protection is enabled or not.

If deletion protection is enabled, you can’t delete the last Region in the replication set.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-deletionprotected

regions

Specifies the Regions of the replication set.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-regions

tags

A list of tags to add to the replication set.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-tags