1. Packages
  2. AWS Native
  3. API Docs
  4. detective
  5. getOrganizationAdmin

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.detective.getOrganizationAdmin

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Resource schema for AWS::Detective::OrganizationAdmin

    Using getOrganizationAdmin

    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 getOrganizationAdmin(args: GetOrganizationAdminArgs, opts?: InvokeOptions): Promise<GetOrganizationAdminResult>
    function getOrganizationAdminOutput(args: GetOrganizationAdminOutputArgs, opts?: InvokeOptions): Output<GetOrganizationAdminResult>
    def get_organization_admin(account_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetOrganizationAdminResult
    def get_organization_admin_output(account_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationAdminResult]
    func LookupOrganizationAdmin(ctx *Context, args *LookupOrganizationAdminArgs, opts ...InvokeOption) (*LookupOrganizationAdminResult, error)
    func LookupOrganizationAdminOutput(ctx *Context, args *LookupOrganizationAdminOutputArgs, opts ...InvokeOption) LookupOrganizationAdminResultOutput

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

    public static class GetOrganizationAdmin 
    {
        public static Task<GetOrganizationAdminResult> InvokeAsync(GetOrganizationAdminArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationAdminResult> Invoke(GetOrganizationAdminInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationAdminResult> getOrganizationAdmin(GetOrganizationAdminArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:detective:getOrganizationAdmin
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The account ID of the account that should be registered as your Organization's delegated administrator for Detective
    AccountId string
    The account ID of the account that should be registered as your Organization's delegated administrator for Detective
    accountId String
    The account ID of the account that should be registered as your Organization's delegated administrator for Detective
    accountId string
    The account ID of the account that should be registered as your Organization's delegated administrator for Detective
    account_id str
    The account ID of the account that should be registered as your Organization's delegated administrator for Detective
    accountId String
    The account ID of the account that should be registered as your Organization's delegated administrator for Detective

    getOrganizationAdmin Result

    The following output properties are available:

    GraphArn string
    The Detective graph ARN
    GraphArn string
    The Detective graph ARN
    graphArn String
    The Detective graph ARN
    graphArn string
    The Detective graph ARN
    graph_arn str
    The Detective graph ARN
    graphArn String
    The Detective graph ARN

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi