Class CfnSchemaVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:07.860Z") @Stability(Stable) public class CfnSchemaVersion extends CfnResource implements IInspectable
The AWS::Glue::SchemaVersion is an AWS Glue resource type that manages schema versions of schemas in the AWS Glue Schema Registry.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 CfnSchemaVersion cfnSchemaVersion = CfnSchemaVersion.Builder.create(this, "MyCfnSchemaVersion")
         .schema(SchemaProperty.builder()
                 .registryName("registryName")
                 .schemaArn("schemaArn")
                 .schemaName("schemaName")
                 .build())
         .schemaDefinition("schemaDefinition")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnSchemaVersion

      protected CfnSchemaVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnSchemaVersion

      protected CfnSchemaVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnSchemaVersion

      @Stability(Stable) public CfnSchemaVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSchemaVersionProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrVersionId

      @Stability(Stable) @NotNull public String getAttrVersionId()
      Represents the version ID associated with the schema version.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getSchema

      @Stability(Stable) @NotNull public Object getSchema()
      The schema that includes the schema version.
    • setSchema

      @Stability(Stable) public void setSchema(@NotNull IResolvable value)
      The schema that includes the schema version.
    • setSchema

      @Stability(Stable) public void setSchema(@NotNull CfnSchemaVersion.SchemaProperty value)
      The schema that includes the schema version.
    • getSchemaDefinition

      @Stability(Stable) @NotNull public String getSchemaDefinition()
      The schema definition for the schema version.
    • setSchemaDefinition

      @Stability(Stable) public void setSchemaDefinition(@NotNull String value)
      The schema definition for the schema version.