CfnChannelProps

class aws_cdk.aws_cloudtrail.CfnChannelProps(*, destinations=None, name=None, source=None, tags=None)

Bases: object

Properties for defining a CfnChannel.

Parameters:
  • destinations (Union[IResolvable, Sequence[Union[IResolvable, DestinationProperty, Dict[str, Any]]], None]) – One or more event data stores to which events arriving through a channel will be logged.

  • name (Optional[str]) – The name of the channel.

  • source (Optional[str]) – 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 (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudtrail as cloudtrail

cfn_channel_props = cloudtrail.CfnChannelProps(
    destinations=[cloudtrail.CfnChannel.DestinationProperty(
        location="location",
        type="type"
    )],
    name="name",
    source="source",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

destinations

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html#cfn-cloudtrail-channel-destinations

name

The name of the channel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html#cfn-cloudtrail-channel-name

source

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html#cfn-cloudtrail-channel-source

tags

A list of tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html#cfn-cloudtrail-channel-tags