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.101.0 (build b95fe5d)", date="2024-07-12T19:34:05.271Z") @Stability(Stable) public class CfnGateway extends CfnResource implements IInspectable
The AWS::MediaConnect::Gateway resource is used to create a new gateway.

AWS Elemental MediaConnect Gateway is a feature of MediaConnect that allows the deployment of on-premises resources for transporting live video to and from the AWS Cloud. MediaConnect Gateway allows you to contribute live video to the AWS Cloud from on-premises hardware, as well as distribute live video from the AWS Cloud to your local data center.

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.*;
 CfnGateway cfnGateway = CfnGateway.Builder.create(this, "MyCfnGateway")
         .egressCidrBlocks(List.of("egressCidrBlocks"))
         .name("name")
         .networks(List.of(GatewayNetworkProperty.builder()
                 .cidrBlock("cidrBlock")
                 .name("name")
                 .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

    • CfnGateway

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

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

      @Stability(Stable) public CfnGateway(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGatewayProps 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.
    • getAttrGatewayArn

      @Stability(Stable) @NotNull public String getAttrGatewayArn()
      The Amazon Resource Name (ARN) of the gateway.
    • getAttrGatewayState

      @Stability(Stable) @NotNull public String getAttrGatewayState()
      The current state of the gateway.

      Possible values are: CREATING, ACTIVE, UPDATING, ERROR, DELETING, DELETED.

    • getCfnProperties

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

      @Stability(Stable) @NotNull public List<String> getEgressCidrBlocks()
      The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.
    • setEgressCidrBlocks

      @Stability(Stable) public void setEgressCidrBlocks(@NotNull List<String> value)
      The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.
    • getName

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

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the network.
    • getNetworks

      @Stability(Stable) @NotNull public Object getNetworks()
      The list of networks that you want to add.
    • setNetworks

      @Stability(Stable) public void setNetworks(@NotNull IResolvable value)
      The list of networks that you want to add.
    • setNetworks

      @Stability(Stable) public void setNetworks(@NotNull List<Object> value)
      The list of networks that you want to add.