@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.423Z") @Stability(value=Stable) public interface CfnDatabaseProps 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.lightsail.*;
CfnDatabaseProps cfnDatabaseProps = CfnDatabaseProps.builder()
.masterDatabaseName("masterDatabaseName")
.masterUsername("masterUsername")
.relationalDatabaseBlueprintId("relationalDatabaseBlueprintId")
.relationalDatabaseBundleId("relationalDatabaseBundleId")
.relationalDatabaseName("relationalDatabaseName")
// the properties below are optional
.availabilityZone("availabilityZone")
.backupRetention(false)
.caCertificateIdentifier("caCertificateIdentifier")
.masterUserPassword("masterUserPassword")
.preferredBackupWindow("preferredBackupWindow")
.preferredMaintenanceWindow("preferredMaintenanceWindow")
.publiclyAccessible(false)
.relationalDatabaseParameters(List.of(RelationalDatabaseParameterProperty.builder()
.allowedValues("allowedValues")
.applyMethod("applyMethod")
.applyType("applyType")
.dataType("dataType")
.description("description")
.isModifiable(false)
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.rotateMasterUserPassword(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatabaseProps.Builder
A builder for
CfnDatabaseProps |
static class |
CfnDatabaseProps.Jsii$Proxy
An implementation for
CfnDatabaseProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatabaseProps.Builder |
builder() |
default String |
getAvailabilityZone()
`AWS::Lightsail::Database.AvailabilityZone`.
|
default Object |
getBackupRetention()
`AWS::Lightsail::Database.BackupRetention`.
|
default String |
getCaCertificateIdentifier()
`AWS::Lightsail::Database.CaCertificateIdentifier`.
|
String |
getMasterDatabaseName()
`AWS::Lightsail::Database.MasterDatabaseName`.
|
String |
getMasterUsername()
`AWS::Lightsail::Database.MasterUsername`.
|
default String |
getMasterUserPassword()
`AWS::Lightsail::Database.MasterUserPassword`.
|
default String |
getPreferredBackupWindow()
`AWS::Lightsail::Database.PreferredBackupWindow`.
|
default String |
getPreferredMaintenanceWindow()
`AWS::Lightsail::Database.PreferredMaintenanceWindow`.
|
default Object |
getPubliclyAccessible()
`AWS::Lightsail::Database.PubliclyAccessible`.
|
String |
getRelationalDatabaseBlueprintId()
`AWS::Lightsail::Database.RelationalDatabaseBlueprintId`.
|
String |
getRelationalDatabaseBundleId()
`AWS::Lightsail::Database.RelationalDatabaseBundleId`.
|
String |
getRelationalDatabaseName()
`AWS::Lightsail::Database.RelationalDatabaseName`.
|
default Object |
getRelationalDatabaseParameters()
`AWS::Lightsail::Database.RelationalDatabaseParameters`.
|
default Object |
getRotateMasterUserPassword()
`AWS::Lightsail::Database.RotateMasterUserPassword`.
|
default List<CfnTag> |
getTags()
`AWS::Lightsail::Database.Tags`.
|
@Stability(value=Stable) @Nullable default String getAvailabilityZone()
@Stability(value=Stable) @Nullable default Object getBackupRetention()
@Stability(value=Stable) @Nullable default String getCaCertificateIdentifier()
@Stability(value=Stable) @NotNull String getMasterDatabaseName()
@Stability(value=Stable) @NotNull String getMasterUsername()
@Stability(value=Stable) @Nullable default String getMasterUserPassword()
@Stability(value=Stable) @Nullable default String getPreferredBackupWindow()
@Stability(value=Stable) @Nullable default String getPreferredMaintenanceWindow()
@Stability(value=Stable) @Nullable default Object getPubliclyAccessible()
@Stability(value=Stable) @NotNull String getRelationalDatabaseBlueprintId()
@Stability(value=Stable) @NotNull String getRelationalDatabaseBundleId()
@Stability(value=Stable) @NotNull String getRelationalDatabaseName()
@Stability(value=Stable) @Nullable default Object getRelationalDatabaseParameters()
@Stability(value=Stable) @Nullable default Object getRotateMasterUserPassword()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnDatabaseProps.Builder builder()
CfnDatabaseProps.Builder of CfnDatabasePropsCopyright © 2021. All rights reserved.