CfnDetector

class aws_cdk.aws_frauddetector.CfnDetector(scope, id, *, associated_models=None, description=None, detector_id, detector_version_status=None, event_type, rule_execution_mode=None, rules, tags=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::FraudDetector::Detector.

CloudformationResource

AWS::FraudDetector::Detector

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html

Example:

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

cfn_detector = frauddetector.CfnDetector(self, "MyCfnDetector",
    detector_id="detectorId",
    event_type=frauddetector.CfnDetector.EventTypeProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        entity_types=[frauddetector.CfnDetector.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.CfnDetector.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"
        )],
        inline=False,
        labels=[frauddetector.CfnDetector.LabelProperty(
            arn="arn",
            created_time="createdTime",
            description="description",
            inline=False,
            last_updated_time="lastUpdatedTime",
            name="name",
            tags=[CfnTag(
                key="key",
                value="value"
            )]
        )],
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    ),
    rules=[frauddetector.CfnDetector.RuleProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        detector_id="detectorId",
        expression="expression",
        language="language",
        last_updated_time="lastUpdatedTime",
        outcomes=[frauddetector.CfnDetector.OutcomeProperty(
            arn="arn",
            created_time="createdTime",
            description="description",
            inline=False,
            last_updated_time="lastUpdatedTime",
            name="name",
            tags=[CfnTag(
                key="key",
                value="value"
            )]
        )],
        rule_id="ruleId",
        rule_version="ruleVersion",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    )],

    # the properties below are optional
    associated_models=[frauddetector.CfnDetector.ModelProperty(
        arn="arn"
    )],
    description="description",
    detector_version_status="detectorVersionStatus",
    rule_execution_mode="ruleExecutionMode",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Create a new AWS::FraudDetector::Detector.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • associated_models (Union[IResolvable, Sequence[Union[IResolvable, ModelProperty]], None]) – AWS::FraudDetector::Detector.AssociatedModels.

  • description (Optional[str]) – AWS::FraudDetector::Detector.Description.

  • detector_id (str) – AWS::FraudDetector::Detector.DetectorId.

  • detector_version_status (Optional[str]) – AWS::FraudDetector::Detector.DetectorVersionStatus.

  • event_type (Union[IResolvable, EventTypeProperty]) – AWS::FraudDetector::Detector.EventType.

  • rule_execution_mode (Optional[str]) – AWS::FraudDetector::Detector.RuleExecutionMode.

  • rules (Union[IResolvable, Sequence[Union[IResolvable, RuleProperty]]]) – AWS::FraudDetector::Detector.Rules.

  • tags (Optional[Sequence[CfnTag]]) – AWS::FraudDetector::Detector.Tags.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.

The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters

key (str) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

Any

inspect(inspector)

Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::FraudDetector::Detector'
associated_models

AWS::FraudDetector::Detector.AssociatedModels.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, ModelProperty]], None]

attr_arn

Arn

Type

cloudformationAttribute

Return type

str

attr_created_time

CreatedTime

Type

cloudformationAttribute

Return type

str

attr_detector_version_id

DetectorVersionId

Type

cloudformationAttribute

Return type

str

attr_event_type_arn

EventType.Arn

Type

cloudformationAttribute

Return type

str

attr_event_type_created_time

EventType.CreatedTime

Type

cloudformationAttribute

Return type

str

attr_event_type_last_updated_time

EventType.LastUpdatedTime

Type

cloudformationAttribute

Return type

str

attr_last_updated_time

LastUpdatedTime

Type

cloudformationAttribute

Return type

str

cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

description

AWS::FraudDetector::Detector.Description.

Link

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

Return type

Optional[str]

detector_id

AWS::FraudDetector::Detector.DetectorId.

Link

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

Return type

str

detector_version_status

AWS::FraudDetector::Detector.DetectorVersionStatus.

Link

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

Return type

Optional[str]

event_type

AWS::FraudDetector::Detector.EventType.

Link

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

Return type

Union[IResolvable, EventTypeProperty]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

node

The construct tree node associated with this construct.

Return type

ConstructNode

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

rule_execution_mode

AWS::FraudDetector::Detector.RuleExecutionMode.

Link

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

Return type

Optional[str]

rules

AWS::FraudDetector::Detector.Rules.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, RuleProperty]]]

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

tags

AWS::FraudDetector::Detector.Tags.

Link

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

Return type

TagManager

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

EntityTypeProperty

class CfnDetector.EntityTypeProperty(*, arn=None, created_time=None, description=None, inline=None, last_updated_time=None, name=None, tags=None)

