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.104.0 (build e79254c)",
date="2024-12-06T14:43:21.739Z")
@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") .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
Modifier 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 priority you want to assign to a source.static interface
The VPC interface that you want to send your output to.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
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
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.Create a bridge with the egress bridge type.Create a bridge with the ingress bridge type.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
Create a bridge with the egress bridge type.void
Create a bridge with the egress bridge type.void
Create a bridge with the ingress bridge type.void
Create a bridge with the ingress bridge type.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
Create a bridge with the egress bridge type. -
setEgressGatewayBridge
Create a bridge with the egress bridge type. -
setEgressGatewayBridge
@Stability(Stable) public void setEgressGatewayBridge(@Nullable CfnBridge.EgressGatewayBridgeProperty value) Create a bridge with the egress bridge type. -
getIngressGatewayBridge
Create a bridge with the ingress bridge type. -
setIngressGatewayBridge
Create a bridge with the ingress bridge type. -
setIngressGatewayBridge
@Stability(Stable) public void setIngressGatewayBridge(@Nullable CfnBridge.IngressGatewayBridgeProperty value) Create a bridge with the ingress bridge type. -
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.
-