Class CfnFlowEntitlement
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mediaconnect.CfnFlowEntitlement
- All Implemented Interfaces:
IInspectable,IFlowEntitlementRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.937Z")
@Stability(Stable)
public class CfnFlowEntitlement
extends CfnResource
implements IInspectable, IFlowEntitlementRef
The
AWS::MediaConnect::FlowEntitlement 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.
The content originator grants an entitlement to a specific AWS account (the subscriber). When an entitlement is granted, the subscriber can create a flow using the originator's flow as the source. Each flow can have up to 50 entitlements.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.*;
CfnFlowEntitlement cfnFlowEntitlement = CfnFlowEntitlement.Builder.create(this, "MyCfnFlowEntitlement")
.description("description")
.flowArn("flowArn")
.name("name")
.subscribers(List.of("subscribers"))
// the properties below are optional
.dataTransferSubscriberFeePercent(123)
.encryption(EncryptionProperty.builder()
.algorithm("algorithm")
.roleArn("roleArn")
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.deviceId("deviceId")
.keyType("keyType")
.region("region")
.resourceId("resourceId")
.secretArn("secretArn")
.url("url")
.build())
.entitlementStatus("entitlementStatus")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnFlowEntitlement.static interfaceInformation about the encryption of the flow.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.IFlowEntitlementRef
IFlowEntitlementRef.Jsii$Default, IFlowEntitlementRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnFlowEntitlement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFlowEntitlement(software.amazon.jsii.JsiiObjectRef objRef) CfnFlowEntitlement(software.constructs.Construct scope, String id, CfnFlowEntitlementProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe entitlement ARN.The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.A description of the entitlement.Information about the encryption of the flow.An indication of whether the new entitlement should be enabled or disabled as soon as it is created.The Amazon Resource Name (ARN) of the flow.A reference to a FlowEntitlement resource.getName()The name of the entitlement.The AWS account IDs that you want to share your content with.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.voidsetDescription(String value) A description of the entitlement.voidsetEncryption(IResolvable value) Information about the encryption of the flow.voidInformation about the encryption of the flow.voidsetEntitlementStatus(String value) An indication of whether the new entitlement should be enabled or disabled as soon as it is created.voidsetFlowArn(String value) The Amazon Resource Name (ARN) of the flow.voidThe name of the entitlement.voidsetSubscribers(List<String> value) The AWS account IDs that you want to share your content with.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFlowEntitlement
protected CfnFlowEntitlement(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFlowEntitlement
protected CfnFlowEntitlement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFlowEntitlement
@Stability(Stable) public CfnFlowEntitlement(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFlowEntitlementProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrEntitlementArn
The entitlement ARN. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getFlowEntitlementRef
A reference to a FlowEntitlement resource.- Specified by:
getFlowEntitlementRefin interfaceIFlowEntitlementRef
-
getDescription
A description of the entitlement. -
setDescription
A description of the entitlement. -
getFlowArn
The Amazon Resource Name (ARN) of the flow. -
setFlowArn
The Amazon Resource Name (ARN) of the flow. -
getName
The name of the entitlement. -
setName
The name of the entitlement. -
getSubscribers
The AWS account IDs that you want to share your content with. -
setSubscribers
The AWS account IDs that you want to share your content with. -
getDataTransferSubscriberFeePercent
The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for. -
setDataTransferSubscriberFeePercent
The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for. -
getEncryption
Information about the encryption of the flow.Returns union: either
IResolvableorCfnFlowEntitlement.EncryptionProperty -
setEncryption
Information about the encryption of the flow. -
setEncryption
Information about the encryption of the flow. -
getEntitlementStatus
An indication of whether the new entitlement should be enabled or disabled as soon as it is created. -
setEntitlementStatus
An indication of whether the new entitlement should be enabled or disabled as soon as it is created.
-