Class FlowEntitlement
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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forFlowEntitlement.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediaconnect.alpha.IFlowEntitlement
IFlowEntitlement.Jsii$Default, IFlowEntitlement.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFlowEntitlement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedFlowEntitlement(software.amazon.jsii.JsiiObjectRef objRef) FlowEntitlement(software.constructs.Construct scope, String id, FlowEntitlementProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IFlowEntitlementfromFlowEntitlementArn(software.constructs.Construct scope, String id, String flowEntitlementArn) (experimental) Creates a FlowEntitlement construct that represents an external (imported) FlowEntitlement.(experimental) The Amazon Resource Name (ARN) of the entitlement.(experimental) A reference to a FlowEntitlement resource.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
(experimental) The Amazon Resource Name (ARN) of the entitlement.- Specified by:
getEntitlementArnin interfaceIFlowEntitlement
-
getFlowEntitlementRef
(experimental) A reference to a FlowEntitlement resource.- Specified by:
getFlowEntitlementRefin interfaceIFlowEntitlementRef
-