Class CfnEventBusProps
Properties for defining a CfnEventBus
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEventBusProps : Object, ICfnEventBusProps
Syntax (vb)
Public Class CfnEventBusProps
Inherits Object
Implements ICfnEventBusProps
Remarks
See: 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;
var policy;
var cfnEventBusProps = new CfnEventBusProps {
Name = "name",
// the properties below are optional
EventSourceName = "eventSourceName",
Policy = policy,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnEventBusProps() |
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. |
Policy | The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus. |
Tags | Tags to associate with the event bus. |
Constructors
CfnEventBusProps()
public CfnEventBusProps()
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.
public string EventSourceName { get; set; }
Property Value
System.String
Remarks
Name
The name of the new event bus.
public string Name { get; set; }
Property Value
System.String
Remarks
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.
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.
Policy
The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus.
public object Policy { get; set; }
Property Value
System.Object
Remarks
Tags
Tags to associate with the event bus.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]