@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.753Z") @Stability(value=Stable) public class CfnFlow extends CfnResource implements IInspectable
The AWS::MediaConnect::Flow resource defines a connection between one or more video sources and one or more outputs. For each flow, you specify the transport protocol to use, encryption information, and details for any outputs or entitlements that you want. AWS Elemental MediaConnect returns an ingest endpoint where you can send your live video as a single unicast stream. The service replicates and distributes the video to every output that you specify, whether inside or outside the AWS Cloud. You can also set up entitlements on a flow to allow other AWS accounts to access your content.
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.*;
CfnFlow cfnFlow = CfnFlow.Builder.create(this, "MyCfnFlow")
.name("name")
.source(SourceProperty.builder()
.decryption(EncryptionProperty.builder()
.roleArn("roleArn")
// the properties below are optional
.algorithm("algorithm")
.constantInitializationVector("constantInitializationVector")
.deviceId("deviceId")
.keyType("keyType")
.region("region")
.resourceId("resourceId")
.secretArn("secretArn")
.url("url")
.build())
.description("description")
.entitlementArn("entitlementArn")
.ingestIp("ingestIp")
.ingestPort(123)
.maxBitrate(123)
.maxLatency(123)
.minLatency(123)
.name("name")
.protocol("protocol")
.sourceArn("sourceArn")
.sourceIngestPort("sourceIngestPort")
.streamId("streamId")
.vpcInterfaceName("vpcInterfaceName")
.whitelistCidr("whitelistCidr")
.build())
// the properties below are optional
.availabilityZone("availabilityZone")
.sourceFailoverConfig(FailoverConfigProperty.builder()
.recoveryWindow(123)
.state("state")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnFlow.Builder
A fluent builder for
CfnFlow. |
static interface |
CfnFlow.EncryptionProperty
Information about the encryption of the flow.
|
static interface |
CfnFlow.FailoverConfigProperty
The settings for source failover.
|
static interface |
CfnFlow.SourceProperty
The details of the sources of the flow.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFlow(software.constructs.Construct scope,
String id,
CfnFlowProps props)
Create a new `AWS::MediaConnect::Flow`.
|
protected |
CfnFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFlow(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrFlowArn()
The Amazon Resource Name (ARN) of the flow.
|
String |
getAttrFlowAvailabilityZone()
The Availability Zone that the flow was created in.
|
String |
getAttrSourceIngestIp()
The IP address that the flow listens on for incoming content.
|
String |
getAttrSourceSourceArn()
The ARN of the source.
|
String |
getAttrSourceSourceIngestPort()
The port that the flow will be listening on for incoming content.
|
String |
getAvailabilityZone()
The Availability Zone that you want to create the flow in.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getName()
The name of the flow.
|
Object |
getSource()
The settings for the source that you want to use for the new flow.
|
Object |
getSourceFailoverConfig()
The settings for source failover.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAvailabilityZone(String value)
The Availability Zone that you want to create the flow in.
|
void |
setName(String value)
The name of the flow.
|
void |
setSource(CfnFlow.SourceProperty value)
The settings for the source that you want to use for the new flow.
|
void |
setSource(IResolvable value)
The settings for the source that you want to use for the new flow.
|
void |
setSourceFailoverConfig(CfnFlow.FailoverConfigProperty value)
The settings for source failover.
|
void |
setSourceFailoverConfig(IResolvable value)
The settings for source failover.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFlow(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFlow(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFlowProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrFlowArn()
@Stability(value=Stable) @NotNull public String getAttrFlowAvailabilityZone()
These options are limited to the Availability Zones within the current AWS Region.
@Stability(value=Stable) @NotNull public String getAttrSourceIngestIp()
@Stability(value=Stable) @NotNull public String getAttrSourceSourceArn()
@Stability(value=Stable) @NotNull public String getAttrSourceSourceIngestPort()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getSource()
@Stability(value=Stable)
public void setSource(@NotNull
CfnFlow.SourceProperty value)
@Stability(value=Stable)
public void setSource(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public String getAvailabilityZone()
These options are limited to the Availability Zones within the current AWS Region.
@Stability(value=Stable)
public void setAvailabilityZone(@Nullable
String value)
These options are limited to the Availability Zones within the current AWS Region.
@Stability(value=Stable) @Nullable public Object getSourceFailoverConfig()
@Stability(value=Stable)
public void setSourceFailoverConfig(@Nullable
CfnFlow.FailoverConfigProperty value)
@Stability(value=Stable)
public void setSourceFailoverConfig(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.