Bases: object

Parameters
  • arn (Optional[str]) – CfnDetector.EntityTypeProperty.Arn.

  • created_time (Optional[str]) – CfnDetector.EntityTypeProperty.CreatedTime.

  • description (Optional[str]) – CfnDetector.EntityTypeProperty.Description.

  • inline (Union[bool, IResolvable, None]) – CfnDetector.EntityTypeProperty.Inline.

  • last_updated_time (Optional[str]) – CfnDetector.EntityTypeProperty.LastUpdatedTime.

  • name (Optional[str]) – CfnDetector.EntityTypeProperty.Name.

  • tags (Optional[Sequence[CfnTag]]) – CfnDetector.EntityTypeProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html

Example:

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

entity_type_property = frauddetector.CfnDetector.EntityTypeProperty(
    arn="arn",
    created_time="createdTime",
    description="description",
    inline=False,
    last_updated_time="lastUpdatedTime",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

arn

CfnDetector.EntityTypeProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-arn

Return type

Optional[str]

created_time

CfnDetector.EntityTypeProperty.CreatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-createdtime

Return type

Optional[str]

description

CfnDetector.EntityTypeProperty.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-description

Return type

Optional[str]

inline

CfnDetector.EntityTypeProperty.Inline.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-inline

Return type

Union[bool, IResolvable, None]

last_updated_time

CfnDetector.EntityTypeProperty.LastUpdatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-lastupdatedtime

Return type

Optional[str]

name

CfnDetector.EntityTypeProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-name

Return type

Optional[str]

tags

CfnDetector.EntityTypeProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-tags

Return type

Optional[List[CfnTag]]

EventTypeProperty

class CfnDetector.EventTypeProperty(*, arn=None, created_time=None, description=None, entity_types=None, event_variables=None, inline=None, labels=None, last_updated_time=None, name=None, tags=None)

Bases: object

Parameters
  • arn (Optional[str]) – CfnDetector.EventTypeProperty.Arn.

  • created_time (Optional[str]) – CfnDetector.EventTypeProperty.CreatedTime.

  • description (Optional[str]) – CfnDetector.EventTypeProperty.Description.

  • entity_types (Union[IResolvable, Sequence[Union[IResolvable, EntityTypeProperty]], None]) – CfnDetector.EventTypeProperty.EntityTypes.

  • event_variables (Union[IResolvable, Sequence[Union[IResolvable, EventVariableProperty]], None]) – CfnDetector.EventTypeProperty.EventVariables.

  • inline (Union[bool, IResolvable, None]) – CfnDetector.EventTypeProperty.Inline.

  • labels (Union[IResolvable, Sequence[Union[IResolvable, LabelProperty]], None]) – CfnDetector.EventTypeProperty.Labels.

  • last_updated_time (Optional[str]) – CfnDetector.EventTypeProperty.LastUpdatedTime.

  • name (Optional[str]) – CfnDetector.EventTypeProperty.Name.

  • tags (Optional[Sequence[CfnTag]]) – CfnDetector.EventTypeProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html

Example:

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

event_type_property = frauddetector.CfnDetector.EventTypeProperty(
    arn="arn",
    created_time="createdTime",
    description="description",
    entity_types=[frauddetector.CfnDetector.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.CfnDetector.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"
    )],
    inline=False,
    labels=[frauddetector.CfnDetector.LabelProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    )],
    last_updated_time="lastUpdatedTime",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

arn

CfnDetector.EventTypeProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-arn

Return type

Optional[str]

created_time

CfnDetector.EventTypeProperty.CreatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-createdtime

Return type

Optional[str]

description

CfnDetector.EventTypeProperty.Description.

Link

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

Return type

Optional[str]

entity_types

CfnDetector.EventTypeProperty.EntityTypes.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, EntityTypeProperty]], None]

event_variables

CfnDetector.EventTypeProperty.EventVariables.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, EventVariableProperty]], None]

inline

CfnDetector.EventTypeProperty.Inline.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-inline

Return type

Union[bool, IResolvable, None]

labels

CfnDetector.EventTypeProperty.Labels.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, LabelProperty]], None]

last_updated_time

CfnDetector.EventTypeProperty.LastUpdatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-lastupdatedtime

Return type

Optional[str]

name

CfnDetector.EventTypeProperty.Name.

Link

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

Return type

Optional[str]

tags

CfnDetector.EventTypeProperty.Tags.

Link

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

Return type

Optional[List[CfnTag]]

EventVariableProperty

