aws.redshiftserverless.Workgroup
Explore with Pulumi AI
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")
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
})
}
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 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
Create Workgroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workgroup(name: string, args: WorkgroupArgs, opts?: CustomResourceOptions);
@overload
def Workgroup(resource_name: str,
args: WorkgroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Workgroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
workgroup_name: Optional[str] = None,
base_capacity: Optional[int] = None,
config_parameters: Optional[Sequence[WorkgroupConfigParameterArgs]] = None,
enhanced_vpc_routing: Optional[bool] = None,
max_capacity: Optional[int] = None,
port: Optional[int] = None,
publicly_accessible: Optional[bool] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewWorkgroup(ctx *Context, name string, args WorkgroupArgs, opts ...ResourceOption) (*Workgroup, error)
public Workgroup(string name, WorkgroupArgs args, CustomResourceOptions? opts = null)
public Workgroup(String name, WorkgroupArgs args)
public Workgroup(String name, WorkgroupArgs args, CustomResourceOptions options)
type: aws:redshiftserverless:Workgroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WorkgroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkgroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkgroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkgroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkgroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsWorkgroupResource = new Aws.RedshiftServerless.Workgroup("awsWorkgroupResource", new()
{
NamespaceName = "string",
WorkgroupName = "string",
BaseCapacity = 0,
ConfigParameters = new[]
{
new Aws.RedshiftServerless.Inputs.WorkgroupConfigParameterArgs
{
ParameterKey = "string",
ParameterValue = "string",
},
},
EnhancedVpcRouting = false,
MaxCapacity = 0,
Port = 0,
PubliclyAccessible = false,
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := redshiftserverless.NewWorkgroup(ctx, "awsWorkgroupResource", &redshiftserverless.WorkgroupArgs{
NamespaceName: pulumi.String("string"),
WorkgroupName: pulumi.String("string"),
BaseCapacity: pulumi.Int(0),
ConfigParameters: redshiftserverless.WorkgroupConfigParameterArray{
&redshiftserverless.WorkgroupConfigParameterArgs{
ParameterKey: pulumi.String("string"),
ParameterValue: pulumi.String("string"),
},
},
EnhancedVpcRouting: pulumi.Bool(false),
MaxCapacity: pulumi.Int(0),
Port: pulumi.Int(0),
PubliclyAccessible: pulumi.Bool(false),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var awsWorkgroupResource = new Workgroup("awsWorkgroupResource", WorkgroupArgs.builder()
.namespaceName("string")
.workgroupName("string")
.baseCapacity(0)
.configParameters(WorkgroupConfigParameterArgs.builder()
.parameterKey("string")
.parameterValue("string")
.build())
.enhancedVpcRouting(false)
.maxCapacity(0)
.port(0)
.publiclyAccessible(false)
.securityGroupIds("string")
.subnetIds("string")
.tags(Map.of("string", "string"))
.build());
aws_workgroup_resource = aws.redshiftserverless.Workgroup("awsWorkgroupResource",
namespace_name="string",
workgroup_name="string",
base_capacity=0,
config_parameters=[{
"parameter_key": "string",
"parameter_value": "string",
}],
enhanced_vpc_routing=False,
max_capacity=0,
port=0,
publicly_accessible=False,
security_group_ids=["string"],
subnet_ids=["string"],
tags={
"string": "string",
})
const awsWorkgroupResource = new aws.redshiftserverless.Workgroup("awsWorkgroupResource", {
namespaceName: "string",
workgroupName: "string",
baseCapacity: 0,
configParameters: [{
parameterKey: "string",
parameterValue: "string",
}],
enhancedVpcRouting: false,
maxCapacity: 0,
port: 0,
publiclyAccessible: false,
securityGroupIds: ["string"],
subnetIds: ["string"],
tags: {
string: "string",
},
});
type: aws:redshiftserverless:Workgroup
properties:
baseCapacity: 0
configParameters:
- parameterKey: string
parameterValue: string
enhancedVpcRouting: false
maxCapacity: 0
namespaceName: string
port: 0
publiclyAccessible: false
securityGroupIds:
- string
subnetIds:
- string
tags:
string: string
workgroupName: string
Workgroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Workgroup resource accepts the following input properties:
- Namespace
Name string - The name of the namespace.
- Workgroup
Name string The name of the workgroup.
The following arguments are optional:
- Base
Capacity int - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- Config
Parameters List<WorkgroupConfig Parameter> - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - Enhanced
Vpc boolRouting - 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.
- Max
Capacity int - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- Port int
- The port number on which the cluster accepts incoming connections.
- Publicly
Accessible bool - A value that specifies whether the workgroup can be accessed from a public network.
- Security
Group List<string>Ids - An array of security group IDs to associate with the workgroup.
- Subnet
Ids List<string> - 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.
- Dictionary<string, string>
- 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.
- Namespace
Name string - The name of the namespace.
- Workgroup
Name string The name of the workgroup.
The following arguments are optional:
- Base
Capacity int - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- Config
Parameters []WorkgroupConfig Parameter Args - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - Enhanced
Vpc boolRouting - 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.
- Max
Capacity int - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- Port int
- The port number on which the cluster accepts incoming connections.
- Publicly
Accessible bool - A value that specifies whether the workgroup can be accessed from a public network.
- Security
Group []stringIds - An array of security group IDs to associate with the workgroup.
- Subnet
Ids []string - 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.
- map[string]string
- 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.
- namespace
Name String - The name of the namespace.
- workgroup
Name String The name of the workgroup.
The following arguments are optional:
- base
Capacity Integer - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters List<WorkgroupConfig Parameter> - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - enhanced
Vpc BooleanRouting - 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.
- max
Capacity Integer - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- port Integer
- The port number on which the cluster accepts incoming connections.
- publicly
Accessible Boolean - A value that specifies whether the workgroup can be accessed from a public network.
- security
Group List<String>Ids - An array of security group IDs to associate with the workgroup.
- subnet
Ids List<String> - 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.
- Map<String,String>
- 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.
- namespace
Name string - The name of the namespace.
- workgroup
Name string The name of the workgroup.
The following arguments are optional:
- base
Capacity number - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters WorkgroupConfig Parameter[] - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - enhanced
Vpc booleanRouting - 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.
- max
Capacity number - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- port number
- The port number on which the cluster accepts incoming connections.
- publicly
Accessible boolean - A value that specifies whether the workgroup can be accessed from a public network.
- security
Group string[]Ids - An array of security group IDs to associate with the workgroup.
- subnet
Ids string[] - 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.
- {[key: string]: string}
- 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.
- namespace_
name str - The name of the namespace.
- workgroup_
name str The name of the workgroup.
The following arguments are optional:
- base_
capacity int - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config_
parameters Sequence[WorkgroupConfig Parameter Args] - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - enhanced_
vpc_ boolrouting - 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.
- max_
capacity int - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- port int
- The port number on which the cluster accepts incoming connections.
- publicly_
accessible bool - A value that specifies whether the workgroup can be accessed from a public network.
- security_
group_ Sequence[str]ids - An array of security group IDs to associate with the workgroup.
- subnet_
ids Sequence[str] - 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.
- Mapping[str, str]
- 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.
- namespace
Name String - The name of the namespace.
- workgroup
Name String The name of the workgroup.
The following arguments are optional:
- base
Capacity Number - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters List<Property Map> - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - enhanced
Vpc BooleanRouting - 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.
- max
Capacity Number - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- port Number
- The port number on which the cluster accepts incoming connections.
- publicly
Accessible Boolean - A value that specifies whether the workgroup can be accessed from a public network.
- security
Group List<String>Ids - An array of security group IDs to associate with the workgroup.
- subnet
Ids List<String> - 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.
- Map<String>
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workgroup resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- Endpoints
List<Workgroup
Endpoint> - The endpoint that is created from the workgroup. See
Endpoint
below. - Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Workgroup
Id string - The Redshift Workgroup ID.
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- Endpoints
[]Workgroup
Endpoint - The endpoint that is created from the workgroup. See
Endpoint
below. - Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Workgroup
Id string - The Redshift Workgroup ID.
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- endpoints
List<Workgroup
Endpoint> - The endpoint that is created from the workgroup. See
Endpoint
below. - id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup
Id String - The Redshift Workgroup ID.
- arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- endpoints
Workgroup
Endpoint[] - The endpoint that is created from the workgroup. See
Endpoint
below. - id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup
Id string - The Redshift Workgroup ID.
- arn str
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- endpoints
Sequence[Workgroup
Endpoint] - The endpoint that is created from the workgroup. See
Endpoint
below. - id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup_
id str - The Redshift Workgroup ID.
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- endpoints List<Property Map>
- The endpoint that is created from the workgroup. See
Endpoint
below. - id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup
Id String - The Redshift Workgroup ID.
Look up Existing Workgroup Resource
Get an existing Workgroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WorkgroupState, opts?: CustomResourceOptions): Workgroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
base_capacity: Optional[int] = None,
config_parameters: Optional[Sequence[WorkgroupConfigParameterArgs]] = None,
endpoints: Optional[Sequence[WorkgroupEndpointArgs]] = None,
enhanced_vpc_routing: Optional[bool] = None,
max_capacity: Optional[int] = None,
namespace_name: Optional[str] = None,
port: Optional[int] = None,
publicly_accessible: Optional[bool] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
workgroup_id: Optional[str] = None,
workgroup_name: Optional[str] = None) -> Workgroup
func GetWorkgroup(ctx *Context, name string, id IDInput, state *WorkgroupState, opts ...ResourceOption) (*Workgroup, error)
public static Workgroup Get(string name, Input<string> id, WorkgroupState? state, CustomResourceOptions? opts = null)
public static Workgroup get(String name, Output<String> id, WorkgroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- Base
Capacity int - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- Config
Parameters List<WorkgroupConfig Parameter> - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - Endpoints
List<Workgroup
Endpoint> - The endpoint that is created from the workgroup. See
Endpoint
below. - Enhanced
Vpc boolRouting - 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.
- Max
Capacity int - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- Namespace
Name string - The name of the namespace.
- Port int
- The port number on which the cluster accepts incoming connections.
- Publicly
Accessible bool - A value that specifies whether the workgroup can be accessed from a public network.
- Security
Group List<string>Ids - An array of security group IDs to associate with the workgroup.
- Subnet
Ids List<string> - 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.
- Dictionary<string, string>
- 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. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Workgroup
Id string - The Redshift Workgroup ID.
- Workgroup
Name string The name of the workgroup.
The following arguments are optional:
- Arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- Base
Capacity int - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- Config
Parameters []WorkgroupConfig Parameter Args - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - Endpoints
[]Workgroup
Endpoint Args - The endpoint that is created from the workgroup. See
Endpoint
below. - Enhanced
Vpc boolRouting - 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.
- Max
Capacity int - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- Namespace
Name string - The name of the namespace.
- Port int
- The port number on which the cluster accepts incoming connections.
- Publicly
Accessible bool - A value that specifies whether the workgroup can be accessed from a public network.
- Security
Group []stringIds - An array of security group IDs to associate with the workgroup.
- Subnet
Ids []string - 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.
- map[string]string
- 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. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Workgroup
Id string - The Redshift Workgroup ID.
- Workgroup
Name string The name of the workgroup.
The following arguments are optional:
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- base
Capacity Integer - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters List<WorkgroupConfig Parameter> - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - endpoints
List<Workgroup
Endpoint> - The endpoint that is created from the workgroup. See
Endpoint
below. - enhanced
Vpc BooleanRouting - 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.
- max
Capacity Integer - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- namespace
Name String - The name of the namespace.
- port Integer
- The port number on which the cluster accepts incoming connections.
- publicly
Accessible Boolean - A value that specifies whether the workgroup can be accessed from a public network.
- security
Group List<String>Ids - An array of security group IDs to associate with the workgroup.
- subnet
Ids List<String> - 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.
- Map<String,String>
- 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. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup
Id String - The Redshift Workgroup ID.
- workgroup
Name String The name of the workgroup.
The following arguments are optional:
- arn string
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- base
Capacity number - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters WorkgroupConfig Parameter[] - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - endpoints
Workgroup
Endpoint[] - The endpoint that is created from the workgroup. See
Endpoint
below. - enhanced
Vpc booleanRouting - 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.
- max
Capacity number - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- namespace
Name string - The name of the namespace.
- port number
- The port number on which the cluster accepts incoming connections.
- publicly
Accessible boolean - A value that specifies whether the workgroup can be accessed from a public network.
- security
Group string[]Ids - An array of security group IDs to associate with the workgroup.
- subnet
Ids string[] - 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.
- {[key: string]: string}
- 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. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup
Id string - The Redshift Workgroup ID.
- workgroup
Name string The name of the workgroup.
The following arguments are optional:
- arn str
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- base_
capacity int - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config_
parameters Sequence[WorkgroupConfig Parameter Args] - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - endpoints
Sequence[Workgroup
Endpoint Args] - The endpoint that is created from the workgroup. See
Endpoint
below. - enhanced_
vpc_ boolrouting - 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.
- max_
capacity int - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- namespace_
name str - The name of the namespace.
- port int
- The port number on which the cluster accepts incoming connections.
- publicly_
accessible bool - A value that specifies whether the workgroup can be accessed from a public network.
- security_
group_ Sequence[str]ids - An array of security group IDs to associate with the workgroup.
- subnet_
ids Sequence[str] - 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.
- Mapping[str, str]
- 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. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup_
id str - The Redshift Workgroup ID.
- workgroup_
name str The name of the workgroup.
The following arguments are optional:
- arn String
- Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
- base
Capacity Number - The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters List<Property Map> - An array of parameters to set for more control over a serverless database. See
Config Parameter
below. - endpoints List<Property Map>
- The endpoint that is created from the workgroup. See
Endpoint
below. - enhanced
Vpc BooleanRouting - 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.
- max
Capacity Number - The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries, specified in Redshift Processing Units (RPUs).
- namespace
Name String - The name of the namespace.
- port Number
- The port number on which the cluster accepts incoming connections.
- publicly
Accessible Boolean - A value that specifies whether the workgroup can be accessed from a public network.
- security
Group List<String>Ids - An array of security group IDs to associate with the workgroup.
- subnet
Ids List<String> - 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.
- Map<String>
- 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. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - workgroup
Id String - The Redshift Workgroup ID.
- workgroup
Name String The name of the workgroup.
The following arguments are optional:
Supporting Types
WorkgroupConfigParameter, WorkgroupConfigParameterArgs
- Parameter
Key string - The key of the parameter. 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:max_query_cpu_time
,max_query_blocks_read
,max_scan_row_count
,max_query_execution_time
,max_query_queue_time
,max_query_cpu_usage_percent
,max_query_temp_blocks_to_disk
,max_join_row_count
andmax_nested_loop_join_row_count
. - Parameter
Value string - The value of the parameter to set.
- Parameter
Key string - The key of the parameter. 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:max_query_cpu_time
,max_query_blocks_read
,max_scan_row_count
,max_query_execution_time
,max_query_queue_time
,max_query_cpu_usage_percent
,max_query_temp_blocks_to_disk
,max_join_row_count
andmax_nested_loop_join_row_count
. - Parameter
Value string - The value of the parameter to set.
- parameter
Key String - The key of the parameter. 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:max_query_cpu_time
,max_query_blocks_read
,max_scan_row_count
,max_query_execution_time
,max_query_queue_time
,max_query_cpu_usage_percent
,max_query_temp_blocks_to_disk
,max_join_row_count
andmax_nested_loop_join_row_count
. - parameter
Value String - The value of the parameter to set.
- parameter
Key string - The key of the parameter. 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:max_query_cpu_time
,max_query_blocks_read
,max_scan_row_count
,max_query_execution_time
,max_query_queue_time
,max_query_cpu_usage_percent
,max_query_temp_blocks_to_disk
,max_join_row_count
andmax_nested_loop_join_row_count
. - parameter
Value string - The value of the parameter to set.
- parameter_
key str - The key of the parameter. 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:max_query_cpu_time
,max_query_blocks_read
,max_scan_row_count
,max_query_execution_time
,max_query_queue_time
,max_query_cpu_usage_percent
,max_query_temp_blocks_to_disk
,max_join_row_count
andmax_nested_loop_join_row_count
. - parameter_
value str - The value of the parameter to set.
- parameter
Key String - The key of the parameter. 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:max_query_cpu_time
,max_query_blocks_read
,max_scan_row_count
,max_query_execution_time
,max_query_queue_time
,max_query_cpu_usage_percent
,max_query_temp_blocks_to_disk
,max_join_row_count
andmax_nested_loop_join_row_count
. - parameter
Value String - The value of the parameter to set.
WorkgroupEndpoint, WorkgroupEndpointArgs
- Address string
- The DNS address of the VPC endpoint.
- Port int
- The port number on which the cluster accepts incoming connections.
- Vpc
Endpoints List<WorkgroupEndpoint Vpc Endpoint> - The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- Address string
- The DNS address of the VPC endpoint.
- Port int
- The port number on which the cluster accepts incoming connections.
- Vpc
Endpoints []WorkgroupEndpoint Vpc Endpoint - The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address String
- The DNS address of the VPC endpoint.
- port Integer
- The port number on which the cluster accepts incoming connections.
- vpc
Endpoints List<WorkgroupEndpoint Vpc Endpoint> - The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address string
- The DNS address of the VPC endpoint.
- port number
- The port number on which the cluster accepts incoming connections.
- vpc
Endpoints WorkgroupEndpoint Vpc Endpoint[] - The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address str
- The DNS address of the VPC endpoint.
- port int
- The port number on which the cluster accepts incoming connections.
- vpc_
endpoints Sequence[WorkgroupEndpoint Vpc Endpoint] - The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
- address String
- The DNS address of the VPC endpoint.
- port Number
- The port number on which the cluster accepts incoming connections.
- vpc
Endpoints List<Property Map> - The VPC endpoint or the Redshift Serverless workgroup. See
VPC Endpoint
below.
WorkgroupEndpointVpcEndpoint, WorkgroupEndpointVpcEndpointArgs
- Network
Interfaces List<WorkgroupEndpoint Vpc Endpoint Network Interface> - The network interfaces of the endpoint.. See
Network Interface
below. - Vpc
Endpoint stringId - The DNS address of the VPC endpoint.
- Vpc
Id string - The port that Amazon Redshift Serverless listens on.
- Network
Interfaces []WorkgroupEndpoint Vpc Endpoint Network Interface - The network interfaces of the endpoint.. See
Network Interface
below. - Vpc
Endpoint stringId - The DNS address of the VPC endpoint.
- Vpc
Id string - The port that Amazon Redshift Serverless listens on.
- network
Interfaces List<WorkgroupEndpoint Vpc Endpoint Network Interface> - The network interfaces of the endpoint.. See
Network Interface
below. - vpc
Endpoint StringId - The DNS address of the VPC endpoint.
- vpc
Id String - The port that Amazon Redshift Serverless listens on.
- network
Interfaces WorkgroupEndpoint Vpc Endpoint Network Interface[] - The network interfaces of the endpoint.. See
Network Interface
below. - vpc
Endpoint stringId - The DNS address of the VPC endpoint.
- vpc
Id string - The port that Amazon Redshift Serverless listens on.
- network_
interfaces Sequence[WorkgroupEndpoint Vpc Endpoint Network Interface] - The network interfaces of the endpoint.. See
Network Interface
below. - vpc_
endpoint_ strid - The DNS address of the VPC endpoint.
- vpc_
id str - The port that Amazon Redshift Serverless listens on.
- network
Interfaces List<Property Map> - The network interfaces of the endpoint.. See
Network Interface
below. - vpc
Endpoint StringId - The DNS address of the VPC endpoint.
- vpc
Id String - The port that Amazon Redshift Serverless listens on.
WorkgroupEndpointVpcEndpointNetworkInterface, WorkgroupEndpointVpcEndpointNetworkInterfaceArgs
- Availability
Zone string - The availability Zone.
- Network
Interface stringId - The unique identifier of the network interface.
- Private
Ip stringAddress - The IPv4 address of the network interface within the subnet.
- Subnet
Id string - The unique identifier of the subnet.
- Availability
Zone string - The availability Zone.
- Network
Interface stringId - The unique identifier of the network interface.
- Private
Ip stringAddress - The IPv4 address of the network interface within the subnet.
- Subnet
Id string - The unique identifier of the subnet.
- availability
Zone String - The availability Zone.
- network
Interface StringId - The unique identifier of the network interface.
- private
Ip StringAddress - The IPv4 address of the network interface within the subnet.
- subnet
Id String - The unique identifier of the subnet.
- availability
Zone string - The availability Zone.
- network
Interface stringId - The unique identifier of the network interface.
- private
Ip stringAddress - The IPv4 address of the network interface within the subnet.
- subnet
Id string - The unique identifier of the subnet.
- availability_
zone str - The availability Zone.
- network_
interface_ strid - The unique identifier of the network interface.
- private_
ip_ straddress - The IPv4 address of the network interface within the subnet.
- subnet_
id str - The unique identifier of the subnet.
- availability
Zone String - The availability Zone.
- network
Interface StringId - The unique identifier of the network interface.
- private
Ip StringAddress - The IPv4 address of the network interface within the subnet.
- subnet
Id String - The unique identifier of the subnet.
Import
Using pulumi import
, import Redshift Serverless Workgroups using the workgroup_name
. For example:
$ pulumi import aws:redshiftserverless/workgroup:Workgroup example example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.