aws-cdk-lib.aws_mediaconnect.CfnFlowEntitlementProps

interface CfnFlowEntitlementProps

LanguageType name
.NETAmazon.CDK.AWS.MediaConnect.CfnFlowEntitlementProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmediaconnect#CfnFlowEntitlementProps
Javasoftware.amazon.awscdk.services.mediaconnect.CfnFlowEntitlementProps
Pythonaws_cdk.aws_mediaconnect.CfnFlowEntitlementProps
TypeScript aws-cdk-lib » aws_mediaconnect » CfnFlowEntitlementProps

Properties for defining a CfnFlowEntitlement.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const cfnFlowEntitlementProps: mediaconnect.CfnFlowEntitlementProps = {
  description: 'description',
  flowArn: 'flowArn',
  name: 'name',
  subscribers: ['subscribers'],

  // the properties below are optional
  dataTransferSubscriberFeePercent: 123,
  encryption: {
    algorithm: 'algorithm',
    roleArn: 'roleArn',

    // the properties below are optional
    constantInitializationVector: 'constantInitializationVector',
    deviceId: 'deviceId',
    keyType: 'keyType',
    region: 'region',
    resourceId: 'resourceId',
    secretArn: 'secretArn',
    url: 'url',
  },
  entitlementStatus: 'entitlementStatus',
};

Properties

NameTypeDescription
descriptionstringA description of the entitlement.
flowArnstringThe Amazon Resource Name (ARN) of the flow.
namestringThe name of the entitlement.
subscribersstring[]The AWS account IDs that you want to share your content with.
dataTransferSubscriberFeePercent?numberThe percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.
encryption?IResolvable | EncryptionPropertyThe type of encryption that MediaConnect will use on the output that is associated with the entitlement.
entitlementStatus?stringAn indication of whether the new entitlement should be enabled or disabled as soon as it is created.

description

Type: string

A description of the entitlement.

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


flowArn

Type: string

The Amazon Resource Name (ARN) of the flow.


name

Type: string

The name of the entitlement.

This value must be unique within the current flow.


subscribers

Type: string[]

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.


dataTransferSubscriberFeePercent?

Type: number (optional)

The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.


encryption?

Type: IResolvable | EncryptionProperty (optional)

The type of encryption that MediaConnect will use on the output that is associated with the entitlement.


entitlementStatus?

Type: string (optional)

An indication of whether the new entitlement should be enabled or disabled as soon as it is created.

If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.