class CfnDetector.EventVariableProperty(*, arn=None, created_time=None, data_source=None, data_type=None, default_value=None, description=None, inline=None, last_updated_time=None, name=None, tags=None, variable_type=None)

Bases: object

Parameters
  • arn (Optional[str]) – CfnDetector.EventVariableProperty.Arn.

  • created_time (Optional[str]) – CfnDetector.EventVariableProperty.CreatedTime.

  • data_source (Optional[str]) – CfnDetector.EventVariableProperty.DataSource.

  • data_type (Optional[str]) – CfnDetector.EventVariableProperty.DataType.

  • default_value (Optional[str]) – CfnDetector.EventVariableProperty.DefaultValue.

  • description (Optional[str]) – CfnDetector.EventVariableProperty.Description.

  • inline (Union[bool, IResolvable, None]) – CfnDetector.EventVariableProperty.Inline.

  • last_updated_time (Optional[str]) – CfnDetector.EventVariableProperty.LastUpdatedTime.

  • name (Optional[str]) – CfnDetector.EventVariableProperty.Name.

  • tags (Optional[Sequence[CfnTag]]) – CfnDetector.EventVariableProperty.Tags.

  • variable_type (Optional[str]) – CfnDetector.EventVariableProperty.VariableType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html

Example:

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

event_variable_property = frauddetector.CfnDetector.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"
)

Attributes

arn

CfnDetector.EventVariableProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-arn

Return type

Optional[str]

created_time

CfnDetector.EventVariableProperty.CreatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-createdtime

Return type

Optional[str]

data_source

CfnDetector.EventVariableProperty.DataSource.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-datasource

Return type

Optional[str]

data_type

CfnDetector.EventVariableProperty.DataType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-datatype

Return type

Optional[str]

default_value

CfnDetector.EventVariableProperty.DefaultValue.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-defaultvalue

Return type

Optional[str]

description

CfnDetector.EventVariableProperty.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-description

Return type

Optional[str]

inline

CfnDetector.EventVariableProperty.Inline.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-inline

Return type

Union[bool, IResolvable, None]

last_updated_time

CfnDetector.EventVariableProperty.LastUpdatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-lastupdatedtime

Return type

Optional[str]

name

CfnDetector.EventVariableProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-name

Return type

Optional[str]

tags

CfnDetector.EventVariableProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-tags

Return type

Optional[List[CfnTag]]

variable_type

CfnDetector.EventVariableProperty.VariableType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-variabletype

Return type

Optional[str]

LabelProperty

class CfnDetector.LabelProperty(*, arn=None, created_time=None, description=None, inline=None, last_updated_time=None, name=None, tags=None)

Bases: object

Parameters
  • arn (Optional[str]) – CfnDetector.LabelProperty.Arn.

  • created_time (Optional[str]) – CfnDetector.LabelProperty.CreatedTime.

  • description (Optional[str]) – CfnDetector.LabelProperty.Description.

  • inline (Union[bool, IResolvable, None]) – CfnDetector.LabelProperty.Inline.

  • last_updated_time (Optional[str]) – CfnDetector.LabelProperty.LastUpdatedTime.

  • name (Optional[str]) – CfnDetector.LabelProperty.Name.

  • tags (Optional[Sequence[CfnTag]]) – CfnDetector.LabelProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html

Example:

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

