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

Properties for the Flow entitlement.

Extends: FlowEntitlementProps
Used as props by: FlowEntitlement

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

## Example

```ts
declare const stack: Stack;
declare const flow: Flow;
declare const role: iam.IRole;
declare const secret: secretsmanager.ISecret;

new FlowEntitlement(stack, 'MyEntitlement', {
  flow,
  subscribers: ['111122223333'],
  description: 'Grant partner access to live feed',
  encryption: {
    role,
    secret,
    algorithm: EncryptionAlgorithm.AES256,
  },
});
```

## Properties

- `dataTransferSubscriberFeePercent`: number — The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.

  **Default:** the MediaConnect service default

- `description`: string (required) — A description of the entitlement.

  This description appears only on the MediaConnect console
  and is not visible outside of the current AWS account.

- `encryption`: [StaticKeyEncryption](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.StaticKeyEncryption.html) — Options for encrypting the entitlement.

  **Default:** no encryption

  Only static key encryption is supported for entitlements.

- `entitlementStatus`: [EntitlementStatus](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.EntitlementStatus.html) — An indication of whether the new entitlement should be enabled or disabled as soon as it is created.

  **Default:** undefined; when omitted, MediaConnect enables the entitlement (ENABLED) at deploy time

- `flow`: [IFlow](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.IFlow.html) (required) — The flow to set the entitlement from.

- `flowEntitlementName`: string = autogenerated — The name of the entitlement.

  This value must be unique within the current flow.

- `subscribers`: string[] (required) — The AWS account IDs that you want to share your content with.

  The receiving accounts (subscribers)
  will be allowed to create their own flows using your content as the source.
