Interface ICfnSubnetGroupProps
Properties for defining a CfnSubnetGroup
.
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.AWS.ElastiCache.dll
Syntax (csharp)
public interface ICfnSubnetGroupProps
Syntax (vb)
Public Interface ICfnSubnetGroupProps
Remarks
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.ElastiCache;
var cfnSubnetGroupProps = new CfnSubnetGroupProps {
Description = "description",
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
CacheSubnetGroupName = "cacheSubnetGroupName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
CacheSubnetGroupName | The name for the cache subnet group. This value is stored as a lowercase string. |
Description | The description for the cache subnet group. |
SubnetIds | The EC2 subnet IDs for the cache subnet group. |
Tags | A tag that can be added to an ElastiCache subnet group. |
Properties
CacheSubnetGroupName
The name for the cache subnet group. This value is stored as a lowercase string.
virtual string CacheSubnetGroupName { get; }
Property Value
System.String
Remarks
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
Description
The description for the cache subnet group.
string Description { get; }
Property Value
System.String
Remarks
SubnetIds
The EC2 subnet IDs for the cache subnet group.
string[] SubnetIds { get; }
Property Value
System.String[]
Remarks
Tags
A tag that can be added to an ElastiCache subnet group.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
Tags are composed of a Key/Value pair. You can use tags to categorize and track all your subnet groups. A tag with a null Value is permitted.