Skip to content
v2.278.0

EntityTypeProperty Struct ​

The entity 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 entityTypeProperty: frauddetector.CfnDetector.EntityTypeProperty = {
  arn: 'arn',
  createdTime: 'createdTime',
  description: 'description',
  inline: false,
  lastUpdatedTime: 'lastUpdatedTime',
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import 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

entity_type_property = frauddetector.CfnDetector.EntityTypeProperty(
    arn="arn",
    created_time="createdTime",
    description="description",
    inline=False,
    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.*;

EntityTypeProperty entityTypeProperty = 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();
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 entityTypeProperty = new EntityTypeProperty {
    Arn = "arn",
    CreatedTime = "createdTime",
    Description = "description",
    Inline = false,
    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"

entityTypeProperty := &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"),
		},
	},
}

Properties ​

arnoptionalstringarnoptionalstrarnoptionalStringArnoptionalstringArnoptional*string #
The entity type ARN.
createdTimeoptionalstringcreated_timeoptionalstrcreatedTimeoptionalStringCreatedTimeoptionalstringCreatedTimeoptional*string #
Timestamp of when the entity type was created.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The entity type description.
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.

lastUpdatedTimeoptionalstringlast_updated_timeoptionalstrlastUpdatedTimeoptionalStringLastUpdatedTimeoptionalstringLastUpdatedTimeoptional*string #
Timestamp of when the entity type was last updated.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The entity 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 .