CfnPolicyAssociationProps
- class aws_cdk.aws_securityhub.CfnPolicyAssociationProps(*, configuration_policy_id, target_id, target_type)
Bases:
object
Properties for defining a
CfnPolicyAssociation
.- Parameters:
configuration_policy_id (
str
) – The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration.target_id (
str
) – The identifier of the target account, organizational unit, or the root.target_type (
str
) – Indicates whether the target is an AWS account, organizational unit, or the organization root.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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_policy_association_props = securityhub.CfnPolicyAssociationProps( configuration_policy_id="configurationPolicyId", target_id="targetId", target_type="targetType" )
Attributes
- configuration_policy_id
The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration.
- target_id
The identifier of the target account, organizational unit, or the root.
- target_type
Indicates whether the target is an AWS account, organizational unit, or the organization root.