Class CfnVariable
A CloudFormation AWS::FraudDetector::Variable
.
Inherited Members
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.AWS.FraudDetector.dll
Syntax (csharp)
public class CfnVariable : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnVariable
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Manages a variable.
CloudformationResource: AWS::FraudDetector::Variable
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 cfnVariable = new CfnVariable(this, "MyCfnVariable", new CfnVariableProps {
DataSource = "dataSource",
DataType = "dataType",
DefaultValue = "defaultValue",
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VariableType = "variableType"
});
Synopsis
Constructors
CfnVariable(Construct, String, ICfnVariableProps) | Create a new |
CfnVariable(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVariable(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The ARN of the variable. |
AttrCreatedTime | Timestamp of when variable was created. |
AttrLastUpdatedTime | Timestamp of when variable was last updated. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DataSource | The data source of the variable. |
DataType | The data type of the variable. |
DefaultValue | The default value of the variable. |
Description | The description of the variable. |
Name | The name of the variable. |
Tags | An array of key-value pairs to apply to this resource. |
VariableType | The type of the variable. For more information see Variable types . |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVariable(Construct, String, ICfnVariableProps)
Create a new AWS::FraudDetector::Variable
.
public CfnVariable(Construct scope, string id, ICfnVariableProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnVariableProps
- resource properties.
CfnVariable(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVariable(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVariable(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVariable(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The ARN of the variable.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedTime
Timestamp of when variable was created.
public virtual string AttrCreatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedTime
AttrLastUpdatedTime
Timestamp of when variable was last updated.
public virtual string AttrLastUpdatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastUpdatedTime
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DataSource
The data source of the variable.
public virtual 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 variable.
public virtual string DataType { get; set; }
Property Value
System.String
Remarks
Valid data types: STRING | INTEGER | BOOLEAN | FLOAT
DefaultValue
The default value of the variable.
public virtual string DefaultValue { get; set; }
Property Value
System.String
Remarks
Description
The description of the variable.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Name
The name of the variable.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
For more information, see Tag .
VariableType
The type of the variable. For more information see Variable types .
public virtual string VariableType { get; set; }
Property Value
System.String
Remarks
Valid 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
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>