Show / Hide Table of Contents

Class CfnSubnetGroupProps

Properties for defining a CfnSubnetGroup.

Inheritance
System.Object
CfnSubnetGroupProps
Implements
ICfnSubnetGroupProps
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.AWS.ElastiCache.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-elasticache-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.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

Constructors

CfnSubnetGroupProps()

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.

Constructors

CfnSubnetGroupProps()

public CfnSubnetGroupProps()

Properties

CacheSubnetGroupName

The name for the cache subnet group. This value is stored as a lowercase string.

public string CacheSubnetGroupName { get; set; }
Property Value

System.String

Remarks

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-cachesubnetgroupname

Description

The description for the cache subnet group.

public string Description { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-description

SubnetIds

The EC2 subnet IDs for the cache subnet group.

public string[] SubnetIds { get; set; }
Property Value

System.String[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-subnetids

Tags

A tag that can be added to an ElastiCache subnet group.

public ICfnTag[] Tags { get; set; }
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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-tags

Implements

ICfnSubnetGroupProps
Back to top Generated by DocFX