---
type: resource-type
title: Workgroup
description: aws resource type AWS::RedshiftServerless::Workgroup
name: Workgroup
lexicon: aws
resource_type: AWS::RedshiftServerless::Workgroup
---
`AWS::RedshiftServerless::Workgroup`, a resource type of the aws lexicon.

## Properties

- `WorkgroupName` (`string`, required): The name of the workgroup.
- `BaseCapacity` (`number`, optional): The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
- `ConfigParameters` (`Workgroup_ConfigParameter[]`, optional): 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.
- `EnhancedVpcRouting` (`boolean`, optional): The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- `MaxCapacity` (`number`, optional): The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
- `NamespaceName` (`string`, optional): The namespace the workgroup is associated with.
- `Port` (`number`, optional): The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- `PricePerformanceTarget` (`Workgroup_PerformanceTarget`, optional): A property that represents the price performance target settings for the workgroup.
- `PubliclyAccessible` (`boolean`, optional): A value that specifies whether the workgroup can be accessible from a public network.
- `RecoveryPointId` (`string`, optional): The identifier of the recovery point to restore the namespace from. When this resource is first created, the namespace is restored from this recovery point. On subsequent updates, a restore occurs only when RecoveryPointId changes from its previous value. If the value is unchanged or removed, no restore takes place and existing data is preserved.
- `SecurityGroupIds` (`string[]`, optional): A list of security group IDs to associate with the workgroup.
- `SnapshotArn` (`string`, optional): The Amazon Resource Name (ARN) of the snapshot to restore the namespace from. Specify either SnapshotArn or SnapshotName, but not both. When this resource is first created, the namespace is restored from this snapshot. On subsequent updates, a restore occurs only when SnapshotArn changes from its previous value. If the value is unchanged or removed, no restore takes place and existing data is preserved.
- `SnapshotName` (`string`, optional): The name of the snapshot to restore the namespace from. Because snapshot names are unique only within an account, also specify SnapshotOwnerAccount when restoring from a snapshot owned by a different account. Specify either SnapshotName or SnapshotArn, but not both. When this resource is first created, the namespace is restored from this snapshot. On subsequent updates, a restore occurs only when SnapshotName or SnapshotOwnerAccount changes from its previous value. If both values are unchanged or SnapshotName is removed, no restore takes place and existing data is preserved.
- `SnapshotOwnerAccount` (`string`, optional): The AWS account ID that owns the snapshot. Required when restoring from a snapshot shared by another account. Used in combination with SnapshotName. On updates, changing this value while SnapshotName is set triggers a restore from the newly referenced snapshot. If the value is unchanged, no restore takes place and existing data is preserved.
- `SubnetIds` (`string[]`, optional): A list of subnet IDs the workgroup is associated with.
- `Tags` (`Workgroup_Tag[]`, optional): The map of the key-value pairs used to tag the workgroup.
- `TrackName` (`string`, optional)
- `Workgroup` (`Workgroup_Workgroup`, optional): Definition for workgroup resource

## Attributes

- `Workgroup.BaseCapacity`
- `Workgroup.ConfigParameters`
- `Workgroup.CreationDate`
- `Workgroup.Endpoint.Address`
- `Workgroup.Endpoint.Port`
- `Workgroup.Endpoint.VpcEndpoints.*.NetworkInterfaces.*.AvailabilityZone`
- `Workgroup.Endpoint.VpcEndpoints.*.NetworkInterfaces.*.NetworkInterfaceId`
- `Workgroup.Endpoint.VpcEndpoints.*.NetworkInterfaces.*.PrivateIpAddress`
- `Workgroup.Endpoint.VpcEndpoints.*.NetworkInterfaces.*.SubnetId`
- `Workgroup.Endpoint.VpcEndpoints.*.VpcEndpointId`
- `Workgroup.Endpoint.VpcEndpoints.*.VpcId`
- `Workgroup.EnhancedVpcRouting`
- `Workgroup.MaxCapacity`
- `Workgroup.NamespaceName`
- `Workgroup.PubliclyAccessible`
- `Workgroup.SecurityGroupIds`
- `Workgroup.Status`
- `Workgroup.SubnetIds`
- `Workgroup.TrackName`
- `Workgroup.WorkgroupArn`
- `Workgroup.WorkgroupId`
- `Workgroup.WorkgroupName`
