# CfnProjectMembershipProps

Properties for defining a `CfnProjectMembership`.

Used as props by: [CfnProjectMembership](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_datazone.CfnProjectMembership.html)

- Source: Generated at build time
- Type last changed: v2.143.0 · 24 May 2024

## Example

TypeScript:

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

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

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `designation`: string (required) — The designated role of a project member.

- `domainIdentifier`: string (required) — The ID of the Amazon DataZone domain in which project membership is created.

- `member`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnProjectMembership.MemberProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_datazone.CfnProjectMembership.MemberProperty.html) (required) — The details about a project member.

- `projectIdentifier`: string (required) — The ID of the project for which this project membership was created.
