@Stability(value=Stable)
public static interface CfnDetector.EventVariableProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.frauddetector.*;
EventVariableProperty eventVariableProperty = EventVariableProperty.builder()
.arn("arn")
.createdTime("createdTime")
.dataSource("dataSource")
.dataType("dataType")
.defaultValue("defaultValue")
.description("description")
.inline(false)
.lastUpdatedTime("lastUpdatedTime")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.variableType("variableType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDetector.EventVariableProperty.Builder
A builder for
CfnDetector.EventVariableProperty |
static class |
CfnDetector.EventVariableProperty.Jsii$Proxy
An implementation for
CfnDetector.EventVariableProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDetector.EventVariableProperty.Builder |
builder() |
default String |
getArn()
The event variable ARN.
|
default String |
getCreatedTime()
Timestamp for when the event variable was created.
|
default String |
getDataSource()
The data source of the event variable.
|
default String |
getDataType()
The data type of the event variable.
|
default String |
getDefaultValue()
The default value of the event variable.
|
default String |
getDescription()
The description of the event variable.
|
default Object |
getInline()
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack.
|
default String |
getLastUpdatedTime()
Timestamp for when the event variable was last updated.
|
default String |
getName()
The name of the event variable.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
default String |
getVariableType()
The type of event variable.
|
@Stability(value=Stable) @Nullable default String getArn()
@Stability(value=Stable) @Nullable default String getCreatedTime()
@Stability(value=Stable) @Nullable default String getDataSource()
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.
@Stability(value=Stable) @Nullable default String getDataType()
Valid values: STRING | INTEGER | BOOLEAN | FLOAT
@Stability(value=Stable) @Nullable default String getDefaultValue()
This is required if you are providing the details of your variables instead of the ARN.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getInline()
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.
@Stability(value=Stable) @Nullable default String getLastUpdatedTime()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) @Nullable default String getVariableType()
For more information, see Variable types .
@Stability(value=Stable) static CfnDetector.EventVariableProperty.Builder builder()
Copyright © 2022. All rights reserved.