Show / Hide Table of Contents

Class CfnDiscoverer

A CloudFormation AWS::EventSchemas::Discoverer.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnDiscoverer
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.EventSchemas
Assembly: Amazon.CDK.AWS.EventSchemas.dll
Syntax (csharp)
public class CfnDiscoverer : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnDiscoverer
    Inherits CfnResource
    Implements IConstruct, IDependable, IInspectable
Remarks

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.

CloudformationResource: AWS::EventSchemas::Discoverer

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html

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 AWS::EventSchemas::Discoverer.

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

Properties

AttrCrossAccount

Defines whether event schemas from other accounts are discovered.

AttrDiscovererArn

The ARN of the discoverer.

AttrDiscovererId

The ID 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

Tags associated with the resource.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<String, Object>)

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 System.String
  • scoped id of the resource.
props ICfnDiscovererProps
  • resource properties.

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

Properties

AttrCrossAccount

Defines whether event schemas from other accounts are discovered.

public virtual IResolvable AttrCrossAccount { get; }
Property Value

IResolvable

Remarks

Default is True.

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

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
CfnResource.CfnProperties

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

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-crossaccount

Description

A description for the discoverer.

public virtual string Description { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-description

SourceArn

The ARN of the event bus.

public virtual string SourceArn { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-sourcearn

Tags

Tags associated with the resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-tags

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>

Overrides
CfnResource.RenderProperties(IDictionary<String, Object>)

Implements

IConstruct
Constructs.IConstruct
IDependable
IInspectable
Back to top Generated by DocFX