Class CfnBridge
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.CfnBridge
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IBridgeRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:17.004Z")
@Stability(Stable)
public class CfnBridge
extends CfnResource
implements IInspectable, IBridgeRef
The
AWS::MediaConnect::Bridge resource defines a connection between your data center’s gateway instances and the cloud.
For each bridge, you specify the type of bridge, transport protocol to use, and details for any outputs and failover.
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.*;
CfnBridge cfnBridge = CfnBridge.Builder.create(this, "MyCfnBridge")
.name("name")
.placementArn("placementArn")
.sources(List.of(BridgeSourceProperty.builder()
.flowSource(BridgeFlowSourceProperty.builder()
.flowArn("flowArn")
.name("name")
// the properties below are optional
.flowVpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
.vpcInterfaceName("vpcInterfaceName")
.build())
.build())
.networkSource(BridgeNetworkSourceProperty.builder()
.multicastIp("multicastIp")
.name("name")
.networkName("networkName")
.port(123)
.protocol("protocol")
// the properties below are optional
.multicastSourceSettings(MulticastSourceSettingsProperty.builder()
.multicastSourceIp("multicastSourceIp")
.build())
.build())
.build()))
// the properties below are optional
.egressGatewayBridge(EgressGatewayBridgeProperty.builder()
.maxBitrate(123)
.build())
.ingressGatewayBridge(IngressGatewayBridgeProperty.builder()
.maxBitrate(123)
.maxOutputs(123)
.build())
.outputs(List.of(BridgeOutputProperty.builder()
.networkOutput(BridgeNetworkOutputProperty.builder()
.ipAddress("ipAddress")
.name("name")
.networkName("networkName")
.port(123)
.protocol("protocol")
.ttl(123)
.build())
.build()))
.sourceFailoverConfig(FailoverConfigProperty.builder()
.failoverMode("failoverMode")
// the properties below are optional
.sourcePriority(SourcePriorityProperty.builder()
.primarySource("primarySource")
.build())
.state("state")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe source of the bridge.static interfaceThe output of the bridge.static interfaceThe source of the bridge.static interfaceThe output of the bridge.static interfaceThe bridge's source.static final classA fluent builder forCfnBridge.static interfaceCreate a bridge with the egress bridge type.static interfaceThe settings for source failover.static interfaceCreate a bridge with the ingress bridge type.static interfaceThe settings related to the multicast source.static interfaceThe priority you want to assign to a source.static interfaceThe settings for attaching a VPC interface to an resource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.mediaconnect.IBridgeRef
IBridgeRef.Jsii$Default, IBridgeRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested 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
ConstructorsModifierConstructorDescriptionprotectedCfnBridge(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnBridge(software.amazon.jsii.JsiiObjectRef objRef) CfnBridge(software.constructs.Construct scope, String id, CfnBridgeProps props) Create a newAWS::MediaConnect::Bridge. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForBridge(IBridgeRef resource) The Amazon Resource Name (ARN) of the bridge.The current status of the bridge.A reference to a Bridge resource.An egress bridge is a cloud-to-ground bridge.An ingress bridge is a ground-to-cloud bridge.getName()The name of the bridge.The outputs that you want to add to this bridge.The bridge placement Amazon Resource Number (ARN).The settings for source failover.The sources that you want to add to this bridge.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnBridge.renderProperties(Map<String, Object> props) voidAn egress bridge is a cloud-to-ground bridge.voidAn egress bridge is a cloud-to-ground bridge.voidAn ingress bridge is a ground-to-cloud bridge.voidAn ingress bridge is a ground-to-cloud bridge.voidThe name of the bridge.voidsetOutputs(List<Object> value) The outputs that you want to add to this bridge.voidsetOutputs(IResolvable value) The outputs that you want to add to this bridge.voidsetPlacementArn(String value) The bridge placement Amazon Resource Number (ARN).voidThe settings for source failover.voidThe settings for source failover.voidsetSources(List<Object> value) The sources that you want to add to this bridge.voidsetSources(IResolvable value) The sources that you want to add to this bridge.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, 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.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnBridge
protected CfnBridge(software.amazon.jsii.JsiiObjectRef objRef) -
CfnBridge
protected CfnBridge(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnBridge
@Stability(Stable) public CfnBridge(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnBridgeProps props) Create a newAWS::MediaConnect::Bridge.- 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
-
arnForBridge
- Parameters:
resource- This parameter is required.
-
isCfnBridge
Checks whether the given object is a CfnBridge.- Parameters:
x- This parameter is required.
-
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.
-
getAttrBridgeArn
The Amazon Resource Name (ARN) of the bridge. -
getAttrBridgeState
The current status of the bridge.Possible values are: ACTIVE or STANDBY.
-
getBridgeRef
A reference to a Bridge resource.- Specified by:
getBridgeRefin interfaceIBridgeRef
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getName
The name of the bridge. -
setName
The name of the bridge. -
getPlacementArn
The bridge placement Amazon Resource Number (ARN). -
setPlacementArn
The bridge placement Amazon Resource Number (ARN). -
getSources
The sources that you want to add to this bridge.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBridge.BridgeSourceProperty> -
setSources
The sources that you want to add to this bridge. -
setSources
The sources that you want to add to this bridge. -
getEgressGatewayBridge
An egress bridge is a cloud-to-ground bridge.Returns union: either
IResolvableorCfnBridge.EgressGatewayBridgeProperty -
setEgressGatewayBridge
An egress bridge is a cloud-to-ground bridge. -
setEgressGatewayBridge
@Stability(Stable) public void setEgressGatewayBridge(@Nullable CfnBridge.EgressGatewayBridgeProperty value) An egress bridge is a cloud-to-ground bridge. -
getIngressGatewayBridge
An ingress bridge is a ground-to-cloud bridge.Returns union: either
IResolvableorCfnBridge.IngressGatewayBridgeProperty -
setIngressGatewayBridge
An ingress bridge is a ground-to-cloud bridge. -
setIngressGatewayBridge
@Stability(Stable) public void setIngressGatewayBridge(@Nullable CfnBridge.IngressGatewayBridgeProperty value) An ingress bridge is a ground-to-cloud bridge. -
getOutputs
The outputs that you want to add to this bridge.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBridge.BridgeOutputProperty> -
setOutputs
The outputs that you want to add to this bridge. -
setOutputs
The outputs that you want to add to this bridge. -
getSourceFailoverConfig
The settings for source failover.Returns union: either
IResolvableorCfnBridge.FailoverConfigProperty -
setSourceFailoverConfig
The settings for source failover. -
setSourceFailoverConfig
@Stability(Stable) public void setSourceFailoverConfig(@Nullable CfnBridge.FailoverConfigProperty value) The settings for source failover.
-