CfnDiscovererProps

class aws_cdk.aws_eventschemas.CfnDiscovererProps(*, source_arn, cross_account=None, description=None, tags=None)

Bases: object

Properties for defining a CfnDiscoverer.

Parameters:
  • source_arn (str) – The ARN of the event bus.

  • cross_account (Union[bool, IResolvable, None]) – Allows for the discovery of the event schemas that are sent to the event bus from another account. Default: - true

  • description (Optional[str]) – A description for the discoverer.

  • tags (Optional[Sequence[Union[TagsEntryProperty, Dict[str, Any]]]]) – Tags associated with the resource.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eventschemas as eventschemas

cfn_discoverer_props = eventschemas.CfnDiscovererProps(
    source_arn="sourceArn",

    # the properties below are optional
    cross_account=False,
    description="description",
    tags=[eventschemas.CfnDiscoverer.TagsEntryProperty(
        key="key",
        value="value"
    )]
)

Attributes

cross_account

Allows for the discovery of the event schemas that are sent to the event bus from another account.

Default:
  • true

See:

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

description

A description for the discoverer.

See:

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

source_arn

The ARN of the event bus.

See:

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

tags

Tags associated with the resource.

See:

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