Workgroup
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
Properties
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
An array of parameters to set for more control over a serverless database. See Config Parameter
below.
The endpoint that is created from the workgroup. See Endpoint
below.
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.
The name of the namespace.
A value that specifies whether the workgroup can be accessed from a public network.
An array of security group IDs to associate with the workgroup.
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.
The Redshift Workgroup ID.
The name of the workgroup. The following arguments are optional: