Interface ICfnEventBusProps
Properties for defining a CfnEventBus
.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.AWS.Events.dll
Syntax (csharp)
public interface ICfnEventBusProps
Syntax (vb)
Public Interface ICfnEventBusProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.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.Events;
CfnEventBusProps cfnEventBusProps = new CfnEventBusProps {
Name = "name",
// the properties below are optional
EventSourceName = "eventSourceName",
Tags = new [] { new TagEntryProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
EventSourceName | If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with. |
Name | The name of the new event bus. |
Tags | Tags to associate with the event bus. |
Properties
EventSourceName
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
virtual string EventSourceName { get; }
Property Value
System.String
Remarks
Name
The name of the new event bus.
string Name { get; }
Property Value
System.String
Remarks
Event bus names cannot contain the / character. You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
Tags
Tags to associate with the event bus.
virtual CfnEventBus.ITagEntryProperty[] Tags { get; }
Property Value
CfnEventBus.ITagEntryProperty[]