Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
BridgeAttributes Struct
Attributes for importing an existing Bridge.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
declare const bridgeType: mediaconnect_alpha.BridgeType;
const bridgeAttributes: mediaconnect_alpha.BridgeAttributes = {
bridgeArn: 'bridgeArn',
// the properties below are optional
bridgeName: 'bridgeName',
bridgeType: bridgeType,
isFailoverEnabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
# bridge_type: mediaconnect_alpha.BridgeType
bridge_attributes = mediaconnect_alpha.BridgeAttributes(
bridge_arn="bridgeArn",
# the properties below are optional
bridge_name="bridgeName",
bridge_type=bridge_type,
is_failover_enabled=False
)
java
// 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.alpha.*;
BridgeType bridgeType;
BridgeAttributes bridgeAttributes = BridgeAttributes.builder()
.bridgeArn("bridgeArn")
// the properties below are optional
.bridgeName("bridgeName")
.bridgeType(bridgeType)
.isFailoverEnabled(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
BridgeType bridgeType;
var bridgeAttributes = new BridgeAttributes {
BridgeArn = "bridgeArn",
// the properties below are optional
BridgeName = "bridgeName",
BridgeType = bridgeType,
IsFailoverEnabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
var bridgeType BridgeType
bridgeAttributes := &BridgeAttributes{
BridgeArn: jsii.String("bridgeArn"),
// the properties below are optional
BridgeName: jsii.String("bridgeName"),
BridgeType: bridgeType,
IsFailoverEnabled: jsii.Boolean(false),
}
Properties
The ARN of the bridge.
bridgeNameoptionalstringbridge_nameoptionalstrbridgeNameoptionalStringBridgeNameoptionalstringBridgeNameoptional*string#The name of the bridge.
Default: bridgeName is not available on the imported construct
Not encoded in the bridge ARN, so must be provided explicitly if the imported bridge needs to expose bridgeName.
bridgeTypeoptionalBridgeTypebridge_typeoptionalBridgeTypebridgeTypeoptionalBridgeTypeBridgeTypeoptionalBridgeTypeBridgeTypeoptionalBridgeType#Indicates what type of bridge is imported.
Default: bridgeType is not available on the imported construct
Not encoded in the bridge ARN, so must be provided explicitly if the imported bridge is used with addOutput() or other methods that need the bridge type.
isFailoverEnabledoptionalbooleanis_failover_enabledoptionalboolisFailoverEnabledoptionalBooleanIsFailoverEnabledoptionalboolIsFailoverEnabledoptional*bool= false#Failover Configuration for Bridge.