interface CfnChannelProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudTrail.CfnChannelProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudtrail#CfnChannelProps |
Java | software.amazon.awscdk.services.cloudtrail.CfnChannelProps |
Python | aws_cdk.aws_cloudtrail.CfnChannelProps |
TypeScript | aws-cdk-lib » aws_cloudtrail » CfnChannelProps |
Properties for defining a CfnChannel
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html
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
Name | Type | Description |
---|---|---|
destinations? | IResolvable | IResolvable | Destination [] | One or more event data stores to which events arriving through a channel will be logged. |
name? | string | The name of the channel. |
source? | string | The name of the partner or external event source. |
tags? | Cfn [] | A list of tags. |
destinations?
Type:
IResolvable
|
IResolvable
|
Destination
[]
(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:
Cfn
[]
(optional)
A list of tags.