CfnEventTypeProps

class aws_cdk.aws_frauddetector.CfnEventTypeProps(*, entity_types, event_variables, labels, name, description=None, tags=None)

Bases: object

Properties for defining a CfnEventType.

Parameters:
  • entity_types (Union[IResolvable, Sequence[Union[IResolvable, EntityTypeProperty, Dict[str, Any]]]]) – The event type entity types.

  • event_variables (Union[IResolvable, Sequence[Union[IResolvable, EventVariableProperty, Dict[str, Any]]]]) – The event type event variables.

  • labels (Union[IResolvable, Sequence[Union[IResolvable, LabelProperty, Dict[str, Any]]]]) – The event type labels.

  • name (str) – The event type name. Pattern : ^[0-9a-z_-]+$

  • description (Optional[str]) – The event type description.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.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_frauddetector as frauddetector

cfn_event_type_props = frauddetector.CfnEventTypeProps(
    entity_types=[frauddetector.CfnEventType.EntityTypeProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    )],
    event_variables=[frauddetector.CfnEventType.EventVariableProperty(
        arn="arn",
        created_time="createdTime",
        data_source="dataSource",
        data_type="dataType",
        default_value="defaultValue",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )],
        variable_type="variableType"
    )],
    labels=[frauddetector.CfnEventType.LabelProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    )],
    name="name",

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The event type description.

See:

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

entity_types

The event type entity types.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-entitytypes

event_variables

The event type event variables.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-eventvariables

labels

The event type labels.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-labels

name

The event type name.

Pattern : ^[0-9a-z_-]+$

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-name

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

See:

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