Class CfnPolicyGrant.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnPolicyGrant.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyGrant>
- Enclosing class:
CfnPolicyGrant
@Stability(Stable)
public static final class CfnPolicyGrant.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyGrant>
A fluent builder for
CfnPolicyGrant
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPolicyGrant.Builder
detail
(IResolvable detail) The details of the policy grant member.The details of the policy grant member.domainIdentifier
(String domainIdentifier) The ID of the domain where you want to add a policy grant.entityIdentifier
(String entityIdentifier) The ID of the entity (resource) to which you want to add a policy grant.entityType
(String entityType) The type of entity (resource) to which the grant is added.policyType
(String policyType) The type of policy that you want to grant.principal
(IResolvable principal) The principal of the policy grant member.The principal of the policy grant member.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyGrant.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPolicyGrant.Builder
.
-
domainIdentifier
The ID of the domain where you want to add a policy grant.- Parameters:
domainIdentifier
- The ID of the domain where you want to add a policy grant. This parameter is required.- Returns:
this
- See Also:
-
entityIdentifier
The ID of the entity (resource) to which you want to add a policy grant.- Parameters:
entityIdentifier
- The ID of the entity (resource) to which you want to add a policy grant. This parameter is required.- Returns:
this
- See Also:
-
entityType
The type of entity (resource) to which the grant is added.- Parameters:
entityType
- The type of entity (resource) to which the grant is added. This parameter is required.- Returns:
this
- See Also:
-
policyType
The type of policy that you want to grant.- Parameters:
policyType
- The type of policy that you want to grant. This parameter is required.- Returns:
this
- See Also:
-
detail
The details of the policy grant member.- Parameters:
detail
- The details of the policy grant member. This parameter is required.- Returns:
this
- See Also:
-
detail
@Stability(Stable) public CfnPolicyGrant.Builder detail(CfnPolicyGrant.PolicyGrantDetailProperty detail) The details of the policy grant member.- Parameters:
detail
- The details of the policy grant member. This parameter is required.- Returns:
this
- See Also:
-
principal
The principal of the policy grant member.- Parameters:
principal
- The principal of the policy grant member. This parameter is required.- Returns:
this
- See Also:
-
principal
@Stability(Stable) public CfnPolicyGrant.Builder principal(CfnPolicyGrant.PolicyGrantPrincipalProperty principal) The principal of the policy grant member.- Parameters:
principal
- The principal of the policy grant member. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicyGrant>
- Returns:
- a newly built instance of
CfnPolicyGrant
.
-