label_property = frauddetector.CfnDetector.LabelProperty(
    arn="arn",
    created_time="createdTime",
    description="description",
    inline=False,
    last_updated_time="lastUpdatedTime",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

arn

CfnDetector.LabelProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-arn

Return type

Optional[str]

created_time

CfnDetector.LabelProperty.CreatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-createdtime

Return type

Optional[str]

description

CfnDetector.LabelProperty.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-description

Return type

Optional[str]

inline

CfnDetector.LabelProperty.Inline.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-inline

Return type

Union[bool, IResolvable, None]

last_updated_time

CfnDetector.LabelProperty.LastUpdatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-lastupdatedtime

Return type

Optional[str]

name

CfnDetector.LabelProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-name

Return type

Optional[str]

tags

CfnDetector.LabelProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-tags

Return type

Optional[List[CfnTag]]

ModelProperty

class CfnDetector.ModelProperty(*, arn=None)

Bases: object

Parameters

arn (Optional[str]) – CfnDetector.ModelProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-model.html

Example:

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

model_property = frauddetector.CfnDetector.ModelProperty(
    arn="arn"
)

Attributes

arn

CfnDetector.ModelProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-model.html#cfn-frauddetector-detector-model-arn

Return type

Optional[str]

OutcomeProperty

class CfnDetector.OutcomeProperty(*, arn=None, created_time=None, description=None, inline=None, last_updated_time=None, name=None, tags=None)

Bases: object

Parameters
  • arn (Optional[str]) – CfnDetector.OutcomeProperty.Arn.

  • created_time (Optional[str]) – CfnDetector.OutcomeProperty.CreatedTime.

  • description (Optional[str]) – CfnDetector.OutcomeProperty.Description.

  • inline (Union[bool, IResolvable, None]) – CfnDetector.OutcomeProperty.Inline.

  • last_updated_time (Optional[str]) – CfnDetector.OutcomeProperty.LastUpdatedTime.

  • name (Optional[str]) – CfnDetector.OutcomeProperty.Name.

  • tags (Optional[Sequence[CfnTag]]) – CfnDetector.OutcomeProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html

Example:

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

outcome_property = frauddetector.CfnDetector.OutcomeProperty(
    arn="arn",
    created_time="createdTime",
    description="description",
    inline=False,
    last_updated_time="lastUpdatedTime",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

arn

CfnDetector.OutcomeProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-arn

Return type

Optional[str]

created_time

CfnDetector.OutcomeProperty.CreatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-createdtime

Return type

Optional[str]

description

CfnDetector.OutcomeProperty.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-description

Return type

Optional[str]

inline

CfnDetector.OutcomeProperty.Inline.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-inline

Return type

Union[bool, IResolvable, None]

last_updated_time

CfnDetector.OutcomeProperty.LastUpdatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-lastupdatedtime

Return type

Optional[str]

name

CfnDetector.OutcomeProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-name

Return type

Optional[str]

tags

CfnDetector.OutcomeProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-tags

Return type

Optional[List[CfnTag]]

RuleProperty

class CfnDetector.RuleProperty(*, arn=None, created_time=None, description=None, detector_id=None, expression=None, language=None, last_updated_time=None, outcomes=None, rule_id=None, rule_version=None, tags=None)

Bases: object

Parameters
  • arn (Optional[str]) – CfnDetector.RuleProperty.Arn.

  • created_time (Optional[str]) – CfnDetector.RuleProperty.CreatedTime.

  • description (Optional[str]) – CfnDetector.RuleProperty.Description.

  • detector_id (Optional[str]) – CfnDetector.RuleProperty.DetectorId.

  • expression (Optional[str]) – CfnDetector.RuleProperty.Expression.

  • language (Optional[str]) – CfnDetector.RuleProperty.Language.

  • last_updated_time (Optional[str]) – CfnDetector.RuleProperty.LastUpdatedTime.

  • outcomes (Union[IResolvable, Sequence[Union[IResolvable, OutcomeProperty]], None]) – CfnDetector.RuleProperty.Outcomes.

  • rule_id (Optional[str]) – CfnDetector.RuleProperty.RuleId.

  • rule_version (Optional[str]) – CfnDetector.RuleProperty.RuleVersion.

  • tags (Optional[Sequence[CfnTag]]) – CfnDetector.RuleProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html

Example:

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

rule_property = frauddetector.CfnDetector.RuleProperty(
    arn="arn",
    created_time="createdTime",
    description="description",
    detector_id="detectorId",
    expression="expression",
    language="language",
    last_updated_time="lastUpdatedTime",
    outcomes=[frauddetector.CfnDetector.OutcomeProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    )],
    rule_id="ruleId",
    rule_version="ruleVersion",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

arn

CfnDetector.RuleProperty.Arn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-arn

Return type

Optional[str]

created_time

CfnDetector.RuleProperty.CreatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-createdtime

Return type

Optional[str]

description

CfnDetector.RuleProperty.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-description

Return type

Optional[str]

detector_id

CfnDetector.RuleProperty.DetectorId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-detectorid

Return type

Optional[str]

expression

CfnDetector.RuleProperty.Expression.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-expression

Return type

Optional[str]

language

CfnDetector.RuleProperty.Language.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-language

Return type

Optional[str]

last_updated_time

CfnDetector.RuleProperty.LastUpdatedTime.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-lastupdatedtime

Return type

Optional[str]

outcomes

CfnDetector.RuleProperty.Outcomes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-outcomes

Return type

Union[IResolvable, List[Union[IResolvable, OutcomeProperty]], None]

rule_id

CfnDetector.RuleProperty.RuleId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-ruleid

Return type

Optional[str]

rule_version

CfnDetector.RuleProperty.RuleVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-ruleversion

Return type

Optional[str]

tags

CfnDetector.RuleProperty.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-tags

Return type

Optional[List[CfnTag]]