AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::GuardDuty::TrustedEntitySet

CfnTrustedEntitySet

Creates a new trusted entity set. In the trusted entity set, you can provide IP addresses and domains that you believe are secure for communication in your AWS environment. GuardDuty will not generate findings for the entries that are specified in a trusted entity set. At any given time, you can have only one trusted entity set. Only users of the administrator account can manage the entity sets, which automatically apply to member accounts.

Import

import { CfnTrustedEntitySet } from 'aws-cdk-lib/aws-guardduty';

Or use the module namespace:

import * as guardduty from 'aws-cdk-lib/aws-guardduty';
// guardduty.CfnTrustedEntitySet

Properties

Configuration passed to the constructor as CfnTrustedEntitySetProps.

formatRequired
string

The format of the file that contains the trusted entity set. For information about supported formats, see [List formats](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_upload-lists.html#prepare_list) in the *Amazon GuardDuty User Guide* .

locationRequired
string

The URI of the file that contains the trusted entity set.

activateOptional
boolean | IResolvable

A boolean value that determines if GuardDuty can start using this list for custom threat detection. For GuardDuty to prevent generating findings based on an activity associated with these entries, this list must be active.

detectorIdOptional
string

The unique regional detector ID of the GuardDuty account for which you want to create a trusted entity set. To find the `detectorId` in the current Region, see the Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API.

expectedBucketOwnerOptional
string

The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field. Whether or not you provide the account ID for this optional field, GuardDuty validates that the account ID associated with the `DetectorId` value owns the S3 bucket in the `Location` field. If GuardDuty finds that this S3 bucket doesn't belong to the specified account ID, you will get an error at the time of activating this list.

nameOptional
string

A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).

tagsOptional
TagItemProperty[]

The tags to be added to a new trusted entity set resource. Each tag consists of a key and an optional value, both of which you define. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter