interface DatabaseClusterAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Neptune.DatabaseClusterAttributes |
Java | software.amazon.awscdk.services.neptune.DatabaseClusterAttributes |
Python | aws_cdk.aws_neptune.DatabaseClusterAttributes |
TypeScript (source) | @aws-cdk/aws-neptune » DatabaseClusterAttributes |
Properties that describe an existing cluster instance.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
import * as neptune from '@aws-cdk/aws-neptune';
declare const securityGroup: ec2.SecurityGroup;
const databaseClusterAttributes: neptune.DatabaseClusterAttributes = {
clusterEndpointAddress: 'clusterEndpointAddress',
clusterIdentifier: 'clusterIdentifier',
clusterResourceIdentifier: 'clusterResourceIdentifier',
port: 123,
readerEndpointAddress: 'readerEndpointAddress',
securityGroup: securityGroup,
};
Properties
Name | Type | Description |
---|---|---|
cluster | string | Cluster endpoint address. |
cluster | string | Identifier for the cluster. |
cluster | string | Resource Identifier for the cluster. |
port | number | The database port. |
reader | string | Reader endpoint address. |
security | ISecurity | The security group of the database cluster. |
clusterEndpointAddress
Type:
string
Cluster endpoint address.
clusterIdentifier
Type:
string
Identifier for the cluster.
clusterResourceIdentifier
Type:
string
Resource Identifier for the cluster.
port
Type:
number
The database port.
readerEndpointAddress
Type:
string
Reader endpoint address.
securityGroup
Type:
ISecurity
The security group of the database cluster.