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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.701Z") @Stability(Stable) public class CfnRegistry extends CfnResource implements IInspectable
A CloudFormation AWS::EventSchemas::Registry.

Use the AWS::EventSchemas::Registry to specify a schema registry. Schema registries are containers for Schemas. Registries collect and organize schemas so that your schemas are in logical groups.

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.eventschemas.*;
 CfnRegistry cfnRegistry = CfnRegistry.Builder.create(this, "MyCfnRegistry")
         .description("description")
         .registryName("registryName")
         .tags(List.of(TagsEntryProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • 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

    • CfnRegistry

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

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

      @Stability(Stable) public CfnRegistry(@NotNull Construct scope, @NotNull String id, @Nullable CfnRegistryProps props)
      Create a new AWS::EventSchemas::Registry.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
    • CfnRegistry

      @Stability(Stable) public CfnRegistry(@NotNull Construct scope, @NotNull String id)
      Create a new AWS::EventSchemas::Registry.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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.
    • getAttrRegistryArn

      @Stability(Stable) @NotNull public String getAttrRegistryArn()
      The ARN of the registry.
    • getAttrRegistryName

      @Stability(Stable) @NotNull public String getAttrRegistryName()
      The name of the registry.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public TagManager getTags()
      Tags to associate with the registry.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A description of the registry to be created.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A description of the registry to be created.
    • getRegistryName

      @Stability(Stable) @Nullable public String getRegistryName()
      The name of the schema registry.
    • setRegistryName

      @Stability(Stable) public void setRegistryName(@Nullable String value)
      The name of the schema registry.