AWS::FraudDetector::Label - AWS CloudFormation

AWS::FraudDetector::Label

Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::FraudDetector::Label", "Properties" : { "Description" : String, "Name" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::FraudDetector::Label Properties: Description: String Name: String Tags: - Tag

Properties

Description

The label description.

Required: No

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption

Name

The label name.

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

Required: Yes

Type: String

Update requires: Replacement

Tags

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

For more information, see Tag.

Required: No

Type: List of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the primary identifier for the resource, which is the ARN.

Example: {"Ref": "arn:aws:frauddetector:us-west-2:123123123123:outcome/outcome_name"}

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The ARN of the label.

CreatedTime

Timestamp of when label was created.

LastUpdatedTime

Timestamp of when label was last updated.

See also