Interface CfnPolicyGrantProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyGrantProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:29.424Z")
@Stability(Stable)
public interface CfnPolicyGrantProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPolicyGrant
.
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.datazone.*; Object allDomainUnitsGrantFilter; Object allUsersGrantFilter; Object createEnvironment; Object createEnvironmentFromBlueprint; Object delegateCreateEnvironmentProfile; CfnPolicyGrantProps cfnPolicyGrantProps = CfnPolicyGrantProps.builder() .domainIdentifier("domainIdentifier") .entityIdentifier("entityIdentifier") .entityType("entityType") .policyType("policyType") // the properties below are optional .detail(PolicyGrantDetailProperty.builder() .addToProjectMemberPool(AddToProjectMemberPoolPolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .createAssetType(CreateAssetTypePolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .createDomainUnit(CreateDomainUnitPolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .createEnvironment(createEnvironment) .createEnvironmentFromBlueprint(createEnvironmentFromBlueprint) .createEnvironmentProfile(CreateEnvironmentProfilePolicyGrantDetailProperty.builder() .domainUnitId("domainUnitId") .build()) .createFormType(CreateFormTypePolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .createGlossary(CreateGlossaryPolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .createProject(CreateProjectPolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .createProjectFromProjectProfile(CreateProjectFromProjectProfilePolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .projectProfiles(List.of("projectProfiles")) .build()) .delegateCreateEnvironmentProfile(delegateCreateEnvironmentProfile) .overrideDomainUnitOwners(OverrideDomainUnitOwnersPolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .overrideProjectOwners(OverrideProjectOwnersPolicyGrantDetailProperty.builder() .includeChildDomainUnits(false) .build()) .build()) .principal(PolicyGrantPrincipalProperty.builder() .domainUnit(DomainUnitPolicyGrantPrincipalProperty.builder() .domainUnitDesignation("domainUnitDesignation") .domainUnitGrantFilter(DomainUnitGrantFilterProperty.builder() .allDomainUnitsGrantFilter(allDomainUnitsGrantFilter) .build()) .domainUnitIdentifier("domainUnitIdentifier") .build()) .group(GroupPolicyGrantPrincipalProperty.builder() .groupIdentifier("groupIdentifier") .build()) .project(ProjectPolicyGrantPrincipalProperty.builder() .projectDesignation("projectDesignation") .projectGrantFilter(ProjectGrantFilterProperty.builder() .domainUnitFilter(DomainUnitFilterForProjectProperty.builder() .domainUnit("domainUnit") // the properties below are optional .includeChildDomainUnits(false) .build()) .build()) .projectIdentifier("projectIdentifier") .build()) .user(UserPolicyGrantPrincipalProperty.builder() .allUsersGrantFilter(allUsersGrantFilter) .userIdentifier("userIdentifier") .build()) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPolicyGrantProps
static final class
An implementation forCfnPolicyGrantProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPolicyGrantProps.Builder
builder()
default Object
The details of the policy grant member.The ID of the domain where you want to add a policy grant.The ID of the entity (resource) to which you want to add a policy grant.The type of entity (resource) to which the grant is added.The type of policy that you want to grant.default Object
The principal of the policy grant member.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainIdentifier
The ID of the domain where you want to add a policy grant.- See Also:
-
getEntityIdentifier
The ID of the entity (resource) to which you want to add a policy grant.- See Also:
-
getEntityType
The type of entity (resource) to which the grant is added.- See Also:
-
getPolicyType
The type of policy that you want to grant.- See Also:
-
getDetail
The details of the policy grant member.- See Also:
-
getPrincipal
The principal of the policy grant member.- See Also:
-
builder
- Returns:
- a
CfnPolicyGrantProps.Builder
ofCfnPolicyGrantProps
-