WorkgroupArgs

data class WorkgroupArgs(val baseCapacity: Output<Int>? = null, val configParameters: Output<List<WorkgroupConfigParameterArgs>>? = null, val enhancedVpcRouting: Output<Boolean>? = null, val maxCapacity: Output<Int>? = null, val namespaceName: Output<String>? = null, val port: Output<Int>? = null, val pricePerformanceTarget: Output<WorkgroupPricePerformanceTargetArgs>? = 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 trackName: Output<String>? = null, val workgroupName: Output<String>? = null) : ConvertibleToJava<WorkgroupArgs>

Creates a new Amazon Redshift Serverless Workgroup.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.redshiftserverless.Workgroup("example", {
namespaceName: "concurrency-scaling",
workgroupName: "concurrency-scaling",
});
import pulumi
import pulumi_aws as aws
example = aws.redshiftserverless.Workgroup("example",
namespace_name="concurrency-scaling",
workgroup_name="concurrency-scaling")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.RedshiftServerless.Workgroup("example", new()
{
NamespaceName = "concurrency-scaling",
WorkgroupName = "concurrency-scaling",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/redshiftserverless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redshiftserverless.NewWorkgroup(ctx, "example", &redshiftserverless.WorkgroupArgs{
NamespaceName: pulumi.String("concurrency-scaling"),
WorkgroupName: pulumi.String("concurrency-scaling"),
})
if err != nil {
return err
}
return nil
})
}
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());
}
}
resources:
example:
type: aws:redshiftserverless:Workgroup
properties:
namespaceName: concurrency-scaling
workgroupName: concurrency-scaling

Import

Using pulumi import, import Redshift Serverless Workgroups using the workgroup_name. For example:

$ 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, maxCapacity: Output<Int>? = null, namespaceName: Output<String>? = null, port: Output<Int>? = null, pricePerformanceTarget: Output<WorkgroupPricePerformanceTargetArgs>? = null, publiclyAccessible: Output<Boolean>? = null, securityGroupIds: Output<List<String>>? = null, subnetIds: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, trackName: Output<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 maxCapacity: Output<Int>? = null

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).

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

The name of the namespace.

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

The port number on which the cluster accepts incoming connections.

Link copied to clipboard

Price-performance scaling for the workgroup. See Price Performance Target below.

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 trackName: Output<String>? = null

The name of the track for the workgroup. If it is current, you get the most up-to-date certified release version with the latest features, security updates, and performance enhancements. If it is trailing, you will be on the previous certified release. For more information, see the following AWS document.

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