@Stability(value=Experimental) public static final class ClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClusterProps
ClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeClusterProps.Builder, ClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getClusterName()
An optional identifier for the cluster.
|
ClusterType |
getClusterType()
Settings for the individual instances that are launched.
|
String |
getDefaultDatabaseName()
Name of a database which is automatically created inside the cluster.
|
Boolean |
getEncrypted()
Whether to enable encryption of data at rest in the cluster.
|
IKey |
getEncryptionKey()
The KMS key to use for encryption of data at rest.
|
IBucket |
getLoggingBucket()
Bucket to send logs to.
|
String |
getLoggingKeyPrefix()
Prefix used for logging.
|
Login |
getMasterUser()
Username and password for the administrative user.
|
NodeType |
getNodeType()
The node type to be provisioned for the cluster.
|
Number |
getNumberOfNodes()
Number of compute nodes in the cluster.
|
IClusterParameterGroup |
getParameterGroup()
Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.
|
Number |
getPort()
What port to listen on.
|
String |
getPreferredMaintenanceWindow()
A preferred maintenance window day/time range.
|
RemovalPolicy |
getRemovalPolicy()
The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
List<IRole> |
getRoles()
A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
|
List<ISecurityGroup> |
getSecurityGroups()
Security group.
|
IVpc |
getVpc()
The VPC to place the cluster in.
|
SubnetSelection |
getVpcSubnets()
Where to place the instances within the VPC.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public Login getMasterUser()
ClusterPropsEXPERIMENTAL
getMasterUser in interface ClusterPropspublic IVpc getVpc()
ClusterPropsEXPERIMENTAL
getVpc in interface ClusterPropspublic String getClusterName()
ClusterPropsDefault: - A name is automatically generated.
EXPERIMENTAL
getClusterName in interface ClusterPropspublic ClusterType getClusterType()
ClusterProps
Default: ClusterType.MULTI_NODE
EXPERIMENTAL
getClusterType in interface ClusterPropspublic String getDefaultDatabaseName()
ClusterPropsDefault: - default_db
EXPERIMENTAL
getDefaultDatabaseName in interface ClusterPropspublic Boolean getEncrypted()
ClusterPropsDefault: true
EXPERIMENTAL
getEncrypted in interface ClusterPropspublic IKey getEncryptionKey()
ClusterPropsDefault: - AWS-managed key, if encryption at rest is enabled
EXPERIMENTAL
getEncryptionKey in interface ClusterPropspublic IBucket getLoggingBucket()
ClusterPropsLogging information includes queries and connection attempts, for the specified Amazon Redshift cluster.
Default: - No Logs
EXPERIMENTAL
getLoggingBucket in interface ClusterPropspublic String getLoggingKeyPrefix()
ClusterPropsDefault: - no prefix
EXPERIMENTAL
getLoggingKeyPrefix in interface ClusterPropspublic NodeType getNodeType()
ClusterProps
Default: NodeType.DC2_LARGE
EXPERIMENTAL
getNodeType in interface ClusterPropspublic Number getNumberOfNodes()
ClusterPropsValue must be at least 1 and no more than 100.
Default: 1
EXPERIMENTAL
getNumberOfNodes in interface ClusterPropspublic IClusterParameterGroup getParameterGroup()
ClusterPropsDefault: - No parameter group.
EXPERIMENTAL
getParameterGroup in interface ClusterPropspublic Number getPort()
ClusterPropsDefault: - The default for the engine is used.
EXPERIMENTAL
getPort in interface ClusterPropspublic String getPreferredMaintenanceWindow()
ClusterPropsExample: 'Sun:23:45-Mon:00:15'
Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
EXPERIMENTAL
getPreferredMaintenanceWindow in interface ClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenancepublic RemovalPolicy getRemovalPolicy()
ClusterPropsDefault: RemovalPolicy.RETAIN
EXPERIMENTAL
getRemovalPolicy in interface ClusterPropspublic List<IRole> getRoles()
ClusterPropsSpecify a maximum of 10 roles.
Default: - No role is attached to the cluster.
EXPERIMENTAL
getRoles in interface ClusterPropspublic List<ISecurityGroup> getSecurityGroups()
ClusterPropsDefault: a new security group is created.
EXPERIMENTAL
getSecurityGroups in interface ClusterPropspublic SubnetSelection getVpcSubnets()
ClusterPropsDefault: private subnets
EXPERIMENTAL
getVpcSubnets in interface ClusterPropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.