Class CfnDBSubnetGroupPropsMixin
The AWS::DocDB::DBSubnetGroup Amazon DocumentDB (with MongoDB compatibility) resource describes a DBSubnetGroup.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DocDB
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 one subnet in at least two Availability Zones in the AWS Region . For more information, see DBSubnetGroup in the Amazon DocumentDB Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html
CloudformationResource: AWS::DocDB::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.DocDB;
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::DocDB::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 one subnet in at least two Availability Zones in the AWS Region . For more information, see DBSubnetGroup in the Amazon DocumentDB Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html
CloudformationResource: AWS::DocDB::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::DocDB::DBSubnetGroup Amazon DocumentDB (with MongoDB compatibility) resource describes a DBSubnetGroup.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region . For more information, see DBSubnetGroup in the Amazon DocumentDB Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html
CloudformationResource: AWS::DocDB::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.DocDB;
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::DocDB::DBSubnetGroup Amazon DocumentDB (with MongoDB compatibility) resource describes a DBSubnetGroup.
protected virtual ICfnDBSubnetGroupMixinProps Props { get; }
Property Value
Remarks
subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region . For more information, see DBSubnetGroup in the Amazon DocumentDB Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html
CloudformationResource: AWS::DocDB::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.DocDB;
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::DocDB::DBSubnetGroup Amazon DocumentDB (with MongoDB compatibility) resource describes a DBSubnetGroup.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region . For more information, see DBSubnetGroup in the Amazon DocumentDB Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html
CloudformationResource: AWS::DocDB::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.DocDB;
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 one subnet in at least two Availability Zones in the AWS Region . For more information, see DBSubnetGroup in the Amazon DocumentDB Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html
CloudformationResource: AWS::DocDB::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 one subnet in at least two Availability Zones in the AWS Region . For more information, see DBSubnetGroup in the Amazon DocumentDB Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html
CloudformationResource: AWS::DocDB::DBSubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated