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,
RecoveryPointId = "recoveryPointId",
SecurityGroupIds = new [] { "securityGroupIds" },
SnapshotArn = "snapshotArn",
SnapshotName = "snapshotName",
SnapshotOwnerAccount = "snapshotOwnerAccount",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrackName = "trackName",
Workgroup = new WorkgroupProperty {
BaseCapacity = 123,
ConfigParameters = new [] { new ConfigParameterProperty {
ParameterKey = "parameterKey",
ParameterValue = "parameterValue"
} },
CreationDate = "creationDate",
Endpoint = new EndpointProperty {
Address = "address",
Port = 123,
VpcEndpoints = new [] { new VpcEndpointProperty {
NetworkInterfaces = new [] { new NetworkInterfaceProperty {
AvailabilityZone = "availabilityZone",
NetworkInterfaceId = "networkInterfaceId",
PrivateIpAddress = "privateIpAddress",
SubnetId = "subnetId"
} },
VpcEndpointId = "vpcEndpointId",
VpcId = "vpcId"
} }
},
EnhancedVpcRouting = false,
MaxCapacity = 123,
NamespaceName = "namespaceName",
PricePerformanceTarget = new PerformanceTargetProperty {
Level = 123,
Status = "status"
},
PubliclyAccessible = false,
SecurityGroupIds = new [] { "securityGroupIds" },
Status = "status",
SubnetIds = new [] { "subnetIds" },
TrackName = "trackName",
WorkgroupArn = "workgroupArn",
WorkgroupId = "workgroupId",
WorkgroupName = "workgroupName"
}
};
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. |
Recovery |
The recovery point id to restore from. |
Security |
A list of security group IDs to associate with the workgroup. |
Snapshot |
The Amazon Resource Name (ARN) of the snapshot to restore from. |
Snapshot |
The snapshot name to restore from. |
Snapshot |
The Amazon Web Services account that owns the snapshot. |
Subnet |
A list of subnet IDs the workgroup is associated with. |
Tags | The map of the key-value pairs used to tag the workgroup. |
Track |
An optional parameter for the name of the track for the workgroup. |
Workgroup | The collection of computing resources from which an endpoint is created. |
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
RecoveryPointId
The recovery point id to restore from.
public string RecoveryPointId { 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
SnapshotArn
The Amazon Resource Name (ARN) of the snapshot to restore from.
public string SnapshotArn { get; set; }
Property Value
System.
Remarks
SnapshotName
The snapshot name to restore from.
public string SnapshotName { get; set; }
Property Value
System.
Remarks
SnapshotOwnerAccount
The Amazon Web Services account that owns the snapshot.
public string SnapshotOwnerAccount { 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
TrackName
An optional parameter for the name of the track for the workgroup.
public string TrackName { get; set; }
Property Value
System.
Remarks
If you don't provide a track name, the workgroup is assigned to the current track.
Workgroup
The collection of computing resources from which an endpoint is created.
public object Workgroup { get; set; }
Property Value
System.
Remarks
WorkgroupName
The name of the workgroup.
public string WorkgroupName { get; set; }
Property Value
System.