Class CfnBridgeSource

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:09.693Z") @Stability(Stable) public class CfnBridgeSource extends CfnResource implements IInspectable
Adds sources to an existing bridge.

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.*;
 CfnBridgeSource cfnBridgeSource = CfnBridgeSource.Builder.create(this, "MyCfnBridgeSource")
         .bridgeArn("bridgeArn")
         .name("name")
         // the properties below are optional
         .flowSource(BridgeFlowSourceProperty.builder()
                 .flowArn("flowArn")
                 // the properties below are optional
                 .flowVpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
                         .vpcInterfaceName("vpcInterfaceName")
                         .build())
                 .build())
         .networkSource(BridgeNetworkSourceProperty.builder()
                 .multicastIp("multicastIp")
                 .networkName("networkName")
                 .port(123)
                 .protocol("protocol")
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnBridgeSource

      protected CfnBridgeSource(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnBridgeSource

      protected CfnBridgeSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnBridgeSource

      @Stability(Stable) public CfnBridgeSource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnBridgeSourceProps 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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getBridgeArn

      @Stability(Stable) @NotNull public String getBridgeArn()
      The ARN of the bridge that you want to describe.
    • setBridgeArn

      @Stability(Stable) public void setBridgeArn(@NotNull String value)
      The ARN of the bridge that you want to describe.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the flow source.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the flow source.
    • getFlowSource

      @Stability(Stable) @Nullable public Object getFlowSource()
      Add a flow source to an existing bridge.
    • setFlowSource

      @Stability(Stable) public void setFlowSource(@Nullable IResolvable value)
      Add a flow source to an existing bridge.
    • setFlowSource

      @Stability(Stable) public void setFlowSource(@Nullable CfnBridgeSource.BridgeFlowSourceProperty value)
      Add a flow source to an existing bridge.
    • getNetworkSource

      @Stability(Stable) @Nullable public Object getNetworkSource()
      Add a network source to an existing bridge.
    • setNetworkSource

      @Stability(Stable) public void setNetworkSource(@Nullable IResolvable value)
      Add a network source to an existing bridge.
    • setNetworkSource

      @Stability(Stable) public void setNetworkSource(@Nullable CfnBridgeSource.BridgeNetworkSourceProperty value)
      Add a network source to an existing bridge.