Documentation
¶
Overview ¶
The CDK Construct Library for AWS::Neptune
Index ¶
- func ClusterParameterGroup_IsConstruct(x interface{}) *bool
- func ClusterParameterGroup_IsResource(construct constructs.IConstruct) *bool
- func DatabaseClusterBase_IsConstruct(x interface{}) *bool
- func DatabaseClusterBase_IsResource(construct constructs.IConstruct) *bool
- func DatabaseCluster_DEFAULT_NUM_INSTANCES() *float64
- func DatabaseCluster_IsConstruct(x interface{}) *bool
- func DatabaseCluster_IsResource(construct constructs.IConstruct) *bool
- func DatabaseInstance_IsConstruct(x interface{}) *bool
- func DatabaseInstance_IsResource(construct constructs.IConstruct) *bool
- func NewClusterParameterGroup_Override(c ClusterParameterGroup, scope constructs.Construct, id *string, ...)
- func NewDatabaseClusterBase_Override(d DatabaseClusterBase, scope constructs.Construct, id *string, ...)
- func NewDatabaseCluster_Override(d DatabaseCluster, scope constructs.Construct, id *string, ...)
- func NewDatabaseInstance_Override(d DatabaseInstance, scope constructs.Construct, id *string, ...)
- func NewEndpoint_Override(e Endpoint, address *string, port *float64)
- func NewEngineVersion_Override(e EngineVersion, version *string)
- func NewParameterGroup_Override(p ParameterGroup, scope constructs.Construct, id *string, ...)
- func NewSubnetGroup_Override(s SubnetGroup, scope constructs.Construct, id *string, props *SubnetGroupProps)
- func ParameterGroup_IsConstruct(x interface{}) *bool
- func ParameterGroup_IsResource(construct constructs.IConstruct) *bool
- func SubnetGroup_IsConstruct(x interface{}) *bool
- func SubnetGroup_IsResource(construct constructs.IConstruct) *bool
- type ClusterParameterGroup
- type ClusterParameterGroupProps
- type DatabaseCluster
- type DatabaseClusterAttributes
- type DatabaseClusterBase
- type DatabaseClusterProps
- type DatabaseInstance
- type DatabaseInstanceAttributes
- type DatabaseInstanceProps
- type Endpoint
- type EngineVersion
- func EngineVersion_V1_0_1_0() EngineVersion
- func EngineVersion_V1_0_1_1() EngineVersion
- func EngineVersion_V1_0_1_2() EngineVersion
- func EngineVersion_V1_0_2_1() EngineVersion
- func EngineVersion_V1_0_2_2() EngineVersion
- func EngineVersion_V1_0_3_0() EngineVersion
- func EngineVersion_V1_0_4_0() EngineVersion
- func EngineVersion_V1_0_4_1() EngineVersion
- func EngineVersion_V1_0_5_0() EngineVersion
- func NewEngineVersion(version *string) EngineVersion
- type IClusterParameterGroup
- type IDatabaseCluster
- type IDatabaseInstance
- type IParameterGroup
- type ISubnetGroup
- type InstanceType
- func InstanceType_Of(instanceType *string) InstanceType
- func InstanceType_R4_2XLARGE() InstanceType
- func InstanceType_R4_4XLARGE() InstanceType
- func InstanceType_R4_8XLARGE() InstanceType
- func InstanceType_R4_LARGE() InstanceType
- func InstanceType_R4_XLARGE() InstanceType
- func InstanceType_R5_12XLARGE() InstanceType
- func InstanceType_R5_24XLARGE() InstanceType
- func InstanceType_R5_2XLARGE() InstanceType
- func InstanceType_R5_4XLARGE() InstanceType
- func InstanceType_R5_8XLARGE() InstanceType
- func InstanceType_R5_LARGE() InstanceType
- func InstanceType_R5_XLARGE() InstanceType
- func InstanceType_T3_MEDIUM() InstanceType
- type ParameterGroup
- type ParameterGroupProps
- type SubnetGroup
- type SubnetGroupProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterParameterGroup_IsConstruct ¶
func ClusterParameterGroup_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func ClusterParameterGroup_IsResource ¶
func ClusterParameterGroup_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func DatabaseClusterBase_IsConstruct ¶
func DatabaseClusterBase_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func DatabaseClusterBase_IsResource ¶
func DatabaseClusterBase_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func DatabaseCluster_DEFAULT_NUM_INSTANCES ¶
func DatabaseCluster_DEFAULT_NUM_INSTANCES() *float64
func DatabaseCluster_IsConstruct ¶
func DatabaseCluster_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func DatabaseCluster_IsResource ¶
func DatabaseCluster_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func DatabaseInstance_IsConstruct ¶
func DatabaseInstance_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func DatabaseInstance_IsResource ¶
func DatabaseInstance_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewClusterParameterGroup_Override ¶
func NewClusterParameterGroup_Override(c ClusterParameterGroup, scope constructs.Construct, id *string, props *ClusterParameterGroupProps)
Experimental.
func NewDatabaseClusterBase_Override ¶
func NewDatabaseClusterBase_Override(d DatabaseClusterBase, scope constructs.Construct, id *string, props *awscdk.ResourceProps)
Experimental.
func NewDatabaseCluster_Override ¶
func NewDatabaseCluster_Override(d DatabaseCluster, scope constructs.Construct, id *string, props *DatabaseClusterProps)
Experimental.
func NewDatabaseInstance_Override ¶
func NewDatabaseInstance_Override(d DatabaseInstance, scope constructs.Construct, id *string, props *DatabaseInstanceProps)
Experimental.
func NewEndpoint_Override ¶
Experimental.
func NewEngineVersion_Override ¶
func NewEngineVersion_Override(e EngineVersion, version *string)
Constructor for specifying a custom engine version. Experimental.
func NewParameterGroup_Override ¶
func NewParameterGroup_Override(p ParameterGroup, scope constructs.Construct, id *string, props *ParameterGroupProps)
Experimental.
func NewSubnetGroup_Override ¶
func NewSubnetGroup_Override(s SubnetGroup, scope constructs.Construct, id *string, props *SubnetGroupProps)
Experimental.
func ParameterGroup_IsConstruct ¶
func ParameterGroup_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func ParameterGroup_IsResource ¶
func ParameterGroup_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func SubnetGroup_IsConstruct ¶
func SubnetGroup_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func SubnetGroup_IsResource ¶
func SubnetGroup_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
Types ¶
type ClusterParameterGroup ¶
type ClusterParameterGroup interface { awscdk.Resource IClusterParameterGroup ClusterParameterGroupName() *string Env() *awscdk.ResourceEnvironment Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string ToString() *string }
A cluster parameter group. Experimental.
func NewClusterParameterGroup ¶
func NewClusterParameterGroup(scope constructs.Construct, id *string, props *ClusterParameterGroupProps) ClusterParameterGroup
Experimental.
type ClusterParameterGroupProps ¶
type ClusterParameterGroupProps struct { // The parameters in this parameter group. // Experimental. Parameters *map[string]*string `json:"parameters"` // The name of the parameter group. // Experimental. ClusterParameterGroupName *string `json:"clusterParameterGroupName"` // Description for this parameter group. // Experimental. Description *string `json:"description"` }
Marker class for cluster parameter group. Experimental.
type DatabaseCluster ¶
type DatabaseCluster interface { DatabaseClusterBase IDatabaseCluster ClusterEndpoint() Endpoint ClusterIdentifier() *string ClusterReadEndpoint() Endpoint ClusterResourceIdentifier() *string Connections() awsec2.Connections EnableIamAuthentication() *bool SetEnableIamAuthentication(val *bool) Env() *awscdk.ResourceEnvironment InstanceEndpoints() *[]Endpoint InstanceIdentifiers() *[]*string Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack SubnetGroup() ISubnetGroup Vpc() awsec2.IVpc VpcSubnets() *awsec2.SubnetSelection ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string GrantConnect(grantee awsiam.IGrantable) awsiam.Grant ToString() *string }
Create a clustered database with a given number of instances. Experimental.
func NewDatabaseCluster ¶
func NewDatabaseCluster(scope constructs.Construct, id *string, props *DatabaseClusterProps) DatabaseCluster
Experimental.
type DatabaseClusterAttributes ¶
type DatabaseClusterAttributes struct { // Cluster endpoint address. // Experimental. ClusterEndpointAddress *string `json:"clusterEndpointAddress"` // Identifier for the cluster. // Experimental. ClusterIdentifier *string `json:"clusterIdentifier"` // Resource Identifier for the cluster. // Experimental. ClusterResourceIdentifier *string `json:"clusterResourceIdentifier"` // The database port. // Experimental. Port *float64 `json:"port"` // Reader endpoint address. // Experimental. ReaderEndpointAddress *string `json:"readerEndpointAddress"` // The security group of the database cluster. // Experimental. SecurityGroup awsec2.ISecurityGroup `json:"securityGroup"` }
Properties that describe an existing cluster instance. Experimental.
type DatabaseClusterBase ¶
type DatabaseClusterBase interface { awscdk.Resource IDatabaseCluster ClusterEndpoint() Endpoint ClusterIdentifier() *string ClusterReadEndpoint() Endpoint ClusterResourceIdentifier() *string Connections() awsec2.Connections EnableIamAuthentication() *bool SetEnableIamAuthentication(val *bool) Env() *awscdk.ResourceEnvironment Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string GrantConnect(grantee awsiam.IGrantable) awsiam.Grant ToString() *string }
A new or imported database cluster. Experimental.
type DatabaseClusterProps ¶
type DatabaseClusterProps struct { // What type of instance to start for the replicas. // Experimental. InstanceType InstanceType `json:"instanceType"` // What subnets to run the Neptune instances in. // // Must be at least 2 subnets in two different AZs. // Experimental. Vpc awsec2.IVpc `json:"vpc"` // A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services. // Experimental. AssociatedRoles *[]awsiam.IRole `json:"associatedRoles"` // How many days to retain the backup. // Experimental. BackupRetention awscdk.Duration `json:"backupRetention"` // Additional parameters to pass to the database engine. // Experimental. ClusterParameterGroup IClusterParameterGroup `json:"clusterParameterGroup"` // An optional identifier for the cluster. // Experimental. DbClusterName *string `json:"dbClusterName"` // Indicates whether the DB cluster should have deletion protection enabled. // Experimental. DeletionProtection *bool `json:"deletionProtection"` // What version of the database to start. // Experimental. EngineVersion EngineVersion `json:"engineVersion"` // Map AWS Identity and Access Management (IAM) accounts to database accounts. // Experimental. IamAuthentication *bool `json:"iamAuthentication"` // Base identifier for instances. // // Every replica is named by appending the replica number to this string, 1-based. // Experimental. InstanceIdentifierBase *string `json:"instanceIdentifierBase"` // Number of Neptune compute instances. // Experimental. Instances *float64 `json:"instances"` // The KMS key for storage encryption. // Experimental. KmsKey awskms.IKey `json:"kmsKey"` // The DB parameter group to associate with the instance. // Experimental. ParameterGroup IParameterGroup `json:"parameterGroup"` // The port the Neptune cluster will listen on. // Experimental. Port *float64 `json:"port"` // A daily time range in 24-hours UTC format in which backups preferably execute. // // Must be at least 30 minutes long. // // Example: '01:00-02:00' // Experimental. PreferredBackupWindow *string `json:"preferredBackupWindow"` // A weekly time range in which maintenance should preferably execute. // // Must be at least 30 minutes long. // // Example: 'tue:04:17-tue:04:47' // Experimental. PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow"` // The removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted. // // This // removal policy also applies to the implicit security group created for the // cluster if one is not supplied as a parameter. // Experimental. RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"` // Security group. // Experimental. SecurityGroups *[]awsec2.ISecurityGroup `json:"securityGroups"` // Whether to enable storage encryption. // Experimental. StorageEncrypted *bool `json:"storageEncrypted"` // Existing subnet group for the cluster. // Experimental. SubnetGroup ISubnetGroup `json:"subnetGroup"` // Where to place the instances within the VPC. // Experimental. VpcSubnets *awsec2.SubnetSelection `json:"vpcSubnets"` }
Properties for a new database cluster. Experimental.
type DatabaseInstance ¶
type DatabaseInstance interface { awscdk.Resource IDatabaseInstance Cluster() IDatabaseCluster DbInstanceEndpointAddress() *string DbInstanceEndpointPort() *string Env() *awscdk.ResourceEnvironment InstanceEndpoint() Endpoint InstanceIdentifier() *string Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string ToString() *string }
A database instance. Experimental.
func NewDatabaseInstance ¶
func NewDatabaseInstance(scope constructs.Construct, id *string, props *DatabaseInstanceProps) DatabaseInstance
Experimental.
type DatabaseInstanceAttributes ¶
type DatabaseInstanceAttributes struct { // The endpoint address. // Experimental. InstanceEndpointAddress *string `json:"instanceEndpointAddress"` // The instance identifier. // Experimental. InstanceIdentifier *string `json:"instanceIdentifier"` // The database port. // Experimental. Port *float64 `json:"port"` }
Properties that describe an existing instance. Experimental.
type DatabaseInstanceProps ¶
type DatabaseInstanceProps struct { // The Neptune database cluster the instance should launch into. // Experimental. Cluster IDatabaseCluster `json:"cluster"` // What type of instance to start for the replicas. // Experimental. InstanceType InstanceType `json:"instanceType"` // The name of the Availability Zone where the DB instance will be located. // Experimental. AvailabilityZone *string `json:"availabilityZone"` // A name for the DB instance. // // If you specify a name, AWS CloudFormation // converts it to lowercase. // Experimental. DbInstanceName *string `json:"dbInstanceName"` // The DB parameter group to associate with the instance. // Experimental. ParameterGroup IParameterGroup `json:"parameterGroup"` // The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update. // Experimental. RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"` }
Construction properties for a DatabaseInstanceNew. Experimental.
type Endpoint ¶
Connection endpoint of a neptune cluster or instance.
Consists of a combination of hostname and port. Experimental.
type EngineVersion ¶
type EngineVersion interface {
Version() *string
}
Possible Instances Types to use in Neptune cluster used for defining {@link DatabaseClusterProps.engineVersion}. Experimental.
func EngineVersion_V1_0_1_0 ¶
func EngineVersion_V1_0_1_0() EngineVersion
func EngineVersion_V1_0_1_1 ¶
func EngineVersion_V1_0_1_1() EngineVersion
func EngineVersion_V1_0_1_2 ¶
func EngineVersion_V1_0_1_2() EngineVersion
func EngineVersion_V1_0_2_1 ¶
func EngineVersion_V1_0_2_1() EngineVersion
func EngineVersion_V1_0_2_2 ¶
func EngineVersion_V1_0_2_2() EngineVersion
func EngineVersion_V1_0_3_0 ¶
func EngineVersion_V1_0_3_0() EngineVersion
func EngineVersion_V1_0_4_0 ¶
func EngineVersion_V1_0_4_0() EngineVersion
func EngineVersion_V1_0_4_1 ¶
func EngineVersion_V1_0_4_1() EngineVersion
func EngineVersion_V1_0_5_0 ¶
func EngineVersion_V1_0_5_0() EngineVersion
func NewEngineVersion ¶
func NewEngineVersion(version *string) EngineVersion
Constructor for specifying a custom engine version. Experimental.
type IClusterParameterGroup ¶
type IClusterParameterGroup interface { awscdk.IResource // The name of this parameter group. // Experimental. ClusterParameterGroupName() *string }
A parameter group. Experimental.
func ClusterParameterGroup_FromClusterParameterGroupName ¶
func ClusterParameterGroup_FromClusterParameterGroupName(scope constructs.Construct, id *string, clusterParameterGroupName *string) IClusterParameterGroup
Imports a parameter group. Experimental.
type IDatabaseCluster ¶
type IDatabaseCluster interface { awsec2.IConnectable awscdk.IResource // Grant the given identity connection access to the database. // Experimental. GrantConnect(grantee awsiam.IGrantable) awsiam.Grant // The endpoint to use for read/write operations. // Experimental. ClusterEndpoint() Endpoint // Identifier of the cluster. // Experimental. ClusterIdentifier() *string // Endpoint to use for load-balanced read-only operations. // Experimental. ClusterReadEndpoint() Endpoint // Resource identifier of the cluster. // Experimental. ClusterResourceIdentifier() *string }
Create a clustered database with a given number of instances. Experimental.
func DatabaseClusterBase_FromDatabaseClusterAttributes ¶
func DatabaseClusterBase_FromDatabaseClusterAttributes(scope constructs.Construct, id *string, attrs *DatabaseClusterAttributes) IDatabaseCluster
Import an existing DatabaseCluster from properties. Experimental.
func DatabaseCluster_FromDatabaseClusterAttributes ¶
func DatabaseCluster_FromDatabaseClusterAttributes(scope constructs.Construct, id *string, attrs *DatabaseClusterAttributes) IDatabaseCluster
Import an existing DatabaseCluster from properties. Experimental.
type IDatabaseInstance ¶
type IDatabaseInstance interface { awscdk.IResource // The instance endpoint address. // Experimental. DbInstanceEndpointAddress() *string // The instance endpoint port. // Experimental. DbInstanceEndpointPort() *string // The instance endpoint. // Experimental. InstanceEndpoint() Endpoint // The instance identifier. // Experimental. InstanceIdentifier() *string }
A database instance. Experimental.
func DatabaseInstance_FromDatabaseInstanceAttributes ¶
func DatabaseInstance_FromDatabaseInstanceAttributes(scope constructs.Construct, id *string, attrs *DatabaseInstanceAttributes) IDatabaseInstance
Import an existing database instance. Experimental.
type IParameterGroup ¶
type IParameterGroup interface { awscdk.IResource // The name of this parameter group. // Experimental. ParameterGroupName() *string }
A parameter group. Experimental.
func ParameterGroup_FromParameterGroupName ¶
func ParameterGroup_FromParameterGroupName(scope constructs.Construct, id *string, parameterGroupName *string) IParameterGroup
Imports a parameter group. Experimental.
type ISubnetGroup ¶
type ISubnetGroup interface { awscdk.IResource // The name of the subnet group. // Experimental. SubnetGroupName() *string }
Interface for a subnet group. Experimental.
func SubnetGroup_FromSubnetGroupName ¶
func SubnetGroup_FromSubnetGroupName(scope constructs.Construct, id *string, subnetGroupName *string) ISubnetGroup
Imports an existing subnet group by name. Experimental.
type InstanceType ¶
type InstanceType interface { }
Possible Instances Types to use in Neptune cluster used for defining {@link DatabaseInstanceProps.instanceType}. Experimental.
func InstanceType_Of ¶
func InstanceType_Of(instanceType *string) InstanceType
Build an InstanceType from given string or token, such as CfnParameter. Experimental.
func InstanceType_R4_2XLARGE ¶
func InstanceType_R4_2XLARGE() InstanceType
func InstanceType_R4_4XLARGE ¶
func InstanceType_R4_4XLARGE() InstanceType
func InstanceType_R4_8XLARGE ¶
func InstanceType_R4_8XLARGE() InstanceType
func InstanceType_R4_LARGE ¶
func InstanceType_R4_LARGE() InstanceType
func InstanceType_R4_XLARGE ¶
func InstanceType_R4_XLARGE() InstanceType
func InstanceType_R5_12XLARGE ¶
func InstanceType_R5_12XLARGE() InstanceType
func InstanceType_R5_24XLARGE ¶
func InstanceType_R5_24XLARGE() InstanceType
func InstanceType_R5_2XLARGE ¶
func InstanceType_R5_2XLARGE() InstanceType
func InstanceType_R5_4XLARGE ¶
func InstanceType_R5_4XLARGE() InstanceType
func InstanceType_R5_8XLARGE ¶
func InstanceType_R5_8XLARGE() InstanceType
func InstanceType_R5_LARGE ¶
func InstanceType_R5_LARGE() InstanceType
func InstanceType_R5_XLARGE ¶
func InstanceType_R5_XLARGE() InstanceType
func InstanceType_T3_MEDIUM ¶
func InstanceType_T3_MEDIUM() InstanceType
type ParameterGroup ¶
type ParameterGroup interface { awscdk.Resource IParameterGroup Env() *awscdk.ResourceEnvironment Node() constructs.Node ParameterGroupName() *string PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string ToString() *string }
DB parameter group. Experimental.
func NewParameterGroup ¶
func NewParameterGroup(scope constructs.Construct, id *string, props *ParameterGroupProps) ParameterGroup
Experimental.
type ParameterGroupProps ¶
type ParameterGroupProps struct { // The parameters in this parameter group. // Experimental. Parameters *map[string]*string `json:"parameters"` // Description for this parameter group. // Experimental. Description *string `json:"description"` // The name of the parameter group. // Experimental. ParameterGroupName *string `json:"parameterGroupName"` }
Marker class for cluster parameter group. Experimental.
type SubnetGroup ¶
type SubnetGroup interface { awscdk.Resource ISubnetGroup Env() *awscdk.ResourceEnvironment Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack SubnetGroupName() *string ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string ToString() *string }
Class for creating a RDS DB subnet group. Experimental.
func NewSubnetGroup ¶
func NewSubnetGroup(scope constructs.Construct, id *string, props *SubnetGroupProps) SubnetGroup
Experimental.
type SubnetGroupProps ¶
type SubnetGroupProps struct { // The VPC to place the subnet group in. // Experimental. Vpc awsec2.IVpc `json:"vpc"` // Description of the subnet group. // Experimental. Description *string `json:"description"` // The removal policy to apply when the subnet group are removed from the stack or replaced during an update. // Experimental. RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"` // The name of the subnet group. // Experimental. SubnetGroupName *string `json:"subnetGroupName"` // Which subnets within the VPC to associate with this group. // Experimental. VpcSubnets *awsec2.SubnetSelection `json:"vpcSubnets"` }
Properties for creating a SubnetGroup. Experimental.