CfnEventBusPolicyProps

class aws_cdk.aws_events.CfnEventBusPolicyProps(*, action, principal, statement_id, condition=None, event_bus_name=None)

Bases: object

Properties for defining a AWS::Events::EventBusPolicy.

Parameters
  • action (str) – AWS::Events::EventBusPolicy.Action.

  • principal (str) – AWS::Events::EventBusPolicy.Principal.

  • statement_id (str) – AWS::Events::EventBusPolicy.StatementId.

  • condition (Union[IResolvable, ConditionProperty, None]) – AWS::Events::EventBusPolicy.Condition.

  • event_bus_name (Optional[str]) – AWS::Events::EventBusPolicy.EventBusName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html

Attributes

action

AWS::Events::EventBusPolicy.Action.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-action

Return type

str

condition

AWS::Events::EventBusPolicy.Condition.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-condition

Return type

Union[IResolvable, ConditionProperty, None]

event_bus_name

AWS::Events::EventBusPolicy.EventBusName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-eventbusname

Return type

Optional[str]

principal

AWS::Events::EventBusPolicy.Principal.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-principal

Return type

str

statement_id

AWS::Events::EventBusPolicy.StatementId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-statementid

Return type

str