1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. guardduty
  5. getTrustedEntitySet

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

aws-native.guardduty.getTrustedEntitySet

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

    Resource Type definition for AWS::GuardDuty::TrustedEntitySet

    Using getTrustedEntitySet

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrustedEntitySet(args: GetTrustedEntitySetArgs, opts?: InvokeOptions): Promise<GetTrustedEntitySetResult>
    function getTrustedEntitySetOutput(args: GetTrustedEntitySetOutputArgs, opts?: InvokeOptions): Output<GetTrustedEntitySetResult>
    def get_trusted_entity_set(detector_id: Optional[str] = None,
                               id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetTrustedEntitySetResult
    def get_trusted_entity_set_output(detector_id: Optional[pulumi.Input[str]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetTrustedEntitySetResult]
    func LookupTrustedEntitySet(ctx *Context, args *LookupTrustedEntitySetArgs, opts ...InvokeOption) (*LookupTrustedEntitySetResult, error)
    func LookupTrustedEntitySetOutput(ctx *Context, args *LookupTrustedEntitySetOutputArgs, opts ...InvokeOption) LookupTrustedEntitySetResultOutput

    > Note: This function is named LookupTrustedEntitySet in the Go SDK.

    public static class GetTrustedEntitySet 
    {
        public static Task<GetTrustedEntitySetResult> InvokeAsync(GetTrustedEntitySetArgs args, InvokeOptions? opts = null)
        public static Output<GetTrustedEntitySetResult> Invoke(GetTrustedEntitySetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrustedEntitySetResult> getTrustedEntitySet(GetTrustedEntitySetArgs args, InvokeOptions options)
    public static Output<GetTrustedEntitySetResult> getTrustedEntitySet(GetTrustedEntitySetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:guardduty:getTrustedEntitySet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DetectorId 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 API.

    Id string
    DetectorId 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 API.

    Id string
    detectorId 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 API.

    id String
    detectorId 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 API.

    id string
    detector_id str

    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 API.

    id str
    detectorId 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 API.

    id String

    getTrustedEntitySet Result

    The following output properties are available:

    CreatedAt string
    The timestamp when the trusted entity set was created.
    ErrorDetails string
    Specifies the error details when the status of the trusted entity set shows as Error .
    ExpectedBucketOwner 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.

    Id string
    Location string
    The URI of the file that contains the trusted entity set.
    Name string
    A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
    Status Pulumi.AwsNative.GuardDuty.TrustedEntitySetStatus
    The status of your TrustedEntitySet . For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
    Tags List<Pulumi.AwsNative.Outputs.Tag>

    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 .

    UpdatedAt string
    The timestamp when the trusted entity set was updated.
    CreatedAt string
    The timestamp when the trusted entity set was created.
    ErrorDetails string
    Specifies the error details when the status of the trusted entity set shows as Error .
    ExpectedBucketOwner 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.

    Id string
    Location string
    The URI of the file that contains the trusted entity set.
    Name string
    A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
    Status TrustedEntitySetStatus
    The status of your TrustedEntitySet . For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
    Tags Tag

    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 .

    UpdatedAt string
    The timestamp when the trusted entity set was updated.
    createdAt String
    The timestamp when the trusted entity set was created.
    errorDetails String
    Specifies the error details when the status of the trusted entity set shows as Error .
    expectedBucketOwner 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.

    id String
    location String
    The URI of the file that contains the trusted entity set.
    name String
    A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
    status TrustedEntitySetStatus
    The status of your TrustedEntitySet . For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
    tags List<Tag>

    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 .

    updatedAt String
    The timestamp when the trusted entity set was updated.
    createdAt string
    The timestamp when the trusted entity set was created.
    errorDetails string
    Specifies the error details when the status of the trusted entity set shows as Error .
    expectedBucketOwner 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.

    id string
    location string
    The URI of the file that contains the trusted entity set.
    name string
    A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
    status TrustedEntitySetStatus
    The status of your TrustedEntitySet . For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
    tags Tag[]

    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 .

    updatedAt string
    The timestamp when the trusted entity set was updated.
    created_at str
    The timestamp when the trusted entity set was created.
    error_details str
    Specifies the error details when the status of the trusted entity set shows as Error .
    expected_bucket_owner str

    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.

    id str
    location str
    The URI of the file that contains the trusted entity set.
    name str
    A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
    status TrustedEntitySetStatus
    The status of your TrustedEntitySet . For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
    tags Sequence[root_Tag]

    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 .

    updated_at str
    The timestamp when the trusted entity set was updated.
    createdAt String
    The timestamp when the trusted entity set was created.
    errorDetails String
    Specifies the error details when the status of the trusted entity set shows as Error .
    expectedBucketOwner 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.

    id String
    location String
    The URI of the file that contains the trusted entity set.
    name String
    A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
    status "INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED"
    The status of your TrustedEntitySet . For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
    tags List<Property Map>

    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 .

    updatedAt String
    The timestamp when the trusted entity set was updated.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TrustedEntitySetStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi