CfnDelegatedAdminProps Struct
Properties for defining a CfnDelegatedAdmin.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const cfnDelegatedAdminProps: securityhub.CfnDelegatedAdminProps = {
adminAccountId: 'adminAccountId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityhub as securityhub
cfn_delegated_admin_props = securityhub.CfnDelegatedAdminProps(
admin_account_id="adminAccountId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;
CfnDelegatedAdminProps cfnDelegatedAdminProps = CfnDelegatedAdminProps.builder()
.adminAccountId("adminAccountId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnDelegatedAdminProps = new CfnDelegatedAdminProps {
AdminAccountId = "adminAccountId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnDelegatedAdminProps := &CfnDelegatedAdminProps{
AdminAccountId: jsii.String("adminAccountId"),
}
Properties
adminAccountIdstringadmin_account_idstradminAccountIdStringAdminAccountIdstringAdminAccountId*string required #The AWS account identifier of the account to designate as the Security Hub CSPM administrator account.