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, ITaggable
Syntax (vb)
Public Class CfnDiscoverer
Inherits CfnResource
Implements IInspectable, 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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDiscoverer(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnDiscoverer(Construct, String, ICfnDiscovererProps) |
Properties
AttrCrossAccount | |
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 | |
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. |
SourceArn | The ARN of the event bus. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Tags associated with the resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDiscoverer(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDiscoverer(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDiscoverer(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDiscoverer(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnDiscoverer(Construct, String, ICfnDiscovererProps)
public CfnDiscoverer(Construct scope, string id, ICfnDiscovererProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnDiscovererProps
Resource properties.
Properties
AttrCrossAccount
public virtual IResolvable AttrCrossAccount { get; }
Property Value
Remarks
CloudformationAttribute: CrossAccount
AttrDiscovererArn
The ARN of the discoverer.
public virtual string AttrDiscovererArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DiscovererArn
AttrDiscovererId
The ID of the discoverer.
public virtual string AttrDiscovererId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DiscovererId
AttrState
The state of the discoverer.
public virtual string AttrState { get; }
Property Value
System.String
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
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
System.Object
Description
A description for the discoverer.
public virtual string Description { get; set; }
Property Value
System.String
SourceArn
The ARN of the event bus.
public virtual string SourceArn { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Tags associated with the resource.
public virtual CfnDiscoverer.ITagsEntryProperty[] TagsRaw { get; set; }
Property Value
CfnDiscoverer.ITagsEntryProperty[]
Methods
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>