CfnDBInstancePropsMixin
- class aws_cdk.cfn_property_mixins.aws_docdb.CfnDBInstancePropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DocDB::DBInstanceAmazon DocumentDB (with MongoDB compatibility) resource describes a DBInstance.For more information, see DBInstance in the Amazon DocumentDB Developer Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html
- CloudformationResource:
AWS::DocDB::DBInstance
- 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.cfn_property_mixins import aws_docdb as docdb import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_dBInstance_props_mixin = docdb.CfnDBInstancePropsMixin(docdb.CfnDBInstanceMixinProps( auto_minor_version_upgrade=False, availability_zone="availabilityZone", ca_certificate_identifier="caCertificateIdentifier", certificate_rotation_restart=False, db_cluster_identifier="dbClusterIdentifier", db_instance_class="dbInstanceClass", db_instance_identifier="dbInstanceIdentifier", enable_performance_insights=False, preferred_maintenance_window="preferredMaintenanceWindow", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::DocDB::DBInstance.- Parameters:
props (
Union[CfnDBInstanceMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['autoMinorVersionUpgrade', 'availabilityZone', 'caCertificateIdentifier', 'certificateRotationRestart', 'dbClusterIdentifier', 'dbInstanceClass', 'dbInstanceIdentifier', 'enablePerformanceInsights', 'preferredMaintenanceWindow', 'tags']
Static Methods
- classmethod is_mixin(x)
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.