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

com.pulumi.awsnative.redshiftserverless.kotlin.outputs.Workgroup.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.redshiftserverless.kotlin.outputs

import com.pulumi.awsnative.redshiftserverless.kotlin.enums.WorkgroupStatus
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property baseCapacity The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
 * @property configParameters An array of parameters to set for advanced control over a database. The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see [Query monitoring metrics for Amazon Redshift Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) .
 * @property creationDate The creation date of the workgroup.
 * @property endpoint The endpoint that is created from the workgroup.
 * @property enhancedVpcRouting The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
 * @property maxCapacity The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
 * @property namespaceName The namespace the workgroup is associated with.
 * @property publiclyAccessible A value that specifies whether the workgroup can be accessible from a public network.
 * @property securityGroupIds An array of security group IDs to associate with the workgroup.
 * @property status The status of the workgroup.
 * @property subnetIds An array of subnet IDs the workgroup is associated with.
 * @property workgroupArn The Amazon Resource Name (ARN) that links to the workgroup.
 * @property workgroupId The unique identifier of the workgroup.
 * @property workgroupName The name of the workgroup.
 */
public data class Workgroup(
    public val baseCapacity: Int? = null,
    public val configParameters: List? = null,
    public val creationDate: String? = null,
    public val endpoint: WorkgroupEndpoint? = null,
    public val enhancedVpcRouting: Boolean? = null,
    public val maxCapacity: Int? = null,
    public val namespaceName: String? = null,
    public val publiclyAccessible: Boolean? = null,
    public val securityGroupIds: List? = null,
    public val status: WorkgroupStatus? = null,
    public val subnetIds: List? = null,
    public val workgroupArn: String? = null,
    public val workgroupId: String? = null,
    public val workgroupName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.redshiftserverless.outputs.Workgroup): Workgroup = Workgroup(
            baseCapacity = javaType.baseCapacity().map({ args0 -> args0 }).orElse(null),
            configParameters = javaType.configParameters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.redshiftserverless.kotlin.outputs.WorkgroupConfigParameter.Companion.toKotlin(args0)
                })
            }),
            creationDate = javaType.creationDate().map({ args0 -> args0 }).orElse(null),
            endpoint = javaType.endpoint().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.redshiftserverless.kotlin.outputs.WorkgroupEndpoint.Companion.toKotlin(args0)
                })
            }).orElse(null),
            enhancedVpcRouting = javaType.enhancedVpcRouting().map({ args0 -> args0 }).orElse(null),
            maxCapacity = javaType.maxCapacity().map({ args0 -> args0 }).orElse(null),
            namespaceName = javaType.namespaceName().map({ args0 -> args0 }).orElse(null),
            publiclyAccessible = javaType.publiclyAccessible().map({ args0 -> args0 }).orElse(null),
            securityGroupIds = javaType.securityGroupIds().map({ args0 -> args0 }),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.redshiftserverless.kotlin.enums.WorkgroupStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            subnetIds = javaType.subnetIds().map({ args0 -> args0 }),
            workgroupArn = javaType.workgroupArn().map({ args0 -> args0 }).orElse(null),
            workgroupId = javaType.workgroupId().map({ args0 -> args0 }).orElse(null),
            workgroupName = javaType.workgroupName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy