Experimental
@aws-cdk/aws-pipes-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
LogDestinationParameters Struct
Log destination configuration parameters.
Example
ts
// 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';
const logDestinationParameters: pipes_alpha.LogDestinationParameters = {
cloudwatchLogsLogDestination: {
logGroupArn: 'logGroupArn',
},
firehoseLogDestination: {
deliveryStreamArn: 'deliveryStreamArn',
},
s3LogDestination: {
bucketName: 'bucketName',
bucketOwner: 'bucketOwner',
outputFormat: 'outputFormat',
prefix: 'prefix',
},
};
python
from aws_cdk.aws_pipes.CloudwatchLogsLogDestinationProperty import CloudwatchLogsLogDestinationProperty
from aws_cdk.aws_pipes.FirehoseLogDestinationProperty import FirehoseLogDestinationProperty
from aws_cdk.aws_pipes.S3LogDestinationProperty import S3LogDestinationProperty
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_pipes_alpha as pipes_alpha
log_destination_parameters = pipes_alpha.LogDestinationParameters(
cloudwatch_logs_log_destination=CloudwatchLogsLogDestinationProperty(
log_group_arn="logGroupArn"
),
firehose_log_destination=FirehoseLogDestinationProperty(
delivery_stream_arn="deliveryStreamArn"
),
s3_log_destination=S3LogDestinationProperty(
bucket_name="bucketName",
bucket_owner="bucketOwner",
output_format="outputFormat",
prefix="prefix"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pipes.alpha.*;
LogDestinationParameters logDestinationParameters = LogDestinationParameters.builder()
.cloudwatchLogsLogDestination(CloudwatchLogsLogDestinationProperty.builder()
.logGroupArn("logGroupArn")
.build())
.firehoseLogDestination(FirehoseLogDestinationProperty.builder()
.deliveryStreamArn("deliveryStreamArn")
.build())
.s3LogDestination(S3LogDestinationProperty.builder()
.bucketName("bucketName")
.bucketOwner("bucketOwner")
.outputFormat("outputFormat")
.prefix("prefix")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Pipes.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes.Alpha;
var logDestinationParameters = new LogDestinationParameters {
CloudwatchLogsLogDestination = new CloudwatchLogsLogDestinationProperty {
LogGroupArn = "logGroupArn"
},
FirehoseLogDestination = new FirehoseLogDestinationProperty {
DeliveryStreamArn = "deliveryStreamArn"
},
S3LogDestination = new S3LogDestinationProperty {
BucketName = "bucketName",
BucketOwner = "bucketOwner",
OutputFormat = "outputFormat",
Prefix = "prefix"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkpipesalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import pipes_alpha "github.com/aws/aws-cdk-go/awscdkpipesalpha"
logDestinationParameters := &LogDestinationParameters{
CloudwatchLogsLogDestination: &CloudwatchLogsLogDestinationProperty{
LogGroupArn: jsii.String("logGroupArn"),
},
FirehoseLogDestination: &FirehoseLogDestinationProperty{
DeliveryStreamArn: jsii.String("deliveryStreamArn"),
},
S3LogDestination: &S3LogDestinationProperty{
BucketName: jsii.String("bucketName"),
BucketOwner: jsii.String("bucketOwner"),
OutputFormat: jsii.String("outputFormat"),
Prefix: jsii.String("prefix"),
},
}
Properties
cloudwatchLogsLogDestinationoptionalCfnPipe.CloudwatchLogsLogDestinationPropertycloudwatch_logs_log_destinationoptionalCloudwatchLogsLogDestinationPropertycloudwatchLogsLogDestinationoptionalCloudwatchLogsLogDestinationPropertyCloudwatchLogsLogDestinationoptionalCloudwatchLogsLogDestinationPropertyCloudwatchLogsLogDestinationoptionalCloudwatchLogsLogDestinationProperty= none#The logging configuration settings for the pipe.
firehoseLogDestinationoptionalCfnPipe.FirehoseLogDestinationPropertyfirehose_log_destinationoptionalFirehoseLogDestinationPropertyfirehoseLogDestinationoptionalFirehoseLogDestinationPropertyFirehoseLogDestinationoptionalFirehoseLogDestinationPropertyFirehoseLogDestinationoptionalFirehoseLogDestinationProperty= none#The Amazon Data Firehose logging configuration settings for the pipe.
s3LogDestinationoptionalCfnPipe.S3LogDestinationPropertys3_log_destinationoptionalS3LogDestinationPropertys3LogDestinationoptionalS3LogDestinationPropertyS3LogDestinationoptionalS3LogDestinationPropertyS3LogDestinationoptionalS3LogDestinationProperty= none#The Amazon S3 logging configuration settings for the pipe.