-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPipe_PipeSourceManagedStreamingKafkaParametersProperty.go
53 lines (50 loc) · 3.23 KB
/
CfnPipe_PipeSourceManagedStreamingKafkaParametersProperty.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
package awspipes
// The parameters for using an MSK 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"
//
// pipeSourceManagedStreamingKafkaParametersProperty := &PipeSourceManagedStreamingKafkaParametersProperty{
// TopicName: jsii.String("topicName"),
//
// // the properties below are optional
// BatchSize: jsii.Number(123),
// ConsumerGroupId: jsii.String("consumerGroupId"),
// Credentials: &MSKAccessCredentialsProperty{
// ClientCertificateTlsAuth: jsii.String("clientCertificateTlsAuth"),
// SaslScram512Auth: jsii.String("saslScram512Auth"),
// },
// MaximumBatchingWindowInSeconds: jsii.Number(123),
// StartingPosition: jsii.String("startingPosition"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcemanagedstreamingkafkaparameters.html
//
type CfnPipe_PipeSourceManagedStreamingKafkaParametersProperty 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-pipesourcemanagedstreamingkafkaparameters.html#cfn-pipes-pipe-pipesourcemanagedstreamingkafkaparameters-topicname
//
TopicName *string `field:"required" json:"topicName" yaml:"topicName"`
// The maximum number of records to include in each batch.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcemanagedstreamingkafkaparameters.html#cfn-pipes-pipe-pipesourcemanagedstreamingkafkaparameters-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-pipesourcemanagedstreamingkafkaparameters.html#cfn-pipes-pipe-pipesourcemanagedstreamingkafkaparameters-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-pipesourcemanagedstreamingkafkaparameters.html#cfn-pipes-pipe-pipesourcemanagedstreamingkafkaparameters-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-pipesourcemanagedstreamingkafkaparameters.html#cfn-pipes-pipe-pipesourcemanagedstreamingkafkaparameters-maximumbatchingwindowinseconds
//
MaximumBatchingWindowInSeconds *float64 `field:"optional" json:"maximumBatchingWindowInSeconds" yaml:"maximumBatchingWindowInSeconds"`
// (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-pipesourcemanagedstreamingkafkaparameters.html#cfn-pipes-pipe-pipesourcemanagedstreamingkafkaparameters-startingposition
//
StartingPosition *string `field:"optional" json:"startingPosition" yaml:"startingPosition"`
}