Class CfnWorkgroupProps
Properties for defining a CfnWorkgroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RedshiftServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWorkgroupProps : Object, ICfnWorkgroupProps
Syntax (vb)
Public Class CfnWorkgroupProps
Inherits Object
Implements ICfnWorkgroupProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RedshiftServerless;
var cfnWorkgroupProps = new CfnWorkgroupProps {
WorkgroupName = "workgroupName",
// the properties below are optional
BaseCapacity = 123,
ConfigParameters = new [] { new ConfigParameterProperty {
ParameterKey = "parameterKey",
ParameterValue = "parameterValue"
} },
EnhancedVpcRouting = false,
MaxCapacity = 123,
NamespaceName = "namespaceName",
Port = 123,
PubliclyAccessible = false,
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnWorkgroupProps() |
Properties
BaseCapacity | The base compute capacity of the workgroup in Redshift Processing Units (RPUs). |
ConfigParameters | A list of parameters to set for finer control over a database. |
EnhancedVpcRouting | 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 | The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. |
NamespaceName | The namespace the workgroup is associated with. |
Port | The custom port to use when connecting to a workgroup. |
PubliclyAccessible | A value that specifies whether the workgroup can be accessible from a public network. |
SecurityGroupIds | A list of security group IDs to associate with the workgroup. |
SubnetIds | A list of subnet IDs the workgroup is associated with. |
Tags | The map of the key-value pairs used to tag the workgroup. |
WorkgroupName | The name of the workgroup. |
Constructors
CfnWorkgroupProps()
public CfnWorkgroupProps()
Properties
BaseCapacity
The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
public Nullable<double> BaseCapacity { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
ConfigParameters
A list of parameters to set for finer control over a database.
public object ConfigParameters { get; set; }
Property Value
System.Object
Remarks
Available options are datestyle
, enable_user_activity_logging
, query_group
, search_path
, max_query_execution_time
, and require_ssl
.
EnhancedVpcRouting
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
public object EnhancedVpcRouting { get; set; }
Property Value
System.Object
Remarks
MaxCapacity
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
public Nullable<double> MaxCapacity { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The max capacity is specified in RPUs.
NamespaceName
The namespace the workgroup is associated with.
public string NamespaceName { get; set; }
Property Value
System.String
Remarks
Port
The custom port to use when connecting to a workgroup.
public Nullable<double> Port { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
PubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network.
public object PubliclyAccessible { get; set; }
Property Value
System.Object
Remarks
SecurityGroupIds
A list of security group IDs to associate with the workgroup.
public string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
Remarks
SubnetIds
A list of subnet IDs the workgroup is associated with.
public string[] SubnetIds { get; set; }
Property Value
System.String[]
Remarks
Tags
The map of the key-value pairs used to tag the workgroup.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
WorkgroupName
The name of the workgroup.
public string WorkgroupName { get; set; }
Property Value
System.String