We recommend new projects start with resources from the AWS provider.
aws-native.events.getEventBusPolicy
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Events::EventBusPolicy
Using getEventBusPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEventBusPolicy(args: GetEventBusPolicyArgs, opts?: InvokeOptions): Promise<GetEventBusPolicyResult>
function getEventBusPolicyOutput(args: GetEventBusPolicyOutputArgs, opts?: InvokeOptions): Output<GetEventBusPolicyResult>def get_event_bus_policy(event_bus_name: Optional[str] = None,
statement_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventBusPolicyResult
def get_event_bus_policy_output(event_bus_name: Optional[pulumi.Input[str]] = None,
statement_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventBusPolicyResult]func LookupEventBusPolicy(ctx *Context, args *LookupEventBusPolicyArgs, opts ...InvokeOption) (*LookupEventBusPolicyResult, error)
func LookupEventBusPolicyOutput(ctx *Context, args *LookupEventBusPolicyOutputArgs, opts ...InvokeOption) LookupEventBusPolicyResultOutput> Note: This function is named LookupEventBusPolicy in the Go SDK.
public static class GetEventBusPolicy
{
public static Task<GetEventBusPolicyResult> InvokeAsync(GetEventBusPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetEventBusPolicyResult> Invoke(GetEventBusPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEventBusPolicyResult> getEventBusPolicy(GetEventBusPolicyArgs args, InvokeOptions options)
public static Output<GetEventBusPolicyResult> getEventBusPolicy(GetEventBusPolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:events:getEventBusPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Event
Bus stringName - The name of the event bus associated with the rule. If you omit this, the default event bus is used.
- Statement
Id string - An identifier string for the external account that you are granting permissions to
- Event
Bus stringName - The name of the event bus associated with the rule. If you omit this, the default event bus is used.
- Statement
Id string - An identifier string for the external account that you are granting permissions to
- event
Bus StringName - The name of the event bus associated with the rule. If you omit this, the default event bus is used.
- statement
Id String - An identifier string for the external account that you are granting permissions to
- event
Bus stringName - The name of the event bus associated with the rule. If you omit this, the default event bus is used.
- statement
Id string - An identifier string for the external account that you are granting permissions to
- event_
bus_ strname - The name of the event bus associated with the rule. If you omit this, the default event bus is used.
- statement_
id str - An identifier string for the external account that you are granting permissions to
- event
Bus StringName - The name of the event bus associated with the rule. If you omit this, the default event bus is used.
- statement
Id String - An identifier string for the external account that you are granting permissions to
getEventBusPolicy Result
The following output properties are available:
- Statement object
A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
Search the CloudFormation User Guide for
AWS::Events::EventBusPolicyfor more information about the expected schema for this property.
- Statement interface{}
A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
Search the CloudFormation User Guide for
AWS::Events::EventBusPolicyfor more information about the expected schema for this property.
- statement Object
A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
Search the CloudFormation User Guide for
AWS::Events::EventBusPolicyfor more information about the expected schema for this property.
- statement any
A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
Search the CloudFormation User Guide for
AWS::Events::EventBusPolicyfor more information about the expected schema for this property.
- statement Any
A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
Search the CloudFormation User Guide for
AWS::Events::EventBusPolicyfor more information about the expected schema for this property.
- statement Any
A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
Search the CloudFormation User Guide for
AWS::Events::EventBusPolicyfor more information about the expected schema for this property.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
