We recommend new projects start with resources from the AWS provider.
aws-native.securityhub.getDelegatedAdmin
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::SecurityHub::DelegatedAdmin
resource designates the delegated ASHlong administrator account for an organization. You must enable the integration between ASH and AOlong before you can designate a delegated ASH administrator. Only the management account for an organization can designate the delegated ASH administrator account. For more information, see Designating the delegated administrator in the User Guide.
To change the delegated administrator account, remove the current delegated administrator account, and then designate the new account.
To designate multiple delegated administrators in different organizations and AWS-Regions, we recommend using mappings.
Tags aren’t supported for this resource.
Using getDelegatedAdmin
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 getDelegatedAdmin(args: GetDelegatedAdminArgs, opts?: InvokeOptions): Promise<GetDelegatedAdminResult>
function getDelegatedAdminOutput(args: GetDelegatedAdminOutputArgs, opts?: InvokeOptions): Output<GetDelegatedAdminResult>
def get_delegated_admin(delegated_admin_identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDelegatedAdminResult
def get_delegated_admin_output(delegated_admin_identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDelegatedAdminResult]
func LookupDelegatedAdmin(ctx *Context, args *LookupDelegatedAdminArgs, opts ...InvokeOption) (*LookupDelegatedAdminResult, error)
func LookupDelegatedAdminOutput(ctx *Context, args *LookupDelegatedAdminOutputArgs, opts ...InvokeOption) LookupDelegatedAdminResultOutput
> Note: This function is named LookupDelegatedAdmin
in the Go SDK.
public static class GetDelegatedAdmin
{
public static Task<GetDelegatedAdminResult> InvokeAsync(GetDelegatedAdminArgs args, InvokeOptions? opts = null)
public static Output<GetDelegatedAdminResult> Invoke(GetDelegatedAdminInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDelegatedAdminResult> getDelegatedAdmin(GetDelegatedAdminArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:securityhub:getDelegatedAdmin
arguments:
# arguments dictionary
The following arguments are supported:
- Delegated
Admin stringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
.
- Delegated
Admin stringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
.
- delegated
Admin StringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
.
- delegated
Admin stringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
.
- delegated_
admin_ stridentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
.
- delegated
Admin StringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
.
getDelegatedAdmin Result
The following output properties are available:
- Delegated
Admin stringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
. - Status
Pulumi.
Aws Native. Security Hub. Delegated Admin Status - Whether the delegated Security Hub administrator is set for the organization.
- Delegated
Admin stringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
. - Status
Delegated
Admin Status - Whether the delegated Security Hub administrator is set for the organization.
- delegated
Admin StringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
. - status
Delegated
Admin Status - Whether the delegated Security Hub administrator is set for the organization.
- delegated
Admin stringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
. - status
Delegated
Admin Status - Whether the delegated Security Hub administrator is set for the organization.
- delegated_
admin_ stridentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
. - status
Delegated
Admin Status - Whether the delegated Security Hub administrator is set for the organization.
- delegated
Admin StringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
. - status "ENABLED" | "DISABLE_IN_PROGRESS"
- Whether the delegated Security Hub administrator is set for the organization.
Supporting Types
DelegatedAdminStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.