ClusterArgs

data class ClusterArgs(val allowVersionUpgrade: Output<Boolean>? = null, val aquaConfigurationStatus: Output<String>? = null, val automatedSnapshotRetentionPeriod: Output<Int>? = null, val availabilityZone: Output<String>? = null, val availabilityZoneRelocation: Output<Boolean>? = null, val availabilityZoneRelocationStatus: Output<String>? = null, val classic: Output<Boolean>? = null, val clusterIdentifier: Output<String>? = null, val clusterParameterGroupName: Output<String>? = null, val clusterSecurityGroups: Output<List<String>>? = null, val clusterSubnetGroupName: Output<String>? = null, val clusterType: Output<String>? = null, val clusterVersion: Output<String>? = null, val dbName: Output<String>? = null, val deferMaintenance: Output<Boolean>? = null, val deferMaintenanceDuration: Output<Int>? = null, val deferMaintenanceEndTime: Output<String>? = null, val deferMaintenanceStartTime: Output<String>? = null, val destinationRegion: Output<String>? = null, val elasticIp: Output<String>? = null, val encrypted: Output<Boolean>? = null, val endpoint: Output<ClusterEndpointArgs>? = null, val enhancedVpcRouting: Output<Boolean>? = null, val hsmClientCertificateIdentifier: Output<String>? = null, val hsmConfigurationIdentifier: Output<String>? = null, val iamRoles: Output<List<String>>? = null, val kmsKeyId: Output<String>? = null, val loggingProperties: Output<ClusterLoggingPropertiesArgs>? = null, val maintenanceTrackName: Output<String>? = null, val manageMasterPassword: Output<Boolean>? = null, val manualSnapshotRetentionPeriod: Output<Int>? = null, val masterPasswordSecretKmsKeyId: Output<String>? = null, val masterUserPassword: Output<String>? = null, val masterUsername: Output<String>? = null, val multiAz: Output<Boolean>? = null, val namespaceResourcePolicy: Output<Any>? = null, val nodeType: Output<String>? = null, val numberOfNodes: Output<Int>? = null, val ownerAccount: Output<String>? = null, val port: Output<Int>? = null, val preferredMaintenanceWindow: Output<String>? = null, val publiclyAccessible: Output<Boolean>? = null, val resourceAction: Output<String>? = null, val revisionTarget: Output<String>? = null, val rotateEncryptionKey: Output<Boolean>? = null, val snapshotClusterIdentifier: Output<String>? = null, val snapshotCopyGrantName: Output<String>? = null, val snapshotCopyManual: Output<Boolean>? = null, val snapshotCopyRetentionPeriod: Output<Int>? = null, val snapshotIdentifier: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val vpcSecurityGroupIds: Output<List<String>>? = null) : ConvertibleToJava<ClusterArgs>

An example resource schema demonstrating some basic constructs and validation rules.

Constructors

Link copied to clipboard
constructor(allowVersionUpgrade: Output<Boolean>? = null, aquaConfigurationStatus: Output<String>? = null, automatedSnapshotRetentionPeriod: Output<Int>? = null, availabilityZone: Output<String>? = null, availabilityZoneRelocation: Output<Boolean>? = null, availabilityZoneRelocationStatus: Output<String>? = null, classic: Output<Boolean>? = null, clusterIdentifier: Output<String>? = null, clusterParameterGroupName: Output<String>? = null, clusterSecurityGroups: Output<List<String>>? = null, clusterSubnetGroupName: Output<String>? = null, clusterType: Output<String>? = null, clusterVersion: Output<String>? = null, dbName: Output<String>? = null, deferMaintenance: Output<Boolean>? = null, deferMaintenanceDuration: Output<Int>? = null, deferMaintenanceEndTime: Output<String>? = null, deferMaintenanceStartTime: Output<String>? = null, destinationRegion: Output<String>? = null, elasticIp: Output<String>? = null, encrypted: Output<Boolean>? = null, endpoint: Output<ClusterEndpointArgs>? = null, enhancedVpcRouting: Output<Boolean>? = null, hsmClientCertificateIdentifier: Output<String>? = null, hsmConfigurationIdentifier: Output<String>? = null, iamRoles: Output<List<String>>? = null, kmsKeyId: Output<String>? = null, loggingProperties: Output<ClusterLoggingPropertiesArgs>? = null, maintenanceTrackName: Output<String>? = null, manageMasterPassword: Output<Boolean>? = null, manualSnapshotRetentionPeriod: Output<Int>? = null, masterPasswordSecretKmsKeyId: Output<String>? = null, masterUserPassword: Output<String>? = null, masterUsername: Output<String>? = null, multiAz: Output<Boolean>? = null, namespaceResourcePolicy: Output<Any>? = null, nodeType: Output<String>? = null, numberOfNodes: Output<Int>? = null, ownerAccount: Output<String>? = null, port: Output<Int>? = null, preferredMaintenanceWindow: Output<String>? = null, publiclyAccessible: Output<Boolean>? = null, resourceAction: Output<String>? = null, revisionTarget: Output<String>? = null, rotateEncryptionKey: Output<Boolean>? = null, snapshotClusterIdentifier: Output<String>? = null, snapshotCopyGrantName: Output<String>? = null, snapshotCopyManual: Output<Boolean>? = null, snapshotCopyRetentionPeriod: Output<Int>? = null, snapshotIdentifier: Output<String>? = null, tags: Output<List<TagArgs>>? = null, vpcSecurityGroupIds: Output<List<String>>? = null)

Properties

Link copied to clipboard
val allowVersionUpgrade: Output<Boolean>? = null

Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True

Link copied to clipboard
val aquaConfigurationStatus: Output<String>? = null

The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following. enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. disabled - Don't use AQUA. auto - Amazon Redshift determines whether to use AQUA.

Link copied to clipboard

The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1

Link copied to clipboard
val availabilityZone: Output<String>? = null

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint

Link copied to clipboard
val availabilityZoneRelocation: Output<Boolean>? = null

The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.

Link copied to clipboard

The availability zone relocation status of the cluster

Link copied to clipboard
val classic: Output<Boolean>? = null

A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to false , the resize type is elastic.

Link copied to clipboard
val clusterIdentifier: Output<String>? = null

A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account

Link copied to clipboard
val clusterParameterGroupName: Output<String>? = null

The name of the parameter group to be associated with this cluster.

Link copied to clipboard
val clusterSecurityGroups: Output<List<String>>? = null

A list of security groups to be associated with this cluster.

Link copied to clipboard
val clusterSubnetGroupName: Output<String>? = null

The name of a cluster subnet group to be associated with this cluster.

Link copied to clipboard
val clusterType: Output<String>? = null

The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required

Link copied to clipboard
val clusterVersion: Output<String>? = null

The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster.

Link copied to clipboard
val dbName: Output<String>? = null

The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database.

Link copied to clipboard
val deferMaintenance: Output<Boolean>? = null

A boolean indicating whether to enable the deferred maintenance window.

Link copied to clipboard
val deferMaintenanceDuration: Output<Int>? = null

An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.

Link copied to clipboard
val deferMaintenanceEndTime: Output<String>? = null

A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.

Link copied to clipboard
val deferMaintenanceStartTime: Output<String>? = null

A timestamp indicating the start time for the deferred maintenance window.

Link copied to clipboard
val destinationRegion: Output<String>? = null

The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region General Reference

Link copied to clipboard
val elasticIp: Output<String>? = null

The Elastic IP (EIP) address for the cluster.

Link copied to clipboard
val encrypted: Output<Boolean>? = null

If true, the data in the cluster is encrypted at rest.

Link copied to clipboard
val endpoint: Output<ClusterEndpointArgs>? = null

The connection endpoint.

Link copied to clipboard
val enhancedVpcRouting: Output<Boolean>? = null

An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true , enhanced VPC routing is enabled. Default: false

Link copied to clipboard

Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM

Link copied to clipboard
val hsmConfigurationIdentifier: Output<String>? = null

Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.

Link copied to clipboard
val iamRoles: Output<List<String>>? = null

A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request

Link copied to clipboard
val kmsKeyId: Output<String>? = null

The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.

Link copied to clipboard

Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.

Link copied to clipboard
val maintenanceTrackName: Output<String>? = null

The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.

Link copied to clipboard
val manageMasterPassword: Output<Boolean>? = null

A boolean indicating if the redshift cluster's admin user credentials is managed by Redshift or not. You can't use MasterUserPassword if ManageMasterPassword is true. If ManageMasterPassword is false or not set, Amazon Redshift uses MasterUserPassword for the admin user account's password.

Link copied to clipboard
val manualSnapshotRetentionPeriod: Output<Int>? = null

The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely. The value must be either -1 or an integer between 1 and 3,653.

Link copied to clipboard

The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.

Link copied to clipboard
val masterUsername: Output<String>? = null

The user name associated with the master user account for the cluster that is being created. The user name can't be PUBLIC and first character must be a letter.

Link copied to clipboard
val masterUserPassword: Output<String>? = null

The password associated with the master user account for the cluster that is being created. You can't use MasterUserPassword if ManageMasterPassword is true. Password must be between 8 and 64 characters in length, should have at least one uppercase letter.Must contain at least one lowercase letter.Must contain one number.Can be any printable ASCII character.

Link copied to clipboard
val multiAz: Output<Boolean>? = null

A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az.

Link copied to clipboard
val namespaceResourcePolicy: Output<Any>? = null

The namespace resource policy document that will be attached to a Redshift cluster. Search the CloudFormation User Guide for AWS::Redshift::Cluster for more information about the expected schema for this property.

Link copied to clipboard
val nodeType: Output<String>? = null

The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge

Link copied to clipboard
val numberOfNodes: Output<Int>? = null

The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.

Link copied to clipboard
val ownerAccount: Output<String>? = null

The AWS account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.

Link copied to clipboard
val port: Output<Int>? = null

The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings

Link copied to clipboard
val preferredMaintenanceWindow: Output<String>? = null

The weekly time range (in UTC) during which automated cluster maintenance can occur.

Link copied to clipboard
val publiclyAccessible: Output<Boolean>? = null

If true, the cluster can be accessed from a public network.

Link copied to clipboard
val resourceAction: Output<String>? = null

The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs

Link copied to clipboard
val revisionTarget: Output<String>? = null

The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.

Link copied to clipboard
val rotateEncryptionKey: Output<Boolean>? = null

A boolean indicating if we want to rotate Encryption Keys.

Link copied to clipboard
val snapshotClusterIdentifier: Output<String>? = null

The name of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Link copied to clipboard
val snapshotCopyGrantName: Output<String>? = null

The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.

Link copied to clipboard
val snapshotCopyManual: Output<Boolean>? = null

Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.

Link copied to clipboard
val snapshotCopyRetentionPeriod: Output<Int>? = null

The number of days to retain automated snapshots in the destination region after they are copied from the source region. Default is 7. Constraints: Must be at least 1 and no more than 35.

Link copied to clipboard
val snapshotIdentifier: Output<String>? = null

The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The list of tags for the cluster parameter group.

Link copied to clipboard
val vpcSecurityGroupIds: Output<List<String>>? = null

A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.

Functions

Link copied to clipboard
open override fun toJava(): ClusterArgs