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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-24T21:15:56.024Z")
@Stability(Stable)
public class CfnBridge
extends CfnResource
implements IInspectable
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 interface
The source of the bridge.static interface
The output of the bridge.static interface
The source of the bridge.static interface
The output of the bridge.static interface
The bridge's source.static final class
A fluent builder forCfnBridge
.static interface
Create a bridge with the egress bridge type.static interface
The settings for source failover.static interface
Create a bridge with the ingress bridge type.static interface
The settings related to the multicast source.static interface
The priority you want to assign to a source.static interface
The settings for attaching a VPC interface to an resource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnBridge
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnBridge
(software.amazon.jsii.JsiiObjectRef objRef) CfnBridge
(software.constructs.Construct scope, String id, CfnBridgeProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the bridge.The current status of the bridge.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
An egress bridge is a cloud-to-ground bridge.void
An egress bridge is a cloud-to-ground bridge.void
An ingress bridge is a ground-to-cloud bridge.void
An ingress bridge is a ground-to-cloud bridge.void
The name of the bridge.void
setOutputs
(List<Object> value) The outputs that you want to add to this bridge.void
setOutputs
(IResolvable value) The outputs that you want to add to this bridge.void
setPlacementArn
(String value) The bridge placement Amazon Resource Number (ARN).void
The settings for source failover.void
The settings for source failover.void
setSources
(List<Object> value) The sources that you want to add to this bridge.void
setSources
(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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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:
inspect
in 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:
renderProperties
in 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.
-
getCfnProperties
- Overrides:
getCfnProperties
in 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. -
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. -
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. -
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. -
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. -
setSourceFailoverConfig
The settings for source failover. -
setSourceFailoverConfig
@Stability(Stable) public void setSourceFailoverConfig(@Nullable CfnBridge.FailoverConfigProperty value) The settings for source failover.
-