Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.redshiftserverless.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.redshiftserverless.WorkgroupArgs.builder
import com.pulumi.awsnative.redshiftserverless.kotlin.inputs.WorkgroupConfigParameterArgs
import com.pulumi.awsnative.redshiftserverless.kotlin.inputs.WorkgroupConfigParameterArgsBuilder
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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::RedshiftServerless::Workgroup Resource Type
* @property baseCapacity The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
* @property configParameters A list of parameters to set for finer control over a database. Available options are datestyle, enable_user_activity_logging, query_group, search_path, max_query_execution_time, and require_ssl.
* @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 max compute capacity of the workgroup in Redshift Processing Units (RPUs).
* @property namespaceName The namespace the workgroup is associated with.
* @property port The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
* @property publiclyAccessible A value that specifies whether the workgroup can be accessible from a public network.
* @property securityGroupIds A list of security group IDs to associate with the workgroup.
* @property subnetIds A list of subnet IDs the workgroup is associated with.
* @property tags The map of the key-value pairs used to tag the workgroup.
* @property workgroupName The name of the workgroup.
*/
public data class WorkgroupArgs(
public val baseCapacity: Output? = null,
public val configParameters: Output>? = null,
public val enhancedVpcRouting: Output? = null,
public val maxCapacity: Output? = null,
public val namespaceName: Output? = null,
public val port: Output? = null,
public val publiclyAccessible: Output? = null,
public val securityGroupIds: Output>? = null,
public val subnetIds: Output>? = null,
public val tags: Output>? = null,
public val workgroupName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.redshiftserverless.WorkgroupArgs =
com.pulumi.awsnative.redshiftserverless.WorkgroupArgs.builder()
.baseCapacity(baseCapacity?.applyValue({ args0 -> args0 }))
.configParameters(
configParameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.enhancedVpcRouting(enhancedVpcRouting?.applyValue({ args0 -> args0 }))
.maxCapacity(maxCapacity?.applyValue({ args0 -> args0 }))
.namespaceName(namespaceName?.applyValue({ args0 -> args0 }))
.port(port?.applyValue({ args0 -> args0 }))
.publiclyAccessible(publiclyAccessible?.applyValue({ args0 -> args0 }))
.securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.workgroupName(workgroupName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkgroupArgs].
*/
@PulumiTagMarker
public class WorkgroupArgsBuilder internal constructor() {
private var baseCapacity: Output? = null
private var configParameters: Output>? = null
private var enhancedVpcRouting: Output? = null
private var maxCapacity: Output? = null
private var namespaceName: Output? = null
private var port: Output? = null
private var publiclyAccessible: Output? = null
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
private var tags: Output>? = null
private var workgroupName: Output? = null
/**
* @param value The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
*/
@JvmName("qlbrbmmcjplothai")
public suspend fun baseCapacity(`value`: Output) {
this.baseCapacity = value
}
/**
* @param value A list of parameters to set for finer control over a database. Available options are datestyle, enable_user_activity_logging, query_group, search_path, max_query_execution_time, and require_ssl.
*/
@JvmName("stlmvgwcmtccimdi")
public suspend fun configParameters(`value`: Output>) {
this.configParameters = value
}
@JvmName("iewjwipvspqsmgxn")
public suspend fun configParameters(vararg values: Output) {
this.configParameters = Output.all(values.asList())
}
/**
* @param values A list of parameters to set for finer control over a database. Available options are datestyle, enable_user_activity_logging, query_group, search_path, max_query_execution_time, and require_ssl.
*/
@JvmName("hfgwnnoojxmtyoob")
public suspend fun configParameters(values: List