-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPipe_PipeSourceRabbitMQBrokerParametersProperty.go
47 lines (44 loc) · 2.61 KB
/
CfnPipe_PipeSourceRabbitMQBrokerParametersProperty.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
package awspipes
// The parameters for using a Rabbit MQ broker 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"
//
// pipeSourceRabbitMQBrokerParametersProperty := &PipeSourceRabbitMQBrokerParametersProperty{
// Credentials: &MQBrokerAccessCredentialsProperty{
// BasicAuth: jsii.String("basicAuth"),
// },
// QueueName: jsii.String("queueName"),
//
// // the properties below are optional
// BatchSize: jsii.Number(123),
// MaximumBatchingWindowInSeconds: jsii.Number(123),
// VirtualHost: jsii.String("virtualHost"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcerabbitmqbrokerparameters.html
//
type CfnPipe_PipeSourceRabbitMQBrokerParametersProperty struct {
// The credentials needed to access the resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcerabbitmqbrokerparameters.html#cfn-pipes-pipe-pipesourcerabbitmqbrokerparameters-credentials
//
Credentials interface{} `field:"required" json:"credentials" yaml:"credentials"`
// The name of the destination queue to consume.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcerabbitmqbrokerparameters.html#cfn-pipes-pipe-pipesourcerabbitmqbrokerparameters-queuename
//
QueueName *string `field:"required" json:"queueName" yaml:"queueName"`
// The maximum number of records to include in each batch.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcerabbitmqbrokerparameters.html#cfn-pipes-pipe-pipesourcerabbitmqbrokerparameters-batchsize
//
BatchSize *float64 `field:"optional" json:"batchSize" yaml:"batchSize"`
// The maximum length of a time to wait for events.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcerabbitmqbrokerparameters.html#cfn-pipes-pipe-pipesourcerabbitmqbrokerparameters-maximumbatchingwindowinseconds
//
MaximumBatchingWindowInSeconds *float64 `field:"optional" json:"maximumBatchingWindowInSeconds" yaml:"maximumBatchingWindowInSeconds"`
// The name of the virtual host associated with the source broker.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipesourcerabbitmqbrokerparameters.html#cfn-pipes-pipe-pipesourcerabbitmqbrokerparameters-virtualhost
//
VirtualHost *string `field:"optional" json:"virtualHost" yaml:"virtualHost"`
}