@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.637Z") @Stability(value=Stable) public interface CfnEventBusPolicyProps extends software.amazon.jsii.JsiiSerializable
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.*;
Object statement;
CfnEventBusPolicyProps cfnEventBusPolicyProps = CfnEventBusPolicyProps.builder()
.statementId("statementId")
// the properties below are optional
.action("action")
.condition(ConditionProperty.builder()
.key("key")
.type("type")
.value("value")
.build())
.eventBusName("eventBusName")
.principal("principal")
.statement(statement)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEventBusPolicyProps.Builder
A builder for
CfnEventBusPolicyProps |
static class |
CfnEventBusPolicyProps.Jsii$Proxy
An implementation for
CfnEventBusPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEventBusPolicyProps.Builder |
builder() |
default String |
getAction()
`AWS::Events::EventBusPolicy.Action`.
|
default Object |
getCondition()
`AWS::Events::EventBusPolicy.Condition`.
|
default String |
getEventBusName()
`AWS::Events::EventBusPolicy.EventBusName`.
|
default String |
getPrincipal()
`AWS::Events::EventBusPolicy.Principal`.
|
default Object |
getStatement()
`AWS::Events::EventBusPolicy.Statement`.
|
String |
getStatementId()
`AWS::Events::EventBusPolicy.StatementId`.
|
@Stability(value=Stable) @Nullable default String getAction()
@Stability(value=Stable) @Nullable default Object getCondition()
@Stability(value=Stable) @Nullable default String getEventBusName()
@Stability(value=Stable) @Nullable default String getPrincipal()
@Stability(value=Stable) @Nullable default Object getStatement()
@Stability(value=Stable) @NotNull String getStatementId()
@Stability(value=Stable) static CfnEventBusPolicyProps.Builder builder()
CfnEventBusPolicyProps.Builder of CfnEventBusPolicyPropsCopyright © 2021. All rights reserved.