CfnPolicyGrantPropsMixin

class aws_cdk.mixins_preview.aws_datazone.mixins.CfnPolicyGrantPropsMixin(props, *, strategy=None)

Bases: Mixin

Adds 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:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AddToProjectMemberPoolPolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.AddToProjectMemberPoolPolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-addtoprojectmemberpoolpolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-addtoprojectmemberpoolpolicygrantdetail.html#cfn-datazone-policygrant-addtoprojectmemberpoolpolicygrantdetail-includechilddomainunits

CreateAssetTypePolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.CreateAssetTypePolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createassettypepolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createassettypepolicygrantdetail.html#cfn-datazone-policygrant-createassettypepolicygrantdetail-includechilddomainunits

CreateDomainUnitPolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.CreateDomainUnitPolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createdomainunitpolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createdomainunitpolicygrantdetail.html#cfn-datazone-policygrant-createdomainunitpolicygrantdetail-includechilddomainunits

CreateEnvironmentProfilePolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.CreateEnvironmentProfilePolicyGrantDetailProperty(*, domain_unit_id=None)

Bases: object

The details of the policy grant.

Parameters:

domain_unit_id (Optional[str]) – The ID of the domain unit.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createenvironmentprofilepolicygrantdetail.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

create_environment_profile_policy_grant_detail_property = datazone_mixins.CfnPolicyGrantPropsMixin.CreateEnvironmentProfilePolicyGrantDetailProperty(
    domain_unit_id="domainUnitId"
)

Attributes

domain_unit_id

The ID of the domain unit.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createenvironmentprofilepolicygrantdetail.html#cfn-datazone-policygrant-createenvironmentprofilepolicygrantdetail-domainunitid

CreateFormTypePolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.CreateFormTypePolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createformtypepolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createformtypepolicygrantdetail.html#cfn-datazone-policygrant-createformtypepolicygrantdetail-includechilddomainunits

CreateGlossaryPolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.CreateGlossaryPolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createglossarypolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createglossarypolicygrantdetail.html#cfn-datazone-policygrant-createglossarypolicygrantdetail-includechilddomainunits

CreateProjectFromProjectProfilePolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.CreateProjectFromProjectProfilePolicyGrantDetailProperty(*, include_child_domain_units=None, project_profiles=None)

Bases: object

Specifies 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectfromprojectprofilepolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectfromprojectprofilepolicygrantdetail.html#cfn-datazone-policygrant-createprojectfromprojectprofilepolicygrantdetail-includechilddomainunits

project_profiles

Specifies project profiles when creating a project from project profile policy grant details.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectfromprojectprofilepolicygrantdetail.html#cfn-datazone-policygrant-createprojectfromprojectprofilepolicygrantdetail-projectprofiles

CreateProjectPolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.CreateProjectPolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectpolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectpolicygrantdetail.html#cfn-datazone-policygrant-createprojectpolicygrantdetail-includechilddomainunits

DomainUnitFilterForProjectProperty

