We recommend new projects start with resources from the AWS provider.
aws-native.eventschemas.Discoverer
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Source
Arn string - The ARN of the event bus.
- Cross
Account bool - Defines whether event schemas from other accounts are discovered. Default is True.
- Description string
- A description for the discoverer.
- List<Pulumi.
Aws Native. Inputs. Tag> - Tags associated with the resource.
- Source
Arn string - The ARN of the event bus.
- Cross
Account bool - Defines whether event schemas from other accounts are discovered. Default is True.
- Description string
- A description for the discoverer.
- Tag
Args - Tags associated with the resource.
- source
Arn String - The ARN of the event bus.
- cross
Account Boolean - Defines whether event schemas from other accounts are discovered. Default is True.
- description String
- A description for the discoverer.
- List<Tag>
- Tags associated with the resource.
- source
Arn string - The ARN of the event bus.
- cross
Account boolean - Defines whether event schemas from other accounts are discovered. Default is True.
- description string
- A description for the discoverer.
- 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.
- Sequence[Tag
Args] - Tags associated with the resource.
- source
Arn String - The ARN of the event bus.
- cross
Account Boolean - Defines whether event schemas from other accounts are discovered. Default is True.
- description String
- A description for the discoverer.
- 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:
- Discoverer
Arn string - The ARN of the discoverer.
- Discoverer
Id 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 string - The ARN of the discoverer.
- Discoverer
Id 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 String - The ARN of the discoverer.
- discoverer
Id 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 string - The ARN of the discoverer.
- discoverer
Id 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.
- discoverer
Arn String - The ARN of the discoverer.
- discoverer
Id 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.