

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::FraudDetector::Detector
<a name="aws-resource-frauddetector-detector"></a>

Manages a detector and associated detector versions.

## Syntax
<a name="aws-resource-frauddetector-detector-syntax"></a>

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

### JSON
<a name="aws-resource-frauddetector-detector-syntax.json"></a>

```
{
  "Type" : "AWS::FraudDetector::Detector",
  "Properties" : {
      "[AssociatedModels](#cfn-frauddetector-detector-associatedmodels)" : [ Model, ... ],
      "[Description](#cfn-frauddetector-detector-description)" : String,
      "[DetectorId](#cfn-frauddetector-detector-detectorid)" : String,
      "[DetectorVersionStatus](#cfn-frauddetector-detector-detectorversionstatus)" : String,
      "[EventType](#cfn-frauddetector-detector-eventtype)" : EventType,
      "[RuleExecutionMode](#cfn-frauddetector-detector-ruleexecutionmode)" : String,
      "[Rules](#cfn-frauddetector-detector-rules)" : [ Rule, ... ],
      "[Tags](#cfn-frauddetector-detector-tags)" : [ Tag, ... ]
    }
}
```

### YAML
<a name="aws-resource-frauddetector-detector-syntax.yaml"></a>

```
Type: AWS::FraudDetector::Detector
Properties:
  [AssociatedModels](#cfn-frauddetector-detector-associatedmodels): 
    - Model
  [Description](#cfn-frauddetector-detector-description): String
  [DetectorId](#cfn-frauddetector-detector-detectorid): String
  [DetectorVersionStatus](#cfn-frauddetector-detector-detectorversionstatus): String
  [EventType](#cfn-frauddetector-detector-eventtype): 
    EventType
  [RuleExecutionMode](#cfn-frauddetector-detector-ruleexecutionmode): String
  [Rules](#cfn-frauddetector-detector-rules): 
    - Rule
  [Tags](#cfn-frauddetector-detector-tags): 
    - Tag
```

## Properties
<a name="aws-resource-frauddetector-detector-properties"></a>

`AssociatedModels`  <a name="cfn-frauddetector-detector-associatedmodels"></a>
The models to associate with this detector. You must provide the ARNs of all the models you want to associate.   
*Required*: No  
*Type*: Array of [Model](aws-properties-frauddetector-detector-model.md)  
*Maximum*: `10`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-frauddetector-detector-description"></a>
The detector description.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DetectorId`  <a name="cfn-frauddetector-detector-detectorid"></a>
 The name of the detector.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[0-9a-z_-]+$`  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`DetectorVersionStatus`  <a name="cfn-frauddetector-detector-detectorversionstatus"></a>
The status of the detector version. If a value is not provided for this property, AWS CloudFormation assumes `DRAFT` status.  
 Valid values: `ACTIVE | DRAFT`  
