Documentation
¶
Index ¶
- type Discoverer
- type DiscovererArgs
- type DiscovererInput
- type DiscovererOutput
- func (o DiscovererOutput) CrossAccount() pulumi.BoolPtrOutput
- func (o DiscovererOutput) Description() pulumi.StringPtrOutput
- func (o DiscovererOutput) DiscovererArn() pulumi.StringOutput
- func (o DiscovererOutput) DiscovererId() pulumi.StringOutput
- func (DiscovererOutput) ElementType() reflect.Type
- func (o DiscovererOutput) SourceArn() pulumi.StringOutput
- func (o DiscovererOutput) State() pulumi.StringOutput
- func (o DiscovererOutput) Tags() aws.TagArrayOutput
- func (o DiscovererOutput) ToDiscovererOutput() DiscovererOutput
- func (o DiscovererOutput) ToDiscovererOutputWithContext(ctx context.Context) DiscovererOutput
- type DiscovererState
- type DiscovererTagsEntry
- type LookupDiscovererArgs
- type LookupDiscovererOutputArgs
- type LookupDiscovererResult
- type LookupDiscovererResultOutput
- func (o LookupDiscovererResultOutput) CrossAccount() pulumi.BoolPtrOutput
- func (o LookupDiscovererResultOutput) Description() pulumi.StringPtrOutput
- func (o LookupDiscovererResultOutput) DiscovererArn() pulumi.StringPtrOutput
- func (o LookupDiscovererResultOutput) DiscovererId() pulumi.StringPtrOutput
- func (LookupDiscovererResultOutput) ElementType() reflect.Type
- func (o LookupDiscovererResultOutput) State() pulumi.StringPtrOutput
- func (o LookupDiscovererResultOutput) Tags() aws.TagArrayOutput
- func (o LookupDiscovererResultOutput) ToLookupDiscovererResultOutput() LookupDiscovererResultOutput
- func (o LookupDiscovererResultOutput) ToLookupDiscovererResultOutputWithContext(ctx context.Context) LookupDiscovererResultOutput
- type LookupRegistryArgs
- type LookupRegistryOutputArgs
- type LookupRegistryPolicyArgs
- type LookupRegistryPolicyOutputArgs
- type LookupRegistryPolicyResult
- type LookupRegistryPolicyResultOutput
- func (LookupRegistryPolicyResultOutput) ElementType() reflect.Type
- func (o LookupRegistryPolicyResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupRegistryPolicyResultOutput) Policy() pulumi.AnyOutput
- func (o LookupRegistryPolicyResultOutput) RegistryName() pulumi.StringPtrOutput
- func (o LookupRegistryPolicyResultOutput) RevisionId() pulumi.StringPtrOutput
- func (o LookupRegistryPolicyResultOutput) ToLookupRegistryPolicyResultOutput() LookupRegistryPolicyResultOutput
- func (o LookupRegistryPolicyResultOutput) ToLookupRegistryPolicyResultOutputWithContext(ctx context.Context) LookupRegistryPolicyResultOutput
- type LookupRegistryResult
- type LookupRegistryResultOutput
- func (o LookupRegistryResultOutput) Description() pulumi.StringPtrOutput
- func (LookupRegistryResultOutput) ElementType() reflect.Type
- func (o LookupRegistryResultOutput) RegistryArn() pulumi.StringPtrOutput
- func (o LookupRegistryResultOutput) Tags() aws.TagArrayOutput
- func (o LookupRegistryResultOutput) ToLookupRegistryResultOutput() LookupRegistryResultOutput
- func (o LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext(ctx context.Context) LookupRegistryResultOutput
- type LookupSchemaArgs
- type LookupSchemaOutputArgs
- type LookupSchemaResult
- type LookupSchemaResultOutput
- func (o LookupSchemaResultOutput) Content() pulumi.StringPtrOutput
- func (o LookupSchemaResultOutput) Description() pulumi.StringPtrOutput
- func (LookupSchemaResultOutput) ElementType() reflect.Type
- func (o LookupSchemaResultOutput) LastModified() pulumi.StringPtrOutput
- func (o LookupSchemaResultOutput) SchemaArn() pulumi.StringPtrOutput
- func (o LookupSchemaResultOutput) SchemaVersion() pulumi.StringPtrOutput
- func (o LookupSchemaResultOutput) Tags() aws.TagArrayOutput
- func (o LookupSchemaResultOutput) ToLookupSchemaResultOutput() LookupSchemaResultOutput
- func (o LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext(ctx context.Context) LookupSchemaResultOutput
- func (o LookupSchemaResultOutput) Type() pulumi.StringPtrOutput
- func (o LookupSchemaResultOutput) VersionCreatedDate() pulumi.StringPtrOutput
- type Registry
- type RegistryArgs
- type RegistryInput
- type RegistryOutput
- func (o RegistryOutput) Description() pulumi.StringPtrOutput
- func (RegistryOutput) ElementType() reflect.Type
- func (o RegistryOutput) RegistryArn() pulumi.StringOutput
- func (o RegistryOutput) RegistryName() pulumi.StringPtrOutput
- func (o RegistryOutput) Tags() aws.TagArrayOutput
- func (o RegistryOutput) ToRegistryOutput() RegistryOutput
- func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput
- type RegistryPolicy
- type RegistryPolicyArgs
- type RegistryPolicyInput
- type RegistryPolicyOutput
- func (o RegistryPolicyOutput) AwsId() pulumi.StringOutput
- func (RegistryPolicyOutput) ElementType() reflect.Type
- func (o RegistryPolicyOutput) Policy() pulumi.AnyOutput
- func (o RegistryPolicyOutput) RegistryName() pulumi.StringOutput
- func (o RegistryPolicyOutput) RevisionId() pulumi.StringPtrOutput
- func (o RegistryPolicyOutput) ToRegistryPolicyOutput() RegistryPolicyOutput
- func (o RegistryPolicyOutput) ToRegistryPolicyOutputWithContext(ctx context.Context) RegistryPolicyOutput
- type RegistryPolicyState
- type RegistryState
- type RegistryTagsEntry
- type Schema
- type SchemaArgs
- type SchemaInput
- type SchemaOutput
- func (o SchemaOutput) Content() pulumi.StringOutput
- func (o SchemaOutput) Description() pulumi.StringPtrOutput
- func (SchemaOutput) ElementType() reflect.Type
- func (o SchemaOutput) LastModified() pulumi.StringOutput
- func (o SchemaOutput) RegistryName() pulumi.StringOutput
- func (o SchemaOutput) SchemaArn() pulumi.StringOutput
- func (o SchemaOutput) SchemaName() pulumi.StringPtrOutput
- func (o SchemaOutput) SchemaVersion() pulumi.StringOutput
- func (o SchemaOutput) Tags() aws.TagArrayOutput
- func (o SchemaOutput) ToSchemaOutput() SchemaOutput
- func (o SchemaOutput) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput
- func (o SchemaOutput) Type() pulumi.StringOutput
- func (o SchemaOutput) VersionCreatedDate() pulumi.StringOutput
- type SchemaState
- type SchemaTagsEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer struct { pulumi.CustomResourceState // Defines whether event schemas from other accounts are discovered. Default is True. CrossAccount pulumi.BoolPtrOutput `pulumi:"crossAccount"` // A description for the discoverer. Description pulumi.StringPtrOutput `pulumi:"description"` // The ARN of the discoverer. DiscovererArn pulumi.StringOutput `pulumi:"discovererArn"` // The Id of the discoverer. DiscovererId pulumi.StringOutput `pulumi:"discovererId"` // The ARN of the event bus. SourceArn pulumi.StringOutput `pulumi:"sourceArn"` // Defines the current state of the discoverer. State pulumi.StringOutput `pulumi:"state"` // Tags associated with the resource. Tags aws.TagArrayOutput `pulumi:"tags"` }
Resource Type definition for AWS::EventSchemas::Discoverer
## Example Usage ### Example
```go 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 }) }
```
func GetDiscoverer ¶
func GetDiscoverer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DiscovererState, opts ...pulumi.ResourceOption) (*Discoverer, error)
GetDiscoverer gets an existing Discoverer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDiscoverer ¶
func NewDiscoverer(ctx *pulumi.Context, name string, args *DiscovererArgs, opts ...pulumi.ResourceOption) (*Discoverer, error)
NewDiscoverer registers a new resource with the given unique name, arguments, and options.
func (*Discoverer) ElementType ¶
func (*Discoverer) ElementType() reflect.Type
func (*Discoverer) ToDiscovererOutput ¶
func (i *Discoverer) ToDiscovererOutput() DiscovererOutput
func (*Discoverer) ToDiscovererOutputWithContext ¶
func (i *Discoverer) ToDiscovererOutputWithContext(ctx context.Context) DiscovererOutput
type DiscovererArgs ¶
type DiscovererArgs struct { // Defines whether event schemas from other accounts are discovered. Default is True. CrossAccount pulumi.BoolPtrInput // A description for the discoverer. Description pulumi.StringPtrInput // The ARN of the event bus. SourceArn pulumi.StringInput // Tags associated with the resource. Tags aws.TagArrayInput }
The set of arguments for constructing a Discoverer resource.
func (DiscovererArgs) ElementType ¶
func (DiscovererArgs) ElementType() reflect.Type
type DiscovererInput ¶
type DiscovererInput interface { pulumi.Input ToDiscovererOutput() DiscovererOutput ToDiscovererOutputWithContext(ctx context.Context) DiscovererOutput }
type DiscovererOutput ¶
type DiscovererOutput struct{ *pulumi.OutputState }
func (DiscovererOutput) CrossAccount ¶ added in v0.17.0
func (o DiscovererOutput) CrossAccount() pulumi.BoolPtrOutput
Defines whether event schemas from other accounts are discovered. Default is True.
func (DiscovererOutput) Description ¶ added in v0.17.0
func (o DiscovererOutput) Description() pulumi.StringPtrOutput
A description for the discoverer.
func (DiscovererOutput) DiscovererArn ¶ added in v0.17.0
func (o DiscovererOutput) DiscovererArn() pulumi.StringOutput
The ARN of the discoverer.
func (DiscovererOutput) DiscovererId ¶ added in v0.17.0
func (o DiscovererOutput) DiscovererId() pulumi.StringOutput
The Id of the discoverer.
func (DiscovererOutput) ElementType ¶
func (DiscovererOutput) ElementType() reflect.Type
func (DiscovererOutput) SourceArn ¶ added in v0.17.0
func (o DiscovererOutput) SourceArn() pulumi.StringOutput
The ARN of the event bus.
func (DiscovererOutput) State ¶ added in v0.91.0
func (o DiscovererOutput) State() pulumi.StringOutput
Defines the current state of the discoverer.
func (DiscovererOutput) Tags ¶ added in v0.17.0
func (o DiscovererOutput) Tags() aws.TagArrayOutput
Tags associated with the resource.
func (DiscovererOutput) ToDiscovererOutput ¶
func (o DiscovererOutput) ToDiscovererOutput() DiscovererOutput
func (DiscovererOutput) ToDiscovererOutputWithContext ¶
func (o DiscovererOutput) ToDiscovererOutputWithContext(ctx context.Context) DiscovererOutput
type DiscovererState ¶
type DiscovererState struct { }
func (DiscovererState) ElementType ¶
func (DiscovererState) ElementType() reflect.Type
type DiscovererTagsEntry ¶
type LookupDiscovererArgs ¶ added in v0.12.0
type LookupDiscovererArgs struct { // The ARN of the discoverer. DiscovererArn string `pulumi:"discovererArn"` }
type LookupDiscovererOutputArgs ¶ added in v0.12.0
type LookupDiscovererOutputArgs struct { // The ARN of the discoverer. DiscovererArn pulumi.StringInput `pulumi:"discovererArn"` }
func (LookupDiscovererOutputArgs) ElementType ¶ added in v0.12.0
func (LookupDiscovererOutputArgs) ElementType() reflect.Type
type LookupDiscovererResult ¶ added in v0.12.0
type LookupDiscovererResult struct { // Defines whether event schemas from other accounts are discovered. Default is True. CrossAccount *bool `pulumi:"crossAccount"` // A description for the discoverer. Description *string `pulumi:"description"` // The ARN of the discoverer. DiscovererArn *string `pulumi:"discovererArn"` // The Id of the discoverer. DiscovererId *string `pulumi:"discovererId"` // Defines the current state of the discoverer. State *string `pulumi:"state"` // Tags associated with the resource. Tags []aws.Tag `pulumi:"tags"` }
func LookupDiscoverer ¶ added in v0.12.0
func LookupDiscoverer(ctx *pulumi.Context, args *LookupDiscovererArgs, opts ...pulumi.InvokeOption) (*LookupDiscovererResult, error)
Resource Type definition for AWS::EventSchemas::Discoverer
type LookupDiscovererResultOutput ¶ added in v0.12.0
type LookupDiscovererResultOutput struct{ *pulumi.OutputState }
func LookupDiscovererOutput ¶ added in v0.12.0
func LookupDiscovererOutput(ctx *pulumi.Context, args LookupDiscovererOutputArgs, opts ...pulumi.InvokeOption) LookupDiscovererResultOutput
func (LookupDiscovererResultOutput) CrossAccount ¶ added in v0.12.0
func (o LookupDiscovererResultOutput) CrossAccount() pulumi.BoolPtrOutput
Defines whether event schemas from other accounts are discovered. Default is True.
func (LookupDiscovererResultOutput) Description ¶ added in v0.12.0
func (o LookupDiscovererResultOutput) Description() pulumi.StringPtrOutput
A description for the discoverer.
func (LookupDiscovererResultOutput) DiscovererArn ¶ added in v0.12.0
func (o LookupDiscovererResultOutput) DiscovererArn() pulumi.StringPtrOutput
The ARN of the discoverer.
func (LookupDiscovererResultOutput) DiscovererId ¶ added in v0.12.0
func (o LookupDiscovererResultOutput) DiscovererId() pulumi.StringPtrOutput
The Id of the discoverer.
func (LookupDiscovererResultOutput) ElementType ¶ added in v0.12.0
func (LookupDiscovererResultOutput) ElementType() reflect.Type
func (LookupDiscovererResultOutput) State ¶ added in v0.91.0
func (o LookupDiscovererResultOutput) State() pulumi.StringPtrOutput
Defines the current state of the discoverer.
func (LookupDiscovererResultOutput) Tags ¶ added in v0.12.0
func (o LookupDiscovererResultOutput) Tags() aws.TagArrayOutput
Tags associated with the resource.
func (LookupDiscovererResultOutput) ToLookupDiscovererResultOutput ¶ added in v0.12.0
func (o LookupDiscovererResultOutput) ToLookupDiscovererResultOutput() LookupDiscovererResultOutput
func (LookupDiscovererResultOutput) ToLookupDiscovererResultOutputWithContext ¶ added in v0.12.0
func (o LookupDiscovererResultOutput) ToLookupDiscovererResultOutputWithContext(ctx context.Context) LookupDiscovererResultOutput
type LookupRegistryArgs ¶ added in v0.12.0
type LookupRegistryArgs struct { // The ARN of the registry. RegistryArn string `pulumi:"registryArn"` }
type LookupRegistryOutputArgs ¶ added in v0.12.0
type LookupRegistryOutputArgs struct { // The ARN of the registry. RegistryArn pulumi.StringInput `pulumi:"registryArn"` }
func (LookupRegistryOutputArgs) ElementType ¶ added in v0.12.0
func (LookupRegistryOutputArgs) ElementType() reflect.Type
type LookupRegistryPolicyArgs ¶ added in v0.12.0
type LookupRegistryPolicyArgs struct { // The ID of the policy. Id string `pulumi:"id"` }
type LookupRegistryPolicyOutputArgs ¶ added in v0.12.0
type LookupRegistryPolicyOutputArgs struct { // The ID of the policy. Id pulumi.StringInput `pulumi:"id"` }
func (LookupRegistryPolicyOutputArgs) ElementType ¶ added in v0.12.0
func (LookupRegistryPolicyOutputArgs) ElementType() reflect.Type
type LookupRegistryPolicyResult ¶ added in v0.12.0
type LookupRegistryPolicyResult struct { // The ID of the policy. Id *string `pulumi:"id"` // A resource-based policy. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EventSchemas::RegistryPolicy` for more information about the expected schema for this property. Policy interface{} `pulumi:"policy"` // The name of the registry. RegistryName *string `pulumi:"registryName"` // The revision ID of the policy. RevisionId *string `pulumi:"revisionId"` }
func LookupRegistryPolicy ¶ added in v0.12.0
func LookupRegistryPolicy(ctx *pulumi.Context, args *LookupRegistryPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRegistryPolicyResult, error)
Resource Type definition for AWS::EventSchemas::RegistryPolicy
type LookupRegistryPolicyResultOutput ¶ added in v0.12.0
type LookupRegistryPolicyResultOutput struct{ *pulumi.OutputState }
func LookupRegistryPolicyOutput ¶ added in v0.12.0
func LookupRegistryPolicyOutput(ctx *pulumi.Context, args LookupRegistryPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupRegistryPolicyResultOutput
func (LookupRegistryPolicyResultOutput) ElementType ¶ added in v0.12.0
func (LookupRegistryPolicyResultOutput) ElementType() reflect.Type
func (LookupRegistryPolicyResultOutput) Id ¶ added in v0.12.0
func (o LookupRegistryPolicyResultOutput) Id() pulumi.StringPtrOutput
The ID of the policy.
func (LookupRegistryPolicyResultOutput) Policy ¶ added in v0.12.0
func (o LookupRegistryPolicyResultOutput) Policy() pulumi.AnyOutput
A resource-based policy.
Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EventSchemas::RegistryPolicy` for more information about the expected schema for this property.
func (LookupRegistryPolicyResultOutput) RegistryName ¶ added in v0.12.0
func (o LookupRegistryPolicyResultOutput) RegistryName() pulumi.StringPtrOutput
The name of the registry.
func (LookupRegistryPolicyResultOutput) RevisionId ¶ added in v0.12.0
func (o LookupRegistryPolicyResultOutput) RevisionId() pulumi.StringPtrOutput
The revision ID of the policy.
func (LookupRegistryPolicyResultOutput) ToLookupRegistryPolicyResultOutput ¶ added in v0.12.0
func (o LookupRegistryPolicyResultOutput) ToLookupRegistryPolicyResultOutput() LookupRegistryPolicyResultOutput
func (LookupRegistryPolicyResultOutput) ToLookupRegistryPolicyResultOutputWithContext ¶ added in v0.12.0
func (o LookupRegistryPolicyResultOutput) ToLookupRegistryPolicyResultOutputWithContext(ctx context.Context) LookupRegistryPolicyResultOutput
type LookupRegistryResult ¶ added in v0.12.0
type LookupRegistryResult struct { // A description of the registry to be created. Description *string `pulumi:"description"` // The ARN of the registry. RegistryArn *string `pulumi:"registryArn"` // Tags associated with the resource. Tags []aws.Tag `pulumi:"tags"` }
func LookupRegistry ¶ added in v0.12.0
func LookupRegistry(ctx *pulumi.Context, args *LookupRegistryArgs, opts ...pulumi.InvokeOption) (*LookupRegistryResult, error)
Resource Type definition for AWS::EventSchemas::Registry
type LookupRegistryResultOutput ¶ added in v0.12.0
type LookupRegistryResultOutput struct{ *pulumi.OutputState }
func LookupRegistryOutput ¶ added in v0.12.0
func LookupRegistryOutput(ctx *pulumi.Context, args LookupRegistryOutputArgs, opts ...pulumi.InvokeOption) LookupRegistryResultOutput
func (LookupRegistryResultOutput) Description ¶ added in v0.12.0
func (o LookupRegistryResultOutput) Description() pulumi.StringPtrOutput
A description of the registry to be created.
func (LookupRegistryResultOutput) ElementType ¶ added in v0.12.0
func (LookupRegistryResultOutput) ElementType() reflect.Type
func (LookupRegistryResultOutput) RegistryArn ¶ added in v0.12.0
func (o LookupRegistryResultOutput) RegistryArn() pulumi.StringPtrOutput
The ARN of the registry.
func (LookupRegistryResultOutput) Tags ¶ added in v0.12.0
func (o LookupRegistryResultOutput) Tags() aws.TagArrayOutput
Tags associated with the resource.
func (LookupRegistryResultOutput) ToLookupRegistryResultOutput ¶ added in v0.12.0
func (o LookupRegistryResultOutput) ToLookupRegistryResultOutput() LookupRegistryResultOutput
func (LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext ¶ added in v0.12.0
func (o LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext(ctx context.Context) LookupRegistryResultOutput
type LookupSchemaArgs ¶ added in v0.12.0
type LookupSchemaArgs struct { // The ARN of the schema. SchemaArn string `pulumi:"schemaArn"` }
type LookupSchemaOutputArgs ¶ added in v0.12.0
type LookupSchemaOutputArgs struct { // The ARN of the schema. SchemaArn pulumi.StringInput `pulumi:"schemaArn"` }
func (LookupSchemaOutputArgs) ElementType ¶ added in v0.12.0
func (LookupSchemaOutputArgs) ElementType() reflect.Type
type LookupSchemaResult ¶ added in v0.12.0
type LookupSchemaResult struct { // The source of the schema definition. Content *string `pulumi:"content"` // A description of the schema. Description *string `pulumi:"description"` // The last modified time of the schema. LastModified *string `pulumi:"lastModified"` // The ARN of the schema. SchemaArn *string `pulumi:"schemaArn"` // The version number of the schema. SchemaVersion *string `pulumi:"schemaVersion"` // Tags associated with the resource. Tags []aws.Tag `pulumi:"tags"` // The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4. Type *string `pulumi:"type"` // The date the schema version was created. VersionCreatedDate *string `pulumi:"versionCreatedDate"` }
func LookupSchema ¶ added in v0.12.0
func LookupSchema(ctx *pulumi.Context, args *LookupSchemaArgs, opts ...pulumi.InvokeOption) (*LookupSchemaResult, error)
Resource Type definition for AWS::EventSchemas::Schema
type LookupSchemaResultOutput ¶ added in v0.12.0
type LookupSchemaResultOutput struct{ *pulumi.OutputState }
func LookupSchemaOutput ¶ added in v0.12.0
func LookupSchemaOutput(ctx *pulumi.Context, args LookupSchemaOutputArgs, opts ...pulumi.InvokeOption) LookupSchemaResultOutput
func (LookupSchemaResultOutput) Content ¶ added in v0.12.0
func (o LookupSchemaResultOutput) Content() pulumi.StringPtrOutput
The source of the schema definition.
func (LookupSchemaResultOutput) Description ¶ added in v0.12.0
func (o LookupSchemaResultOutput) Description() pulumi.StringPtrOutput
A description of the schema.
func (LookupSchemaResultOutput) ElementType ¶ added in v0.12.0
func (LookupSchemaResultOutput) ElementType() reflect.Type
func (LookupSchemaResultOutput) LastModified ¶ added in v0.91.0
func (o LookupSchemaResultOutput) LastModified() pulumi.StringPtrOutput
The last modified time of the schema.
func (LookupSchemaResultOutput) SchemaArn ¶ added in v0.12.0
func (o LookupSchemaResultOutput) SchemaArn() pulumi.StringPtrOutput
The ARN of the schema.
func (LookupSchemaResultOutput) SchemaVersion ¶ added in v0.12.0
func (o LookupSchemaResultOutput) SchemaVersion() pulumi.StringPtrOutput
The version number of the schema.
func (LookupSchemaResultOutput) Tags ¶ added in v0.12.0
func (o LookupSchemaResultOutput) Tags() aws.TagArrayOutput
Tags associated with the resource.
func (LookupSchemaResultOutput) ToLookupSchemaResultOutput ¶ added in v0.12.0
func (o LookupSchemaResultOutput) ToLookupSchemaResultOutput() LookupSchemaResultOutput
func (LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext ¶ added in v0.12.0
func (o LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext(ctx context.Context) LookupSchemaResultOutput
func (LookupSchemaResultOutput) Type ¶ added in v0.12.0
func (o LookupSchemaResultOutput) Type() pulumi.StringPtrOutput
The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
func (LookupSchemaResultOutput) VersionCreatedDate ¶ added in v0.91.0
func (o LookupSchemaResultOutput) VersionCreatedDate() pulumi.StringPtrOutput
The date the schema version was created.
type Registry ¶
type Registry struct { pulumi.CustomResourceState // A description of the registry to be created. Description pulumi.StringPtrOutput `pulumi:"description"` // The ARN of the registry. RegistryArn pulumi.StringOutput `pulumi:"registryArn"` // The name of the schema registry. RegistryName pulumi.StringPtrOutput `pulumi:"registryName"` // Tags associated with the resource. Tags aws.TagArrayOutput `pulumi:"tags"` }
Resource Type definition for AWS::EventSchemas::Registry
## Example Usage ### Example
```go 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.NewRegistry(ctx, "statesSchemasRegistry", &eventschemas.RegistryArgs{ RegistryName: pulumi.String("aws.states"), Description: pulumi.String("Contains the schemas of events emitted by AWS Step Functions"), }) if err != nil { return err } return nil }) }
```
func GetRegistry ¶
func GetRegistry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegistryState, opts ...pulumi.ResourceOption) (*Registry, error)
GetRegistry gets an existing Registry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRegistry ¶
func NewRegistry(ctx *pulumi.Context, name string, args *RegistryArgs, opts ...pulumi.ResourceOption) (*Registry, error)
NewRegistry registers a new resource with the given unique name, arguments, and options.
func (*Registry) ElementType ¶
func (*Registry) ToRegistryOutput ¶
func (i *Registry) ToRegistryOutput() RegistryOutput
func (*Registry) ToRegistryOutputWithContext ¶
func (i *Registry) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput
type RegistryArgs ¶
type RegistryArgs struct { // A description of the registry to be created. Description pulumi.StringPtrInput // The name of the schema registry. RegistryName pulumi.StringPtrInput // Tags associated with the resource. Tags aws.TagArrayInput }
The set of arguments for constructing a Registry resource.
func (RegistryArgs) ElementType ¶
func (RegistryArgs) ElementType() reflect.Type
type RegistryInput ¶
type RegistryInput interface { pulumi.Input ToRegistryOutput() RegistryOutput ToRegistryOutputWithContext(ctx context.Context) RegistryOutput }
type RegistryOutput ¶
type RegistryOutput struct{ *pulumi.OutputState }
func (RegistryOutput) Description ¶ added in v0.17.0
func (o RegistryOutput) Description() pulumi.StringPtrOutput
A description of the registry to be created.
func (RegistryOutput) ElementType ¶
func (RegistryOutput) ElementType() reflect.Type
func (RegistryOutput) RegistryArn ¶ added in v0.17.0
func (o RegistryOutput) RegistryArn() pulumi.StringOutput
The ARN of the registry.
func (RegistryOutput) RegistryName ¶ added in v0.17.0
func (o RegistryOutput) RegistryName() pulumi.StringPtrOutput
The name of the schema registry.
func (RegistryOutput) Tags ¶ added in v0.17.0
func (o RegistryOutput) Tags() aws.TagArrayOutput
Tags associated with the resource.
func (RegistryOutput) ToRegistryOutput ¶
func (o RegistryOutput) ToRegistryOutput() RegistryOutput
func (RegistryOutput) ToRegistryOutputWithContext ¶
func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput
type RegistryPolicy ¶
type RegistryPolicy struct { pulumi.CustomResourceState // The ID of the policy. AwsId pulumi.StringOutput `pulumi:"awsId"` // A resource-based policy. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EventSchemas::RegistryPolicy` for more information about the expected schema for this property. Policy pulumi.AnyOutput `pulumi:"policy"` // The name of the registry. RegistryName pulumi.StringOutput `pulumi:"registryName"` // The revision ID of the policy. RevisionId pulumi.StringPtrOutput `pulumi:"revisionId"` }
Resource Type definition for AWS::EventSchemas::RegistryPolicy
## Example Usage ### Example
```go 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.NewRegistryPolicy(ctx, "registryPolicy", &eventschemas.RegistryPolicyArgs{ RegistryName: pulumi.String("registryName"), Policy: pulumi.Any(map[string]interface{}{ "version": "2012-10-17", "statement": map[string]interface{}{ "sid": 1, "effect": "Allow", "principal": map[string]interface{}{ "aws": "arn:aws:iam::012345678901:user/TestAccountForRegistryPolicy", }, "action": []string{ "schemas:DescribeRegistry", "schemas:CreateSchema", }, "resource": "registryArn", }, }), }) if err != nil { return err } return nil }) }
``` ### Example
```go 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.NewRegistryPolicy(ctx, "registryPolicy", &eventschemas.RegistryPolicyArgs{ RegistryName: pulumi.String("MyRegistry"), Policy: pulumi.Any(map[string]interface{}{ "version": "2012-10-17", "statement": []map[string]interface{}{ map[string]interface{}{ "sid": "Test", "effect": "Allow", "action": []string{ "schemas:*", }, "principal": map[string]interface{}{ "aws": []string{ "109876543210", }, }, "resource": []string{ "arn:aws:schemas:us-east-1:012345678901:registry/MyRegistry", "arn:aws:schemas:us-east-1:012345678901:schema/MyRegistry*", }, }, }, }), }) if err != nil { return err } return nil }) }
``` ### Example
```go 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.NewRegistryPolicy(ctx, "registryPolicy", &eventschemas.RegistryPolicyArgs{ RegistryName: pulumi.String("MyRegistry"), Policy: pulumi.Any(map[string]interface{}{ "version": "2012-10-17", "statement": []map[string]interface{}{ map[string]interface{}{ "sid": "Test", "effect": "Allow", "action": []string{ "schemas:*", }, "principal": map[string]interface{}{ "aws": []string{ "109876543210", }, }, "resource": []string{ "arn:aws:schemas:us-east-1:012345678901:registry/MyRegistry", "arn:aws:schemas:us-east-1:012345678901:schema/MyRegistry*", }, }, }, }), }) if err != nil { return err } return nil }) }
```
func GetRegistryPolicy ¶
func GetRegistryPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegistryPolicyState, opts ...pulumi.ResourceOption) (*RegistryPolicy, error)
GetRegistryPolicy gets an existing RegistryPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRegistryPolicy ¶
func NewRegistryPolicy(ctx *pulumi.Context, name string, args *RegistryPolicyArgs, opts ...pulumi.ResourceOption) (*RegistryPolicy, error)
NewRegistryPolicy registers a new resource with the given unique name, arguments, and options.
func (*RegistryPolicy) ElementType ¶
func (*RegistryPolicy) ElementType() reflect.Type
func (*RegistryPolicy) ToRegistryPolicyOutput ¶
func (i *RegistryPolicy) ToRegistryPolicyOutput() RegistryPolicyOutput
func (*RegistryPolicy) ToRegistryPolicyOutputWithContext ¶
func (i *RegistryPolicy) ToRegistryPolicyOutputWithContext(ctx context.Context) RegistryPolicyOutput
type RegistryPolicyArgs ¶
type RegistryPolicyArgs struct { // A resource-based policy. // // Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EventSchemas::RegistryPolicy` for more information about the expected schema for this property. Policy pulumi.Input // The name of the registry. RegistryName pulumi.StringInput // The revision ID of the policy. RevisionId pulumi.StringPtrInput }
The set of arguments for constructing a RegistryPolicy resource.
func (RegistryPolicyArgs) ElementType ¶
func (RegistryPolicyArgs) ElementType() reflect.Type
type RegistryPolicyInput ¶
type RegistryPolicyInput interface { pulumi.Input ToRegistryPolicyOutput() RegistryPolicyOutput ToRegistryPolicyOutputWithContext(ctx context.Context) RegistryPolicyOutput }
type RegistryPolicyOutput ¶
type RegistryPolicyOutput struct{ *pulumi.OutputState }
func (RegistryPolicyOutput) AwsId ¶ added in v0.99.0
func (o RegistryPolicyOutput) AwsId() pulumi.StringOutput
The ID of the policy.
func (RegistryPolicyOutput) ElementType ¶
func (RegistryPolicyOutput) ElementType() reflect.Type
func (RegistryPolicyOutput) Policy ¶ added in v0.17.0
func (o RegistryPolicyOutput) Policy() pulumi.AnyOutput
A resource-based policy.
Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EventSchemas::RegistryPolicy` for more information about the expected schema for this property.
func (RegistryPolicyOutput) RegistryName ¶ added in v0.17.0
func (o RegistryPolicyOutput) RegistryName() pulumi.StringOutput
The name of the registry.
func (RegistryPolicyOutput) RevisionId ¶ added in v0.17.0
func (o RegistryPolicyOutput) RevisionId() pulumi.StringPtrOutput
The revision ID of the policy.
func (RegistryPolicyOutput) ToRegistryPolicyOutput ¶
func (o RegistryPolicyOutput) ToRegistryPolicyOutput() RegistryPolicyOutput
func (RegistryPolicyOutput) ToRegistryPolicyOutputWithContext ¶
func (o RegistryPolicyOutput) ToRegistryPolicyOutputWithContext(ctx context.Context) RegistryPolicyOutput
type RegistryPolicyState ¶
type RegistryPolicyState struct { }
func (RegistryPolicyState) ElementType ¶
func (RegistryPolicyState) ElementType() reflect.Type
type RegistryState ¶
type RegistryState struct { }
func (RegistryState) ElementType ¶
func (RegistryState) ElementType() reflect.Type
type RegistryTagsEntry ¶
type Schema ¶
type Schema struct { pulumi.CustomResourceState // The source of the schema definition. Content pulumi.StringOutput `pulumi:"content"` // A description of the schema. Description pulumi.StringPtrOutput `pulumi:"description"` // The last modified time of the schema. LastModified pulumi.StringOutput `pulumi:"lastModified"` // The name of the schema registry. RegistryName pulumi.StringOutput `pulumi:"registryName"` // The ARN of the schema. SchemaArn pulumi.StringOutput `pulumi:"schemaArn"` // The name of the schema. SchemaName pulumi.StringPtrOutput `pulumi:"schemaName"` // The version number of the schema. SchemaVersion pulumi.StringOutput `pulumi:"schemaVersion"` // Tags associated with the resource. Tags aws.TagArrayOutput `pulumi:"tags"` // The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4. Type pulumi.StringOutput `pulumi:"type"` // The date the schema version was created. VersionCreatedDate pulumi.StringOutput `pulumi:"versionCreatedDate"` }
Resource Type definition for AWS::EventSchemas::Schema
## Example Usage ### Example
```go 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.NewSchema(ctx, "executionStatusChangeSchema", &eventschemas.SchemaArgs{ RegistryName: pulumi.String("aws.events"), SchemaName: pulumi.String("ExecutionStatusChange"), Description: pulumi.String("event emitted when the status of a state machine execution change"), Type: pulumi.String("OpenApi3"), Content: pulumi.String("{ \"openapi\": \"3.0.0\", \"info\": { \"version\": \"1.0.0\", \"title\": \"StepFunctionsExecutionStatusChange\" }, \"paths\":{}, \"components\": { \"schemas\": { \"StepFunctionsExecutionStatusChange\": { \"type\": \"object\", \"required\": [ \"output\", \"input\", \"executionArn\", \"name\", \"stateMachineArn\", \"startDate\", \"stopDate\", \"status\" ], \"properties\": { \"output\": {\"type\": \"string\",\"nullable\": true}, \"input\": {\"type\": \"string\"}, \"executionArn\": {\"type\": \"string\"}, \"name\": {\"type\": \"string\"}, \"stateMachineArn\": {\"type\": \"string\"}, \"startDate\": {\"type\": \"integer\",\"format\": \"int64\"}, \"stopDate\": {\"type\": \"integer\",\"format\": \"int64\",\"nullable\": true}, \"status\": {\"type\": \"string\",\"enum\": [ \"FAILED\", \"RUNNING\", \"SUCCEEDED\", \"ABORTED\" ]} } } } } }"), }) if err != nil { return err } return nil }) }
```
func GetSchema ¶
func GetSchema(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SchemaState, opts ...pulumi.ResourceOption) (*Schema, error)
GetSchema gets an existing Schema resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSchema ¶
func NewSchema(ctx *pulumi.Context, name string, args *SchemaArgs, opts ...pulumi.ResourceOption) (*Schema, error)
NewSchema registers a new resource with the given unique name, arguments, and options.
func (*Schema) ElementType ¶
func (*Schema) ToSchemaOutput ¶
func (i *Schema) ToSchemaOutput() SchemaOutput
func (*Schema) ToSchemaOutputWithContext ¶
func (i *Schema) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput
type SchemaArgs ¶
type SchemaArgs struct { // The source of the schema definition. Content pulumi.StringInput // A description of the schema. Description pulumi.StringPtrInput // The name of the schema registry. RegistryName pulumi.StringInput // The name of the schema. SchemaName pulumi.StringPtrInput // Tags associated with the resource. Tags aws.TagArrayInput // The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4. Type pulumi.StringInput }
The set of arguments for constructing a Schema resource.
func (SchemaArgs) ElementType ¶
func (SchemaArgs) ElementType() reflect.Type
type SchemaInput ¶
type SchemaInput interface { pulumi.Input ToSchemaOutput() SchemaOutput ToSchemaOutputWithContext(ctx context.Context) SchemaOutput }
type SchemaOutput ¶
type SchemaOutput struct{ *pulumi.OutputState }
func (SchemaOutput) Content ¶ added in v0.17.0
func (o SchemaOutput) Content() pulumi.StringOutput
The source of the schema definition.
func (SchemaOutput) Description ¶ added in v0.17.0
func (o SchemaOutput) Description() pulumi.StringPtrOutput
A description of the schema.
func (SchemaOutput) ElementType ¶
func (SchemaOutput) ElementType() reflect.Type
func (SchemaOutput) LastModified ¶ added in v0.91.0
func (o SchemaOutput) LastModified() pulumi.StringOutput
The last modified time of the schema.
func (SchemaOutput) RegistryName ¶ added in v0.17.0
func (o SchemaOutput) RegistryName() pulumi.StringOutput
The name of the schema registry.
func (SchemaOutput) SchemaArn ¶ added in v0.17.0
func (o SchemaOutput) SchemaArn() pulumi.StringOutput
The ARN of the schema.
func (SchemaOutput) SchemaName ¶ added in v0.17.0
func (o SchemaOutput) SchemaName() pulumi.StringPtrOutput
The name of the schema.
func (SchemaOutput) SchemaVersion ¶ added in v0.17.0
func (o SchemaOutput) SchemaVersion() pulumi.StringOutput
The version number of the schema.
func (SchemaOutput) Tags ¶ added in v0.17.0
func (o SchemaOutput) Tags() aws.TagArrayOutput
Tags associated with the resource.
func (SchemaOutput) ToSchemaOutput ¶
func (o SchemaOutput) ToSchemaOutput() SchemaOutput
func (SchemaOutput) ToSchemaOutputWithContext ¶
func (o SchemaOutput) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput
func (SchemaOutput) Type ¶ added in v0.17.0
func (o SchemaOutput) Type() pulumi.StringOutput
The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
func (SchemaOutput) VersionCreatedDate ¶ added in v0.91.0
func (o SchemaOutput) VersionCreatedDate() pulumi.StringOutput
The date the schema version was created.
type SchemaState ¶
type SchemaState struct { }
func (SchemaState) ElementType ¶
func (SchemaState) ElementType() reflect.Type