AWS Native is in preview. AWS Classic is fully supported.
aws-native.redshiftserverless.Workgroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Definition of AWS::RedshiftServerless::Workgroup Resource Type
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: Optional[WorkgroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Workgroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
base_capacity: Optional[int] = None,
config_parameters: Optional[Sequence[WorkgroupConfigParameterArgs]] = 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[Sequence[_root_inputs.TagArgs]] = None,
workgroup_name: Optional[str] = None)
func NewWorkgroup(ctx *Context, name string, args *WorkgroupArgs, opts ...ResourceOption) (*Workgroup, error)
public Workgroup(string name, WorkgroupArgs? args = null, CustomResourceOptions? opts = null)
public Workgroup(String name, WorkgroupArgs args)
public Workgroup(String name, WorkgroupArgs args, CustomResourceOptions options)
type: aws-native: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.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const workgroupResource = new aws_native.redshiftserverless.Workgroup("workgroupResource", {
baseCapacity: 0,
configParameters: [{
parameterKey: "string",
parameterValue: "string",
}],
enhancedVpcRouting: false,
maxCapacity: 0,
namespaceName: "string",
port: 0,
publiclyAccessible: false,
securityGroupIds: ["string"],
subnetIds: ["string"],
tags: [{
key: "string",
value: "string",
}],
workgroupName: "string",
});
Coming soon!
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
The Workgroup resource accepts the following input properties:
- Base
Capacity int - The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
- Config
Parameters List<Pulumi.Aws Native. Redshift Serverless. Inputs. Workgroup Config Parameter> - 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.
- Enhanced
Vpc boolRouting - The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- Max
Capacity int - The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
- Namespace
Name string - The namespace the workgroup is associated with.
- Port int
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- Publicly
Accessible bool - A value that specifies whether the workgroup can be accessible from a public network.
- Security
Group List<string>Ids - A list of security group IDs to associate with the workgroup.
- Subnet
Ids List<string> - A list of subnet IDs the workgroup is associated with.
- List<Pulumi.
Aws Native. Inputs. Tag> - The map of the key-value pairs used to tag the workgroup.
- Workgroup
Name string - The name of the workgroup.
- Base
Capacity int - The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
- Config
Parameters []WorkgroupConfig Parameter Args - 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.
- Enhanced
Vpc boolRouting - The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- Max
Capacity int - The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
- Namespace
Name string - The namespace the workgroup is associated with.
- Port int
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- Publicly
Accessible bool - A value that specifies whether the workgroup can be accessible from a public network.
- Security
Group []stringIds - A list of security group IDs to associate with the workgroup.
- Subnet
Ids []string - A list of subnet IDs the workgroup is associated with.
- Tag
Args - The map of the key-value pairs used to tag the workgroup.
- Workgroup
Name string - The name of the workgroup.
- base
Capacity Integer - The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters List<WorkgroupConfig Parameter> - 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.
- enhanced
Vpc BooleanRouting - The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- max
Capacity Integer - The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
- namespace
Name String - The namespace the workgroup is associated with.
- port Integer
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- publicly
Accessible Boolean - A value that specifies whether the workgroup can be accessible from a public network.
- security
Group List<String>Ids - A list of security group IDs to associate with the workgroup.
- subnet
Ids List<String> - A list of subnet IDs the workgroup is associated with.
- List<Tag>
- The map of the key-value pairs used to tag the workgroup.
- workgroup
Name String - The name of the workgroup.
- base
Capacity number - The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters WorkgroupConfig Parameter[] - 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.
- enhanced
Vpc booleanRouting - The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- max
Capacity number - The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
- namespace
Name string - The namespace the workgroup is associated with.
- port number
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- publicly
Accessible boolean - A value that specifies whether the workgroup can be accessible from a public network.
- security
Group string[]Ids - A list of security group IDs to associate with the workgroup.
- subnet
Ids string[] - A list of subnet IDs the workgroup is associated with.
- Tag[]
- The map of the key-value pairs used to tag the workgroup.
- workgroup
Name string - The name of the workgroup.
- base_
capacity int - The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
- config_
parameters Sequence[WorkgroupConfig Parameter Args] - 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.
- enhanced_
vpc_ boolrouting - The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- max_
capacity int - The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
- namespace_
name str - The namespace the workgroup is associated with.
- port int
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- publicly_
accessible bool - A value that specifies whether the workgroup can be accessible from a public network.
- security_
group_ Sequence[str]ids - A list of security group IDs to associate with the workgroup.
- subnet_
ids Sequence[str] - A list of subnet IDs the workgroup is associated with.
- Sequence[Tag
Args] - The map of the key-value pairs used to tag the workgroup.
- workgroup_
name str - The name of the workgroup.
- base
Capacity Number - The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
- config
Parameters List<Property Map> - 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.
- enhanced
Vpc BooleanRouting - The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- max
Capacity Number - The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
- namespace
Name String - The namespace the workgroup is associated with.
- port Number
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- publicly
Accessible Boolean - A value that specifies whether the workgroup can be accessible from a public network.
- security
Group List<String>Ids - A list of security group IDs to associate with the workgroup.
- subnet
Ids List<String> - A list of subnet IDs the workgroup is associated with.
- List<Property Map>
- The map of the key-value pairs used to tag the workgroup.
- workgroup
Name String - The name of the workgroup.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workgroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Workgroup
Value Pulumi.Aws Native. Redshift Serverless. Outputs. Workgroup - Definition for workgroup resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Workgroup
Workgroup
Type - Definition for workgroup resource
- id String
- The provider-assigned unique ID for this managed resource.
- workgroup Property Map
- Definition for workgroup resource
Supporting Types
Tag, TagArgs
Workgroup, WorkgroupArgs
- Base
Capacity int - Config
Parameters List<Pulumi.Aws Native. Redshift Serverless. Inputs. Workgroup Config Parameter> - Creation
Date string - Endpoint
Pulumi.
Aws Native. Redshift Serverless. Inputs. Workgroup Endpoint - Enhanced
Vpc boolRouting - Max
Capacity int - Namespace
Name string - Publicly
Accessible bool - Security
Group List<string>Ids - Status
Pulumi.
Aws Native. Redshift Serverless. Workgroup Status - Subnet
Ids List<string> - Workgroup
Arn string - Workgroup
Id string - Workgroup
Name string
- Base
Capacity int - Config
Parameters []WorkgroupConfig Parameter - Creation
Date string - Endpoint
Workgroup
Endpoint - Enhanced
Vpc boolRouting - Max
Capacity int - Namespace
Name string - Publicly
Accessible bool - Security
Group []stringIds - Status
Workgroup
Status - Subnet
Ids []string - Workgroup
Arn string - Workgroup
Id string - Workgroup
Name string
- base
Capacity Integer - config
Parameters List<WorkgroupConfig Parameter> - creation
Date String - endpoint
Workgroup
Endpoint - enhanced
Vpc BooleanRouting - max
Capacity Integer - namespace
Name String - publicly
Accessible Boolean - security
Group List<String>Ids - status
Workgroup
Status - subnet
Ids List<String> - workgroup
Arn String - workgroup
Id String - workgroup
Name String
- base
Capacity number - config
Parameters WorkgroupConfig Parameter[] - creation
Date string - endpoint
Workgroup
Endpoint - enhanced
Vpc booleanRouting - max
Capacity number - namespace
Name string - publicly
Accessible boolean - security
Group string[]Ids - status
Workgroup
Status - subnet
Ids string[] - workgroup
Arn string - workgroup
Id string - workgroup
Name string
- base_
capacity int - config_
parameters Sequence[WorkgroupConfig Parameter] - creation_
date str - endpoint
Workgroup
Endpoint - enhanced_
vpc_ boolrouting - max_
capacity int - namespace_
name str - publicly_
accessible bool - security_
group_ Sequence[str]ids - status
Workgroup
Status - subnet_
ids Sequence[str] - workgroup_
arn str - workgroup_
id str - workgroup_
name str
- base
Capacity Number - config
Parameters List<Property Map> - creation
Date String - endpoint Property Map
- enhanced
Vpc BooleanRouting - max
Capacity Number - namespace
Name String - publicly
Accessible Boolean - security
Group List<String>Ids - status "CREATING" | "AVAILABLE" | "MODIFYING" | "DELETING"
- subnet
Ids List<String> - workgroup
Arn String - workgroup
Id String - workgroup
Name String
WorkgroupConfigParameter, WorkgroupConfigParameterArgs
- Parameter
Key string - Parameter
Value string
- Parameter
Key string - Parameter
Value string
- parameter
Key String - parameter
Value String
- parameter
Key string - parameter
Value string
- parameter_
key str - parameter_
value str
- parameter
Key String - parameter
Value String
WorkgroupEndpoint, WorkgroupEndpointArgs
- Address string
- Port int
- Vpc
Endpoints []WorkgroupVpc Endpoint
- address String
- port Integer
- vpc
Endpoints List<WorkgroupVpc Endpoint>
- address string
- port number
- vpc
Endpoints WorkgroupVpc Endpoint[]
- address String
- port Number
- vpc
Endpoints List<Property Map>
WorkgroupNetworkInterface, WorkgroupNetworkInterfaceArgs
- Availability
Zone string - Network
Interface stringId - Private
Ip stringAddress - Subnet
Id string
- Availability
Zone string - Network
Interface stringId - Private
Ip stringAddress - Subnet
Id string
- availability
Zone String - network
Interface StringId - private
Ip StringAddress - subnet
Id String
- availability
Zone string - network
Interface stringId - private
Ip stringAddress - subnet
Id string
- availability_
zone str - network_
interface_ strid - private_
ip_ straddress - subnet_
id str
- availability
Zone String - network
Interface StringId - private
Ip StringAddress - subnet
Id String
WorkgroupStatus, WorkgroupStatusArgs
- Creating
- CREATING
- Available
- AVAILABLE
- Modifying
- MODIFYING
- Deleting
- DELETING
- Workgroup
Status Creating - CREATING
- Workgroup
Status Available - AVAILABLE
- Workgroup
Status Modifying - MODIFYING
- Workgroup
Status Deleting - DELETING
- Creating
- CREATING
- Available
- AVAILABLE
- Modifying
- MODIFYING
- Deleting
- DELETING
- Creating
- CREATING
- Available
- AVAILABLE
- Modifying
- MODIFYING
- Deleting
- DELETING
- CREATING
- CREATING
- AVAILABLE
- AVAILABLE
- MODIFYING
- MODIFYING
- DELETING
- DELETING
- "CREATING"
- CREATING
- "AVAILABLE"
- AVAILABLE
- "MODIFYING"
- MODIFYING
- "DELETING"
- DELETING
WorkgroupVpcEndpoint, WorkgroupVpcEndpointArgs
- network
Interfaces List<Property Map> - vpc
Endpoint StringId - vpc
Id String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.