1. Packages
  2. AWS
  3. API Docs
  4. appintegrations
  5. getEventIntegration
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.appintegrations.getEventIntegration

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Use this data source to get information on an existing AppIntegrations Event Integration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.appintegrations.getEventIntegration({
        name: "example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.appintegrations.get_event_integration(name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appintegrations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := appintegrations.GetEventIntegration(ctx, &appintegrations.GetEventIntegrationArgs{
    			Name: "example",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.AppIntegrations.GetEventIntegration.Invoke(new()
        {
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.appintegrations.AppintegrationsFunctions;
    import com.pulumi.aws.appintegrations.inputs.GetEventIntegrationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = AppintegrationsFunctions.getEventIntegration(GetEventIntegrationArgs.builder()
                .name("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:appintegrations:getEventIntegration
          Arguments:
            name: example
    

    Using getEventIntegration

    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 getEventIntegration(args: GetEventIntegrationArgs, opts?: InvokeOptions): Promise<GetEventIntegrationResult>
    function getEventIntegrationOutput(args: GetEventIntegrationOutputArgs, opts?: InvokeOptions): Output<GetEventIntegrationResult>
    def get_event_integration(name: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetEventIntegrationResult
    def get_event_integration_output(name: Optional[pulumi.Input[str]] = None,
                              tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetEventIntegrationResult]
    func GetEventIntegration(ctx *Context, args *GetEventIntegrationArgs, opts ...InvokeOption) (*GetEventIntegrationResult, error)
    func GetEventIntegrationOutput(ctx *Context, args *GetEventIntegrationOutputArgs, opts ...InvokeOption) GetEventIntegrationResultOutput

    > Note: This function is named GetEventIntegration in the Go SDK.

    public static class GetEventIntegration 
    {
        public static Task<GetEventIntegrationResult> InvokeAsync(GetEventIntegrationArgs args, InvokeOptions? opts = null)
        public static Output<GetEventIntegrationResult> Invoke(GetEventIntegrationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEventIntegrationResult> getEventIntegration(GetEventIntegrationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:appintegrations/getEventIntegration:getEventIntegration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The AppIntegrations Event Integration name.
    Tags Dictionary<string, string>
    Metadata that you can assign to help organize the report plans you create.
    Name string
    The AppIntegrations Event Integration name.
    Tags map[string]string
    Metadata that you can assign to help organize the report plans you create.
    name String
    The AppIntegrations Event Integration name.
    tags Map<String,String>
    Metadata that you can assign to help organize the report plans you create.
    name string
    The AppIntegrations Event Integration name.
    tags {[key: string]: string}
    Metadata that you can assign to help organize the report plans you create.
    name str
    The AppIntegrations Event Integration name.
    tags Mapping[str, str]
    Metadata that you can assign to help organize the report plans you create.
    name String
    The AppIntegrations Event Integration name.
    tags Map<String>
    Metadata that you can assign to help organize the report plans you create.

    getEventIntegration Result

    The following output properties are available:

    Arn string
    The ARN of the AppIntegrations Event Integration.
    Description string
    The description of the Event Integration.
    EventFilters List<GetEventIntegrationEventFilter>
    A block that defines the configuration information for the event filter. The Event Filter block is documented below.
    EventbridgeBus string
    The EventBridge bus.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Tags Dictionary<string, string>
    Metadata that you can assign to help organize the report plans you create.
    Arn string
    The ARN of the AppIntegrations Event Integration.
    Description string
    The description of the Event Integration.
    EventFilters []GetEventIntegrationEventFilter
    A block that defines the configuration information for the event filter. The Event Filter block is documented below.
    EventbridgeBus string
    The EventBridge bus.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Tags map[string]string
    Metadata that you can assign to help organize the report plans you create.
    arn String
    The ARN of the AppIntegrations Event Integration.
    description String
    The description of the Event Integration.
    eventFilters List<GetEventIntegrationEventFilter>
    A block that defines the configuration information for the event filter. The Event Filter block is documented below.
    eventbridgeBus String
    The EventBridge bus.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    tags Map<String,String>
    Metadata that you can assign to help organize the report plans you create.
    arn string
    The ARN of the AppIntegrations Event Integration.
    description string
    The description of the Event Integration.
    eventFilters GetEventIntegrationEventFilter[]
    A block that defines the configuration information for the event filter. The Event Filter block is documented below.
    eventbridgeBus string
    The EventBridge bus.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    tags {[key: string]: string}
    Metadata that you can assign to help organize the report plans you create.
    arn str
    The ARN of the AppIntegrations Event Integration.
    description str
    The description of the Event Integration.
    event_filters Sequence[GetEventIntegrationEventFilter]
    A block that defines the configuration information for the event filter. The Event Filter block is documented below.
    eventbridge_bus str
    The EventBridge bus.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    tags Mapping[str, str]
    Metadata that you can assign to help organize the report plans you create.
    arn String
    The ARN of the AppIntegrations Event Integration.
    description String
    The description of the Event Integration.
    eventFilters List<Property Map>
    A block that defines the configuration information for the event filter. The Event Filter block is documented below.
    eventbridgeBus String
    The EventBridge bus.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    tags Map<String>
    Metadata that you can assign to help organize the report plans you create.

    Supporting Types

    GetEventIntegrationEventFilter

    Source string
    The source of the events.
    Source string
    The source of the events.
    source String
    The source of the events.
    source string
    The source of the events.
    source str
    The source of the events.
    source String
    The source of the events.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi