interface S3LogDestinationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pipes.Alpha.S3LogDestinationProps |
Go | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#S3LogDestinationProps |
Java | software.amazon.awscdk.services.pipes.alpha.S3LogDestinationProps |
Python | aws_cdk.aws_pipes_alpha.S3LogDestinationProps |
TypeScript (source) | @aws-cdk/aws-pipes-alpha ยป S3LogDestinationProps |
Properties for S3LogDestination.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pipes_alpha from '@aws-cdk/aws-pipes-alpha';
import { aws_s3 as s3 } from 'aws-cdk-lib';
declare const bucket: s3.Bucket;
const s3LogDestinationProps: pipes_alpha.S3LogDestinationProps = {
bucket: bucket,
// the properties below are optional
bucketOwner: 'bucketOwner',
outputFormat: pipes_alpha.S3OutputFormat.PLAIN,
prefix: 'prefix',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket | IBucket | The S3 bucket to deliver the log records for the pipe. |
| bucket | string | The AWS Account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe. |
| output | S3 | The format for the log records. |
| prefix? | string | The prefix text with which to begin Amazon S3 log object names. |
bucket
Type:
IBucket
The S3 bucket to deliver the log records for the pipe.
The bucket can be in the same or a different AWS Account. If the bucket is in
a different account, specify bucketOwner. You must also allow access to the
Pipes role in the bucket policy of the cross-account bucket.
bucketOwner?
Type:
string
(optional, default: account ID derived from bucket)
The AWS Account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
outputFormat?
Type:
S3
(optional, default: S3OutputFormat.JSON)
The format for the log records.
prefix?
Type:
string
(optional, default: no prefix)
The prefix text with which to begin Amazon S3 log object names.

.NET
Go
Java
Python
TypeScript (