1. Packages
  2. AWS Native
  3. API Docs
  4. eventschemas
  5. Discoverer

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.eventschemas.Discoverer

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Resource Type definition for AWS::EventSchemas::Discoverer

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myDiscoverer = new AwsNative.EventSchemas.Discoverer("myDiscoverer", new()
        {
            SourceArn = "arn:aws:events:us-west-2:012345678910:event-bus/default",
            Description = "discover all custom schemas",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/eventschemas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := eventschemas.NewDiscoverer(ctx, "myDiscoverer", &eventschemas.DiscovererArgs{
    			SourceArn:   pulumi.String("arn:aws:events:us-west-2:012345678910:event-bus/default"),
    			Description: pulumi.String("discover all custom schemas"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_discoverer = aws_native.eventschemas.Discoverer("myDiscoverer",
        source_arn="arn:aws:events:us-west-2:012345678910:event-bus/default",
        description="discover all custom schemas")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myDiscoverer = new aws_native.eventschemas.Discoverer("myDiscoverer", {
        sourceArn: "arn:aws:events:us-west-2:012345678910:event-bus/default",
        description: "discover all custom schemas",
    });
    

    Coming soon!

    Create Discoverer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Discoverer(name: string, args: DiscovererArgs, opts?: CustomResourceOptions);
    @overload
    def Discoverer(resource_name: str,
                   args: DiscovererArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Discoverer(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   source_arn: Optional[str] = None,
                   cross_account: Optional[bool] = None,
                   description: Optional[str] = None,
                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewDiscoverer(ctx *Context, name string, args DiscovererArgs, opts ...ResourceOption) (*Discoverer, error)
    public Discoverer(string name, DiscovererArgs args, CustomResourceOptions? opts = null)
    public Discoverer(String name, DiscovererArgs args)
    public Discoverer(String name, DiscovererArgs args, CustomResourceOptions options)
    
    type: aws-native:eventschemas:Discoverer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DiscovererArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DiscovererArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DiscovererArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DiscovererArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DiscovererArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Discoverer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Discoverer resource accepts the following input properties:

    SourceArn string
    The ARN of the event bus.
    CrossAccount bool
    Defines whether event schemas from other accounts are discovered. Default is True.
    Description string
    A description for the discoverer.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags associated with the resource.
    SourceArn string
    The ARN of the event bus.
    CrossAccount bool
    Defines whether event schemas from other accounts are discovered. Default is True.
    Description string
    A description for the discoverer.
    Tags TagArgs
    Tags associated with the resource.
    sourceArn String
    The ARN of the event bus.
    crossAccount Boolean
    Defines whether event schemas from other accounts are discovered. Default is True.
    description String
    A description for the discoverer.
    tags List<Tag>
    Tags associated with the resource.
    sourceArn string
    The ARN of the event bus.
    crossAccount boolean
    Defines whether event schemas from other accounts are discovered. Default is True.
    description string
    A description for the discoverer.
    tags Tag[]
    Tags associated with the resource.
    source_arn str
    The ARN of the event bus.
    cross_account bool
    Defines whether event schemas from other accounts are discovered. Default is True.
    description str
    A description for the discoverer.
    tags Sequence[TagArgs]
    Tags associated with the resource.
    sourceArn String
    The ARN of the event bus.
    crossAccount Boolean
    Defines whether event schemas from other accounts are discovered. Default is True.
    description String
    A description for the discoverer.
    tags List<Property Map>
    Tags associated with the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Discoverer resource produces the following output properties:

    DiscovererArn string
    The ARN of the discoverer.
    DiscovererId string
    The Id of the discoverer.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    Defines the current state of the discoverer.
    DiscovererArn string
    The ARN of the discoverer.
    DiscovererId string
    The Id of the discoverer.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    Defines the current state of the discoverer.
    discovererArn String
    The ARN of the discoverer.
    discovererId String
    The Id of the discoverer.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    Defines the current state of the discoverer.
    discovererArn string
    The ARN of the discoverer.
    discovererId string
    The Id of the discoverer.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    Defines the current state of the discoverer.
    discoverer_arn str
    The ARN of the discoverer.
    discoverer_id str
    The Id of the discoverer.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    Defines the current state of the discoverer.
    discovererArn String
    The ARN of the discoverer.
    discovererId String
    The Id of the discoverer.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    Defines the current state of the discoverer.

    Supporting Types

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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.109.0 published on Wednesday, Jun 26, 2024 by Pulumi