# CreateProjectFromProjectProfilePolicyGrantDetailProperty

Struct · External

Specifies whether to create a project from project profile policy grant details.

- Source: Generated at build time
- Type last changed: v2.214.0 · 2 Sep 2025

## 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 createProjectFromProjectProfilePolicyGrantDetailProperty: datazone.CfnPolicyGrant.CreateProjectFromProjectProfilePolicyGrantDetailProperty = {
  includeChildDomainUnits: false,
  projectProfiles: ['projectProfiles'],
};
```

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

create_project_from_project_profile_policy_grant_detail_property = datazone.CfnPolicyGrant.CreateProjectFromProjectProfilePolicyGrantDetailProperty(
    include_child_domain_units=False,
    project_profiles=["projectProfiles"]
)
```

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.*;

CreateProjectFromProjectProfilePolicyGrantDetailProperty createProjectFromProjectProfilePolicyGrantDetailProperty = CreateProjectFromProjectProfilePolicyGrantDetailProperty.builder()
        .includeChildDomainUnits(false)
        .projectProfiles(List.of("projectProfiles"))
        .build();
```

C#:

```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 createProjectFromProjectProfilePolicyGrantDetailProperty = new CreateProjectFromProjectProfilePolicyGrantDetailProperty {
    IncludeChildDomainUnits = false,
    ProjectProfiles = new [] { "projectProfiles" }
};
```

Go:

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

createProjectFromProjectProfilePolicyGrantDetailProperty := &CreateProjectFromProjectProfilePolicyGrantDetailProperty{
	IncludeChildDomainUnits: jsii.Boolean(false),
	ProjectProfiles: []*string{
		jsii.String("projectProfiles"),
	},
}
```

## Properties

- `includeChildDomainUnits`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether to include child domain units when creating a project from project profile policy grant details.

- `projectProfiles`: string[] — Specifies project profiles when creating a project from project profile policy grant details.
