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,
PricePerformanceTarget = new PerformanceTargetProperty {
Level = 123,
Status = "status"
},
PubliclyAccessible = false,
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
Cfn |
Properties
Base |
The base compute capacity of the workgroup in Redshift Processing Units (RPUs). |
Config |
A list of parameters to set for finer control over a database. |
Enhanced |
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 |
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. |
Namespace |
The namespace the workgroup is associated with. |
Port | The custom port to use when connecting to a workgroup. |
Price |
An object that represents the price performance target settings for the workgroup. |
Publicly |
A value that specifies whether the workgroup can be accessible from a public network. |
Security |
A list of security group IDs to associate with the workgroup. |
Subnet |
A list of subnet IDs the workgroup is associated with. |
Tags | The map of the key-value pairs used to tag the workgroup. |
Workgroup |
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.
Remarks
ConfigParameters
A list of parameters to set for finer control over a database.
public object ConfigParameters { get; set; }
Property Value
System.
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.
Remarks
MaxCapacity
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
public Nullable<double> MaxCapacity { get; set; }
Property Value
System.
Remarks
The max capacity is specified in RPUs.
NamespaceName
The namespace the workgroup is associated with.
public string NamespaceName { get; set; }
Property Value
System.
Remarks
Port
The custom port to use when connecting to a workgroup.
public Nullable<double> Port { get; set; }
Property Value
System.
Remarks
Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
PricePerformanceTarget
An object that represents the price performance target settings for the workgroup.
public object PricePerformanceTarget { get; set; }
Property Value
System.
Remarks
PubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network.
public object PubliclyAccessible { get; set; }
Property Value
System.
Remarks
SecurityGroupIds
A list of security group IDs to associate with the workgroup.
public string[] SecurityGroupIds { get; set; }
Property Value
System.
Remarks
SubnetIds
A list of subnet IDs the workgroup is associated with.
public string[] SubnetIds { get; set; }
Property Value
System.
Remarks
Tags
The map of the key-value pairs used to tag the workgroup.
public ICfnTag[] Tags { get; set; }
Property Value
ICfn
Remarks
WorkgroupName
The name of the workgroup.
public string WorkgroupName { get; set; }
Property Value
System.