Interface CfnPolicyGrantMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyGrantMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.957Z")
@Stability(Stable)
public interface CfnPolicyGrantMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPolicyGrantPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.datazone.*;
Object allDomainUnitsGrantFilter;
Object allUsersGrantFilter;
Object createEnvironment;
Object createEnvironmentFromBlueprint;
Object delegateCreateEnvironmentProfile;
CfnPolicyGrantMixinProps cfnPolicyGrantMixinProps = CfnPolicyGrantMixinProps.builder()
.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())
.domainIdentifier("domainIdentifier")
.entityIdentifier("entityIdentifier")
.entityType("entityType")
.policyType("policyType")
.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")
.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 classA builder forCfnPolicyGrantMixinPropsstatic final classAn implementation forCfnPolicyGrantMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe details of the policy grant member.default StringThe ID of the domain where you want to add a policy grant.default StringThe ID of the entity (resource) to which you want to add a policy grant.default StringThe type of entity (resource) to which the grant is added.default StringThe type of policy that you want to grant.default ObjectThe principal of the policy grant member.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDetail
The details of the policy grant member.Returns union: either
IResolvableorCfnPolicyGrantPropsMixin.PolicyGrantDetailProperty- See Also:
-
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:
-
getPrincipal
The principal of the policy grant member.Returns union: either
IResolvableorCfnPolicyGrantPropsMixin.PolicyGrantPrincipalProperty- See Also:
-
builder
- Returns:
- a
CfnPolicyGrantMixinProps.BuilderofCfnPolicyGrantMixinProps
-