Show / Hide Table of Contents

Interface ICfnSubnetGroupProps

Properties for defining a CfnSubnetGroup.

Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnSubnetGroupProps
Syntax (vb)
Public Interface ICfnSubnetGroupProps
Remarks

See: 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

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.

string? CacheSubnetGroupName { get; }
Property Value

string

Remarks

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

Example: mysubnetgroup

See: 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.

string Description { get; }
Property Value

string

Remarks

See: 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.

object[] SubnetIds { get; }
Property Value

object[]

Remarks

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

Type union: (either string or ISubnetRef)[]

Tags

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

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.

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

Back to top Generated by DocFX