Skip to content
v2.278.0

EntitlementReference Struct ​

A reference to a Entitlement resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

entitlementNamestringentitlement_namestrentitlementNameStringEntitlementNamestringEntitlementName*string required #
The Name of the Entitlement resource.
stackNamestringstack_namestrstackNameStringStackNamestringStackName*string required #
The StackName of the Entitlement resource.