Interface CfnPolicyAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:05.431Z")
@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 class
A builder forCfnPolicyAssociationProps
static final class
An 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.Builder
ofCfnPolicyAssociationProps
-