Class CfnSubnetGroupPropsMixin
Specifies a subnet group.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.MemoryDB
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnSubnetGroupPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnSubnetGroupPropsMixin Inherits Mixin Implements IMixin
Remarks
A subnet group is a collection of subnets (typically private) that you can designate for your cluster s running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC , you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
CloudformationResource: AWS::MemoryDB::SubnetGroup
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.MemoryDB;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubnetGroupPropsMixin = new CfnSubnetGroupPropsMixin(new CfnSubnetGroupMixinProps {
Description = "description",
SubnetGroupName = "subnetGroupName",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnSubnetGroupPropsMixin(ICfnSubnetGroupMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Specifies a subnet group. |
| Props | Specifies a subnet group. |
| Strategy | Specifies a subnet group. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnSubnetGroupPropsMixin(ICfnSubnetGroupMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::MemoryDB::SubnetGroup.
public CfnSubnetGroupPropsMixin(ICfnSubnetGroupMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnSubnetGroupMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
A subnet group is a collection of subnets (typically private) that you can designate for your cluster s running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC , you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
CloudformationResource: AWS::MemoryDB::SubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Specifies a subnet group.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
A subnet group is a collection of subnets (typically private) that you can designate for your cluster s running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC , you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
CloudformationResource: AWS::MemoryDB::SubnetGroup
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.MemoryDB;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubnetGroupPropsMixin = new CfnSubnetGroupPropsMixin(new CfnSubnetGroupMixinProps {
Description = "description",
SubnetGroupName = "subnetGroupName",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Specifies a subnet group.
protected virtual ICfnSubnetGroupMixinProps Props { get; }
Property Value
Remarks
A subnet group is a collection of subnets (typically private) that you can designate for your cluster s running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC , you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
CloudformationResource: AWS::MemoryDB::SubnetGroup
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.MemoryDB;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubnetGroupPropsMixin = new CfnSubnetGroupPropsMixin(new CfnSubnetGroupMixinProps {
Description = "description",
SubnetGroupName = "subnetGroupName",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Specifies a subnet group.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
A subnet group is a collection of subnets (typically private) that you can designate for your cluster s running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC , you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
CloudformationResource: AWS::MemoryDB::SubnetGroup
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.MemoryDB;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubnetGroupPropsMixin = new CfnSubnetGroupPropsMixin(new CfnSubnetGroupMixinProps {
Description = "description",
SubnetGroupName = "subnetGroupName",
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
A subnet group is a collection of subnets (typically private) that you can designate for your cluster s running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC , you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
CloudformationResource: AWS::MemoryDB::SubnetGroup
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
A subnet group is a collection of subnets (typically private) that you can designate for your cluster s running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC , you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
CloudformationResource: AWS::MemoryDB::SubnetGroup
Mixin: true
ExampleMetadata: fixture=_generated