Interface EventBusPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EventBusPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:02.017Z")
@Stability(Stable)
public interface EventBusPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties to associate Event Buses with a policy.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.events.*; import software.amazon.awscdk.services.iam.*; EventBus eventBus; PolicyStatement policyStatement; EventBusPolicyProps eventBusPolicyProps = EventBusPolicyProps.builder() .eventBus(eventBus) .statement(policyStatement) .statementId("statementId") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEventBusPolicyProps
static final class
An implementation forEventBusPolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventBusPolicyProps.Builder
builder()
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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventBus
The event bus to which the policy applies. -
getStatement
An IAM Policy Statement to apply to the Event Bus. -
getStatementId
An identifier string for the external account that you are granting permissions to. -
builder
- Returns:
- a
EventBusPolicyProps.Builder
ofEventBusPolicyProps
-