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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.detective.getOrganizationAdmin

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 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>
Copy
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]
Copy
func LookupOrganizationAdmin(ctx *Context, args *LookupOrganizationAdminArgs, opts ...InvokeOption) (*LookupOrganizationAdminResult, error)
func LookupOrganizationAdminOutput(ctx *Context, args *LookupOrganizationAdminOutputArgs, opts ...InvokeOption) LookupOrganizationAdminResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetOrganizationAdminResult> getOrganizationAdmin(GetOrganizationAdminArgs args, InvokeOptions options)
public static Output<GetOrganizationAdminResult> getOrganizationAdmin(GetOrganizationAdminArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:detective:getOrganizationAdmin
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
The account ID of the account that should be registered as your Organization's delegated administrator for Detective
AccountId This property is required. string
The account ID of the account that should be registered as your Organization's delegated administrator for Detective
accountId This property is required. String
The account ID of the account that should be registered as your Organization's delegated administrator for Detective
accountId This property is required. string
The account ID of the account that should be registered as your Organization's delegated administrator for Detective
account_id This property is required. str
The account ID of the account that should be registered as your Organization's delegated administrator for Detective
accountId This property is required. 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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi