Class CfnDelegatedAdmin
The AWS::SecurityHub::DelegatedAdmin
resource designates the delegated AWS Security Hub administrator account for an organization.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDelegatedAdmin : CfnResource, IInspectable
Syntax (vb)
Public Class CfnDelegatedAdmin
Inherits CfnResource
Implements IInspectable
Remarks
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.
CloudformationResource: AWS::SecurityHub::DelegatedAdmin
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;
var cfnDelegatedAdmin = new CfnDelegatedAdmin(this, "MyCfnDelegatedAdmin", new CfnDelegatedAdminProps {
AdminAccountId = "adminAccountId"
});
Synopsis
Constructors
CfnDelegatedAdmin(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDelegatedAdmin(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnDelegatedAdmin(Construct, String, ICfnDelegatedAdminProps) |
Properties
AdminAccountId | The AWS account identifier of the account to designate as the Security Hub administrator account. |
AttrDelegatedAdminIdentifier | The ID of the delegated Security Hub administrator account, in the format of |
AttrStatus | Whether the delegated Security Hub administrator is set for the organization. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDelegatedAdmin(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDelegatedAdmin(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDelegatedAdmin(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDelegatedAdmin(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnDelegatedAdmin(Construct, String, ICfnDelegatedAdminProps)
public CfnDelegatedAdmin(Construct scope, string id, ICfnDelegatedAdminProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnDelegatedAdminProps
Resource properties.
Properties
AdminAccountId
The AWS account identifier of the account to designate as the Security Hub administrator account.
public virtual string AdminAccountId { get; set; }
Property Value
System.String
AttrDelegatedAdminIdentifier
The ID of the delegated Security Hub administrator account, in the format of accountID/Region
.
public virtual string AttrDelegatedAdminIdentifier { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DelegatedAdminIdentifier
AttrStatus
Whether the delegated Security Hub administrator is set for the organization.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>