CfnProjectMembershipProps Struct
Properties for defining a CfnProjectMembership.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const cfnProjectMembershipProps: datazone.CfnProjectMembershipProps = {
designation: 'designation',
domainIdentifier: 'domainIdentifier',
member: {
groupIdentifier: 'groupIdentifier',
userIdentifier: 'userIdentifier',
},
projectIdentifier: 'projectIdentifier',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datazone as datazone
cfn_project_membership_props = datazone.CfnProjectMembershipProps(
designation="designation",
domain_identifier="domainIdentifier",
member=datazone.CfnProjectMembership.MemberProperty(
group_identifier="groupIdentifier",
user_identifier="userIdentifier"
),
project_identifier="projectIdentifier"
)
java
// 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.*;
CfnProjectMembershipProps cfnProjectMembershipProps = CfnProjectMembershipProps.builder()
.designation("designation")
.domainIdentifier("domainIdentifier")
.member(MemberProperty.builder()
.groupIdentifier("groupIdentifier")
.userIdentifier("userIdentifier")
.build())
.projectIdentifier("projectIdentifier")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataZone;
var cfnProjectMembershipProps = new CfnProjectMembershipProps {
Designation = "designation",
DomainIdentifier = "domainIdentifier",
Member = new MemberProperty {
GroupIdentifier = "groupIdentifier",
UserIdentifier = "userIdentifier"
},
ProjectIdentifier = "projectIdentifier"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnProjectMembershipProps := &CfnProjectMembershipProps{
Designation: jsii.String("designation"),
DomainIdentifier: jsii.String("domainIdentifier"),
Member: &MemberProperty{
GroupIdentifier: jsii.String("groupIdentifier"),
UserIdentifier: jsii.String("userIdentifier"),
},
ProjectIdentifier: jsii.String("projectIdentifier"),
}
Properties
The designated role of a project member.
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*string required #The ID of the Amazon DataZone domain in which project membership is created.
memberIResolvable | CfnProjectMembership.membertyping.Union[IResolvable, MemberProperty]memberIResolvableMemberIResolvableMemberinterface{} required #The details about a project member.
projectIdentifierstringproject_identifierstrprojectIdentifierStringProjectIdentifierstringProjectIdentifier*string required #The ID of the project for which this project membership was created.