java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.mediaconnect.alpha.FlowEntitlement
All Implemented Interfaces:
IEnvironmentAware, IFlowEntitlementRef, IResource, IFlowEntitlement, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.145Z") @Stability(Experimental) public class FlowEntitlement extends Resource implements IFlowEntitlement
(experimental) Resource defines the permission that an AWS account grants to another AWS account to allow access to the content in a specific AWS Elemental MediaConnect flow.

Example:

 Stack stack;
 Flow flow;
 IRole role;
 ISecret secret;
 FlowEntitlement.Builder.create(stack, "MyEntitlement")
         .flow(flow)
         .subscribers(List.of("111122223333"))
         .description("Grant partner access to live feed")
         .encryption(StaticKeyEncryption.builder()
                 .role(role)
                 .secret(secret)
                 .algorithm(EncryptionAlgorithm.AES256)
                 .build())
         .build();
 
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Experimental) public static final String PROPERTY_INJECTION_ID
      (experimental) Uniquely identifies this class.
  • Constructor Details

    • FlowEntitlement

      protected FlowEntitlement(software.amazon.jsii.JsiiObjectRef objRef)
    • FlowEntitlement

      protected FlowEntitlement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • FlowEntitlement

      @Stability(Experimental) public FlowEntitlement(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull FlowEntitlementProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromFlowEntitlementArn

      @Stability(Experimental) @NotNull public static IFlowEntitlement fromFlowEntitlementArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String flowEntitlementArn)
      (experimental) Creates a FlowEntitlement construct that represents an external (imported) FlowEntitlement.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      flowEntitlementArn - This parameter is required.
    • getEntitlementArn

      @Stability(Experimental) @NotNull public String getEntitlementArn()
      (experimental) The Amazon Resource Name (ARN) of the entitlement.
      Specified by:
      getEntitlementArn in interface IFlowEntitlement
    • getFlowEntitlementRef

      @Stability(Experimental) @NotNull public FlowEntitlementReference getFlowEntitlementRef()
      (experimental) A reference to a FlowEntitlement resource.
      Specified by:
      getFlowEntitlementRef in interface IFlowEntitlementRef