UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

69 lines (68 loc) 3.44 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::GuardDuty::TrustedEntitySet */ export declare function getTrustedEntitySet(args: GetTrustedEntitySetArgs, opts?: pulumi.InvokeOptions): Promise<GetTrustedEntitySetResult>; export interface GetTrustedEntitySetArgs { /** * 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. */ detectorId: string; id: string; } export interface GetTrustedEntitySetResult { /** * The timestamp when the trusted entity set was created. */ readonly createdAt?: string; /** * Specifies the error details when the status of the trusted entity set shows as *Error* . */ readonly errorDetails?: 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. */ readonly expectedBucketOwner?: string; readonly id?: string; /** * The URI of the file that contains the trusted entity set. */ readonly location?: string; /** * A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_). */ readonly name?: string; /** * The status of your `TrustedEntitySet` . For information about valid status values, see [Understanding list statuses](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_upload-lists.html#guardduty-entity-list-statuses) in the *Amazon GuardDuty User Guide* . */ readonly status?: enums.guardduty.TrustedEntitySetStatus; /** * 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) . */ readonly tags?: outputs.Tag[]; /** * The timestamp when the trusted entity set was updated. */ readonly updatedAt?: string; } /** * Resource Type definition for AWS::GuardDuty::TrustedEntitySet */ export declare function getTrustedEntitySetOutput(args: GetTrustedEntitySetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTrustedEntitySetResult>; export interface GetTrustedEntitySetOutputArgs { /** * 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. */ detectorId: pulumi.Input<string>; id: pulumi.Input<string>; }