Interface DatabaseInstanceAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseInstanceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.120Z")
@Stability(Stable)
public interface DatabaseInstanceAttributes
extends software.amazon.jsii.JsiiSerializable
Properties that describe an existing instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.rds.*; IInstanceEngine instanceEngine; SecurityGroup securityGroup; DatabaseInstanceAttributes databaseInstanceAttributes = DatabaseInstanceAttributes.builder() .instanceEndpointAddress("instanceEndpointAddress") .instanceIdentifier("instanceIdentifier") .port(123) .securityGroups(List.of(securityGroup)) // the properties below are optional .engine(instanceEngine) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDatabaseInstanceAttributes
static final class
An implementation forDatabaseInstanceAttributes
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default IInstanceEngine
The engine of the existing database Instance.The endpoint address.The instance identifier.getPort()
The database port.The security groups of the instance.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceEndpointAddress
The endpoint address. -
getInstanceIdentifier
The instance identifier. -
getPort
The database port. -
getSecurityGroups
The security groups of the instance. -
getEngine
The engine of the existing database Instance.Default: - the imported Instance's engine is unknown
-
builder
- Returns:
- a
DatabaseInstanceAttributes.Builder
ofDatabaseInstanceAttributes
-