Class CfnDelegatedAdmin

All Implemented Interfaces:
IInspectable,, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:09.741Z") @Stability(Stable) public class CfnDelegatedAdmin extends CfnResource implements IInspectable
The AWS::SecurityHub::DelegatedAdmin resource designates the delegated AWS Security Hub administrator account for an organization.

You must enable the integration between Security Hub and AWS Organizations before you can designate a delegated Security Hub administrator. Only the management account for an organization can designate the delegated Security Hub administrator account. For more information, see Designating the delegated Security Hub administrator in the AWS Security Hub 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 AWS CloudFormation mappings .

Tags aren't supported for this resource.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnDelegatedAdmin cfnDelegatedAdmin = CfnDelegatedAdmin.Builder.create(this, "MyCfnDelegatedAdmin")

See Also:
  • Field Details


      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnDelegatedAdmin

      protected CfnDelegatedAdmin( objRef)
    • CfnDelegatedAdmin

      protected CfnDelegatedAdmin( initializationMode)
    • CfnDelegatedAdmin

      @Stability(Stable) public CfnDelegatedAdmin(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDelegatedAdminProps props)
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      renderProperties in class CfnResource
      props - This parameter is required.
    • getAttrDelegatedAdminIdentifier

      @Stability(Stable) @NotNull public String getAttrDelegatedAdminIdentifier()
      The ID of the delegated Security Hub administrator account, in the format of accountID/Region .
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      Whether the delegated Security Hub administrator is set for the organization.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      getCfnProperties in class CfnResource
    • getAdminAccountId

      @Stability(Stable) @NotNull public String getAdminAccountId()
      The AWS account identifier of the account to designate as the Security Hub administrator account.
    • setAdminAccountId

      @Stability(Stable) public void setAdminAccountId(@NotNull String value)
      The AWS account identifier of the account to designate as the Security Hub administrator account.