Interface IEventBusPolicyProps
Properties to associate Event Buses with a policy.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEventBusPolicyProps
Syntax (vb)
Public Interface IEventBusPolicyProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
using Amazon.CDK.AWS.IAM;
EventBus eventBus;
PolicyStatement policyStatement;
var eventBusPolicyProps = new EventBusPolicyProps {
EventBus = eventBus,
Statement = policyStatement,
StatementId = "statementId"
};
Synopsis
Properties
EventBus | The event bus to which the policy applies. |
Statement | An IAM Policy Statement to apply to the Event Bus. |
StatementId | An identifier string for the external account that you are granting permissions to. |
Properties
EventBus
Statement
An IAM Policy Statement to apply to the Event Bus.
PolicyStatement Statement { get; }
Property Value
StatementId
An identifier string for the external account that you are granting permissions to.
string StatementId { get; }
Property Value
System.String