Show / Hide Table of Contents

Class ClusterSubnetGroup

(experimental) Class for creating a Redshift cluster subnet group.

Inheritance
object
Resource
ClusterSubnetGroup
Implements
IClusterSubnetGroup
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public class ClusterSubnetGroup : Resource, IClusterSubnetGroup, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class ClusterSubnetGroup Inherits Resource Implements IClusterSubnetGroup, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks

Stability: Experimental

Resource: AWS::Redshift::ClusterSubnetGroup

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.Redshift.Alpha;
             using Amazon.CDK;
             using Amazon.CDK.AWS.EC2;

             Subnet subnet;
             SubnetFilter subnetFilter;
             Vpc vpc;

             var clusterSubnetGroup = new ClusterSubnetGroup(this, "MyClusterSubnetGroup", new ClusterSubnetGroupProps {
                 Description = "description",
                 Vpc = vpc,

                 // the properties below are optional
                 RemovalPolicy = RemovalPolicy.DESTROY,
                 VpcSubnets = new SubnetSelection {
                     AvailabilityZones = new [] { "availabilityZones" },
                     OnePerAz = false,
                     SubnetFilters = new [] { subnetFilter },
                     SubnetGroupName = "subnetGroupName",
                     Subnets = new [] { subnet },
                     SubnetType = SubnetType.PRIVATE_ISOLATED
                 }
             });

Synopsis

Constructors

ClusterSubnetGroup(Construct, string, IClusterSubnetGroupProps)

(experimental) Class for creating a Redshift cluster subnet group.

Properties

ClusterSubnetGroupName

(experimental) The name of the cluster subnet group.

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

Methods

FromClusterSubnetGroupName(Construct, string, string)

(experimental) Imports an existing subnet group by name.

Constructors

ClusterSubnetGroup(Construct, string, IClusterSubnetGroupProps)

(experimental) Class for creating a Redshift cluster subnet group.

public ClusterSubnetGroup(Construct scope, string id, IClusterSubnetGroupProps props)
Parameters
scope Construct
id string
props IClusterSubnetGroupProps
Remarks

Stability: Experimental

Properties

ClusterSubnetGroupName

(experimental) The name of the cluster subnet group.

public virtual string ClusterSubnetGroupName { get; }
Property Value

string

Remarks

Stability: Experimental

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Stability: Experimental

Methods

FromClusterSubnetGroupName(Construct, string, string)

(experimental) Imports an existing subnet group by name.

public static IClusterSubnetGroup FromClusterSubnetGroupName(Construct scope, string id, string clusterSubnetGroupName)
Parameters
scope Construct
id string
clusterSubnetGroupName string
Returns

IClusterSubnetGroup

Remarks

Stability: Experimental

Implements

IClusterSubnetGroup
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX