- class aws_cdk.aws_events.EventBusPolicyProps(*, event_bus, statement, statement_id)
Properties to associate Event Buses with a policy.
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_events as events from aws_cdk import aws_iam as iam # event_bus: events.EventBus # policy_statement: iam.PolicyStatement event_bus_policy_props = events.EventBusPolicyProps( event_bus=event_bus, statement=policy_statement, statement_id="statementId" )
The event bus to which the policy applies.
An IAM Policy Statement to apply to the Event Bus.
An identifier string for the external account that you are granting permissions to.