EntitlementSource
- class aws_cdk.aws_mediaconnect_alpha.EntitlementSource(*, entitlement, decryption=None)
Bases:
object(experimental) Options for Entitlement.
- Parameters:
entitlement (
IFlowEntitlement) – (experimental) The entitlement that allows you to subscribe to content that comes from another AWS account.decryption (
Union[StaticKeyEncryption,Dict[str,Any],None]) – (experimental) Options to decrypt incoming feed. Default: - no decryption
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# stack: Stack # Import an entitlement from another AWS account entitlement = FlowEntitlement.from_flow_entitlement_arn(stack, "ImportedEntitlement", "arn:aws:mediaconnect:us-west-2:111122223333:entitlement:1-11111111111111111111111111111111:MyEntitlement") flow = Flow(stack, "MyFlow", source=SourceConfiguration.entitlement( entitlement=entitlement ) )
Attributes
- decryption
(experimental) Options to decrypt incoming feed.
- Default:
no decryption
- Stability:
experimental
- entitlement
(experimental) The entitlement that allows you to subscribe to content that comes from another AWS account.
- Stability:
experimental
- Remarks:
Entitlements are always imported from another AWS account using
FlowEntitlement.fromFlowEntitlementArn(). You cannot create new entitlements in the same stack where you’re consuming them.