We recommend new projects start with resources from the AWS provider.
aws-native.securityhub.DelegatedAdmin
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.
Create DelegatedAdmin Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DelegatedAdmin(name: string, args: DelegatedAdminArgs, opts?: CustomResourceOptions);
@overload
def DelegatedAdmin(resource_name: str,
args: DelegatedAdminArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DelegatedAdmin(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_account_id: Optional[str] = None)
func NewDelegatedAdmin(ctx *Context, name string, args DelegatedAdminArgs, opts ...ResourceOption) (*DelegatedAdmin, error)
public DelegatedAdmin(string name, DelegatedAdminArgs args, CustomResourceOptions? opts = null)
public DelegatedAdmin(String name, DelegatedAdminArgs args)
public DelegatedAdmin(String name, DelegatedAdminArgs args, CustomResourceOptions options)
type: aws-native:securityhub:DelegatedAdmin
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DelegatedAdminArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DelegatedAdminArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DelegatedAdminArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DelegatedAdminArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DelegatedAdminArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DelegatedAdmin Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DelegatedAdmin resource accepts the following input properties:
- Admin
Account stringId - The AWS-account identifier of the account to designate as the Security Hub administrator account.
- Admin
Account stringId - The AWS-account identifier of the account to designate as the Security Hub administrator account.
- admin
Account StringId - The AWS-account identifier of the account to designate as the Security Hub administrator account.
- admin
Account stringId - The AWS-account identifier of the account to designate as the Security Hub administrator account.
- admin_
account_ strid - The AWS-account identifier of the account to designate as the Security Hub administrator account.
- admin
Account StringId - The AWS-account identifier of the account to designate as the Security Hub administrator account.
Outputs
All input properties are implicitly available as output properties. Additionally, the DelegatedAdmin resource produces the following output properties:
- Delegated
Admin stringIdentifier - The ID of the delegated Security Hub administrator account, in the format of
accountID/Region
. - Id string
- The provider-assigned unique ID for this managed resource.
- 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
. - Id string
- The provider-assigned unique ID for this managed resource.
- 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
. - id String
- The provider-assigned unique ID for this managed resource.
- 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
. - id string
- The provider-assigned unique ID for this managed resource.
- 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
. - id str
- The provider-assigned unique ID for this managed resource.
- 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
. - id String
- The provider-assigned unique ID for this managed resource.
- status "ENABLED" | "DISABLE_IN_PROGRESS"
- Whether the delegated Security Hub administrator is set for the organization.
Supporting Types
DelegatedAdminStatus, DelegatedAdminStatusArgs
- Enabled
- ENABLED
- Disable
In Progress - DISABLE_IN_PROGRESS
- Delegated
Admin Status Enabled - ENABLED
- Delegated
Admin Status Disable In Progress - DISABLE_IN_PROGRESS
- Enabled
- ENABLED
- Disable
In Progress - DISABLE_IN_PROGRESS
- Enabled
- ENABLED
- Disable
In Progress - DISABLE_IN_PROGRESS
- ENABLED
- ENABLED
- DISABLE_IN_PROGRESS
- DISABLE_IN_PROGRESS
- "ENABLED"
- ENABLED
- "DISABLE_IN_PROGRESS"
- DISABLE_IN_PROGRESS
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.