CfnReplicationInstancePropsMixin
- class aws_cdk.mixins_preview.aws_dms.mixins.CfnReplicationInstancePropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DMS::ReplicationInstanceresource creates an AWS DMS replication instance.To create a ReplicationInstance, you need permissions to create instances. You’ll need similar permissions to terminate instances when you delete stacks with instances.
- See:
- CloudformationResource:
AWS::DMS::ReplicationInstance
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_dms import mixins as dms_mixins cfn_replication_instance_props_mixin = dms_mixins.CfnReplicationInstancePropsMixin(dms_mixins.CfnReplicationInstanceMixinProps( allocated_storage=123, allow_major_version_upgrade=False, auto_minor_version_upgrade=False, availability_zone="availabilityZone", dns_name_servers="dnsNameServers", engine_version="engineVersion", kms_key_id="kmsKeyId", multi_az=False, network_type="networkType", preferred_maintenance_window="preferredMaintenanceWindow", publicly_accessible=False, replication_instance_class="replicationInstanceClass", replication_instance_identifier="replicationInstanceIdentifier", replication_subnet_group_identifier="replicationSubnetGroupIdentifier", resource_identifier="resourceIdentifier", tags=[CfnTag( key="key", value="value" )], vpc_security_group_ids=["vpcSecurityGroupIds"] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DMS::ReplicationInstance.- Parameters:
props (
Union[CfnReplicationInstanceMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['allocatedStorage', 'allowMajorVersionUpgrade', 'autoMinorVersionUpgrade', 'availabilityZone', 'dnsNameServers', 'engineVersion', 'kmsKeyId', 'multiAz', 'networkType', 'preferredMaintenanceWindow', 'publiclyAccessible', 'replicationInstanceClass', 'replicationInstanceIdentifier', 'replicationSubnetGroupIdentifier', 'resourceIdentifier', 'tags', 'vpcSecurityGroupIds']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental