All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.redshift.kotlin.ClusterArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.redshift.kotlin

import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.redshift.ClusterArgs.builder
import com.pulumi.awsnative.redshift.kotlin.inputs.ClusterEndpointArgs
import com.pulumi.awsnative.redshift.kotlin.inputs.ClusterEndpointArgsBuilder
import com.pulumi.awsnative.redshift.kotlin.inputs.ClusterLoggingPropertiesArgs
import com.pulumi.awsnative.redshift.kotlin.inputs.ClusterLoggingPropertiesArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * An example resource schema demonstrating some basic constructs and validation rules.
 * @property allowVersionUpgrade 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
 * @property aquaConfigurationStatus 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.
 * @property automatedSnapshotRetentionPeriod The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
 * @property availabilityZone 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
 * @property availabilityZoneRelocation The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
 * @property availabilityZoneRelocationStatus The availability zone relocation status of the cluster
 * @property classic 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.
 * @property clusterIdentifier 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
 * @property clusterParameterGroupName The name of the parameter group to be associated with this cluster.
 * @property clusterSecurityGroups A list of security groups to be associated with this cluster.
 * @property clusterSubnetGroupName The name of a cluster subnet group to be associated with this cluster.
 * @property clusterType 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
 * @property clusterVersion 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.
 * @property dbName 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.
 * @property deferMaintenance A boolean indicating whether to enable the deferred maintenance window.
 * @property deferMaintenanceDuration 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.
 * @property deferMaintenanceEndTime A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
 * @property deferMaintenanceStartTime A timestamp indicating the start time for the deferred maintenance window.
 * @property destinationRegion 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
 * @property elasticIp The Elastic IP (EIP) address for the cluster.
 * @property encrypted If true, the data in the cluster is encrypted at rest.
 * @property endpoint The connection endpoint.
 * @property enhancedVpcRouting 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
 * @property hsmClientCertificateIdentifier Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
 * @property hsmConfigurationIdentifier 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.
 * @property iamRoles 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
 * @property kmsKeyId The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
 * @property loggingProperties Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
 * @property maintenanceTrackName 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.
 * @property manageMasterPassword 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.
 * @property manualSnapshotRetentionPeriod 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.
 * @property masterPasswordSecretKmsKeyId The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
 * @property masterUserPassword 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.
 * @property masterUsername 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.
 * @property multiAz 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.
 * @property namespaceResourcePolicy The namespace resource policy document that will be attached to a Redshift cluster.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Redshift::Cluster` for more information about the expected schema for this property.
 * @property nodeType 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
 * @property numberOfNodes The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
 * @property ownerAccount 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.
 * @property port The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
 * @property preferredMaintenanceWindow The weekly time range (in UTC) during which automated cluster maintenance can occur.
 * @property publiclyAccessible If true, the cluster can be accessed from a public network.
 * @property resourceAction The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
 * @property revisionTarget The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
 * @property rotateEncryptionKey A boolean indicating if we want to rotate Encryption Keys.
 * @property snapshotClusterIdentifier 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.
 * @property snapshotCopyGrantName The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
 * @property snapshotCopyManual Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
 * @property snapshotCopyRetentionPeriod 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.
 * @property snapshotIdentifier The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive.
 * @property tags The list of tags for the cluster parameter group.
 * @property vpcSecurityGroupIds A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
 */
public data class ClusterArgs(
    public val allowVersionUpgrade: Output? = null,
    public val aquaConfigurationStatus: Output? = null,
    public val automatedSnapshotRetentionPeriod: Output? = null,
    public val availabilityZone: Output? = null,
    public val availabilityZoneRelocation: Output? = null,
    public val availabilityZoneRelocationStatus: Output? = null,
    public val classic: Output? = null,
    public val clusterIdentifier: Output? = null,
    public val clusterParameterGroupName: Output? = null,
    public val clusterSecurityGroups: Output>? = null,
    public val clusterSubnetGroupName: Output? = null,
    public val clusterType: Output? = null,
    public val clusterVersion: Output? = null,
    public val dbName: Output? = null,
    public val deferMaintenance: Output? = null,
    public val deferMaintenanceDuration: Output? = null,
    public val deferMaintenanceEndTime: Output? = null,
    public val deferMaintenanceStartTime: Output? = null,
    public val destinationRegion: Output? = null,
    public val elasticIp: Output? = null,
    public val encrypted: Output? = null,
    public val endpoint: Output? = null,
    public val enhancedVpcRouting: Output? = null,
    public val hsmClientCertificateIdentifier: Output? = null,
    public val hsmConfigurationIdentifier: Output? = null,
    public val iamRoles: Output>? = null,
    public val kmsKeyId: Output? = null,
    public val loggingProperties: Output? = null,
    public val maintenanceTrackName: Output? = null,
    public val manageMasterPassword: Output? = null,
    public val manualSnapshotRetentionPeriod: Output? = null,
    public val masterPasswordSecretKmsKeyId: Output? = null,
    public val masterUserPassword: Output? = null,
    public val masterUsername: Output? = null,
    public val multiAz: Output? = null,
    public val namespaceResourcePolicy: Output? = null,
    public val nodeType: Output? = null,
    public val numberOfNodes: Output? = null,
    public val ownerAccount: Output? = null,
    public val port: Output? = null,
    public val preferredMaintenanceWindow: Output? = null,
    public val publiclyAccessible: Output? = null,
    public val resourceAction: Output? = null,
    public val revisionTarget: Output? = null,
    public val rotateEncryptionKey: Output? = null,
    public val snapshotClusterIdentifier: Output? = null,
    public val snapshotCopyGrantName: Output? = null,
    public val snapshotCopyManual: Output? = null,
    public val snapshotCopyRetentionPeriod: Output? = null,
    public val snapshotIdentifier: Output? = null,
    public val tags: Output>? = null,
    public val vpcSecurityGroupIds: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.redshift.ClusterArgs =
        com.pulumi.awsnative.redshift.ClusterArgs.builder()
            .allowVersionUpgrade(allowVersionUpgrade?.applyValue({ args0 -> args0 }))
            .aquaConfigurationStatus(aquaConfigurationStatus?.applyValue({ args0 -> args0 }))
            .automatedSnapshotRetentionPeriod(automatedSnapshotRetentionPeriod?.applyValue({ args0 -> args0 }))
            .availabilityZone(availabilityZone?.applyValue({ args0 -> args0 }))
            .availabilityZoneRelocation(availabilityZoneRelocation?.applyValue({ args0 -> args0 }))
            .availabilityZoneRelocationStatus(availabilityZoneRelocationStatus?.applyValue({ args0 -> args0 }))
            .classic(classic?.applyValue({ args0 -> args0 }))
            .clusterIdentifier(clusterIdentifier?.applyValue({ args0 -> args0 }))
            .clusterParameterGroupName(clusterParameterGroupName?.applyValue({ args0 -> args0 }))
            .clusterSecurityGroups(clusterSecurityGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .clusterSubnetGroupName(clusterSubnetGroupName?.applyValue({ args0 -> args0 }))
            .clusterType(clusterType?.applyValue({ args0 -> args0 }))
            .clusterVersion(clusterVersion?.applyValue({ args0 -> args0 }))
            .dbName(dbName?.applyValue({ args0 -> args0 }))
            .deferMaintenance(deferMaintenance?.applyValue({ args0 -> args0 }))
            .deferMaintenanceDuration(deferMaintenanceDuration?.applyValue({ args0 -> args0 }))
            .deferMaintenanceEndTime(deferMaintenanceEndTime?.applyValue({ args0 -> args0 }))
            .deferMaintenanceStartTime(deferMaintenanceStartTime?.applyValue({ args0 -> args0 }))
            .destinationRegion(destinationRegion?.applyValue({ args0 -> args0 }))
            .elasticIp(elasticIp?.applyValue({ args0 -> args0 }))
            .encrypted(encrypted?.applyValue({ args0 -> args0 }))
            .endpoint(endpoint?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .enhancedVpcRouting(enhancedVpcRouting?.applyValue({ args0 -> args0 }))
            .hsmClientCertificateIdentifier(hsmClientCertificateIdentifier?.applyValue({ args0 -> args0 }))
            .hsmConfigurationIdentifier(hsmConfigurationIdentifier?.applyValue({ args0 -> args0 }))
            .iamRoles(iamRoles?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 }))
            .loggingProperties(loggingProperties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .maintenanceTrackName(maintenanceTrackName?.applyValue({ args0 -> args0 }))
            .manageMasterPassword(manageMasterPassword?.applyValue({ args0 -> args0 }))
            .manualSnapshotRetentionPeriod(manualSnapshotRetentionPeriod?.applyValue({ args0 -> args0 }))
            .masterPasswordSecretKmsKeyId(masterPasswordSecretKmsKeyId?.applyValue({ args0 -> args0 }))
            .masterUserPassword(masterUserPassword?.applyValue({ args0 -> args0 }))
            .masterUsername(masterUsername?.applyValue({ args0 -> args0 }))
            .multiAz(multiAz?.applyValue({ args0 -> args0 }))
            .namespaceResourcePolicy(namespaceResourcePolicy?.applyValue({ args0 -> args0 }))
            .nodeType(nodeType?.applyValue({ args0 -> args0 }))
            .numberOfNodes(numberOfNodes?.applyValue({ args0 -> args0 }))
            .ownerAccount(ownerAccount?.applyValue({ args0 -> args0 }))
            .port(port?.applyValue({ args0 -> args0 }))
            .preferredMaintenanceWindow(preferredMaintenanceWindow?.applyValue({ args0 -> args0 }))
            .publiclyAccessible(publiclyAccessible?.applyValue({ args0 -> args0 }))
            .resourceAction(resourceAction?.applyValue({ args0 -> args0 }))
            .revisionTarget(revisionTarget?.applyValue({ args0 -> args0 }))
            .rotateEncryptionKey(rotateEncryptionKey?.applyValue({ args0 -> args0 }))
            .snapshotClusterIdentifier(snapshotClusterIdentifier?.applyValue({ args0 -> args0 }))
            .snapshotCopyGrantName(snapshotCopyGrantName?.applyValue({ args0 -> args0 }))
            .snapshotCopyManual(snapshotCopyManual?.applyValue({ args0 -> args0 }))
            .snapshotCopyRetentionPeriod(snapshotCopyRetentionPeriod?.applyValue({ args0 -> args0 }))
            .snapshotIdentifier(snapshotIdentifier?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .vpcSecurityGroupIds(
                vpcSecurityGroupIds?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [ClusterArgs].
 */
@PulumiTagMarker
public class ClusterArgsBuilder internal constructor() {
    private var allowVersionUpgrade: Output? = null

    private var aquaConfigurationStatus: Output? = null

    private var automatedSnapshotRetentionPeriod: Output? = null

    private var availabilityZone: Output? = null

    private var availabilityZoneRelocation: Output? = null

    private var availabilityZoneRelocationStatus: Output? = null

    private var classic: Output? = null

    private var clusterIdentifier: Output? = null

    private var clusterParameterGroupName: Output? = null

    private var clusterSecurityGroups: Output>? = null

    private var clusterSubnetGroupName: Output? = null

    private var clusterType: Output? = null

    private var clusterVersion: Output? = null

    private var dbName: Output? = null

    private var deferMaintenance: Output? = null

    private var deferMaintenanceDuration: Output? = null

    private var deferMaintenanceEndTime: Output? = null

    private var deferMaintenanceStartTime: Output? = null

    private var destinationRegion: Output? = null

    private var elasticIp: Output? = null

    private var encrypted: Output? = null

    private var endpoint: Output? = null

    private var enhancedVpcRouting: Output? = null

    private var hsmClientCertificateIdentifier: Output? = null

    private var hsmConfigurationIdentifier: Output? = null

    private var iamRoles: Output>? = null

    private var kmsKeyId: Output? = null

    private var loggingProperties: Output? = null

    private var maintenanceTrackName: Output? = null

    private var manageMasterPassword: Output? = null

    private var manualSnapshotRetentionPeriod: Output? = null

    private var masterPasswordSecretKmsKeyId: Output? = null

    private var masterUserPassword: Output? = null

    private var masterUsername: Output? = null

    private var multiAz: Output? = null

    private var namespaceResourcePolicy: Output? = null

    private var nodeType: Output? = null

    private var numberOfNodes: Output? = null

    private var ownerAccount: Output? = null

    private var port: Output? = null

    private var preferredMaintenanceWindow: Output? = null

    private var publiclyAccessible: Output? = null

    private var resourceAction: Output? = null

    private var revisionTarget: Output? = null

    private var rotateEncryptionKey: Output? = null

    private var snapshotClusterIdentifier: Output? = null

    private var snapshotCopyGrantName: Output? = null

    private var snapshotCopyManual: Output? = null

    private var snapshotCopyRetentionPeriod: Output? = null

    private var snapshotIdentifier: Output? = null

    private var tags: Output>? = null

    private var vpcSecurityGroupIds: Output>? = null

    /**
     * @param value 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
     */
    @JvmName("agyyfkouunoeqpmn")
    public suspend fun allowVersionUpgrade(`value`: Output) {
        this.allowVersionUpgrade = value
    }

    /**
     * @param value 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.
     */
    @JvmName("nehochmkjhqgotrn")
    public suspend fun aquaConfigurationStatus(`value`: Output) {
        this.aquaConfigurationStatus = value
    }

    /**
     * @param value The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
     */
    @JvmName("reicwxytuglfcmwx")
    public suspend fun automatedSnapshotRetentionPeriod(`value`: Output) {
        this.automatedSnapshotRetentionPeriod = value
    }

    /**
     * @param value 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
     */
    @JvmName("ywdadfayhlqxkwtf")
    public suspend fun availabilityZone(`value`: Output) {
        this.availabilityZone = value
    }

    /**
     * @param value The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
     */
    @JvmName("ygwjdrbxsuuhdpxa")
    public suspend fun availabilityZoneRelocation(`value`: Output) {
        this.availabilityZoneRelocation = value
    }

    /**
     * @param value The availability zone relocation status of the cluster
     */
    @JvmName("teiooyuggyckbvtl")
    public suspend fun availabilityZoneRelocationStatus(`value`: Output) {
        this.availabilityZoneRelocationStatus = value
    }

    /**
     * @param value 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.
     */
    @JvmName("eytysqgycfkursfm")
    public suspend fun classic(`value`: Output) {
        this.classic = value
    }

    /**
     * @param value 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
     */
    @JvmName("qalhpuimxvycihjd")
    public suspend fun clusterIdentifier(`value`: Output) {
        this.clusterIdentifier = value
    }

    /**
     * @param value The name of the parameter group to be associated with this cluster.
     */
    @JvmName("gdnljvyqdybbamer")
    public suspend fun clusterParameterGroupName(`value`: Output) {
        this.clusterParameterGroupName = value
    }

    /**
     * @param value A list of security groups to be associated with this cluster.
     */
    @JvmName("fcavgpfjmhhjgptm")
    public suspend fun clusterSecurityGroups(`value`: Output>) {
        this.clusterSecurityGroups = value
    }

    @JvmName("alffqlsifuebjapu")
    public suspend fun clusterSecurityGroups(vararg values: Output) {
        this.clusterSecurityGroups = Output.all(values.asList())
    }

    /**
     * @param values A list of security groups to be associated with this cluster.
     */
    @JvmName("ikbhbmefkxbwxnhm")
    public suspend fun clusterSecurityGroups(values: List>) {
        this.clusterSecurityGroups = Output.all(values)
    }

    /**
     * @param value The name of a cluster subnet group to be associated with this cluster.
     */
    @JvmName("fopeagfyfgcrqsor")
    public suspend fun clusterSubnetGroupName(`value`: Output) {
        this.clusterSubnetGroupName = value
    }

    /**
     * @param value 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
     */
    @JvmName("hfcperduuatldiyg")
    public suspend fun clusterType(`value`: Output) {
        this.clusterType = value
    }

    /**
     * @param value 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.
     */
    @JvmName("iywkforkoqdrelrf")
    public suspend fun clusterVersion(`value`: Output) {
        this.clusterVersion = value
    }

    /**
     * @param value 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.
     */
    @JvmName("birmarmcwmymbwri")
    public suspend fun dbName(`value`: Output) {
        this.dbName = value
    }

    /**
     * @param value A boolean indicating whether to enable the deferred maintenance window.
     */
    @JvmName("cmevjbfftrtdgmbm")
    public suspend fun deferMaintenance(`value`: Output) {
        this.deferMaintenance = value
    }

    /**
     * @param value 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.
     */
    @JvmName("ljoftbwkcjrydqxu")
    public suspend fun deferMaintenanceDuration(`value`: Output) {
        this.deferMaintenanceDuration = value
    }

    /**
     * @param value A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
     */
    @JvmName("iruxerdpnrlejwyy")
    public suspend fun deferMaintenanceEndTime(`value`: Output) {
        this.deferMaintenanceEndTime = value
    }

    /**
     * @param value A timestamp indicating the start time for the deferred maintenance window.
     */
    @JvmName("orpftyhjfipkkaqm")
    public suspend fun deferMaintenanceStartTime(`value`: Output) {
        this.deferMaintenanceStartTime = value
    }

    /**
     * @param value 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
     */
    @JvmName("jwjoxkncsngjnuki")
    public suspend fun destinationRegion(`value`: Output) {
        this.destinationRegion = value
    }

    /**
     * @param value The Elastic IP (EIP) address for the cluster.
     */
    @JvmName("arfhgaritdyfshqq")
    public suspend fun elasticIp(`value`: Output) {
        this.elasticIp = value
    }

    /**
     * @param value If true, the data in the cluster is encrypted at rest.
     */
    @JvmName("jryughppajtpulnp")
    public suspend fun encrypted(`value`: Output) {
        this.encrypted = value
    }

    /**
     * @param value The connection endpoint.
     */
    @JvmName("wjehylqaltbwgsrb")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value 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
     */
    @JvmName("orlnselejpemjxwq")
    public suspend fun enhancedVpcRouting(`value`: Output) {
        this.enhancedVpcRouting = value
    }

    /**
     * @param value Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
     */
    @JvmName("ebwyrcjqkdnbmhux")
    public suspend fun hsmClientCertificateIdentifier(`value`: Output) {
        this.hsmClientCertificateIdentifier = value
    }

    /**
     * @param value 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.
     */
    @JvmName("duasfvfmfvbnpdps")
    public suspend fun hsmConfigurationIdentifier(`value`: Output) {
        this.hsmConfigurationIdentifier = value
    }

    /**
     * @param value 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
     */
    @JvmName("yuaossjgwwaaitao")
    public suspend fun iamRoles(`value`: Output>) {
        this.iamRoles = value
    }

    @JvmName("wocgioxjslxdvrsb")
    public suspend fun iamRoles(vararg values: Output) {
        this.iamRoles = Output.all(values.asList())
    }

    /**
     * @param values 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
     */
    @JvmName("yymfhfrlunlkrbjr")
    public suspend fun iamRoles(values: List>) {
        this.iamRoles = Output.all(values)
    }

    /**
     * @param value The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
     */
    @JvmName("nrjgfngjbwhbeshu")
    public suspend fun kmsKeyId(`value`: Output) {
        this.kmsKeyId = value
    }

    /**
     * @param value Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
     */
    @JvmName("rgufhdxbyluwxccg")
    public suspend fun loggingProperties(`value`: Output) {
        this.loggingProperties = value
    }

    /**
     * @param value 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.
     */
    @JvmName("bkrnneqebsjajmsl")
    public suspend fun maintenanceTrackName(`value`: Output) {
        this.maintenanceTrackName = value
    }

    /**
     * @param value 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.
     */
    @JvmName("yvlihoepglnojwtr")
    public suspend fun manageMasterPassword(`value`: Output) {
        this.manageMasterPassword = value
    }

    /**
     * @param value 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.
     */
    @JvmName("mumfbjylqxdfrmtd")
    public suspend fun manualSnapshotRetentionPeriod(`value`: Output) {
        this.manualSnapshotRetentionPeriod = value
    }

    /**
     * @param value The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
     */
    @JvmName("fhujmqwrcjjvjtws")
    public suspend fun masterPasswordSecretKmsKeyId(`value`: Output) {
        this.masterPasswordSecretKmsKeyId = value
    }

    /**
     * @param value 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.
     */
    @JvmName("uiyokhodwmfbcvqa")
    public suspend fun masterUserPassword(`value`: Output) {
        this.masterUserPassword = value
    }

    /**
     * @param value 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.
     */
    @JvmName("mydhvtawlrrvuueo")
    public suspend fun masterUsername(`value`: Output) {
        this.masterUsername = value
    }

    /**
     * @param value 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.
     */
    @JvmName("dmrsiogytrbtirjd")
    public suspend fun multiAz(`value`: Output) {
        this.multiAz = value
    }

    /**
     * @param value The namespace resource policy document that will be attached to a Redshift cluster.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Redshift::Cluster` for more information about the expected schema for this property.
     */
    @JvmName("uwgspgrqjauatvoo")
    public suspend fun namespaceResourcePolicy(`value`: Output) {
        this.namespaceResourcePolicy = value
    }

    /**
     * @param value 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
     */
    @JvmName("ojxnhsckwwcqckjb")
    public suspend fun nodeType(`value`: Output) {
        this.nodeType = value
    }

    /**
     * @param value The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
     */
    @JvmName("xwtpbxkgbqwbficl")
    public suspend fun numberOfNodes(`value`: Output) {
        this.numberOfNodes = value
    }

    /**
     * @param value 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.
     */
    @JvmName("xlqrajiimddihppu")
    public suspend fun ownerAccount(`value`: Output) {
        this.ownerAccount = value
    }

    /**
     * @param value The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
     */
    @JvmName("aubglhesstbfsmtb")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value The weekly time range (in UTC) during which automated cluster maintenance can occur.
     */
    @JvmName("klsjvqtjkvhthkyq")
    public suspend fun preferredMaintenanceWindow(`value`: Output) {
        this.preferredMaintenanceWindow = value
    }

    /**
     * @param value If true, the cluster can be accessed from a public network.
     */
    @JvmName("jcxjbkobpgqevvrh")
    public suspend fun publiclyAccessible(`value`: Output) {
        this.publiclyAccessible = value
    }

    /**
     * @param value The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
     */
    @JvmName("ojfsvdgnfhnnmigc")
    public suspend fun resourceAction(`value`: Output) {
        this.resourceAction = value
    }

    /**
     * @param value The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
     */
    @JvmName("ibrbnopicbysmilp")
    public suspend fun revisionTarget(`value`: Output) {
        this.revisionTarget = value
    }

    /**
     * @param value A boolean indicating if we want to rotate Encryption Keys.
     */
    @JvmName("cvpjdllmfunsmnwu")
    public suspend fun rotateEncryptionKey(`value`: Output) {
        this.rotateEncryptionKey = value
    }

    /**
     * @param value 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.
     */
    @JvmName("urweufswtdpspilc")
    public suspend fun snapshotClusterIdentifier(`value`: Output) {
        this.snapshotClusterIdentifier = value
    }

    /**
     * @param value The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
     */
    @JvmName("bgfyjvlpusyjxggm")
    public suspend fun snapshotCopyGrantName(`value`: Output) {
        this.snapshotCopyGrantName = value
    }

    /**
     * @param value Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
     */
    @JvmName("sxulaxhiosrgcvvn")
    public suspend fun snapshotCopyManual(`value`: Output) {
        this.snapshotCopyManual = value
    }

    /**
     * @param value 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.
     */
    @JvmName("iachvwqfkqpcxusw")
    public suspend fun snapshotCopyRetentionPeriod(`value`: Output) {
        this.snapshotCopyRetentionPeriod = value
    }

    /**
     * @param value The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive.
     */
    @JvmName("tsfqwrtjwueggrru")
    public suspend fun snapshotIdentifier(`value`: Output) {
        this.snapshotIdentifier = value
    }

    /**
     * @param value The list of tags for the cluster parameter group.
     */
    @JvmName("ybbbrgjkjgpsgcuk")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("wyyctlfejyouyfbe")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values The list of tags for the cluster parameter group.
     */
    @JvmName("aogpaxpgbsvprpdv")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
     */
    @JvmName("velyghjvxmdatdxf")
    public suspend fun vpcSecurityGroupIds(`value`: Output>) {
        this.vpcSecurityGroupIds = value
    }

    @JvmName("kllhrggotevwsumx")
    public suspend fun vpcSecurityGroupIds(vararg values: Output) {
        this.vpcSecurityGroupIds = Output.all(values.asList())
    }

    /**
     * @param values A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
     */
    @JvmName("xkknvfnjbiblpxsj")
    public suspend fun vpcSecurityGroupIds(values: List>) {
        this.vpcSecurityGroupIds = Output.all(values)
    }

    /**
     * @param value 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
     */
    @JvmName("isgorsgbcmknxlmm")
    public suspend fun allowVersionUpgrade(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowVersionUpgrade = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("waqyrqbxkdlbxqax")
    public suspend fun aquaConfigurationStatus(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.aquaConfigurationStatus = mapped
    }

    /**
     * @param value The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
     */
    @JvmName("vvswrpxflxgtaohr")
    public suspend fun automatedSnapshotRetentionPeriod(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.automatedSnapshotRetentionPeriod = mapped
    }

    /**
     * @param value 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
     */
    @JvmName("oyyhhfylmeuhpgaf")
    public suspend fun availabilityZone(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.availabilityZone = mapped
    }

    /**
     * @param value The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
     */
    @JvmName("rgrvnlubnwtefcgq")
    public suspend fun availabilityZoneRelocation(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.availabilityZoneRelocation = mapped
    }

    /**
     * @param value The availability zone relocation status of the cluster
     */
    @JvmName("yvxtrhhmenabbjnf")
    public suspend fun availabilityZoneRelocationStatus(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.availabilityZoneRelocationStatus = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("mmekvtrckjsimevl")
    public suspend fun classic(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classic = mapped
    }

    /**
     * @param value 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
     */
    @JvmName("ckjfhjsaiydgmafa")
    public suspend fun clusterIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterIdentifier = mapped
    }

    /**
     * @param value The name of the parameter group to be associated with this cluster.
     */
    @JvmName("uduudwthnpdkolqu")
    public suspend fun clusterParameterGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterParameterGroupName = mapped
    }

    /**
     * @param value A list of security groups to be associated with this cluster.
     */
    @JvmName("iylglytbclwmmvuq")
    public suspend fun clusterSecurityGroups(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterSecurityGroups = mapped
    }

    /**
     * @param values A list of security groups to be associated with this cluster.
     */
    @JvmName("iilsrauqagnpfmti")
    public suspend fun clusterSecurityGroups(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clusterSecurityGroups = mapped
    }

    /**
     * @param value The name of a cluster subnet group to be associated with this cluster.
     */
    @JvmName("hqjtjiisyyhgnnmk")
    public suspend fun clusterSubnetGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterSubnetGroupName = mapped
    }

    /**
     * @param value 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
     */
    @JvmName("ydondxpbysidyljo")
    public suspend fun clusterType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterType = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("wphutumovkgybucf")
    public suspend fun clusterVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterVersion = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("siegacanbrlyprok")
    public suspend fun dbName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dbName = mapped
    }

    /**
     * @param value A boolean indicating whether to enable the deferred maintenance window.
     */
    @JvmName("xfginrunooaywagx")
    public suspend fun deferMaintenance(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deferMaintenance = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("mqhvkvopambfmlxv")
    public suspend fun deferMaintenanceDuration(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deferMaintenanceDuration = mapped
    }

    /**
     * @param value A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
     */
    @JvmName("sliggsovfasnhqjb")
    public suspend fun deferMaintenanceEndTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deferMaintenanceEndTime = mapped
    }

    /**
     * @param value A timestamp indicating the start time for the deferred maintenance window.
     */
    @JvmName("myrerhstpupbkwft")
    public suspend fun deferMaintenanceStartTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deferMaintenanceStartTime = mapped
    }

    /**
     * @param value 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
     */
    @JvmName("nxuyncrndyqvcupb")
    public suspend fun destinationRegion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.destinationRegion = mapped
    }

    /**
     * @param value The Elastic IP (EIP) address for the cluster.
     */
    @JvmName("wnmgxfhlmrfbwtos")
    public suspend fun elasticIp(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.elasticIp = mapped
    }

    /**
     * @param value If true, the data in the cluster is encrypted at rest.
     */
    @JvmName("groxlpqhbaebopfb")
    public suspend fun encrypted(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encrypted = mapped
    }

    /**
     * @param value The connection endpoint.
     */
    @JvmName("hgmmwnqkprveifxs")
    public suspend fun endpoint(`value`: ClusterEndpointArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    /**
     * @param argument The connection endpoint.
     */
    @JvmName("dfoiwijamjarbecw")
    public suspend fun endpoint(argument: suspend ClusterEndpointArgsBuilder.() -> Unit) {
        val toBeMapped = ClusterEndpointArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.endpoint = mapped
    }

    /**
     * @param value 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
     */
    @JvmName("yrrsblmrhixfkeun")
    public suspend fun enhancedVpcRouting(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enhancedVpcRouting = mapped
    }

    /**
     * @param value Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
     */
    @JvmName("hschaphxguoejlet")
    public suspend fun hsmClientCertificateIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hsmClientCertificateIdentifier = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("ppkikmgcidigammx")
    public suspend fun hsmConfigurationIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hsmConfigurationIdentifier = mapped
    }

    /**
     * @param value 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
     */
    @JvmName("uvtuhrmmxctkhrmr")
    public suspend fun iamRoles(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.iamRoles = mapped
    }

    /**
     * @param values 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
     */
    @JvmName("exdnrygfqaojonwi")
    public suspend fun iamRoles(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.iamRoles = mapped
    }

    /**
     * @param value The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
     */
    @JvmName("sonkylbydbphsigt")
    public suspend fun kmsKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyId = mapped
    }

    /**
     * @param value Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
     */
    @JvmName("wlrtlypqshaawvau")
    public suspend fun loggingProperties(`value`: ClusterLoggingPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loggingProperties = mapped
    }

    /**
     * @param argument Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
     */
    @JvmName("ailcwfridgltvqfj")
    public suspend fun loggingProperties(argument: suspend ClusterLoggingPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = ClusterLoggingPropertiesArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.loggingProperties = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("iwpvaedjlosqaqut")
    public suspend fun maintenanceTrackName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maintenanceTrackName = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("scqnygcebynlhjyj")
    public suspend fun manageMasterPassword(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.manageMasterPassword = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("pggwacbkpqpdwbep")
    public suspend fun manualSnapshotRetentionPeriod(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.manualSnapshotRetentionPeriod = mapped
    }

    /**
     * @param value The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
     */
    @JvmName("exabwlcbfulwcxlr")
    public suspend fun masterPasswordSecretKmsKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.masterPasswordSecretKmsKeyId = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("opcupsvswdguhjcr")
    public suspend fun masterUserPassword(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.masterUserPassword = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("aqgefasiulkmklgg")
    public suspend fun masterUsername(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.masterUsername = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("lklaiqhpwiggghfq")
    public suspend fun multiAz(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.multiAz = mapped
    }

    /**
     * @param value The namespace resource policy document that will be attached to a Redshift cluster.
     * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Redshift::Cluster` for more information about the expected schema for this property.
     */
    @JvmName("vevterntfgmudywe")
    public suspend fun namespaceResourcePolicy(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.namespaceResourcePolicy = mapped
    }

    /**
     * @param value 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
     */
    @JvmName("cabcyapcqeyrfrrf")
    public suspend fun nodeType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nodeType = mapped
    }

    /**
     * @param value The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
     */
    @JvmName("aeeuvacrrpbqdxji")
    public suspend fun numberOfNodes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.numberOfNodes = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("ympxorevcdprgxti")
    public suspend fun ownerAccount(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ownerAccount = mapped
    }

    /**
     * @param value The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
     */
    @JvmName("boyqejksmyllwmgr")
    public suspend fun port(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.port = mapped
    }

    /**
     * @param value The weekly time range (in UTC) during which automated cluster maintenance can occur.
     */
    @JvmName("bbgfmvfnrfkqkrut")
    public suspend fun preferredMaintenanceWindow(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.preferredMaintenanceWindow = mapped
    }

    /**
     * @param value If true, the cluster can be accessed from a public network.
     */
    @JvmName("lqbwgppvotqsbvdw")
    public suspend fun publiclyAccessible(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publiclyAccessible = mapped
    }

    /**
     * @param value The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
     */
    @JvmName("tvghvrtwevxrvctd")
    public suspend fun resourceAction(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceAction = mapped
    }

    /**
     * @param value The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
     */
    @JvmName("snbnnsrgidvjbuqi")
    public suspend fun revisionTarget(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.revisionTarget = mapped
    }

    /**
     * @param value A boolean indicating if we want to rotate Encryption Keys.
     */
    @JvmName("tsplflfvdrjarwny")
    public suspend fun rotateEncryptionKey(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rotateEncryptionKey = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("ocujqvaqxwhjxbuh")
    public suspend fun snapshotClusterIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.snapshotClusterIdentifier = mapped
    }

    /**
     * @param value The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
     */
    @JvmName("jvwnwcbxebllsqit")
    public suspend fun snapshotCopyGrantName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.snapshotCopyGrantName = mapped
    }

    /**
     * @param value Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
     */
    @JvmName("bygqjikybkgfqhqa")
    public suspend fun snapshotCopyManual(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.snapshotCopyManual = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("vficcxbtebthpaqy")
    public suspend fun snapshotCopyRetentionPeriod(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.snapshotCopyRetentionPeriod = mapped
    }

    /**
     * @param value The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive.
     */
    @JvmName("yselegccpkbvjjbi")
    public suspend fun snapshotIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.snapshotIdentifier = mapped
    }

    /**
     * @param value The list of tags for the cluster parameter group.
     */
    @JvmName("wmfalsrwpxgqrwwd")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument The list of tags for the cluster parameter group.
     */
    @JvmName("uhjarogcqlqulyyy")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument The list of tags for the cluster parameter group.
     */
    @JvmName("jbgfrgsdcvxjwdpv")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument The list of tags for the cluster parameter group.
     */
    @JvmName("ftcqrjrjyxbudhnk")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values The list of tags for the cluster parameter group.
     */
    @JvmName("wexfxgxvakjwnrgx")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
     */
    @JvmName("mairewijowkqxpwp")
    public suspend fun vpcSecurityGroupIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpcSecurityGroupIds = mapped
    }

    /**
     * @param values A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
     */
    @JvmName("ontspgivpweceluv")
    public suspend fun vpcSecurityGroupIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.vpcSecurityGroupIds = mapped
    }

    internal fun build(): ClusterArgs = ClusterArgs(
        allowVersionUpgrade = allowVersionUpgrade,
        aquaConfigurationStatus = aquaConfigurationStatus,
        automatedSnapshotRetentionPeriod = automatedSnapshotRetentionPeriod,
        availabilityZone = availabilityZone,
        availabilityZoneRelocation = availabilityZoneRelocation,
        availabilityZoneRelocationStatus = availabilityZoneRelocationStatus,
        classic = classic,
        clusterIdentifier = clusterIdentifier,
        clusterParameterGroupName = clusterParameterGroupName,
        clusterSecurityGroups = clusterSecurityGroups,
        clusterSubnetGroupName = clusterSubnetGroupName,
        clusterType = clusterType,
        clusterVersion = clusterVersion,
        dbName = dbName,
        deferMaintenance = deferMaintenance,
        deferMaintenanceDuration = deferMaintenanceDuration,
        deferMaintenanceEndTime = deferMaintenanceEndTime,
        deferMaintenanceStartTime = deferMaintenanceStartTime,
        destinationRegion = destinationRegion,
        elasticIp = elasticIp,
        encrypted = encrypted,
        endpoint = endpoint,
        enhancedVpcRouting = enhancedVpcRouting,
        hsmClientCertificateIdentifier = hsmClientCertificateIdentifier,
        hsmConfigurationIdentifier = hsmConfigurationIdentifier,
        iamRoles = iamRoles,
        kmsKeyId = kmsKeyId,
        loggingProperties = loggingProperties,
        maintenanceTrackName = maintenanceTrackName,
        manageMasterPassword = manageMasterPassword,
        manualSnapshotRetentionPeriod = manualSnapshotRetentionPeriod,
        masterPasswordSecretKmsKeyId = masterPasswordSecretKmsKeyId,
        masterUserPassword = masterUserPassword,
        masterUsername = masterUsername,
        multiAz = multiAz,
        namespaceResourcePolicy = namespaceResourcePolicy,
        nodeType = nodeType,
        numberOfNodes = numberOfNodes,
        ownerAccount = ownerAccount,
        port = port,
        preferredMaintenanceWindow = preferredMaintenanceWindow,
        publiclyAccessible = publiclyAccessible,
        resourceAction = resourceAction,
        revisionTarget = revisionTarget,
        rotateEncryptionKey = rotateEncryptionKey,
        snapshotClusterIdentifier = snapshotClusterIdentifier,
        snapshotCopyGrantName = snapshotCopyGrantName,
        snapshotCopyManual = snapshotCopyManual,
        snapshotCopyRetentionPeriod = snapshotCopyRetentionPeriod,
        snapshotIdentifier = snapshotIdentifier,
        tags = tags,
        vpcSecurityGroupIds = vpcSecurityGroupIds,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy