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)

40 lines (39 loc) 1.61 kB
import * as pulumi from "@pulumi/pulumi"; /** * Resource Type definition for AWS::GuardDuty::Member */ export declare function getMember(args: GetMemberArgs, opts?: pulumi.InvokeOptions): Promise<GetMemberResult>; export interface GetMemberArgs { /** * The ID of the detector associated with the GuardDuty service to add the member to. */ detectorId: string; /** * The AWS account ID of the account to designate as a member. */ memberId: string; } export interface GetMemberResult { /** * The email address associated with the member account. */ readonly email?: string; /** * You can use the `Status` property to update the status of the relationship between the member account and its administrator account. Valid values are `Created` and `Invited` when using an `AWS::GuardDuty::Member` resource. If the value for this property is not provided or set to `Created` , a member account is created but not invited. If the value of this property is set to `Invited` , a member account is created and invited. */ readonly status?: string; } /** * Resource Type definition for AWS::GuardDuty::Member */ export declare function getMemberOutput(args: GetMemberOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMemberResult>; export interface GetMemberOutputArgs { /** * The ID of the detector associated with the GuardDuty service to add the member to. */ detectorId: pulumi.Input<string>; /** * The AWS account ID of the account to designate as a member. */ memberId: pulumi.Input<string>; }