aws-cdk-lib.aws_cloudtrail.CfnChannelProps

interface CfnChannelProps

LanguageType name
.NETAmazon.CDK.AWS.CloudTrail.CfnChannelProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudtrail#CfnChannelProps
Javasoftware.amazon.awscdk.services.cloudtrail.CfnChannelProps
Pythonaws_cdk.aws_cloudtrail.CfnChannelProps
TypeScript aws-cdk-lib » aws_cloudtrail » CfnChannelProps

Properties for defining a CfnChannel.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudtrail as cloudtrail } from 'aws-cdk-lib';
const cfnChannelProps: cloudtrail.CfnChannelProps = {
  destinations: [{
    location: 'location',
    type: 'type',
  }],
  name: 'name',
  source: 'source',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
destinations?IResolvable | IResolvable | DestinationProperty[]One or more event data stores to which events arriving through a channel will be logged.
name?stringThe name of the channel.
source?stringThe name of the partner or external event source.
tags?CfnTag[]A list of tags.

destinations?

Type: IResolvable | IResolvable | DestinationProperty[] (optional)

One or more event data stores to which events arriving through a channel will be logged.


name?

Type: string (optional)

The name of the channel.


source?

Type: string (optional)

The name of the partner or external event source.

You cannot change this name after you create the channel. A maximum of one channel is allowed per source.

A source can be either Custom for all valid non- AWS events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.


tags?

Type: CfnTag[] (optional)

A list of tags.