Class CfnSubnetGroupProps
Properties for defining a CfnSubnetGroup
.
Inheritance
System.Object
CfnSubnetGroupProps
Implements
Namespace: Amazon.CDK.AWS.MemoryDB
Assembly: Amazon.CDK.AWS.MemoryDB.dll
Syntax (csharp)
public class CfnSubnetGroupProps : Object, ICfnSubnetGroupProps
Syntax (vb)
Public Class CfnSubnetGroupProps
Inherits Object
Implements ICfnSubnetGroupProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html
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.AWS.MemoryDB;
var cfnSubnetGroupProps = new CfnSubnetGroupProps {
SubnetGroupName = "subnetGroupName",
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnSubnetGroupProps() |
Properties
Description | A description of the subnet group. |
SubnetGroupName | The name of the subnet group to be used for the cluster . |
SubnetIds | A list of Amazon VPC subnet IDs for the subnet group. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnSubnetGroupProps()
public CfnSubnetGroupProps()
Properties
Description
A description of the subnet group.
public string Description { get; set; }
Property Value
System.String
Remarks
SubnetGroupName
The name of the subnet group to be used for the cluster .
public string SubnetGroupName { get; set; }
Property Value
System.String
Remarks
SubnetIds
A list of Amazon VPC subnet IDs for the subnet group.
public string[] SubnetIds { get; set; }
Property Value
System.String[]
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .