CfnPolicyGrantPropsMixin
- class aws_cdk.mixins_preview.aws_datazone.mixins.CfnPolicyGrantPropsMixin(props, *, strategy=None)
Bases:
MixinAdds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html
- CloudformationResource:
AWS::DataZone::PolicyGrant
- Mixin:
true
- 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 import mixins 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_props_mixin = datazone_mixins.CfnPolicyGrantPropsMixin(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" ) ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DataZone::PolicyGrant.- Parameters:
props (
Union[CfnPolicyGrantMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['detail', 'domainIdentifier', 'entityIdentifier', 'entityType', 'policyType', 'principal']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AddToProjectMemberPoolPolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.AddToProjectMemberPoolPolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe details of the policy grant.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy grant is applied to child domain units.- See:
- 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 add_to_project_member_pool_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.AddToProjectMemberPoolPolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy grant is applied to child domain units.
CreateAssetTypePolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.CreateAssetTypePolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe details of the policy grant.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy grant is applied to child domain units.- See:
- 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 create_asset_type_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateAssetTypePolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy grant is applied to child domain units.
CreateDomainUnitPolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.CreateDomainUnitPolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe details of the policy grant.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy grant is applied to child domain units.- See:
- 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 create_domain_unit_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateDomainUnitPolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy grant is applied to child domain units.
CreateEnvironmentProfilePolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.CreateEnvironmentProfilePolicyGrantDetailProperty(*, domain_unit_id=None)
Bases:
objectThe details of the policy grant.
- Parameters:
domain_unit_id (
Optional[str]) – The ID of the domain unit.- See:
- 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 create_environment_profile_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateEnvironmentProfilePolicyGrantDetailProperty( domain_unit_id="domainUnitId" )
Attributes
CreateFormTypePolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.CreateFormTypePolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe details of the policy grant.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy grant is applied to child domain units.- See:
- 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 create_form_type_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateFormTypePolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy grant is applied to child domain units.
CreateGlossaryPolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.CreateGlossaryPolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe details of the policy grant.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy grant is applied to child domain units.- See:
- 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 create_glossary_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateGlossaryPolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy grant is applied to child domain units.
CreateProjectFromProjectProfilePolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.CreateProjectFromProjectProfilePolicyGrantDetailProperty(*, include_child_domain_units=None, project_profiles=None)
Bases:
objectSpecifies whether to create a project from project profile policy grant details.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether to include child domain units when creating a project from project profile policy grant details.project_profiles (
Optional[Sequence[str]]) – Specifies project profiles when creating a project from project profile policy grant details.
- See:
- 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 create_project_from_project_profile_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateProjectFromProjectProfilePolicyGrantDetailProperty( include_child_domain_units=False, project_profiles=["projectProfiles"] )
Attributes
- include_child_domain_units
Specifies whether to include child domain units when creating a project from project profile policy grant details.
- project_profiles
Specifies project profiles when creating a project from project profile policy grant details.
CreateProjectPolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.CreateProjectPolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe details of the policy grant.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy grant is applied to child domain units.- See:
- 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 create_project_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateProjectPolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy grant is applied to child domain units.
DomainUnitFilterForProjectProperty
- class CfnPolicyGrantPropsMixin.DomainUnitFilterForProjectProperty(*, domain_unit=None, include_child_domain_units=None)
Bases:
objectThe domain unit filter of the project grant filter.
- Parameters:
domain_unit (
Optional[str]) – The domain unit ID to use in the filter.include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether to include child domain units. Default: - false
- See:
- 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 domain_unit_filter_for_project_property = datazone_mixins.CfnPolicyGrantPropsMixin.DomainUnitFilterForProjectProperty( domain_unit="domainUnit", include_child_domain_units=False )
Attributes
- domain_unit
The domain unit ID to use in the filter.
- include_child_domain_units
Specifies whether to include child domain units.
DomainUnitGrantFilterProperty
- class CfnPolicyGrantPropsMixin.DomainUnitGrantFilterProperty(*, all_domain_units_grant_filter=None)
Bases:
objectThe grant filter for the domain unit.
In the current release of Amazon DataZone, the only supported filter is the
allDomainUnitsGrantFilter.- Parameters:
all_domain_units_grant_filter (
Any) – Specifies a grant filter containing all domain units.- See:
- 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 domain_unit_grant_filter_property = datazone_mixins.CfnPolicyGrantPropsMixin.DomainUnitGrantFilterProperty( all_domain_units_grant_filter=all_domain_units_grant_filter )
Attributes
- all_domain_units_grant_filter
Specifies a grant filter containing all domain units.
DomainUnitPolicyGrantPrincipalProperty
- class CfnPolicyGrantPropsMixin.DomainUnitPolicyGrantPrincipalProperty(*, domain_unit_designation=None, domain_unit_grant_filter=None, domain_unit_identifier=None)
Bases:
objectThe domain unit principal to whom the policy is granted.
- Parameters:
domain_unit_designation (
Optional[str]) – Specifes the designation of the domain unit users.domain_unit_grant_filter (
Union[IResolvable,DomainUnitGrantFilterProperty,Dict[str,Any],None]) – The grant filter for the domain unit.domain_unit_identifier (
Optional[str]) – The ID of the domain unit.
- See:
- 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 domain_unit_policy_grant_principal_property = 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" )
Attributes
- domain_unit_designation
Specifes the designation of the domain unit users.
- domain_unit_grant_filter
The grant filter for the domain unit.
- domain_unit_identifier
The ID of the domain unit.
GroupPolicyGrantPrincipalProperty
- class CfnPolicyGrantPropsMixin.GroupPolicyGrantPrincipalProperty(*, group_identifier=None)
Bases:
objectThe group principal to whom the policy is granted.
- Parameters:
group_identifier (
Optional[str]) – The ID Of the group of the group principal.- See:
- 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 group_policy_grant_principal_property = datazone_mixins.CfnPolicyGrantPropsMixin.GroupPolicyGrantPrincipalProperty( group_identifier="groupIdentifier" )
Attributes
- group_identifier
The ID Of the group of the group principal.
OverrideDomainUnitOwnersPolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.OverrideDomainUnitOwnersPolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe grant details of the override domain unit owners policy.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy is inherited by child domain units.- See:
- 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 override_domain_unit_owners_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.OverrideDomainUnitOwnersPolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy is inherited by child domain units.
OverrideProjectOwnersPolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.OverrideProjectOwnersPolicyGrantDetailProperty(*, include_child_domain_units=None)
Bases:
objectThe details of the override project owners policy grant.
- Parameters:
include_child_domain_units (
Union[bool,IResolvable,None]) – Specifies whether the policy is inherited by child domain units.- See:
- 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 override_project_owners_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.OverrideProjectOwnersPolicyGrantDetailProperty( include_child_domain_units=False )
Attributes
- include_child_domain_units
Specifies whether the policy is inherited by child domain units.
PolicyGrantDetailProperty
- class CfnPolicyGrantPropsMixin.PolicyGrantDetailProperty(*, add_to_project_member_pool=None, create_asset_type=None, create_domain_unit=None, create_environment=None, create_environment_from_blueprint=None, create_environment_profile=None, create_form_type=None, create_glossary=None, create_project=None, create_project_from_project_profile=None, delegate_create_environment_profile=None, override_domain_unit_owners=None, override_project_owners=None)
Bases:
objectThe details of the policy grant.
- Parameters:
add_to_project_member_pool (
Union[IResolvable,AddToProjectMemberPoolPolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies that the policy grant is to be added to the members of the project.create_asset_type (
Union[IResolvable,CreateAssetTypePolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies that this is a create asset type policy.create_domain_unit (
Union[IResolvable,CreateDomainUnitPolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies that this is a create domain unit policy.create_environment (
Any) – Specifies that this is a create environment policy.create_environment_from_blueprint (
Any) – The details of the policy of creating an environment.create_environment_profile (
Union[IResolvable,CreateEnvironmentProfilePolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies that this is a create environment profile policy.create_form_type (
Union[IResolvable,CreateFormTypePolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies that this is a create form type policy.create_glossary (
Union[IResolvable,CreateGlossaryPolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies that this is a create glossary policy.create_project (
Union[IResolvable,CreateProjectPolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies that this is a create project policy.create_project_from_project_profile (
Union[IResolvable,CreateProjectFromProjectProfilePolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies whether to create a project from project profile.delegate_create_environment_profile (
Any) – Specifies that this is the delegation of the create environment profile policy.override_domain_unit_owners (
Union[IResolvable,OverrideDomainUnitOwnersPolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies whether to override domain unit owners.override_project_owners (
Union[IResolvable,OverrideProjectOwnersPolicyGrantDetailProperty,Dict[str,Any],None]) – Specifies whether to override project owners.
- See:
- 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 # create_environment: Any # create_environment_from_blueprint: Any # delegate_create_environment_profile: Any policy_grant_detail_property = 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 ) )
Attributes
- add_to_project_member_pool
Specifies that the policy grant is to be added to the members of the project.
- create_asset_type
Specifies that this is a create asset type policy.
- create_domain_unit
Specifies that this is a create domain unit policy.
- create_environment
Specifies that this is a create environment policy.
- create_environment_from_blueprint
The details of the policy of creating an environment.
- create_environment_profile
Specifies that this is a create environment profile policy.
- create_form_type
Specifies that this is a create form type policy.
- create_glossary
Specifies that this is a create glossary policy.
- create_project
Specifies that this is a create project policy.
- create_project_from_project_profile
Specifies whether to create a project from project profile.
- delegate_create_environment_profile
Specifies that this is the delegation of the create environment profile policy.
- override_domain_unit_owners
Specifies whether to override domain unit owners.
- override_project_owners
Specifies whether to override project owners.
PolicyGrantPrincipalProperty
- class CfnPolicyGrantPropsMixin.PolicyGrantPrincipalProperty(*, domain_unit=None, group=None, project=None, user=None)
Bases:
objectThe policy grant principal.
- Parameters:
domain_unit (
Union[IResolvable,DomainUnitPolicyGrantPrincipalProperty,Dict[str,Any],None]) – The domain unit of the policy grant principal.group (
Union[IResolvable,GroupPolicyGrantPrincipalProperty,Dict[str,Any],None]) – The group of the policy grant principal.project (
Union[IResolvable,ProjectPolicyGrantPrincipalProperty,Dict[str,Any],None]) – The project of the policy grant principal.user (
Union[IResolvable,UserPolicyGrantPrincipalProperty,Dict[str,Any],None]) – The user of the policy grant principal.
- See:
- 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 policy_grant_principal_property = 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
- domain_unit
The domain unit of the policy grant principal.
- group
The group of the policy grant principal.
- project
The project of the policy grant principal.
- user
The user of the policy grant principal.
ProjectGrantFilterProperty
- class CfnPolicyGrantPropsMixin.ProjectGrantFilterProperty(*, domain_unit_filter=None)
Bases:
objectThe project grant filter.
- Parameters:
domain_unit_filter (
Union[IResolvable,DomainUnitFilterForProjectProperty,Dict[str,Any],None]) – The domain unit filter of the project grant filter.- See:
- 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 project_grant_filter_property = datazone_mixins.CfnPolicyGrantPropsMixin.ProjectGrantFilterProperty( domain_unit_filter=datazone_mixins.CfnPolicyGrantPropsMixin.DomainUnitFilterForProjectProperty( domain_unit="domainUnit", include_child_domain_units=False ) )
Attributes
- domain_unit_filter
The domain unit filter of the project grant filter.
ProjectPolicyGrantPrincipalProperty
- class CfnPolicyGrantPropsMixin.ProjectPolicyGrantPrincipalProperty(*, project_designation=None, project_grant_filter=None, project_identifier=None)
Bases:
objectThe project policy grant principal.
- Parameters:
project_designation (
Optional[str]) – The project designation of the project policy grant principal.project_grant_filter (
Union[IResolvable,ProjectGrantFilterProperty,Dict[str,Any],None]) – The project grant filter of the project policy grant principal.project_identifier (
Optional[str]) – The project ID of the project policy grant principal.
- See:
- 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 project_policy_grant_principal_property = 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" )
Attributes
- project_designation
The project designation of the project policy grant principal.
- project_grant_filter
The project grant filter of the project policy grant principal.
- project_identifier
The project ID of the project policy grant principal.
UserPolicyGrantPrincipalProperty
- class CfnPolicyGrantPropsMixin.UserPolicyGrantPrincipalProperty(*, all_users_grant_filter=None, user_identifier=None)
Bases:
objectThe user policy grant principal.
- Parameters:
all_users_grant_filter (
Any) – The all users grant filter of the user policy grant principal.user_identifier (
Optional[str]) – The user ID of the user policy grant principal.
- See:
- 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_users_grant_filter: Any user_policy_grant_principal_property = datazone_mixins.CfnPolicyGrantPropsMixin.UserPolicyGrantPrincipalProperty( all_users_grant_filter=all_users_grant_filter, user_identifier="userIdentifier" )
Attributes
- all_users_grant_filter
The all users grant filter of the user policy grant principal.
- user_identifier
The user ID of the user policy grant principal.