> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# EntitlementSource

Options for Entitlement.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/flow-source-configuration.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/flow-source-configuration.ts#L455)

## Example

```ts
declare const stack: Stack;

// Import an entitlement from another AWS account
const entitlement = FlowEntitlement.fromFlowEntitlementArn(stack, 'ImportedEntitlement',
  'arn:aws:mediaconnect:us-west-2:111122223333:entitlement:1-11111111111111111111111111111111:MyEntitlement',
);

const flow = new Flow(stack, 'MyFlow', {
  source: SourceConfiguration.entitlement({
    entitlement: entitlement,
  }),
});
```

## Properties

- `decryption`: [StaticKeyEncryption](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.StaticKeyEncryption.html) — Options to decrypt incoming feed.

  **Default:** no decryption

- `entitlement`: [IFlowEntitlement](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.IFlowEntitlement.html) (required) — The entitlement that allows you to subscribe to content that comes from another AWS account.
