-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPipe_PipeLogConfigurationProperty.go
62 lines (59 loc) · 3.29 KB
/
CfnPipe_PipeLogConfigurationProperty.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
package awspipes
// Represents the configuration settings for the logs to which this pipe should report events.
//
// 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"
//
// pipeLogConfigurationProperty := &PipeLogConfigurationProperty{
// CloudwatchLogsLogDestination: &CloudwatchLogsLogDestinationProperty{
// LogGroupArn: jsii.String("logGroupArn"),
// },
// FirehoseLogDestination: &FirehoseLogDestinationProperty{
// DeliveryStreamArn: jsii.String("deliveryStreamArn"),
// },
// IncludeExecutionData: []*string{
// jsii.String("includeExecutionData"),
// },
// Level: jsii.String("level"),
// S3LogDestination: &S3LogDestinationProperty{
// BucketName: jsii.String("bucketName"),
// BucketOwner: jsii.String("bucketOwner"),
// OutputFormat: jsii.String("outputFormat"),
// Prefix: jsii.String("prefix"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html
//
type CfnPipe_PipeLogConfigurationProperty struct {
// The logging configuration settings for the pipe.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-cloudwatchlogslogdestination
//
CloudwatchLogsLogDestination interface{} `field:"optional" json:"cloudwatchLogsLogDestination" yaml:"cloudwatchLogsLogDestination"`
// The Amazon Data Firehose logging configuration settings for the pipe.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-firehoselogdestination
//
FirehoseLogDestination interface{} `field:"optional" json:"firehoseLogDestination" yaml:"firehoseLogDestination"`
// Whether the execution data (specifically, the `payload` , `awsRequest` , and `awsResponse` fields) is included in the log messages for this pipe.
//
// This applies to all log destinations for the pipe.
//
// For more information, see [Including execution data in logs](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-logs.html#eb-pipes-logs-execution-data) in the *Amazon EventBridge User Guide* .
//
// *Allowed values:* `ALL`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-includeexecutiondata
//
IncludeExecutionData *[]*string `field:"optional" json:"includeExecutionData" yaml:"includeExecutionData"`
// The level of logging detail to include.
//
// This applies to all log destinations for the pipe.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-level
//
Level *string `field:"optional" json:"level" yaml:"level"`
// The Amazon S3 logging configuration settings for the pipe.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipelogconfiguration.html#cfn-pipes-pipe-pipelogconfiguration-s3logdestination
//
S3LogDestination interface{} `field:"optional" json:"s3LogDestination" yaml:"s3LogDestination"`
}