Interface CfnPolicyAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:20.545Z")
@Stability(Stable)
public interface CfnPolicyAssociationProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.securityhub.*;
CfnPolicyAssociationProps cfnPolicyAssociationProps = CfnPolicyAssociationProps.builder()
.configurationPolicyId("configurationPolicyId")
.targetId("targetId")
.targetType("targetType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicyAssociationPropsstatic final classAn implementation forCfnPolicyAssociationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The universally unique identifier (UUID) of the configuration policy.The identifier of the target account, organizational unit, or the root.Specifies whether the target is an AWS account , organizational unit, or the root.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationPolicyId
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.- See Also:
-
getTargetId
The identifier of the target account, organizational unit, or the root.- See Also:
-
getTargetType
Specifies whether the target is an AWS account , organizational unit, or the root.- See Also:
-
builder
- Returns:
- a
CfnPolicyAssociationProps.BuilderofCfnPolicyAssociationProps
-