We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.guardduty.getMember
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 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:
- Detector
Id string - The ID of the detector associated with the GuardDuty service to add the member to.
- Member
Id string - The AWS account ID of the account to designate as a member.
- Detector
Id string - The ID of the detector associated with the GuardDuty service to add the member to.
- Member
Id string - The AWS account ID of the account to designate as a member.
- detector
Id String - The ID of the detector associated with the GuardDuty service to add the member to.
- member
Id String - The AWS account ID of the account to designate as a member.
- detector
Id string - The ID of the detector associated with the GuardDuty service to add the member to.
- member
Id 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.
- detector
Id String - The ID of the detector associated with the GuardDuty service to add the member to.
- member
Id 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 areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, 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 areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, 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 areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, 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 areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, 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 areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, 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 areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi