Skip to content
v2.277.0

Experimental

@aws-cdk/aws-pipes-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

LogDestinationConfig Struct ​

Log destination configuration.

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 logDestinationConfig: pipes_alpha.LogDestinationConfig = {
  parameters: {
    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_config = pipes_alpha.LogDestinationConfig(
    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.*;

LogDestinationConfig logDestinationConfig = LogDestinationConfig.builder()
        .parameters(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())
        .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 logDestinationConfig = new LogDestinationConfig {
    Parameters = 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"

logDestinationConfig := &LogDestinationConfig{
	Parameters: &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 ​

Get the log destination configuration parameters.