WorkgroupArgs

data class WorkgroupArgs(val baseCapacity: Output<Int>? = null, val configParameters: Output<List<WorkgroupConfigParameterArgs>>? = null, val enhancedVpcRouting: Output<Boolean>? = null, val namespaceName: Output<String>? = null, val publiclyAccessible: Output<Boolean>? = null, val securityGroupIds: Output<List<String>>? = null, val subnetIds: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val workgroupName: Output<String>? = null) : ConvertibleToJava<WorkgroupArgs>

Creates a new Amazon Redshift Serverless Workgroup.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshiftserverless.Workgroup;
import com.pulumi.aws.redshiftserverless.WorkgroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Workgroup("example", WorkgroupArgs.builder()
.namespaceName("concurrency-scaling")
.workgroupName("concurrency-scaling")
.build());
}
}

Import

Redshift Serverless Workgroups can be imported using the workgroup_name, e.g.,

$ pulumi import aws:redshiftserverless/workgroup:Workgroup example example

Constructors

Link copied to clipboard
constructor(baseCapacity: Output<Int>? = null, configParameters: Output<List<WorkgroupConfigParameterArgs>>? = null, enhancedVpcRouting: Output<Boolean>? = null, namespaceName: Output<String>? = null, publiclyAccessible: Output<Boolean>? = null, securityGroupIds: Output<List<String>>? = null, subnetIds: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, workgroupName: Output<String>? = null)

Properties

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

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

Link copied to clipboard

An array of parameters to set for more control over a serverless database. See Config Parameter below.

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

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.

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

The name of the namespace.

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

A value that specifies whether the workgroup can be accessed from a public network.

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

An array of security group IDs to associate with the workgroup.

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

An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following AWS document.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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

The name of the workgroup. The following arguments are optional:

Functions

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