Class CfnPolicyAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnPolicyAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyAssociationPropsMixin>
- Enclosing class:
CfnPolicyAssociationPropsMixin
@Stability(Stable)
public static final class CfnPolicyAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyAssociationPropsMixin>
A fluent builder for
CfnPolicyAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()configurationPolicyId(String configurationPolicyId) The universally unique identifier (UUID) of the configuration policy.create()create(CfnPropertyMixinOptions options) The identifier of the target account, organizational unit, or the root.targetType(String targetType) Specifies whether the target is an AWS account , organizational unit, or the root.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPolicyAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPolicyAssociationPropsMixin.Builder.
-
configurationPolicyId
@Stability(Stable) public CfnPolicyAssociationPropsMixin.Builder configurationPolicyId(String configurationPolicyId) 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.- Parameters:
configurationPolicyId- The universally unique identifier (UUID) of the configuration policy. This parameter is required.- Returns:
this- See Also:
-
targetId
The identifier of the target account, organizational unit, or the root.- Parameters:
targetId- The identifier of the target account, organizational unit, or the root. This parameter is required.- Returns:
this- See Also:
-
targetType
Specifies whether the target is an AWS account , organizational unit, or the root.- Parameters:
targetType- Specifies whether the target is an AWS account , organizational unit, or the root. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyAssociationPropsMixin>- Returns:
- a newly built instance of
CfnPolicyAssociationPropsMixin.
-