-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPipe_PipeSourceSelfManagedKafkaParametersProperty.go
79 lines (76 loc) · 4.81 KB
/
CfnPipe_PipeSourceSelfManagedKafkaParametersProperty.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
package awspipes
// The parameters for using a self-managed Apache Kafka stream as a source.
//
// 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"
//
// pipeSourceSelfManagedKafkaParametersProperty := &PipeSourceSelfManagedKafkaParametersProperty{
// TopicName: jsii.String("topicName"),
//
// // the properties below are optional
// AdditionalBootstrapServers: []*string{
// jsii.String("additionalBootstrapServers"),
// },
// BatchSize: jsii.Number(123),
// ConsumerGroupId: jsii.String("consumerGroupId"),
// Credentials: &SelfManagedKafkaAccessConfigurationCredentialsProperty{
// BasicAuth: jsii.String("basicAuth"),
// ClientCertificateTlsAuth: jsii.String("clientCertificateTlsAuth"),
// SaslScram256Auth: jsii.String("saslScram256Auth"),
// SaslScram512Auth: jsii.String("saslScram512Auth"),
// },
// MaximumBatchingWindowInSeconds: jsii.Number(123),
// ServerRootCaCertificate: jsii.String("serverRootCaCertificate"),
// StartingPosition: jsii.String("startingPosition"),
// Vpc: &SelfManagedKafkaAccessConfigurationVpcProperty{
// SecurityGroup: []*string{
// jsii.String("securityGroup"),
// },
// Subnets: []*string{
// jsii.String("subnets"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html
//
type CfnPipe_PipeSourceSelfManagedKafkaParametersProperty struct {
// The name of the topic that the pipe will read from.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-topicname
//
TopicName *string `field:"required" json:"topicName" yaml:"topicName"`
// An array of server URLs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-additionalbootstrapservers
//
AdditionalBootstrapServers *[]*string `field:"optional" json:"additionalBootstrapServers" yaml:"additionalBootstrapServers"`
// The maximum number of records to include in each batch.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-batchsize
//
BatchSize *float64 `field:"optional" json:"batchSize" yaml:"batchSize"`
// The name of the destination queue to consume.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-consumergroupid
//
ConsumerGroupId *string `field:"optional" json:"consumerGroupId" yaml:"consumerGroupId"`
// The credentials needed to access the resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-credentials
//
Credentials interface{} `field:"optional" json:"credentials" yaml:"credentials"`
// The maximum length of a time to wait for events.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-maximumbatchingwindowinseconds
//
MaximumBatchingWindowInSeconds *float64 `field:"optional" json:"maximumBatchingWindowInSeconds" yaml:"maximumBatchingWindowInSeconds"`
// The ARN of the Secrets Manager secret used for certification.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-serverrootcacertificate
//
ServerRootCaCertificate *string `field:"optional" json:"serverRootCaCertificate" yaml:"serverRootCaCertificate"`
// (Streams only) The position in a stream from which to start reading.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-startingposition
//
StartingPosition *string `field:"optional" json:"startingPosition" yaml:"startingPosition"`
// This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourceselfmanagedkafkaparameters.html#cfn-pipes-pipe-pipesourceselfmanagedkafkaparameters-vpc
//
Vpc interface{} `field:"optional" json:"vpc" yaml:"vpc"`
}