Interface CfnDetector.IEventVariableProperty
The event type variable for the detector.
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.AWS.FraudDetector.dll
Syntax (csharp)
public interface IEventVariableProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Arn
The event variable ARN.
virtual string Arn { get; }
Property Value
System.String
Remarks
CreatedTime
Timestamp for when the event variable was created.
virtual string CreatedTime { get; }
Property Value
System.String
Remarks
DataSource
The data source of the event variable.
virtual string DataSource { get; }
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.
virtual string DataType { get; }
Property Value
System.String
Remarks
Valid values: STRING | INTEGER | BOOLEAN | FLOAT
DefaultValue
The default value of the event variable.
virtual string DefaultValue { get; }
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.
virtual string Description { get; }
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.
virtual object Inline { get; }
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.
virtual string LastUpdatedTime { get; }
Property Value
System.String
Remarks
Name
The name of the event variable.
virtual string Name { get; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
VariableType
The type of event variable.
virtual string VariableType { get; }
Property Value
System.String