Class CfnPolicyGrantPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.core.Mixin
software.amazon.awscdk.mixins.preview.services.datazone.mixins.CfnPolicyGrantPropsMixin
- All Implemented Interfaces:
IMixin,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:24.696Z")
@Stability(Stable)
public class CfnPolicyGrantPropsMixin
extends Mixin
implements IMixin
Adds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.mixins.*;
import software.amazon.awscdk.mixins.preview.services.datazone.mixins.*;
Object allDomainUnitsGrantFilter;
Object allUsersGrantFilter;
Object createEnvironment;
Object createEnvironmentFromBlueprint;
Object delegateCreateEnvironmentProfile;
CfnPolicyGrantPropsMixin cfnPolicyGrantPropsMixin = CfnPolicyGrantPropsMixin.Builder.create(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())
.strategy(PropertyMergeStrategy.OVERRIDE)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe details of the policy grant.static final classA fluent builder forCfnPolicyGrantPropsMixin.static interfaceThe details of the policy grant.static interfaceThe details of the policy grant.static interfaceThe details of the policy grant.static interfaceThe details of the policy grant.static interfaceThe details of the policy grant.static interfaceSpecifies whether to create a project from project profile policy grant details.static interfaceThe details of the policy grant.static interfaceThe domain unit filter of the project grant filter.static interfaceThe grant filter for the domain unit.static interfaceThe domain unit principal to whom the policy is granted.static interfaceThe group principal to whom the policy is granted.static interfaceThe grant details of the override domain unit owners policy.static interfaceThe details of the override project owners policy grant.static interfaceThe details of the policy grant.static interfaceThe policy grant principal.static interfaceThe project grant filter.static interfaceThe project policy grant principal.static interfaceThe user policy grant principal.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.mixins.preview.core.IMixin
IMixin.Jsii$Default, IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::DataZone::PolicyGrant.CfnPolicyGrantPropsMixin(CfnPolicyGrantMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::DataZone::PolicyGrant.protectedCfnPolicyGrantPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPolicyGrantPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.constructs.IConstructapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnPolicyGrantMixinPropsgetProps()protected PropertyMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnPolicyGrantPropsMixin
protected CfnPolicyGrantPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPolicyGrantPropsMixin
protected CfnPolicyGrantPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPolicyGrantPropsMixin
@Stability(Stable) public CfnPolicyGrantPropsMixin(@NotNull CfnPolicyGrantMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::DataZone::PolicyGrant.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnPolicyGrantPropsMixin
Create a mixin to apply properties toAWS::DataZone::PolicyGrant.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) @NotNull public software.constructs.IConstruct applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-