Class CfnChannel
Contains information about a returned CloudTrail channel.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudTrail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnChannel : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnChannel
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-channel.html
CloudformationResource: AWS::CloudTrail::Channel
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 cfnChannel = new CfnChannel(this, "MyCfnChannel", new CfnChannelProps {
Destinations = new [] { new DestinationProperty {
Location = "location",
Type = "type"
} },
Name = "name",
Source = "source",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnChannel(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnChannel(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnChannel(Construct, String, ICfnChannelProps) |
Properties
AttrChannelArn |
|
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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 | Tag Manager which manages the tags for this resource. |
TagsRaw | A list of tags. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnChannel(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnChannel(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnChannel(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnChannel(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnChannel(Construct, String, ICfnChannelProps)
public CfnChannel(Construct scope, string id, ICfnChannelProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnChannelProps
Resource properties.
Properties
AttrChannelArn
Ref
returns the ARN of the CloudTrail channel, such as arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.
public virtual string AttrChannelArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ChannelArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Destinations
One or more event data stores to which events arriving through a channel will be logged.
public virtual object Destinations { get; set; }
Property Value
System.Object
Name
The name of the channel.
public virtual string Name { get; set; }
Property Value
System.String
Source
The name of the partner or external event source.
public virtual string Source { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>