@Stability(value=Experimental) @Internal 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.
|
protected |
Jsii$Proxy(Login masterUser,
IVpc vpc,
String clusterName,
ClusterType clusterType,
String defaultDatabaseName,
Boolean encrypted,
IKey encryptionKey,
IBucket loggingBucket,
String loggingKeyPrefix,
NodeType nodeType,
Number numberOfNodes,
IClusterParameterGroup parameterGroup,
Number port,
String preferredMaintenanceWindow,
Boolean publiclyAccessible,
RemovalPolicy removalPolicy,
List<? extends IRole> roles,
List<? extends ISecurityGroup> securityGroups,
IClusterSubnetGroup subnetGroup,
SubnetSelection vpcSubnets)
Constructor that initializes the object based on literal property values passed by the
ClusterProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getClusterName()
(experimental) An optional identifier for the cluster.
|
ClusterType |
getClusterType()
(experimental) Settings for the individual instances that are launched.
|
String |
getDefaultDatabaseName()
(experimental) Name of a database which is automatically created inside the cluster.
|
Boolean |
getEncrypted()
(experimental) Whether to enable encryption of data at rest in the cluster.
|
IKey |
getEncryptionKey()
(experimental) The KMS key to use for encryption of data at rest.
|
IBucket |
getLoggingBucket()
(experimental) Bucket to send logs to.
|
String |
getLoggingKeyPrefix()
(experimental) Prefix used for logging.
|
Login |
getMasterUser()
(experimental) Username and password for the administrative user.
|
NodeType |
getNodeType()
(experimental) The node type to be provisioned for the cluster.
|
Number |
getNumberOfNodes()
(experimental) Number of compute nodes in the cluster.
|
IClusterParameterGroup |
getParameterGroup()
(experimental) Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.
|
Number |
getPort()
(experimental) What port to listen on.
|
String |
getPreferredMaintenanceWindow()
(experimental) A preferred maintenance window day/time range.
|
Boolean |
getPubliclyAccessible()
(experimental) Whether to make cluster publicly accessible.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
List<IRole> |
getRoles()
(experimental) 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()
(experimental) Security group.
|
IClusterSubnetGroup |
getSubnetGroup()
(experimental) A cluster subnet group to use with this cluster.
|
IVpc |
getVpc()
(experimental) The VPC to place the cluster in.
|
SubnetSelection |
getVpcSubnets()
(experimental) Where to place the instances within the VPC.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Login masterUser, IVpc vpc, String clusterName, ClusterType clusterType, String defaultDatabaseName, Boolean encrypted, IKey encryptionKey, IBucket loggingBucket, String loggingKeyPrefix, NodeType nodeType, Number numberOfNodes, IClusterParameterGroup parameterGroup, Number port, String preferredMaintenanceWindow, Boolean publiclyAccessible, RemovalPolicy removalPolicy, List<? extends IRole> roles, List<? extends ISecurityGroup> securityGroups, IClusterSubnetGroup subnetGroup, SubnetSelection vpcSubnets)
ClusterProps.Builder.public final Login getMasterUser()
ClusterPropsgetMasterUser in interface ClusterPropspublic final IVpc getVpc()
ClusterPropsgetVpc in interface ClusterPropspublic final String getClusterName()
ClusterPropsDefault: - A name is automatically generated.
getClusterName in interface ClusterPropspublic final ClusterType getClusterType()
ClusterProps
Default: ClusterType.MULTI_NODE
getClusterType in interface ClusterPropspublic final String getDefaultDatabaseName()
ClusterPropsDefault: - default_db
getDefaultDatabaseName in interface ClusterPropspublic final Boolean getEncrypted()
ClusterPropsDefault: true
getEncrypted in interface ClusterPropspublic final IKey getEncryptionKey()
ClusterPropsDefault: - AWS-managed key, if encryption at rest is enabled
getEncryptionKey in interface ClusterPropspublic final IBucket getLoggingBucket()
ClusterPropsLogging information includes queries and connection attempts, for the specified Amazon Redshift cluster.
Default: - No Logs
getLoggingBucket in interface ClusterPropspublic final String getLoggingKeyPrefix()
ClusterPropsDefault: - no prefix
getLoggingKeyPrefix in interface ClusterPropspublic final NodeType getNodeType()
ClusterProps
Default: NodeType.DC2_LARGE
getNodeType in interface ClusterPropspublic final Number getNumberOfNodes()
ClusterPropsValue must be at least 2 and no more than 100.
Default: - 2 if `clusterType` is ClusterType.MULTI_NODE, undefined otherwise
getNumberOfNodes in interface ClusterPropspublic final IClusterParameterGroup getParameterGroup()
ClusterPropsDefault: - No parameter group.
getParameterGroup in interface ClusterPropspublic final Number getPort()
ClusterPropsDefault: - The default for the engine is used.
getPort in interface ClusterPropspublic final 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.
getPreferredMaintenanceWindow in interface ClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenancepublic final Boolean getPubliclyAccessible()
ClusterPropsDefault: false
getPubliclyAccessible in interface ClusterPropspublic final RemovalPolicy getRemovalPolicy()
ClusterPropsDefault: RemovalPolicy.RETAIN
getRemovalPolicy in interface ClusterPropspublic final List<IRole> getRoles()
ClusterPropsSpecify a maximum of 10 roles.
Default: - No role is attached to the cluster.
getRoles in interface ClusterPropspublic final List<ISecurityGroup> getSecurityGroups()
ClusterPropsDefault: - a new security group is created.
getSecurityGroups in interface ClusterPropspublic final IClusterSubnetGroup getSubnetGroup()
ClusterPropsDefault: - a new subnet group will be created.
getSubnetGroup in interface ClusterPropspublic final SubnetSelection getVpcSubnets()
ClusterPropsDefault: - private subnets
getVpcSubnets in interface ClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.