Skip to content
v2.278.0

EventTypeProperty Struct ​

The event type details.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_frauddetector as frauddetector } from 'aws-cdk-lib';
const eventTypeProperty: frauddetector.CfnDetector.EventTypeProperty = {
  arn: 'arn',
  createdTime: 'createdTime',
  description: 'description',
  entityTypes: [{
    arn: 'arn',
    createdTime: 'createdTime',
    description: 'description',
    inline: false,
    lastUpdatedTime: 'lastUpdatedTime',
    name: 'name',
    tags: [{
      key: 'key',
      value: 'value',
    }],
  }],
  eventVariables: [{
    arn: 'arn',
    createdTime: 'createdTime',
    dataSource: 'dataSource',
    dataType: 'dataType',
    defaultValue: 'defaultValue',
    description: 'description',
    inline: false,
    lastUpdatedTime: 'lastUpdatedTime',
    name: 'name',
    tags: [{
      key: 'key',
      value: 'value',
    }],
    variableType: 'variableType',
  }],
  inline: false,
  labels: [{
    arn: 'arn',
    createdTime: 'createdTime',
    description: 'description',
    inline: false,
    lastUpdatedTime: 'lastUpdatedTime',
    name: 'name',
    tags: [{
      key: 'key',
      value: 'value',
    }],
  }],
  lastUpdatedTime: 'lastUpdatedTime',
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag, CfnTag, CfnTag, CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_frauddetector as frauddetector

event_type_property = frauddetector.CfnDetector.EventTypeProperty(
    arn="arn",
    created_time="createdTime",
    description="description",
    entity_types=[frauddetector.CfnDetector.EntityTypeProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    )],
    event_variables=[frauddetector.CfnDetector.EventVariableProperty(
        arn="arn",
        created_time="createdTime",
        data_source="dataSource",
        data_type="dataType",
        default_value="defaultValue",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )],
        variable_type="variableType"
    )],
    inline=False,
    labels=[frauddetector.CfnDetector.LabelProperty(
        arn="arn",
        created_time="createdTime",
        description="description",
        inline=False,
        last_updated_time="lastUpdatedTime",
        name="name",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    )],
    last_updated_time="lastUpdatedTime",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// 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.*;

EventTypeProperty eventTypeProperty = EventTypeProperty.builder()
        .arn("arn")
        .createdTime("createdTime")
        .description("description")
        .entityTypes(List.of(EntityTypeProperty.builder()
                .arn("arn")
                .createdTime("createdTime")
                .description("description")
                .inline(false)
                .lastUpdatedTime("lastUpdatedTime")
                .name("name")
                .tags(List.of(CfnTag.builder()
                        .key("key")
                        .value("value")
                        .build()))
                .build()))
        .eventVariables(List.of(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()))
        .inline(false)
        .labels(List.of(LabelProperty.builder()
                .arn("arn")
                .createdTime("createdTime")
                .description("description")
                .inline(false)
                .lastUpdatedTime("lastUpdatedTime")
                .name("name")
                .tags(List.of(CfnTag.builder()
                        .key("key")
                        .value("value")
                        .build()))
                .build()))
        .lastUpdatedTime("lastUpdatedTime")
        .name("name")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 eventTypeProperty = new EventTypeProperty {
    Arn = "arn",
    CreatedTime = "createdTime",
    Description = "description",
    EntityTypes = new [] { new EntityTypeProperty {
        Arn = "arn",
        CreatedTime = "createdTime",
        Description = "description",
        Inline = false,
        LastUpdatedTime = "lastUpdatedTime",
        Name = "name",
        Tags = new [] { new CfnTag {
            Key = "key",
            Value = "value"
        } }
    } },
    EventVariables = new [] { 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"
    } },
    Inline = false,
    Labels = new [] { new LabelProperty {
        Arn = "arn",
        CreatedTime = "createdTime",
        Description = "description",
        Inline = false,
        LastUpdatedTime = "lastUpdatedTime",
        Name = "name",
        Tags = new [] { new CfnTag {
            Key = "key",
            Value = "value"
        } }
    } },
    LastUpdatedTime = "lastUpdatedTime",
    Name = "name",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

eventTypeProperty := &EventTypeProperty{
	Arn: jsii.String("arn"),
	CreatedTime: jsii.String("createdTime"),
	Description: jsii.String("description"),
	EntityTypes: []interface{}{
		&EntityTypeProperty{
			Arn: jsii.String("arn"),
			CreatedTime: jsii.String("createdTime"),
			Description: jsii.String("description"),
			Inline: jsii.Boolean(false),
			LastUpdatedTime: jsii.String("lastUpdatedTime"),
			Name: jsii.String("name"),
			Tags: []CfnTag{
				&CfnTag{
					Key: jsii.String("key"),
					Value: jsii.String("value"),
				},
			},
		},
	},
	EventVariables: []interface{}{
		&EventVariableProperty{
			Arn: jsii.String("arn"),
			CreatedTime: jsii.String("createdTime"),
			DataSource: jsii.String("dataSource"),
			DataType: jsii.String("dataType"),
			DefaultValue: jsii.String("defaultValue"),
			Description: jsii.String("description"),
			Inline: jsii.Boolean(false),
			LastUpdatedTime: jsii.String("lastUpdatedTime"),
			Name: jsii.String("name"),
			Tags: []CfnTag{
				&CfnTag{
					Key: jsii.String("key"),
					Value: jsii.String("value"),
				},
			},
			VariableType: jsii.String("variableType"),
		},
	},
	Inline: jsii.Boolean(false),
	Labels: []interface{}{
		&LabelProperty{
			Arn: jsii.String("arn"),
			CreatedTime: jsii.String("createdTime"),
			Description: jsii.String("description"),
			Inline: jsii.Boolean(false),
			LastUpdatedTime: jsii.String("lastUpdatedTime"),
			Name: jsii.String("name"),
			Tags: []CfnTag{
				&CfnTag{
					Key: jsii.String("key"),
					Value: jsii.String("value"),
				},
			},
		},
	},
	LastUpdatedTime: jsii.String("lastUpdatedTime"),
	Name: jsii.String("name"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

arnoptionalstringarnoptionalstrarnoptionalStringArnoptionalstringArnoptional*string #
The entity type ARN.
createdTimeoptionalstringcreated_timeoptionalstrcreatedTimeoptionalStringCreatedTimeoptionalstringCreatedTimeoptional*string #
Timestamp of when the event type was created.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The event type description.
entityTypesoptionalIResolvable | IResolvable | CfnDetector.EntityTypeProperty[]entity_typesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EntityTypeProperty]]]entityTypesoptionalIResolvableEntityTypesoptionalIResolvableEntityTypesoptionalinterface{} #
The event type entity types.
eventVariablesoptionalIResolvable | IResolvable | CfnDetector.EventVariableProperty[]event_variablesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EventVariableProperty]]]eventVariablesoptionalIResolvableEventVariablesoptionalIResolvableEventVariablesoptionalinterface{} #
The event type event variables.
inlineoptionalboolean | IResolvableinlineoptionaltyping.Union[bool, IResolvable]inlineoptionalBooleanInlineoptionalboolInlineoptionalinterface{} #
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack.
notes

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.

labelsoptionalIResolvable | IResolvable | CfnDetector.LabelProperty[]labelsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelProperty]]]labelsoptionalIResolvableLabelsoptionalIResolvableLabelsoptionalinterface{} #
The event type labels.
lastUpdatedTimeoptionalstringlast_updated_timeoptionalstrlastUpdatedTimeoptionalStringLastUpdatedTimeoptionalstringLastUpdatedTimeoptional*string #
Timestamp of when the event type was last updated.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The event type name.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
An array of key-value pairs to apply to this resource.

For more information, see Tag .