# EntitlementReference

A reference to a Entitlement 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_appstream as interfaces_appstream } from 'aws-cdk-lib/interfaces';
const entitlementReference: interfaces_appstream.EntitlementReference = {
  entitlementName: 'entitlementName',
  stackName: 'stackName',
};
```

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_appstream as interfaces_appstream

entitlement_reference = interfaces_appstream.EntitlementReference(
    entitlement_name="entitlementName",
    stack_name="stackName"
)
```

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

EntitlementReference entitlementReference = EntitlementReference.builder()
        .entitlementName("entitlementName")
        .stackName("stackName")
        .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.AppStream;

var entitlementReference = new EntitlementReference {
    EntitlementName = "entitlementName",
    StackName = "stackName"
};
```

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"

entitlementReference := &EntitlementReference{
	EntitlementName: jsii.String("entitlementName"),
	StackName: jsii.String("stackName"),
}
```

## Properties

- `entitlementName`: string (required) — The Name of the Entitlement resource.

- `stackName`: string (required) — The StackName of the Entitlement resource.
