CfnPolicyGrantMixinProps
- class aws_cdk.mixins_preview.aws_datazone.mixins.CfnPolicyGrantMixinProps(*, detail=None, domain_identifier=None, entity_identifier=None, entity_type=None, policy_type=None, principal=None)
Bases:
objectProperties for CfnPolicyGrantPropsMixin.
- Parameters:
detail (
Union[IResolvable,PolicyGrantDetailProperty,Dict[str,Any],None]) – The details of the policy grant member.domain_identifier (
Optional[str]) – The ID of the domain where you want to add a policy grant.entity_identifier (
Optional[str]) – The ID of the entity (resource) to which you want to add a policy grant.entity_type (
Optional[str]) – The type of entity (resource) to which the grant is added.policy_type (
Optional[str]) – The type of policy that you want to grant.principal (
Union[IResolvable,PolicyGrantPrincipalProperty,Dict[str,Any],None]) – The principal of the policy grant member.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_datazone import mixins as datazone_mixins # all_domain_units_grant_filter: Any # all_users_grant_filter: Any # create_environment: Any # create_environment_from_blueprint: Any # delegate_create_environment_profile: Any cfn_policy_grant_mixin_props = datazone_mixins.CfnPolicyGrantMixinProps( detail=datazone_mixins.CfnPolicyGrantPropsMixin.PolicyGrantDetailProperty( add_to_project_member_pool=datazone_mixins.CfnPolicyGrantPropsMixin.AddToProjectMemberPoolPolicyGrantDetailProperty( include_child_domain_units=False ), create_asset_type=datazone_mixins.CfnPolicyGrantPropsMixin.CreateAssetTypePolicyGrantDetailProperty( include_child_domain_units=False ), create_domain_unit=datazone_mixins.CfnPolicyGrantPropsMixin.CreateDomainUnitPolicyGrantDetailProperty( include_child_domain_units=False ), create_environment=create_environment, create_environment_from_blueprint=create_environment_from_blueprint, create_environment_profile=datazone_mixins.CfnPolicyGrantPropsMixin.CreateEnvironmentProfilePolicyGrantDetailProperty( domain_unit_id="domainUnitId" ), create_form_type=datazone_mixins.CfnPolicyGrantPropsMixin.CreateFormTypePolicyGrantDetailProperty( include_child_domain_units=False ), create_glossary=datazone_mixins.CfnPolicyGrantPropsMixin.CreateGlossaryPolicyGrantDetailProperty( include_child_domain_units=False ), create_project=datazone_mixins.CfnPolicyGrantPropsMixin.CreateProjectPolicyGrantDetailProperty( include_child_domain_units=False ), create_project_from_project_profile=datazone_mixins.CfnPolicyGrantPropsMixin.CreateProjectFromProjectProfilePolicyGrantDetailProperty( include_child_domain_units=False, project_profiles=["projectProfiles"] ), delegate_create_environment_profile=delegate_create_environment_profile, override_domain_unit_owners=datazone_mixins.CfnPolicyGrantPropsMixin.OverrideDomainUnitOwnersPolicyGrantDetailProperty( include_child_domain_units=False ), override_project_owners=datazone_mixins.CfnPolicyGrantPropsMixin.OverrideProjectOwnersPolicyGrantDetailProperty( include_child_domain_units=False ) ), domain_identifier="domainIdentifier", entity_identifier="entityIdentifier", entity_type="entityType", policy_type="policyType", principal=datazone_mixins.CfnPolicyGrantPropsMixin.PolicyGrantPrincipalProperty( domain_unit=datazone_mixins.CfnPolicyGrantPropsMixin.DomainUnitPolicyGrantPrincipalProperty( domain_unit_designation="domainUnitDesignation", domain_unit_grant_filter=datazone_mixins.CfnPolicyGrantPropsMixin.DomainUnitGrantFilterProperty( all_domain_units_grant_filter=all_domain_units_grant_filter ), domain_unit_identifier="domainUnitIdentifier" ), group=datazone_mixins.CfnPolicyGrantPropsMixin.GroupPolicyGrantPrincipalProperty( group_identifier="groupIdentifier" ), project=datazone_mixins.CfnPolicyGrantPropsMixin.ProjectPolicyGrantPrincipalProperty( project_designation="projectDesignation", project_grant_filter=datazone_mixins.CfnPolicyGrantPropsMixin.ProjectGrantFilterProperty( domain_unit_filter=datazone_mixins.CfnPolicyGrantPropsMixin.DomainUnitFilterForProjectProperty( domain_unit="domainUnit", include_child_domain_units=False ) ), project_identifier="projectIdentifier" ), user=datazone_mixins.CfnPolicyGrantPropsMixin.UserPolicyGrantPrincipalProperty( all_users_grant_filter=all_users_grant_filter, user_identifier="userIdentifier" ) ) )
Attributes
- detail
The details of the policy grant member.
- domain_identifier
The ID of the domain where you want to add a policy grant.
- entity_identifier
The ID of the entity (resource) to which you want to add a policy grant.
- entity_type
The type of entity (resource) to which the grant is added.
- policy_type
The type of policy that you want to grant.
- principal
The principal of the policy grant member.