Class CfnDiscoverer
Use the AWS::EventSchemas::Discoverer resource to specify a discoverer that is associated with an event bus.
Inherited Members
Namespace: Amazon.CDK.AWS.EventSchemas
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDiscoverer : CfnResource, IInspectable, IDiscovererRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnDiscoverer Inherits CfnResource Implements IInspectable, IDiscovererRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EventSchemas;
var cfnDiscoverer = new CfnDiscoverer(this, "MyCfnDiscoverer", new CfnDiscovererProps {
SourceArn = "sourceArn",
// the properties below are optional
CrossAccount = false,
Description = "description",
Tags = new [] { new TagsEntryProperty {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnDiscoverer(Construct, string, ICfnDiscovererProps) | Create a new |
Properties
| AttrCrossAccount | Use the |
| AttrDiscovererArn | The ARN of the discoverer. |
| AttrDiscovererId | The ID of the discoverer. |
| AttrState | The state of the discoverer. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Use the |
| CrossAccount | Allows for the discovery of the event schemas that are sent to the event bus from another account. |
| Description | A description for the discoverer. |
| DiscovererRef | A reference to a Discoverer resource. |
| SourceArn | The ARN of the event bus. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | Tags associated with the resource. |
Methods
| ArnForDiscoverer(IDiscovererRef) | Use the |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnDiscoverer(object) | Checks whether the given object is a CfnDiscoverer. |
| RenderProperties(IDictionary<string, object>) | Use the |
Constructors
CfnDiscoverer(Construct, string, ICfnDiscovererProps)
Create a new AWS::EventSchemas::Discoverer.
public CfnDiscoverer(Construct scope, string id, ICfnDiscovererProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnDiscovererProps
Resource properties.
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
Properties
AttrCrossAccount
Use the AWS::EventSchemas::Discoverer resource to specify a discoverer that is associated with an event bus.
public virtual IResolvable AttrCrossAccount { get; }
Property Value
Remarks
CloudformationAttribute: CrossAccount
AttrDiscovererArn
The ARN of the discoverer.
public virtual string AttrDiscovererArn { get; }
Property Value
Remarks
CloudformationAttribute: DiscovererArn
AttrDiscovererId
The ID of the discoverer.
public virtual string AttrDiscovererId { get; }
Property Value
Remarks
CloudformationAttribute: DiscovererId
AttrState
The state of the discoverer.
public virtual string AttrState { get; }
Property Value
Remarks
CloudformationAttribute: State
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
CfnProperties
Use the AWS::EventSchemas::Discoverer resource to specify a discoverer that is associated with an event bus.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
CrossAccount
Allows for the discovery of the event schemas that are sent to the event bus from another account.
public virtual object? CrossAccount { get; set; }
Property Value
Remarks
Type union: either bool or IResolvable
Description
A description for the discoverer.
public virtual string? Description { get; set; }
Property Value
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
DiscovererRef
A reference to a Discoverer resource.
public virtual IDiscovererReference DiscovererRef { get; }
Property Value
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
SourceArn
The ARN of the event bus.
public virtual string SourceArn { get; set; }
Property Value
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
TagsRaw
Tags associated with the resource.
public virtual CfnDiscoverer.ITagsEntryProperty[]? TagsRaw { get; set; }
Property Value
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
Methods
ArnForDiscoverer(IDiscovererRef)
Use the AWS::EventSchemas::Discoverer resource to specify a discoverer that is associated with an event bus.
public static string ArnForDiscoverer(IDiscovererRef resource)
Parameters
- resource IDiscovererRef
Returns
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EventSchemas;
var cfnDiscoverer = new CfnDiscoverer(this, "MyCfnDiscoverer", new CfnDiscovererProps {
SourceArn = "sourceArn",
// the properties below are optional
CrossAccount = false,
Description = "description",
Tags = new [] { new TagsEntryProperty {
Key = "key",
Value = "value"
} }
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
IsCfnDiscoverer(object)
Checks whether the given object is a CfnDiscoverer.
public static bool IsCfnDiscoverer(object x)
Parameters
- x object
Returns
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Use the AWS::EventSchemas::Discoverer resource to specify a discoverer that is associated with an event bus.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
A discoverer allows the Amazon EventBridge Schema Registry to automatically generate schemas based on events on an event bus.
CloudformationResource: AWS::EventSchemas::Discoverer
ExampleMetadata: fixture=_generated