*Required*: No  
*Type*: String  
*Allowed values*: `DRAFT | ACTIVE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EventType`  <a name="cfn-frauddetector-detector-eventtype"></a>
The event type associated with this detector.  
*Required*: Yes  
*Type*: [EventType](aws-properties-frauddetector-detector-eventtype.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RuleExecutionMode`  <a name="cfn-frauddetector-detector-ruleexecutionmode"></a>
The rule execution mode for the rules included in the detector version.  
Valid values: `FIRST_MATCHED | ALL_MATCHED` Default value: `FIRST_MATCHED`  
You can define and edit the rule mode at the detector version level, when it is in draft status.   
If you specify `FIRST_MATCHED`, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.  
If you specifiy `ALL_MATCHED`, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules.  
*Required*: No  
*Type*: String  
*Allowed values*: `FIRST_MATCHED | ALL_MATCHED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Rules`  <a name="cfn-frauddetector-detector-rules"></a>
The rules to include in the detector version.  
*Required*: Yes  
*Type*: Array of [Rule](aws-properties-frauddetector-detector-rule.md)  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-frauddetector-detector-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-frauddetector-detector-tag.md)  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-frauddetector-detector-return-values"></a>

### Ref
<a name="aws-resource-frauddetector-detector-return-values-ref"></a>

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 [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-frauddetector-detector-return-values-fn--getatt"></a>

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 [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-frauddetector-detector-return-values-fn--getatt-fn--getatt"></a>

`Arn`  <a name="Arn-fn::getatt"></a>
The detector ARN.

`CreatedTime`  <a name="CreatedTime-fn::getatt"></a>
Timestamp of when detector was created.

`DetectorVersionId`  <a name="DetectorVersionId-fn::getatt"></a>
The name of the detector.

`EventType.Arn`  <a name="EventType.Arn-fn::getatt"></a>
The detector ARN.

`EventType.CreatedTime`  <a name="EventType.CreatedTime-fn::getatt"></a>
Timestamp of when the detector was created.

`EventType.LastUpdatedTime`  <a name="EventType.LastUpdatedTime-fn::getatt"></a>
Timestamp of when the detector was last updated.

`LastUpdatedTime`  <a name="LastUpdatedTime-fn::getatt"></a>
Timestamp of when detector was last updated.

## See also
<a name="aws-resource-frauddetector-detector--seealso"></a>
+ [CreateDetectorVersion](https://docs.aws.amazon.com/frauddetector/latest/api/API_CreateDetectorVersion.html) in the *Amazon Fraud Detector API Reference*.
+ [Create a detector version](https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-detector-version.html) in the *Amazon Fraud Detector User Guide*.

# AWS::FraudDetector::Detector EntityType
<a name="aws-properties-frauddetector-detector-entitytype"></a>

The entity type details.

## Syntax
<a name="aws-properties-frauddetector-detector-entitytype-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-entitytype-syntax.json"></a>

```
{
  "[Arn](#cfn-frauddetector-detector-entitytype-arn)" : String,
  "[CreatedTime](#cfn-frauddetector-detector-entitytype-createdtime)" : String,
  "[Description](#cfn-frauddetector-detector-entitytype-description)" : String,
  "[Inline](#cfn-frauddetector-detector-entitytype-inline)" : Boolean,
  "[LastUpdatedTime](#cfn-frauddetector-detector-entitytype-lastupdatedtime)" : String,
  "[Name](#cfn-frauddetector-detector-entitytype-name)" : String,
  "[Tags](#cfn-frauddetector-detector-entitytype-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-frauddetector-detector-entitytype-syntax.yaml"></a>

```
  [Arn](#cfn-frauddetector-detector-entitytype-arn): String
  [CreatedTime](#cfn-frauddetector-detector-entitytype-createdtime): String
  [Description](#cfn-frauddetector-detector-entitytype-description): String
  [Inline](#cfn-frauddetector-detector-entitytype-inline): Boolean
  [LastUpdatedTime](#cfn-frauddetector-detector-entitytype-lastupdatedtime): String
  [Name](#cfn-frauddetector-detector-entitytype-name): String
  [Tags](#cfn-frauddetector-detector-entitytype-tags): 
    - Tag
```

## Properties
<a name="aws-properties-frauddetector-detector-entitytype-properties"></a>

`Arn`  <a name="cfn-frauddetector-detector-entitytype-arn"></a>
The entity type ARN.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn\:aws[a-z-]{0,15}\:frauddetector\:[a-z0-9-]{3,20}\:[0-9]{12}\:[^\s]{2,128}$`  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CreatedTime`  <a name="cfn-frauddetector-detector-entitytype-createdtime"></a>
Timestamp of when the entity type was created.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-frauddetector-detector-entitytype-description"></a>
The entity type description.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Inline`  <a name="cfn-frauddetector-detector-entitytype-inline"></a>
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true`, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false`, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.   
For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these Variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false`, CloudFormation will associate the variables to your detector but not execute any changes to the variables.   
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LastUpdatedTime`  <a name="cfn-frauddetector-detector-entitytype-lastupdatedtime"></a>
Timestamp of when the entity type was last updated.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-frauddetector-detector-entitytype-name"></a>
The entity type name.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-frauddetector-detector-entitytype-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-frauddetector-detector-tag.md)  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::FraudDetector::Detector EventType
<a name="aws-properties-frauddetector-detector-eventtype"></a>

The event type details.

## Syntax
<a name="aws-properties-frauddetector-detector-eventtype-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-eventtype-syntax.json"></a>

```
{
  "[Arn](#cfn-frauddetector-detector-eventtype-arn)" : String,
  "[CreatedTime](#cfn-frauddetector-detector-eventtype-createdtime)" : String,
  "[Description](#cfn-frauddetector-detector-eventtype-description)" : String,
  "[EntityTypes](#cfn-frauddetector-detector-eventtype-entitytypes)" : [ EntityType, ... ],
  "[EventVariables](#cfn-frauddetector-detector-eventtype-eventvariables)" : [ EventVariable, ... ],
  "[Inline](#cfn-frauddetector-detector-eventtype-inline)" : Boolean,
  "[Labels](#cfn-frauddetector-detector-eventtype-labels)" : [ Label, ... ],
  "[LastUpdatedTime](#cfn-frauddetector-detector-eventtype-lastupdatedtime)" : String,
  "[Name](#cfn-frauddetector-detector-eventtype-name)" : String,
  "[Tags](#cfn-frauddetector-detector-eventtype-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-frauddetector-detector-eventtype-syntax.yaml"></a>

```
  [Arn](#cfn-frauddetector-detector-eventtype-arn): String
  [CreatedTime](#cfn-frauddetector-detector-eventtype-createdtime): String
  [Description](#cfn-frauddetector-detector-eventtype-description): String
  [EntityTypes](#cfn-frauddetector-detector-eventtype-entitytypes): 
    - EntityType
  [EventVariables](#cfn-frauddetector-detector-eventtype-eventvariables): 
    - EventVariable
  [Inline](#cfn-frauddetector-detector-eventtype-inline): Boolean
  [Labels](#cfn-frauddetector-detector-eventtype-labels): 
    - Label
  [LastUpdatedTime](#cfn-frauddetector-detector-eventtype-lastupdatedtime): String
  [Name](#cfn-frauddetector-detector-eventtype-name): String
  [Tags](#cfn-frauddetector-detector-eventtype-tags): 
    - Tag
```

## Properties
<a name="aws-properties-frauddetector-detector-eventtype-properties"></a>

`Arn`  <a name="cfn-frauddetector-detector-eventtype-arn"></a>
The entity type ARN.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn\:aws[a-z-]{0,15}\:frauddetector\:[a-z0-9-]{3,20}\:[0-9]{12}\:[^\s]{2,128}$`  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CreatedTime`  <a name="cfn-frauddetector-detector-eventtype-createdtime"></a>
Timestamp of when the event type was created.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-frauddetector-detector-eventtype-description"></a>
The event type description.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EntityTypes`  <a name="cfn-frauddetector-detector-eventtype-entitytypes"></a>
The event type entity types.  
*Required*: No  
*Type*: Array of [EntityType](aws-properties-frauddetector-detector-entitytype.md)  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EventVariables`  <a name="cfn-frauddetector-detector-eventtype-eventvariables"></a>
The event type event variables.  
*Required*: No  
*Type*: Array of [EventVariable](aws-properties-frauddetector-detector-eventvariable.md)  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Inline`  <a name="cfn-frauddetector-detector-eventtype-inline"></a>
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true`, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false`, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.   
For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the Variables as part of stack operations. However, if you set `Inline=false`, CloudFormation will associate the variables to your detector but not execute any changes to the variables.   
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Labels`  <a name="cfn-frauddetector-detector-eventtype-labels"></a>
The event type labels.  
*Required*: No  
*Type*: Array of [Label](aws-properties-frauddetector-detector-label.md)  
*Minimum*: `2`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LastUpdatedTime`  <a name="cfn-frauddetector-detector-eventtype-lastupdatedtime"></a>
Timestamp of when the event type was last updated.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-frauddetector-detector-eventtype-name"></a>
The event type name.  
*Required*: No  
*Type*: String  
*Pattern*: `^[0-9a-z_-]+$`  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-frauddetector-detector-eventtype-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-frauddetector-detector-tag.md)  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::FraudDetector::Detector EventVariable
<a name="aws-properties-frauddetector-detector-eventvariable"></a>

The event type variable for the detector.

## Syntax
<a name="aws-properties-frauddetector-detector-eventvariable-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-eventvariable-syntax.json"></a>

```
{
  "[Arn](#cfn-frauddetector-detector-eventvariable-arn)" : String,
  "[CreatedTime](#cfn-frauddetector-detector-eventvariable-createdtime)" : String,
  "[DataSource](#cfn-frauddetector-detector-eventvariable-datasource)" : String,
  "[DataType](#cfn-frauddetector-detector-eventvariable-datatype)" : String,
  "[DefaultValue](#cfn-frauddetector-detector-eventvariable-defaultvalue)" : String,
  "[Description](#cfn-frauddetector-detector-eventvariable-description)" : String,
  "[Inline](#cfn-frauddetector-detector-eventvariable-inline)" : Boolean,
  "[LastUpdatedTime](#cfn-frauddetector-detector-eventvariable-lastupdatedtime)" : String,
  "[Name](#cfn-frauddetector-detector-eventvariable-name)" : String,
  "[Tags](#cfn-frauddetector-detector-eventvariable-tags)" : [ Tag, ... ],
  "[VariableType](#cfn-frauddetector-detector-eventvariable-variabletype)" : String
}
```

### YAML
<a name="aws-properties-frauddetector-detector-eventvariable-syntax.yaml"></a>

```
  [Arn](#cfn-frauddetector-detector-eventvariable-arn): String
  [CreatedTime](#cfn-frauddetector-detector-eventvariable-createdtime): String
  [DataSource](#cfn-frauddetector-detector-eventvariable-datasource): String
  [DataType](#cfn-frauddetector-detector-eventvariable-datatype): String
  [DefaultValue](#cfn-frauddetector-detector-eventvariable-defaultvalue): String
  [Description](#cfn-frauddetector-detector-eventvariable-description): String
  [Inline](#cfn-frauddetector-detector-eventvariable-inline): Boolean
  [LastUpdatedTime](#cfn-frauddetector-detector-eventvariable-lastupdatedtime): String
  [Name](#cfn-frauddetector-detector-eventvariable-name): String
  [Tags](#cfn-frauddetector-detector-eventvariable-tags): 
    - Tag
  [VariableType](#cfn-frauddetector-detector-eventvariable-variabletype): String
```

## Properties
<a name="aws-properties-frauddetector-detector-eventvariable-properties"></a>

`Arn`  <a name="cfn-frauddetector-detector-eventvariable-arn"></a>
The event variable ARN.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CreatedTime`  <a name="cfn-frauddetector-detector-eventvariable-createdtime"></a>
Timestamp for when the event variable was created.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DataSource`  <a name="cfn-frauddetector-detector-eventvariable-datasource"></a>
The data source of the event variable.  
Valid values: `EVENT | EXTERNAL_MODEL_SCORE`  
When defining a variable within a detector, you can only use the `EVENT` value for DataSource when the *Inline* property is set to true. If the *Inline* property is set false, you can use either `EVENT` or `MODEL_SCORE` for DataSource.  
*Required*: No  
*Type*: String  
*Allowed values*: `EVENT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DataType`  <a name="cfn-frauddetector-detector-eventvariable-datatype"></a>
The data type of the event variable.  
Valid values: `STRING | INTEGER | BOOLEAN | FLOAT`  
*Required*: No  
*Type*: String  
*Allowed values*: `STRING | INTEGER | FLOAT | BOOLEAN`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DefaultValue`  <a name="cfn-frauddetector-detector-eventvariable-defaultvalue"></a>
The default value of the event variable. This is required if you are providing the details of your variables instead of the ARN.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-frauddetector-detector-eventvariable-description"></a>
The description of the event variable.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Inline`  <a name="cfn-frauddetector-detector-eventvariable-inline"></a>
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true`, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false`, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.   
For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false`, CloudFormation will associate the variables to your detector but not execute any changes to the variables.   
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LastUpdatedTime`  <a name="cfn-frauddetector-detector-eventvariable-lastupdatedtime"></a>
Timestamp for when the event variable was last updated.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-frauddetector-detector-eventvariable-name"></a>
The name of the event variable.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-frauddetector-detector-eventvariable-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-frauddetector-detector-tag.md)  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VariableType`  <a name="cfn-frauddetector-detector-eventvariable-variabletype"></a>
The type of event variable. For more information, see [Variable types](https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types).  
*Required*: No  
*Type*: String  
*Allowed values*: `AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::FraudDetector::Detector Label
<a name="aws-properties-frauddetector-detector-label"></a>

The label details.

## Syntax
<a name="aws-properties-frauddetector-detector-label-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-label-syntax.json"></a>

```
{
  "[Arn](#cfn-frauddetector-detector-label-arn)" : String,
  "[CreatedTime](#cfn-frauddetector-detector-label-createdtime)" : String,
  "[Description](#cfn-frauddetector-detector-label-description)" : String,
  "[Inline](#cfn-frauddetector-detector-label-inline)" : Boolean,
  "[LastUpdatedTime](#cfn-frauddetector-detector-label-lastupdatedtime)" : String,
  "[Name](#cfn-frauddetector-detector-label-name)" : String,
  "[Tags](#cfn-frauddetector-detector-label-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-frauddetector-detector-label-syntax.yaml"></a>

```
  [Arn](#cfn-frauddetector-detector-label-arn): String
  [CreatedTime](#cfn-frauddetector-detector-label-createdtime): String
  [Description](#cfn-frauddetector-detector-label-description): String
  [Inline](#cfn-frauddetector-detector-label-inline): Boolean
  [LastUpdatedTime](#cfn-frauddetector-detector-label-lastupdatedtime): String
  [Name](#cfn-frauddetector-detector-label-name): String
  [Tags](#cfn-frauddetector-detector-label-tags): 
    - Tag
```

## Properties
<a name="aws-properties-frauddetector-detector-label-properties"></a>

`Arn`  <a name="cfn-frauddetector-detector-label-arn"></a>
The label ARN.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn\:aws[a-z-]{0,15}\:frauddetector\:[a-z0-9-]{3,20}\:[0-9]{12}\:[^\s]{2,128}$`  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CreatedTime`  <a name="cfn-frauddetector-detector-label-createdtime"></a>
Timestamp of when the event type was created.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-frauddetector-detector-label-description"></a>
The label description.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Inline`  <a name="cfn-frauddetector-detector-label-inline"></a>
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true`, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false`, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.   
For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false`, CloudFormation will associate the variables to your detector but not execute any changes to the variables.   
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LastUpdatedTime`  <a name="cfn-frauddetector-detector-label-lastupdatedtime"></a>
Timestamp of when the label was last updated.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-frauddetector-detector-label-name"></a>
The label name.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-frauddetector-detector-label-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-frauddetector-detector-tag.md)  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::FraudDetector::Detector Model
<a name="aws-properties-frauddetector-detector-model"></a>

The model.

## Syntax
<a name="aws-properties-frauddetector-detector-model-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-model-syntax.json"></a>

```
{
  "[Arn](#cfn-frauddetector-detector-model-arn)" : String
}
```

### YAML
<a name="aws-properties-frauddetector-detector-model-syntax.yaml"></a>

```
  [Arn](#cfn-frauddetector-detector-model-arn): String
```

## Properties
<a name="aws-properties-frauddetector-detector-model-properties"></a>

`Arn`  <a name="cfn-frauddetector-detector-model-arn"></a>
The ARN of the model.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn\:aws[a-z-]{0,15}\:frauddetector\:[a-z0-9-]{3,20}\:[0-9]{12}\:[^\s]{2,128}$`  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::FraudDetector::Detector Outcome
<a name="aws-properties-frauddetector-detector-outcome"></a>

The outcome.

## Syntax
<a name="aws-properties-frauddetector-detector-outcome-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-outcome-syntax.json"></a>

```
{
  "[Arn](#cfn-frauddetector-detector-outcome-arn)" : String,
  "[CreatedTime](#cfn-frauddetector-detector-outcome-createdtime)" : String,
  "[Description](#cfn-frauddetector-detector-outcome-description)" : String,
  "[Inline](#cfn-frauddetector-detector-outcome-inline)" : Boolean,
  "[LastUpdatedTime](#cfn-frauddetector-detector-outcome-lastupdatedtime)" : String,
  "[Name](#cfn-frauddetector-detector-outcome-name)" : String,
  "[Tags](#cfn-frauddetector-detector-outcome-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-frauddetector-detector-outcome-syntax.yaml"></a>

```
  [Arn](#cfn-frauddetector-detector-outcome-arn): String
  [CreatedTime](#cfn-frauddetector-detector-outcome-createdtime): String
  [Description](#cfn-frauddetector-detector-outcome-description): String
  [Inline](#cfn-frauddetector-detector-outcome-inline): Boolean
  [LastUpdatedTime](#cfn-frauddetector-detector-outcome-lastupdatedtime): String
  [Name](#cfn-frauddetector-detector-outcome-name): String
  [Tags](#cfn-frauddetector-detector-outcome-tags): 
    - Tag
```

## Properties
<a name="aws-properties-frauddetector-detector-outcome-properties"></a>

`Arn`  <a name="cfn-frauddetector-detector-outcome-arn"></a>
The outcome ARN.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn\:aws[a-z-]{0,15}\:frauddetector\:[a-z0-9-]{3,20}\:[0-9]{12}\:[^\s]{2,128}$`  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CreatedTime`  <a name="cfn-frauddetector-detector-outcome-createdtime"></a>
The timestamp when the outcome was created.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-frauddetector-detector-outcome-description"></a>
The outcome description.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Inline`  <a name="cfn-frauddetector-detector-outcome-inline"></a>
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true`, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false`, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.   
For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false`, CloudFormation will associate the variables to your detector but not execute any changes to the variables.   
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LastUpdatedTime`  <a name="cfn-frauddetector-detector-outcome-lastupdatedtime"></a>
The timestamp when the outcome was last updated.  
*Required*: No  
*Type*: String  
*Minimum*: `11`  
*Maximum*: `30`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-frauddetector-detector-outcome-name"></a>
The outcome name.  
*Required*: No  
*Type*: String  
*Pattern*: `^[0-9a-z_-]+$`  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-frauddetector-detector-outcome-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-frauddetector-detector-tag.md)  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::FraudDetector::Detector Rule
<a name="aws-properties-frauddetector-detector-rule"></a>

A rule.

## Syntax
<a name="aws-properties-frauddetector-detector-rule-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-rule-syntax.json"></a>

```
{
  "[Arn](#cfn-frauddetector-detector-rule-arn)" : String,
  "[CreatedTime](#cfn-frauddetector-detector-rule-createdtime)" : String,
  "[Description](#cfn-frauddetector-detector-rule-description)" : String,
  "[DetectorId](#cfn-frauddetector-detector-rule-detectorid)" : String,
  "[Expression](#cfn-frauddetector-detector-rule-expression)" : String,
  "[Language](#cfn-frauddetector-detector-rule-language)" : String,
  "[LastUpdatedTime](#cfn-frauddetector-detector-rule-lastupdatedtime)" : String,
  "[Outcomes](#cfn-frauddetector-detector-rule-outcomes)" : [ Outcome, ... ],
  "[RuleId](#cfn-frauddetector-detector-rule-ruleid)" : String,
  "[RuleVersion](#cfn-frauddetector-detector-rule-ruleversion)" : String,
  "[Tags](#cfn-frauddetector-detector-rule-tags)" : [ Tag, ... ]
}
```

### YAML
<a name="aws-properties-frauddetector-detector-rule-syntax.yaml"></a>

```
  [Arn](#cfn-frauddetector-detector-rule-arn): String
  [CreatedTime](#cfn-frauddetector-detector-rule-createdtime): String
  [Description](#cfn-frauddetector-detector-rule-description): String
  [DetectorId](#cfn-frauddetector-detector-rule-detectorid): String
  [Expression](#cfn-frauddetector-detector-rule-expression): String
  [Language](#cfn-frauddetector-detector-rule-language): String
  [LastUpdatedTime](#cfn-frauddetector-detector-rule-lastupdatedtime): String
  [Outcomes](#cfn-frauddetector-detector-rule-outcomes): 
    - Outcome
  [RuleId](#cfn-frauddetector-detector-rule-ruleid): String
  [RuleVersion](#cfn-frauddetector-detector-rule-ruleversion): String
  [Tags](#cfn-frauddetector-detector-rule-tags): 
    - Tag
```

## Properties
<a name="aws-properties-frauddetector-detector-rule-properties"></a>

`Arn`  <a name="cfn-frauddetector-detector-rule-arn"></a>
The rule ARN.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CreatedTime`  <a name="cfn-frauddetector-detector-rule-createdtime"></a>
Timestamp for when the rule was created.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-frauddetector-detector-rule-description"></a>
The rule description.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DetectorId`  <a name="cfn-frauddetector-detector-rule-detectorid"></a>
The detector for which the rule is associated.  
*Required*: No  
*Type*: String  
*Pattern*: `^[0-9a-z_-]+$`  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Expression`  <a name="cfn-frauddetector-detector-rule-expression"></a>
The rule expression. A rule expression captures the business logic. For more information, see [Rule language reference](https://docs.aws.amazon.com/frauddetector/latest/ug/rule-language-reference.html).  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Language`  <a name="cfn-frauddetector-detector-rule-language"></a>
The rule language.  
Valid Value: DETECTORPL  
*Required*: No  
*Type*: String  
*Allowed values*: `DETECTORPL`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LastUpdatedTime`  <a name="cfn-frauddetector-detector-rule-lastupdatedtime"></a>
Timestamp for when the rule was last updated.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Outcomes`  <a name="cfn-frauddetector-detector-rule-outcomes"></a>
The rule outcome.  
*Required*: No  
*Type*: Array of [Outcome](aws-properties-frauddetector-detector-outcome.md)  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RuleId`  <a name="cfn-frauddetector-detector-rule-ruleid"></a>
The rule ID.  
*Required*: No  
*Type*: String  
*Pattern*: `^[0-9a-z_-]+$`  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RuleVersion`  <a name="cfn-frauddetector-detector-rule-ruleversion"></a>
The rule version.  
*Required*: No  
*Type*: String  
*Pattern*: `^([1-9][0-9]*)$`  
*Minimum*: `1`  
*Maximum*: `5`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-frauddetector-detector-rule-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-frauddetector-detector-tag.md)  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::FraudDetector::Detector Tag
<a name="aws-properties-frauddetector-detector-tag"></a>

A key and value pair. 

## Syntax
<a name="aws-properties-frauddetector-detector-tag-syntax"></a>

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

### JSON
<a name="aws-properties-frauddetector-detector-tag-syntax.json"></a>

```
{
  "[Key](#cfn-frauddetector-detector-tag-key)" : String,
  "[Value](#cfn-frauddetector-detector-tag-value)" : String
}
```

### YAML
<a name="aws-properties-frauddetector-detector-tag-syntax.yaml"></a>

```
  [Key](#cfn-frauddetector-detector-tag-key): String
  [Value](#cfn-frauddetector-detector-tag-value): String
```

## Properties
<a name="aws-properties-frauddetector-detector-tag-properties"></a>

`Key`  <a name="cfn-frauddetector-detector-tag-key"></a>
A tag key.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-frauddetector-detector-tag-value"></a>
A value assigned to a tag key.  
*Required*: Yes  
*Type*: String  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)