class CfnPolicyGrantPropsMixin.DomainUnitFilterForProjectProperty(*, domain_unit=None, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitfilterforproject.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitfilterforproject.html#cfn-datazone-policygrant-domainunitfilterforproject-domainunit

include_child_domain_units

Specifies whether to include child domain units.

Default:
  • false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitfilterforproject.html#cfn-datazone-policygrant-domainunitfilterforproject-includechilddomainunits

DomainUnitGrantFilterProperty

class CfnPolicyGrantPropsMixin.DomainUnitGrantFilterProperty(*, all_domain_units_grant_filter=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitgrantfilter.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitgrantfilter.html#cfn-datazone-policygrant-domainunitgrantfilter-alldomainunitsgrantfilter

DomainUnitPolicyGrantPrincipalProperty

class CfnPolicyGrantPropsMixin.DomainUnitPolicyGrantPrincipalProperty(*, domain_unit_designation=None, domain_unit_grant_filter=None, domain_unit_identifier=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitpolicygrantprincipal.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitpolicygrantprincipal.html#cfn-datazone-policygrant-domainunitpolicygrantprincipal-domainunitdesignation

domain_unit_grant_filter

The grant filter for the domain unit.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitpolicygrantprincipal.html#cfn-datazone-policygrant-domainunitpolicygrantprincipal-domainunitgrantfilter

domain_unit_identifier

The ID of the domain unit.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitpolicygrantprincipal.html#cfn-datazone-policygrant-domainunitpolicygrantprincipal-domainunitidentifier

GroupPolicyGrantPrincipalProperty

class CfnPolicyGrantPropsMixin.GroupPolicyGrantPrincipalProperty(*, group_identifier=None)

Bases: object

The group principal to whom the policy is granted.

Parameters:

group_identifier (Optional[str]) – The ID Of the group of the group principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-grouppolicygrantprincipal.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

group_policy_grant_principal_property = datazone_mixins.CfnPolicyGrantPropsMixin.GroupPolicyGrantPrincipalProperty(
    group_identifier="groupIdentifier"
)

Attributes

group_identifier

The ID Of the group of the group principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-grouppolicygrantprincipal.html#cfn-datazone-policygrant-grouppolicygrantprincipal-groupidentifier

OverrideDomainUnitOwnersPolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.OverrideDomainUnitOwnersPolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overridedomainunitownerspolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overridedomainunitownerspolicygrantdetail.html#cfn-datazone-policygrant-overridedomainunitownerspolicygrantdetail-includechilddomainunits

OverrideProjectOwnersPolicyGrantDetailProperty

class CfnPolicyGrantPropsMixin.OverrideProjectOwnersPolicyGrantDetailProperty(*, include_child_domain_units=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overrideprojectownerspolicygrantdetail.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overrideprojectownerspolicygrantdetail.html#cfn-datazone-policygrant-overrideprojectownerspolicygrantdetail-includechilddomainunits

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: object

The details of the policy grant.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.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

# 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-addtoprojectmemberpool

create_asset_type

Specifies that this is a create asset type policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createassettype

create_domain_unit

Specifies that this is a create domain unit policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createdomainunit

create_environment

Specifies that this is a create environment policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createenvironment

create_environment_from_blueprint

The details of the policy of creating an environment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createenvironmentfromblueprint

create_environment_profile

Specifies that this is a create environment profile policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createenvironmentprofile

create_form_type

Specifies that this is a create form type policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createformtype

create_glossary

Specifies that this is a create glossary policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createglossary

create_project

Specifies that this is a create project policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createproject

create_project_from_project_profile

Specifies whether to create a project from project profile.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-createprojectfromprojectprofile

delegate_create_environment_profile

Specifies that this is the delegation of the create environment profile policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-delegatecreateenvironmentprofile

override_domain_unit_owners

Specifies whether to override domain unit owners.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-overridedomainunitowners

override_project_owners

Specifies whether to override project owners.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html#cfn-datazone-policygrant-policygrantdetail-overrideprojectowners

PolicyGrantPrincipalProperty

class CfnPolicyGrantPropsMixin.PolicyGrantPrincipalProperty(*, domain_unit=None, group=None, project=None, user=None)

Bases: object

The policy grant principal.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantprincipal.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantprincipal.html#cfn-datazone-policygrant-policygrantprincipal-domainunit

group

The group of the policy grant principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantprincipal.html#cfn-datazone-policygrant-policygrantprincipal-group

project

The project of the policy grant principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantprincipal.html#cfn-datazone-policygrant-policygrantprincipal-project

user

The user of the policy grant principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantprincipal.html#cfn-datazone-policygrant-policygrantprincipal-user

ProjectGrantFilterProperty

class CfnPolicyGrantPropsMixin.ProjectGrantFilterProperty(*, domain_unit_filter=None)

Bases: object

The project grant filter.

Parameters:

domain_unit_filter (Union[IResolvable, DomainUnitFilterForProjectProperty, Dict[str, Any], None]) – The domain unit filter of the project grant filter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectgrantfilter.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectgrantfilter.html#cfn-datazone-policygrant-projectgrantfilter-domainunitfilter

ProjectPolicyGrantPrincipalProperty

class CfnPolicyGrantPropsMixin.ProjectPolicyGrantPrincipalProperty(*, project_designation=None, project_grant_filter=None, project_identifier=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectpolicygrantprincipal.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectpolicygrantprincipal.html#cfn-datazone-policygrant-projectpolicygrantprincipal-projectdesignation

project_grant_filter

The project grant filter of the project policy grant principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectpolicygrantprincipal.html#cfn-datazone-policygrant-projectpolicygrantprincipal-projectgrantfilter

project_identifier

The project ID of the project policy grant principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectpolicygrantprincipal.html#cfn-datazone-policygrant-projectpolicygrantprincipal-projectidentifier

UserPolicyGrantPrincipalProperty

class CfnPolicyGrantPropsMixin.UserPolicyGrantPrincipalProperty(*, all_users_grant_filter=None, user_identifier=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-userpolicygrantprincipal.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-userpolicygrantprincipal.html#cfn-datazone-policygrant-userpolicygrantprincipal-allusersgrantfilter

user_identifier

The user ID of the user policy grant principal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-userpolicygrantprincipal.html#cfn-datazone-policygrant-userpolicygrantprincipal-useridentifier