-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnWorkgroup_WorkgroupProperty.go
118 lines (115 loc) · 7.18 KB
/
CfnWorkgroup_WorkgroupProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
package awsredshiftserverless
// The collection of computing resources from which an endpoint is created.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// workgroupProperty := &WorkgroupProperty{
// BaseCapacity: jsii.Number(123),
// ConfigParameters: []interface{}{
// &ConfigParameterProperty{
// ParameterKey: jsii.String("parameterKey"),
// ParameterValue: jsii.String("parameterValue"),
// },
// },
// CreationDate: jsii.String("creationDate"),
// Endpoint: &EndpointProperty{
// Address: jsii.String("address"),
// Port: jsii.Number(123),
// VpcEndpoints: []interface{}{
// &VpcEndpointProperty{
// NetworkInterfaces: []interface{}{
// &NetworkInterfaceProperty{
// AvailabilityZone: jsii.String("availabilityZone"),
// NetworkInterfaceId: jsii.String("networkInterfaceId"),
// PrivateIpAddress: jsii.String("privateIpAddress"),
// SubnetId: jsii.String("subnetId"),
// },
// },
// VpcEndpointId: jsii.String("vpcEndpointId"),
// VpcId: jsii.String("vpcId"),
// },
// },
// },
// EnhancedVpcRouting: jsii.Boolean(false),
// MaxCapacity: jsii.Number(123),
// NamespaceName: jsii.String("namespaceName"),
// PubliclyAccessible: jsii.Boolean(false),
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// Status: jsii.String("status"),
// SubnetIds: []*string{
// jsii.String("subnetIds"),
// },
// WorkgroupArn: jsii.String("workgroupArn"),
// WorkgroupId: jsii.String("workgroupId"),
// WorkgroupName: jsii.String("workgroupName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html
//
type CfnWorkgroup_WorkgroupProperty struct {
// The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-basecapacity
//
BaseCapacity *float64 `field:"optional" json:"baseCapacity" yaml:"baseCapacity"`
// An array of parameters to set for advanced control over a database.
//
// The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see [Query monitoring metrics for Amazon Redshift Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-configparameters
//
ConfigParameters interface{} `field:"optional" json:"configParameters" yaml:"configParameters"`
// The creation date of the workgroup.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-creationdate
//
CreationDate *string `field:"optional" json:"creationDate" yaml:"creationDate"`
// The endpoint that is created from the workgroup.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-endpoint
//
Endpoint interface{} `field:"optional" json:"endpoint" yaml:"endpoint"`
// The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-enhancedvpcrouting
//
EnhancedVpcRouting interface{} `field:"optional" json:"enhancedVpcRouting" yaml:"enhancedVpcRouting"`
// The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
//
// The max capacity is specified in RPUs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-maxcapacity
//
MaxCapacity *float64 `field:"optional" json:"maxCapacity" yaml:"maxCapacity"`
// The namespace the workgroup is associated with.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-namespacename
//
NamespaceName *string `field:"optional" json:"namespaceName" yaml:"namespaceName"`
// A value that specifies whether the workgroup can be accessible from a public network.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-publiclyaccessible
//
PubliclyAccessible interface{} `field:"optional" json:"publiclyAccessible" yaml:"publiclyAccessible"`
// An array of security group IDs to associate with the workgroup.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-securitygroupids
//
SecurityGroupIds *[]*string `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
// The status of the workgroup.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-status
//
Status *string `field:"optional" json:"status" yaml:"status"`
// An array of subnet IDs the workgroup is associated with.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-subnetids
//
SubnetIds *[]*string `field:"optional" json:"subnetIds" yaml:"subnetIds"`
// The Amazon Resource Name (ARN) that links to the workgroup.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-workgrouparn
//
WorkgroupArn *string `field:"optional" json:"workgroupArn" yaml:"workgroupArn"`
// The unique identifier of the workgroup.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-workgroupid
//
WorkgroupId *string `field:"optional" json:"workgroupId" yaml:"workgroupId"`
// The name of the workgroup.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-workgroupname
//
WorkgroupName *string `field:"optional" json:"workgroupName" yaml:"workgroupName"`
}