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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:02.303Z") @Stability(Stable) public class CfnRegistry extends CfnResource implements IInspectable, ITaggable
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();
 

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

    • CfnRegistry

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

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

      @Stability(Stable) public CfnRegistry(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnRegistryProps 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.
    • CfnRegistry

      @Stability(Stable) public CfnRegistry(@NotNull software.constructs.Construct scope, @NotNull String id)
      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.
  • 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()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • 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.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnRegistry.TagsEntryProperty> getTagsRaw()
      Tags to associate with the registry.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnRegistry.TagsEntryProperty> value)
      Tags to associate with the registry.