interface PipeLogConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pipes.CfnPipe.PipeLogConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_PipeLogConfigurationProperty |
Java | software.amazon.awscdk.services.pipes.CfnPipe.PipeLogConfigurationProperty |
Python | aws_cdk.aws_pipes.CfnPipe.PipeLogConfigurationProperty |
TypeScript | aws-cdk-lib » aws_pipes » CfnPipe » PipeLogConfigurationProperty |
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 { aws_pipes as pipes } from 'aws-cdk-lib';
const pipeLogConfigurationProperty: pipes.CfnPipe.PipeLogConfigurationProperty = {
cloudwatchLogsLogDestination: {
logGroupArn: 'logGroupArn',
},
firehoseLogDestination: {
deliveryStreamArn: 'deliveryStreamArn',
},
includeExecutionData: ['includeExecutionData'],
level: 'level',
s3LogDestination: {
bucketName: 'bucketName',
bucketOwner: 'bucketOwner',
outputFormat: 'outputFormat',
prefix: 'prefix',
},
};
Properties
Name | Type | Description |
---|---|---|
cloudwatch | IResolvable | Cloudwatch | The logging configuration settings for the pipe. |
firehose | IResolvable | Firehose | The Amazon Data Firehose logging configuration settings for the pipe. |
include | string[] | Whether the execution data (specifically, the payload , awsRequest , and awsResponse fields) is included in the log messages for this pipe. |
level? | string | The level of logging detail to include. |
s3 | IResolvable | S3 | The Amazon S3 logging configuration settings for the pipe. |
cloudwatchLogsLogDestination?
Type:
IResolvable
|
Cloudwatch
(optional)
The logging configuration settings for the pipe.
firehoseLogDestination?
Type:
IResolvable
|
Firehose
(optional)
The Amazon Data Firehose logging configuration settings for the pipe.
includeExecutionData?
Type:
string[]
(optional)
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 in the Amazon EventBridge User Guide .
Allowed values: ALL
level?
Type:
string
(optional)
The level of logging detail to include.
This applies to all log destinations for the pipe.
s3LogDestination?
Type:
IResolvable
|
S3
(optional)
The Amazon S3 logging configuration settings for the pipe.