# PolicyGrantReference

A reference to a PolicyGrant resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 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 interfaces_datazone } from 'aws-cdk-lib/interfaces';
const policyGrantReference: interfaces_datazone.PolicyGrantReference = {
  domainIdentifier: 'domainIdentifier',
  entityIdentifier: 'entityIdentifier',
  entityType: 'entityType',
  grantId: 'grantId',
  policyType: 'policyType',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_datazone as interfaces_datazone

policy_grant_reference = interfaces_datazone.PolicyGrantReference(
    domain_identifier="domainIdentifier",
    entity_identifier="entityIdentifier",
    entity_type="entityType",
    grant_id="grantId",
    policy_type="policyType"
)
```

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

PolicyGrantReference policyGrantReference = PolicyGrantReference.builder()
        .domainIdentifier("domainIdentifier")
        .entityIdentifier("entityIdentifier")
        .entityType("entityType")
        .grantId("grantId")
        .policyType("policyType")
        .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.Interfaces.DataZone;

var policyGrantReference = new PolicyGrantReference {
    DomainIdentifier = "domainIdentifier",
    EntityIdentifier = "entityIdentifier",
    EntityType = "entityType",
    GrantId = "grantId",
    PolicyType = "policyType"
};
```

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"

policyGrantReference := &PolicyGrantReference{
	DomainIdentifier: jsii.String("domainIdentifier"),
	EntityIdentifier: jsii.String("entityIdentifier"),
	EntityType: jsii.String("entityType"),
	GrantId: jsii.String("grantId"),
	PolicyType: jsii.String("policyType"),
}
```

## Properties

- `domainIdentifier`: string (required) — The DomainIdentifier of the PolicyGrant resource.

- `entityIdentifier`: string (required) — The EntityIdentifier of the PolicyGrant resource.

- `entityType`: string (required) — The EntityType of the PolicyGrant resource.

- `grantId`: string (required) — The GrantId of the PolicyGrant resource.

- `policyType`: string (required) — The PolicyType of the PolicyGrant resource.
