@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:46.360Z") public class CfnRegistry extends CfnResource implements IInspectable
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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnRegistry.Builder
A fluent builder for
CfnRegistry . |
static interface |
CfnRegistry.TagsEntryProperty
Tags to associate with the schema registry.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnRegistry(Construct scope,
java.lang.String id)
Create a new `AWS::EventSchemas::Registry`.
|
|
CfnRegistry(Construct scope,
java.lang.String id,
CfnRegistryProps props)
Create a new `AWS::EventSchemas::Registry`.
|
protected |
CfnRegistry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRegistry(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrRegistryArn()
The ARN of the registry.
|
java.lang.String |
getAttrRegistryName()
The name of the registry.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
A description of the registry to be created.
|
java.lang.String |
getRegistryName()
The name of the schema registry.
|
TagManager |
getTags()
Tags to associate with the registry.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDescription(java.lang.String value)
A description of the registry to be created.
|
void |
setRegistryName(java.lang.String value)
The name of the schema registry.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnRegistry(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRegistry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnRegistry(Construct scope, java.lang.String id, CfnRegistryProps props)
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.public CfnRegistry(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrRegistryArn()
public java.lang.String getAttrRegistryName()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getRegistryName()
public void setRegistryName(java.lang.String value)