@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.453Z") @Stability(value=Stable) public interface DatabaseInstanceAttributes extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DatabaseInstanceAttributes.Builder
A builder for
DatabaseInstanceAttributes |
static class |
DatabaseInstanceAttributes.Jsii$Proxy
An implementation for
DatabaseInstanceAttributes |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseInstanceAttributes.Builder |
builder() |
default IInstanceEngine |
getEngine()
The engine of the existing database Instance.
|
String |
getInstanceEndpointAddress()
The endpoint address.
|
String |
getInstanceIdentifier()
The instance identifier.
|
Number |
getPort()
The database port.
|
List<ISecurityGroup> |
getSecurityGroups()
The security groups of the instance.
|
@Stability(value=Stable) @NotNull String getInstanceEndpointAddress()
@Stability(value=Stable) @NotNull String getInstanceIdentifier()
@Stability(value=Stable) @NotNull Number getPort()
@Stability(value=Stable) @NotNull List<ISecurityGroup> getSecurityGroups()
@Stability(value=Stable) @Nullable default IInstanceEngine getEngine()
Default: - the imported Instance's engine is unknown
@Stability(value=Stable) static DatabaseInstanceAttributes.Builder builder()
DatabaseInstanceAttributes.Builder of DatabaseInstanceAttributesCopyright © 2022. All rights reserved.