EventBusAttributes

class aws_cdk.aws_events.EventBusAttributes(*, event_bus_arn, event_bus_name, event_bus_policy, event_source_name=None)

Bases: object

Interface with properties necessary to import a reusable EventBus.

Parameters
  • event_bus_arn (str) – The ARN of this event bus resource.

  • event_bus_name (str) – The physical ID of this event bus resource.

  • event_bus_policy (str) – The JSON policy of this event bus resource.

  • event_source_name (Optional[str]) – The partner event source to associate with this event bus resource. Default: - no partner event source

Attributes

event_bus_arn

The ARN of this event bus resource.

Link

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#Arn-fn::getatt

Return type

str

event_bus_name

The physical ID of this event bus resource.

Link

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name

Return type

str

event_bus_policy

The JSON policy of this event bus resource.

Link

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#Policy-fn::getatt

Return type

str

event_source_name

The partner event source to associate with this event bus resource.

Default
  • no partner event source

Link

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename

Return type

Optional[str]