Skip to content
v2.274.0

DatabaseInstanceAttributes Struct ​

Properties that describe an existing instance.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_docdb as docdb } from 'aws-cdk-lib';
const databaseInstanceAttributes: docdb.DatabaseInstanceAttributes = {
  instanceEndpointAddress: 'instanceEndpointAddress',
  instanceIdentifier: 'instanceIdentifier',
  port: 123,
};

Properties ​

instanceEndpointAddressstringinstance_endpoint_addressstrinstanceEndpointAddressStringInstanceEndpointAddressstringInstanceEndpointAddress*stringrequired#
The endpoint address.
instanceIdentifierstringinstance_identifierstrinstanceIdentifierStringInstanceIdentifierstringInstanceIdentifier*stringrequired#
The instance identifier.
portnumberportint | floatportNumberPortdoublePort*float64required#
The database port.