interface CfnPolicyAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SecurityHub.CfnPolicyAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnPolicyAssociationProps |
Java | software.amazon.awscdk.services.securityhub.CfnPolicyAssociationProps |
Python | aws_cdk.aws_securityhub.CfnPolicyAssociationProps |
TypeScript | aws-cdk-lib » aws_securityhub » CfnPolicyAssociationProps |
Properties for defining a CfnPolicyAssociation.
Example
// 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 cfnPolicyAssociationProps: securityhub.CfnPolicyAssociationProps = {
configurationPolicyId: 'configurationPolicyId',
targetId: 'targetId',
targetType: 'targetType',
};
Properties
| Name | Type | Description |
|---|---|---|
| configuration | string | The universally unique identifier (UUID) of the configuration policy. |
| target | string | The identifier of the target account, organizational unit, or the root. |
| target | string | Specifies whether the target is an AWS account , organizational unit, or the root. |
configurationPolicyId
Type:
string
The universally unique identifier (UUID) of the configuration policy.
A self-managed configuration has no UUID. The identifier of a self-managed configuration is SELF_MANAGED_SECURITY_HUB .
targetId
Type:
string
The identifier of the target account, organizational unit, or the root.
targetType
Type:
string
Specifies whether the target is an AWS account , organizational unit, or the root.

.NET
Go
Java
Python
TypeScript