We recommend new projects start with resources from the AWS provider.
aws-native.guardduty.getTrustedEntitySet
We recommend new projects start with resources from the AWS provider.
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 dictionaryThe 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 - detectorIdin 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 - detectorIdin 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 - detectorIdin 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 - detectorIdin 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 - detectorIdin 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 - detectorIdin 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 .
- ExpectedBucket stringOwner 
- 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 - DetectorIdvalue owns the S3 bucket in the- Locationfield. 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.Aws Native. Guard Duty. Trusted Entity Set Status 
- The status of your TrustedEntitySet. For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
- 
List<Pulumi.Aws Native. 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 .
- ExpectedBucket stringOwner 
- 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 - DetectorIdvalue owns the S3 bucket in the- Locationfield. 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
TrustedEntity Set Status 
- The status of your TrustedEntitySet. For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
- 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 .
- expectedBucket StringOwner 
- 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 - DetectorIdvalue owns the S3 bucket in the- Locationfield. 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
TrustedEntity Set Status 
- The status of your TrustedEntitySet. For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
- 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 .
- expectedBucket stringOwner 
- 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 - DetectorIdvalue owns the S3 bucket in the- Locationfield. 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
TrustedEntity Set Status 
- The status of your TrustedEntitySet. For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
- 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_ strowner 
- 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 - DetectorIdvalue owns the S3 bucket in the- Locationfield. 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
TrustedEntity Set Status 
- The status of your TrustedEntitySet. For information about valid status values, see Understanding list statuses in the Amazon GuardDuty User Guide .
- 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 .
- expectedBucket StringOwner 
- 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 - DetectorIdvalue owns the S3 bucket in the- Locationfield. 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 .
- 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
TrustedEntitySetStatus   
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
