CfnDBParameterGroupPropsMixin
- class aws_cdk.mixins_preview.aws_rds.mixins.CfnDBParameterGroupPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::RDS::DBParameterGroupresource creates a custom parameter group for an RDS database family.This type can be declared in a template and referenced in the
DBParameterGroupNameproperty of an[AWS::RDS::DBInstance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html)resource.For information about configuring parameters for Amazon RDS DB instances, see Working with parameter groups in the Amazon RDS User Guide .
For information about configuring parameters for Amazon Aurora DB instances, see Working with parameter groups in the Amazon Aurora User Guide . .. epigraph:
Applying a parameter group to a DB instance may require the DB instance to reboot, resulting in a database outage for the duration of the reboot.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html
- CloudformationResource:
AWS::RDS::DBParameterGroup
- 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_rds import mixins as rds_mixins # parameters: Any cfn_dBParameter_group_props_mixin = rds_mixins.CfnDBParameterGroupPropsMixin(rds_mixins.CfnDBParameterGroupMixinProps( db_parameter_group_name="dbParameterGroupName", description="description", family="family", parameters=parameters, tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::RDS::DBParameterGroup.- Parameters:
props (
Union[CfnDBParameterGroupMixinProps,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 = ['dbParameterGroupName', 'description', 'family', 'parameters', 'tags']
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