EventPermissionArgs class
The set of arguments for EventPermission. The set of arguments for EventPermission.
Constructors
-
EventPermissionArgs({Input<
String?> ? action, Input<EventPermissionCondition?> ? condition, Input<String?> ? eventBusName, required Input<String> principal, Input<String?> ? region, required Input<String> statementId}) -
Creates a new EventPermissionArgs.
actionThe action that you are enabling the other account to perform. Defaults toevents:PutEvents.conditionConfiguration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.eventBusNameThe name of the event bus to set the permissions on.principalThe 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 bycondition.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.statementIdAn identifier string for the external account that you are granting permissions to.const -
EventPermissionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
String?> ? -
The action that you are enabling the other account to perform. Defaults to
events:PutEvents.final -
condition
→ Input<
EventPermissionCondition?> ? -
Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.
final
-
eventBusName
→ Input<
String?> ? -
The name of the event bus to set the permissions on.
If you omit this, the permissions are set on the
defaultevent bus.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
principal
→ Input<
String> -
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 bycondition.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statementId
→ Input<
String> -
An identifier string for the external account that you are granting permissions to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited