-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnConnector_ProvisionedCapacityProperty.go
32 lines (29 loc) · 1.35 KB
/
CfnConnector_ProvisionedCapacityProperty.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
package awskafkaconnect
// Details about a connector's provisioned capacity.
//
// 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"
//
// provisionedCapacityProperty := &ProvisionedCapacityProperty{
// WorkerCount: jsii.Number(123),
//
// // the properties below are optional
// McuCount: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-provisionedcapacity.html
//
type CfnConnector_ProvisionedCapacityProperty struct {
// The number of workers that are allocated to the connector.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-provisionedcapacity.html#cfn-kafkaconnect-connector-provisionedcapacity-workercount
//
WorkerCount *float64 `field:"required" json:"workerCount" yaml:"workerCount"`
// The number of microcontroller units (MCUs) allocated to each connector worker.
//
// The valid values are 1,2,4,8.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-provisionedcapacity.html#cfn-kafkaconnect-connector-provisionedcapacity-mcucount
//
McuCount *float64 `field:"optional" json:"mcuCount" yaml:"mcuCount"`
}