Class CfnChannelProps
Properties for defining a CfnChannel
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudTrail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnChannelProps : Object, ICfnChannelProps
Syntax (vb)
Public Class CfnChannelProps
Inherits Object
Implements ICfnChannelProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudTrail;
var cfnChannelProps = new CfnChannelProps {
Destinations = new [] { new DestinationProperty {
Location = "location",
Type = "type"
} },
Name = "name",
Source = "source",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnChannelProps() |
Properties
Destinations | One or more event data stores to which events arriving through a channel will be logged. |
Name | The name of the channel. |
Source | The name of the partner or external event source. |
Tags | A list of tags. |
Constructors
CfnChannelProps()
public CfnChannelProps()
Properties
Destinations
One or more event data stores to which events arriving through a channel will be logged.
public object Destinations { get; set; }
Property Value
System.Object
Remarks
Name
The name of the channel.
public string Name { get; set; }
Property Value
System.String
Remarks
Source
The name of the partner or external event source.
public string Source { get; set; }
Property Value
System.String
Remarks
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.