Class CfnDBSubnetGroupPropsMixin
The AWS::RDS::DBSubnetGroup resource creates a database subnet group.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.RDS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDBSubnetGroupPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnDBSubnetGroupPropsMixin Inherits Mixin Implements IMixin
Remarks
Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
For more information, see Working with DB subnet groups in the Amazon RDS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
CloudformationResource: AWS::RDS::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.RDS;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDBSubnetGroupPropsMixin = new CfnDBSubnetGroupPropsMixin(new CfnDBSubnetGroupMixinProps {
DbSubnetGroupDescription = "dbSubnetGroupDescription",
DbSubnetGroupName = "dbSubnetGroupName",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnDBSubnetGroupPropsMixin(ICfnDBSubnetGroupMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnDBSubnetGroupPropsMixin(ICfnDBSubnetGroupMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::RDS::DBSubnetGroup.
public CfnDBSubnetGroupPropsMixin(ICfnDBSubnetGroupMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnDBSubnetGroupMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
For more information, see Working with DB subnet groups in the Amazon RDS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
CloudformationResource: AWS::RDS::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::RDS::DBSubnetGroup resource creates a database subnet group.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
For more information, see Working with DB subnet groups in the Amazon RDS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
CloudformationResource: AWS::RDS::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.RDS;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDBSubnetGroupPropsMixin = new CfnDBSubnetGroupPropsMixin(new CfnDBSubnetGroupMixinProps {
DbSubnetGroupDescription = "dbSubnetGroupDescription",
DbSubnetGroupName = "dbSubnetGroupName",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
The AWS::RDS::DBSubnetGroup resource creates a database subnet group.
protected virtual ICfnDBSubnetGroupMixinProps Props { get; }
Property Value
Remarks
Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
For more information, see Working with DB subnet groups in the Amazon RDS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
CloudformationResource: AWS::RDS::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.RDS;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDBSubnetGroupPropsMixin = new CfnDBSubnetGroupPropsMixin(new CfnDBSubnetGroupMixinProps {
DbSubnetGroupDescription = "dbSubnetGroupDescription",
DbSubnetGroupName = "dbSubnetGroupName",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
The AWS::RDS::DBSubnetGroup resource creates a database subnet group.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
For more information, see Working with DB subnet groups in the Amazon RDS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
CloudformationResource: AWS::RDS::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.RDS;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnDBSubnetGroupPropsMixin = new CfnDBSubnetGroupPropsMixin(new CfnDBSubnetGroupMixinProps {
DbSubnetGroupDescription = "dbSubnetGroupDescription",
DbSubnetGroupName = "dbSubnetGroupName",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
For more information, see Working with DB subnet groups in the Amazon RDS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
CloudformationResource: AWS::RDS::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
For more information, see Working with DB subnet groups in the Amazon RDS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
CloudformationResource: AWS::RDS::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated