@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.345Z") @Stability(value=Stable) public class CfnDiscoverer extends CfnResource implements IInspectable
Use the AWS::EventSchemas::Discoverer resource to specify a discoverer that is associated with an event bus. A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
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.*;
CfnDiscoverer cfnDiscoverer = CfnDiscoverer.Builder.create(this, "MyCfnDiscoverer")
.sourceArn("sourceArn")
// the properties below are optional
.crossAccount(false)
.description("description")
.tags(List.of(TagsEntryProperty.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDiscoverer.Builder
A fluent builder for
CfnDiscoverer. |
static interface |
CfnDiscoverer.TagsEntryProperty
Tags to associate with the discoverer.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDiscoverer(software.constructs.Construct scope,
String id,
CfnDiscovererProps props)
Create a new `AWS::EventSchemas::Discoverer`.
|
protected |
CfnDiscoverer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDiscoverer(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IResolvable |
getAttrCrossAccount()
Defines whether event schemas from other accounts are discovered.
|
String |
getAttrDiscovererArn()
The ARN of the discoverer.
|
String |
getAttrDiscovererId()
The ID of the discoverer.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getCrossAccount()
Allows for the discovery of the event schemas that are sent to the event bus from another account.
|
String |
getDescription()
A description for the discoverer.
|
String |
getSourceArn()
The ARN of the event bus.
|
TagManager |
getTags()
Tags associated with the resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCrossAccount(Boolean value)
Allows for the discovery of the event schemas that are sent to the event bus from another account.
|
void |
setCrossAccount(IResolvable value)
Allows for the discovery of the event schemas that are sent to the event bus from another account.
|
void |
setDescription(String value)
A description for the discoverer.
|
void |
setSourceArn(String value)
The ARN of the event bus.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDiscoverer(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDiscoverer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDiscoverer(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnDiscovererProps 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. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public IResolvable getAttrCrossAccount()
Default is True.
@Stability(value=Stable) @NotNull public String getAttrDiscovererArn()
@Stability(value=Stable) @NotNull public String getAttrDiscovererId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getSourceArn()
@Stability(value=Stable)
public void setSourceArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getCrossAccount()
@Stability(value=Stable)
public void setCrossAccount(@Nullable
Boolean value)
@Stability(value=Stable)
public void setCrossAccount(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.