1. Packages
  2. AWS Native
  3. API Docs
  4. events
  5. getArchive

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.events.getArchive

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Resource Type definition for AWS::Events::Archive

    Using getArchive

    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 getArchive(args: GetArchiveArgs, opts?: InvokeOptions): Promise<GetArchiveResult>
    function getArchiveOutput(args: GetArchiveOutputArgs, opts?: InvokeOptions): Output<GetArchiveResult>
    def get_archive(archive_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetArchiveResult
    def get_archive_output(archive_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetArchiveResult]
    func LookupArchive(ctx *Context, args *LookupArchiveArgs, opts ...InvokeOption) (*LookupArchiveResult, error)
    func LookupArchiveOutput(ctx *Context, args *LookupArchiveOutputArgs, opts ...InvokeOption) LookupArchiveResultOutput

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

    public static class GetArchive 
    {
        public static Task<GetArchiveResult> InvokeAsync(GetArchiveArgs args, InvokeOptions? opts = null)
        public static Output<GetArchiveResult> Invoke(GetArchiveInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetArchiveResult> getArchive(GetArchiveArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:events:getArchive
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getArchive Result

    The following output properties are available:

    Arn string
    Description string
    EventPattern object
    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.
    RetentionDays int
    Arn string
    Description string
    EventPattern interface{}
    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.
    RetentionDays int
    arn String
    description String
    eventPattern Object
    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.
    retentionDays Integer
    arn string
    description string
    eventPattern any
    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.
    retentionDays number
    arn str
    description str
    event_pattern Any
    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.
    retention_days int
    arn String
    description String
    eventPattern Any
    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.
    retentionDays Number

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi