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

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.eventschemas.getSchema

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource Type definition for AWS::EventSchemas::Schema

    Using getSchema

    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 getSchema(args: GetSchemaArgs, opts?: InvokeOptions): Promise<GetSchemaResult>
    function getSchemaOutput(args: GetSchemaOutputArgs, opts?: InvokeOptions): Output<GetSchemaResult>
    def get_schema(schema_arn: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetSchemaResult
    def get_schema_output(schema_arn: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetSchemaResult]
    func LookupSchema(ctx *Context, args *LookupSchemaArgs, opts ...InvokeOption) (*LookupSchemaResult, error)
    func LookupSchemaOutput(ctx *Context, args *LookupSchemaOutputArgs, opts ...InvokeOption) LookupSchemaResultOutput

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

    public static class GetSchema 
    {
        public static Task<GetSchemaResult> InvokeAsync(GetSchemaArgs args, InvokeOptions? opts = null)
        public static Output<GetSchemaResult> Invoke(GetSchemaInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSchemaResult> getSchema(GetSchemaArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:eventschemas:getSchema
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SchemaArn string
    The ARN of the schema.
    SchemaArn string
    The ARN of the schema.
    schemaArn String
    The ARN of the schema.
    schemaArn string
    The ARN of the schema.
    schema_arn str
    The ARN of the schema.
    schemaArn String
    The ARN of the schema.

    getSchema Result

    The following output properties are available:

    Content string
    The source of the schema definition.
    Description string
    A description of the schema.
    LastModified string
    The last modified time of the schema.
    SchemaArn string
    The ARN of the schema.
    SchemaVersion string
    The version number of the schema.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags associated with the resource.
    Type string
    The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
    VersionCreatedDate string
    The date the schema version was created.
    Content string
    The source of the schema definition.
    Description string
    A description of the schema.
    LastModified string
    The last modified time of the schema.
    SchemaArn string
    The ARN of the schema.
    SchemaVersion string
    The version number of the schema.
    Tags Tag
    Tags associated with the resource.
    Type string
    The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
    VersionCreatedDate string
    The date the schema version was created.
    content String
    The source of the schema definition.
    description String
    A description of the schema.
    lastModified String
    The last modified time of the schema.
    schemaArn String
    The ARN of the schema.
    schemaVersion String
    The version number of the schema.
    tags List<Tag>
    Tags associated with the resource.
    type String
    The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
    versionCreatedDate String
    The date the schema version was created.
    content string
    The source of the schema definition.
    description string
    A description of the schema.
    lastModified string
    The last modified time of the schema.
    schemaArn string
    The ARN of the schema.
    schemaVersion string
    The version number of the schema.
    tags Tag[]
    Tags associated with the resource.
    type string
    The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
    versionCreatedDate string
    The date the schema version was created.
    content str
    The source of the schema definition.
    description str
    A description of the schema.
    last_modified str
    The last modified time of the schema.
    schema_arn str
    The ARN of the schema.
    schema_version str
    The version number of the schema.
    tags Sequence[root_Tag]
    Tags associated with the resource.
    type str
    The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
    version_created_date str
    The date the schema version was created.
    content String
    The source of the schema definition.
    description String
    A description of the schema.
    lastModified String
    The last modified time of the schema.
    schemaArn String
    The ARN of the schema.
    schemaVersion String
    The version number of the schema.
    tags List<Property Map>
    Tags associated with the resource.
    type String
    The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
    versionCreatedDate String
    The date the schema version was created.

    Supporting Types

    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 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

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi