Interface CfnPolicyGrant.PolicyGrantDetailProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyGrant.PolicyGrantDetailProperty.Jsii$Proxy
- Enclosing class:
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 createEnvironment;
Object createEnvironmentFromBlueprint;
Object delegateCreateEnvironmentProfile;
PolicyGrantDetailProperty policyGrantDetailProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicyGrant.PolicyGrantDetailPropertystatic final classAn implementation forCfnPolicyGrant.PolicyGrantDetailProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies that the policy grant is to be added to the members of the project.default ObjectSpecifies that this is a create asset type policy.default ObjectSpecifies that this is a create domain unit policy.default ObjectSpecifies that this is a create environment policy.default ObjectThe details of the policy of creating an environment.default ObjectSpecifies that this is a create environment profile policy.default ObjectSpecifies that this is a create form type policy.default ObjectSpecifies that this is a create glossary policy.default ObjectSpecifies that this is a create project policy.default ObjectSpecifies whether to create a project from project profile.default ObjectSpecifies that this is the delegation of the create environment profile policy.default ObjectSpecifies whether to override domain unit owners.default ObjectSpecifies whether to override project owners.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddToProjectMemberPool
Specifies that the policy grant is to be added to the members of the project.Returns union: either
IResolvableorCfnPolicyGrant.AddToProjectMemberPoolPolicyGrantDetailProperty- See Also:
-
getCreateAssetType
Specifies that this is a create asset type policy.Returns union: either
IResolvableorCfnPolicyGrant.CreateAssetTypePolicyGrantDetailProperty- See Also:
-
getCreateDomainUnit
Specifies that this is a create domain unit policy.Returns union: either
IResolvableorCfnPolicyGrant.CreateDomainUnitPolicyGrantDetailProperty- See Also:
-
getCreateEnvironment
Specifies that this is a create environment policy.- See Also:
-
getCreateEnvironmentFromBlueprint
The details of the policy of creating an environment.- See Also:
-
getCreateEnvironmentProfile
Specifies that this is a create environment profile policy.Returns union: either
IResolvableorCfnPolicyGrant.CreateEnvironmentProfilePolicyGrantDetailProperty- See Also:
-
getCreateFormType
Specifies that this is a create form type policy.Returns union: either
IResolvableorCfnPolicyGrant.CreateFormTypePolicyGrantDetailProperty- See Also:
-
getCreateGlossary
Specifies that this is a create glossary policy.Returns union: either
IResolvableorCfnPolicyGrant.CreateGlossaryPolicyGrantDetailProperty- See Also:
-
getCreateProject
Specifies that this is a create project policy.Returns union: either
IResolvableorCfnPolicyGrant.CreateProjectPolicyGrantDetailProperty- See Also:
-
getCreateProjectFromProjectProfile
Specifies whether to create a project from project profile.Returns union: either
IResolvableorCfnPolicyGrant.CreateProjectFromProjectProfilePolicyGrantDetailProperty- See Also:
-
getDelegateCreateEnvironmentProfile
Specifies that this is the delegation of the create environment profile policy.- See Also:
-
getOverrideDomainUnitOwners
Specifies whether to override domain unit owners.Returns union: either
IResolvableorCfnPolicyGrant.OverrideDomainUnitOwnersPolicyGrantDetailProperty- See Also:
-
getOverrideProjectOwners
Specifies whether to override project owners.Returns union: either
IResolvableorCfnPolicyGrant.OverrideProjectOwnersPolicyGrantDetailProperty- See Also:
-
builder
-