Class CfnFlowEntitlement
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::MediaConnect::FlowEntitlement.
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();
-
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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnFlowEntitlement(Construct scope, String id, CfnFlowEntitlementProps props) Create a newAWS::MediaConnect::FlowEntitlement.protectedCfnFlowEntitlement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFlowEntitlement(software.amazon.jsii.JsiiObjectRef objRef) -
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.The type of encryption that MediaConnect will use on the output that is associated with the entitlement.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.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) The type of encryption that MediaConnect will use on the output that is associated with the entitlement.voidThe type of encryption that MediaConnect will use on the output that is associated with the entitlement.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.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.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 Construct scope, @NotNull String id, @NotNull CfnFlowEntitlementProps props) Create a newAWS::MediaConnect::FlowEntitlement.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
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
-
getDescription
A description of the entitlement.This description appears only on the MediaConnect console and is not visible outside of the current AWS account.
-
setDescription
A description of the entitlement.This description appears only on the MediaConnect console and is not visible outside of the current AWS account.
-
getFlowArn
The Amazon Resource Name (ARN) of the flow. -
setFlowArn
The Amazon Resource Name (ARN) of the flow. -
getName
The name of the entitlement.This value must be unique within the current flow.
-
setName
The name of the entitlement.This value must be unique within the current flow.
-
getSubscribers
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.
-
setSubscribers
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.
-
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
The type of encryption that MediaConnect will use on the output that is associated with the entitlement. -
setEncryption
The type of encryption that MediaConnect will use on the output that is associated with the entitlement. -
setEncryption
The type of encryption that MediaConnect will use on the output that is associated with the entitlement. -
getEntitlementStatus
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.
-
setEntitlementStatus
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.
-