Class CfnDetector.EventVariableProperty
The event type variable for the detector.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.AWS.FraudDetector.dll
Syntax (csharp)
public class EventVariableProperty : Object, CfnDetector.IEventVariableProperty
Syntax (vb)
Public Class EventVariableProperty
Inherits Object
Implements CfnDetector.IEventVariableProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FraudDetector;
var eventVariableProperty = new EventVariableProperty {
Arn = "arn",
CreatedTime = "createdTime",
DataSource = "dataSource",
DataType = "dataType",
DefaultValue = "defaultValue",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VariableType = "variableType"
};
Synopsis
Constructors
EventVariableProperty() |
Properties
Arn | The event variable ARN. |
CreatedTime | Timestamp for when the event variable was created. |
DataSource | The data source of the event variable. |
DataType | The data type of the event variable. |
DefaultValue | The default value of the event variable. |
Description | The description of the event variable. |
Inline | Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. |
LastUpdatedTime | Timestamp for when the event variable was last updated. |
Name | The name of the event variable. |
Tags | An array of key-value pairs to apply to this resource. |
VariableType | The type of event variable. |
Constructors
EventVariableProperty()
public EventVariableProperty()
Properties
Arn
The event variable ARN.
public string Arn { get; set; }
Property Value
System.String
Remarks
CreatedTime
Timestamp for when the event variable was created.
public string CreatedTime { get; set; }
Property Value
System.String
Remarks
DataSource
The data source of the event variable.
public string DataSource { get; set; }
Property Value
System.String
Remarks
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.
DataType
The data type of the event variable.
public string DataType { get; set; }
Property Value
System.String
Remarks
Valid values: STRING | INTEGER | BOOLEAN | FLOAT
DefaultValue
The default value of the event variable.
public string DefaultValue { get; set; }
Property Value
System.String
Remarks
This is required if you are providing the details of your variables instead of the ARN.
Description
The description of the event variable.
public string Description { get; set; }
Property Value
System.String
Remarks
Inline
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack.
public object Inline { get; set; }
Property Value
System.Object
Remarks
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.
LastUpdatedTime
Timestamp for when the event variable was last updated.
public string LastUpdatedTime { get; set; }
Property Value
System.String
Remarks
Name
The name of the event variable.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
VariableType
The type of event variable.
public string VariableType { get; set; }
Property Value
System.String