-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnWorkerConfigurationProps.go
48 lines (45 loc) · 2.06 KB
/
CfnWorkerConfigurationProps.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
package awskafkaconnect
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnWorkerConfiguration`.
//
// 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"
//
// cfnWorkerConfigurationProps := &CfnWorkerConfigurationProps{
// Name: jsii.String("name"),
// PropertiesFileContent: jsii.String("propertiesFileContent"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html
//
type CfnWorkerConfigurationProps struct {
// The name of the worker configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Base64 encoded contents of the connect-distributed.properties file.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-propertiesfilecontent
//
PropertiesFileContent *string `field:"required" json:"propertiesFileContent" yaml:"propertiesFileContent"`
// The description of a worker configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// A collection of tags associated with a resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}