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

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.guardduty.getMember

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::GuardDuty::Member

    Using getMember

    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 getMember(args: GetMemberArgs, opts?: InvokeOptions): Promise<GetMemberResult>
    function getMemberOutput(args: GetMemberOutputArgs, opts?: InvokeOptions): Output<GetMemberResult>
    def get_member(detector_id: Optional[str] = None,
                   member_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetMemberResult
    def get_member_output(detector_id: Optional[pulumi.Input[str]] = None,
                   member_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetMemberResult]
    func LookupMember(ctx *Context, args *LookupMemberArgs, opts ...InvokeOption) (*LookupMemberResult, error)
    func LookupMemberOutput(ctx *Context, args *LookupMemberOutputArgs, opts ...InvokeOption) LookupMemberResultOutput

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

    public static class GetMember 
    {
        public static Task<GetMemberResult> InvokeAsync(GetMemberArgs args, InvokeOptions? opts = null)
        public static Output<GetMemberResult> Invoke(GetMemberInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMemberResult> getMember(GetMemberArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:guardduty:getMember
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DetectorId string
    The ID of the detector associated with the GuardDuty service to add the member to.
    MemberId string
    The AWS account ID of the account to designate as a member.
    DetectorId string
    The ID of the detector associated with the GuardDuty service to add the member to.
    MemberId string
    The AWS account ID of the account to designate as a member.
    detectorId String
    The ID of the detector associated with the GuardDuty service to add the member to.
    memberId String
    The AWS account ID of the account to designate as a member.
    detectorId string
    The ID of the detector associated with the GuardDuty service to add the member to.
    memberId string
    The AWS account ID of the account to designate as a member.
    detector_id str
    The ID of the detector associated with the GuardDuty service to add the member to.
    member_id str
    The AWS account ID of the account to designate as a member.
    detectorId String
    The ID of the detector associated with the GuardDuty service to add the member to.
    memberId String
    The AWS account ID of the account to designate as a member.

    getMember Result

    The following output properties are available:

    Email string
    The email address associated with the member account.
    Status 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.
    Email string
    The email address associated with the member account.
    Status 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.
    email String
    The email address associated with the member account.
    status 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.
    email string
    The email address associated with the member account.
    status 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.
    email str
    The email address associated with the member account.
    status str
    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.
    email String
    The email address associated with the member account.
    status 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.

    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.9.0 published on Monday, Nov 18, 2024 by Pulumi