CfnProjectMembershipPropsMixin
- class aws_cdk.mixins_preview.aws_datazone.mixins.CfnProjectMembershipPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DataZone::ProjectMembershipresource adds a member to an Amazon DataZone project.Project members consume assets from the Amazon DataZone catalog and produce new assets using one or more analytical workflows.
- See:
- CloudformationResource:
AWS::DataZone::ProjectMembership
- 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 cfn_project_membership_props_mixin = datazone_mixins.CfnProjectMembershipPropsMixin(datazone_mixins.CfnProjectMembershipMixinProps( designation="designation", domain_identifier="domainIdentifier", member=datazone_mixins.CfnProjectMembershipPropsMixin.MemberProperty( group_identifier="groupIdentifier", user_identifier="userIdentifier" ), project_identifier="projectIdentifier" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DataZone::ProjectMembership.- Parameters:
props (
Union[CfnProjectMembershipMixinProps,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 = ['designation', 'domainIdentifier', 'member', 'projectIdentifier']
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
MemberProperty
- class CfnProjectMembershipPropsMixin.MemberProperty(*, group_identifier=None, user_identifier=None)
Bases:
objectThe details about a project member.
Important - this data type is a UNION, so only one of the following members can be specified when used or returned.
- Parameters:
group_identifier (
Optional[str]) – The ID of the group of a project member.user_identifier (
Optional[str]) – The user ID of a project member.
- 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 member_property = datazone_mixins.CfnProjectMembershipPropsMixin.MemberProperty( group_identifier="groupIdentifier", user_identifier="userIdentifier" )
Attributes
- group_identifier
The ID of the group of a project member.
- user_identifier
The user ID of a project member.