EventPermissionState constructor
Creates a new EventPermissionState.
action The action that you are enabling the other account to perform. Defaults to events:PutEvents.
condition Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.
eventBusName The name of the event bus to set the permissions on.
principal The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify * to permit any account to put events to your default event bus, optionally limited by condition.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
statementId An identifier string for the external account that you are granting permissions to.
Implementation
const EventPermissionState({
this.action,
this.condition,
this.eventBusName,
this.principal,
this.region,
this.statementId,
});