-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDeliveryStream_HttpEndpointDestinationConfigurationProperty.go
132 lines (129 loc) · 7.76 KB
/
CfnDeliveryStream_HttpEndpointDestinationConfigurationProperty.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package awskinesisfirehose
// Describes the configuration of the HTTP endpoint destination.
//
// Kinesis Firehose supports any custom HTTP endpoint or HTTP endpoints owned by supported third-party service providers, including Datadog, MongoDB, and New Relic.
//
// 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"
//
// httpEndpointDestinationConfigurationProperty := &HttpEndpointDestinationConfigurationProperty{
// EndpointConfiguration: &HttpEndpointConfigurationProperty{
// Url: jsii.String("url"),
//
// // the properties below are optional
// AccessKey: jsii.String("accessKey"),
// Name: jsii.String("name"),
// },
// S3Configuration: &S3DestinationConfigurationProperty{
// BucketArn: jsii.String("bucketArn"),
// RoleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// BufferingHints: &BufferingHintsProperty{
// IntervalInSeconds: jsii.Number(123),
// SizeInMBs: jsii.Number(123),
// },
// CloudWatchLoggingOptions: &CloudWatchLoggingOptionsProperty{
// Enabled: jsii.Boolean(false),
// LogGroupName: jsii.String("logGroupName"),
// LogStreamName: jsii.String("logStreamName"),
// },
// CompressionFormat: jsii.String("compressionFormat"),
// EncryptionConfiguration: &EncryptionConfigurationProperty{
// KmsEncryptionConfig: &KMSEncryptionConfigProperty{
// AwskmsKeyArn: jsii.String("awskmsKeyArn"),
// },
// NoEncryptionConfig: jsii.String("noEncryptionConfig"),
// },
// ErrorOutputPrefix: jsii.String("errorOutputPrefix"),
// Prefix: jsii.String("prefix"),
// },
//
// // the properties below are optional
// BufferingHints: &BufferingHintsProperty{
// IntervalInSeconds: jsii.Number(123),
// SizeInMBs: jsii.Number(123),
// },
// CloudWatchLoggingOptions: &CloudWatchLoggingOptionsProperty{
// Enabled: jsii.Boolean(false),
// LogGroupName: jsii.String("logGroupName"),
// LogStreamName: jsii.String("logStreamName"),
// },
// ProcessingConfiguration: &ProcessingConfigurationProperty{
// Enabled: jsii.Boolean(false),
// Processors: []interface{}{
// &ProcessorProperty{
// Type: jsii.String("type"),
//
// // the properties below are optional
// Parameters: []interface{}{
// &ProcessorParameterProperty{
// ParameterName: jsii.String("parameterName"),
// ParameterValue: jsii.String("parameterValue"),
// },
// },
// },
// },
// },
// RequestConfiguration: &HttpEndpointRequestConfigurationProperty{
// CommonAttributes: []interface{}{
// &HttpEndpointCommonAttributeProperty{
// AttributeName: jsii.String("attributeName"),
// AttributeValue: jsii.String("attributeValue"),
// },
// },
// ContentEncoding: jsii.String("contentEncoding"),
// },
// RetryOptions: &RetryOptionsProperty{
// DurationInSeconds: jsii.Number(123),
// },
// RoleArn: jsii.String("roleArn"),
// S3BackupMode: jsii.String("s3BackupMode"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html
//
type CfnDeliveryStream_HttpEndpointDestinationConfigurationProperty struct {
// The configuration of the HTTP endpoint selected as the destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-endpointconfiguration
//
EndpointConfiguration interface{} `field:"required" json:"endpointConfiguration" yaml:"endpointConfiguration"`
// Describes the configuration of a destination in Amazon S3.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-s3configuration
//
S3Configuration interface{} `field:"required" json:"s3Configuration" yaml:"s3Configuration"`
// The buffering options that can be used before data is delivered to the specified destination.
//
// Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. The SizeInMBs and IntervalInSeconds parameters are optional. However, if you specify a value for one of them, you must also provide a value for the other.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-bufferinghints
//
BufferingHints interface{} `field:"optional" json:"bufferingHints" yaml:"bufferingHints"`
// Describes the Amazon CloudWatch logging options for your delivery stream.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-cloudwatchloggingoptions
//
CloudWatchLoggingOptions interface{} `field:"optional" json:"cloudWatchLoggingOptions" yaml:"cloudWatchLoggingOptions"`
// Describes the data processing configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-processingconfiguration
//
ProcessingConfiguration interface{} `field:"optional" json:"processingConfiguration" yaml:"processingConfiguration"`
// The configuration of the request sent to the HTTP endpoint specified as the destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-requestconfiguration
//
RequestConfiguration interface{} `field:"optional" json:"requestConfiguration" yaml:"requestConfiguration"`
// Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-retryoptions
//
RetryOptions interface{} `field:"optional" json:"retryOptions" yaml:"retryOptions"`
// Kinesis Data Firehose uses this IAM role for all the permissions that the delivery stream needs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-rolearn
//
RoleArn *string `field:"optional" json:"roleArn" yaml:"roleArn"`
// Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to the HTTP endpoint destination.
//
// You can back up all documents (AllData) or only the documents that Kinesis Data Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-s3backupmode
//
S3BackupMode *string `field:"optional" json:"s3BackupMode" yaml:"s3BackupMode"`
}