Class CfnGateway
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.CfnGateway
- All Implemented Interfaces:
IInspectable,IGatewayRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.953Z")
@Stability(Stable)
public class CfnGateway
extends CfnResource
implements IInspectable, IGatewayRef
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnGateway.static interfaceThe network settings for a gateway.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediaconnect.IGatewayRef
IGatewayRef.Jsii$Default, IGatewayRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGateway(software.amazon.jsii.JsiiObjectRef objRef) CfnGateway(software.constructs.Construct scope, String id, CfnGatewayProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the gateway.The current state of the gateway.The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.A reference to a Gateway resource.getName()The name of the gateway.The list of networks in the gateway.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetEgressCidrBlocks(List<String> value) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.voidThe name of the gateway.voidsetNetworks(List<Object> value) The list of networks in the gateway.voidsetNetworks(IResolvable value) The list of networks in the gateway.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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods 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
-
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
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrGatewayArn
The Amazon Resource Name (ARN) of the gateway. -
getAttrGatewayState
The current state of the gateway.Possible values are: CREATING, ACTIVE, UPDATING, ERROR, DELETING, DELETED.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getGatewayRef
A reference to a Gateway resource.- Specified by:
getGatewayRefin interfaceIGatewayRef
-
getEgressCidrBlocks
The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. -
setEgressCidrBlocks
The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. -
getName
The name of the gateway. -
setName
The name of the gateway. -
getNetworks
The list of networks in the gateway.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGateway.GatewayNetworkProperty> -
setNetworks
The list of networks in the gateway. -
setNetworks
The list of networks in the gateway.
-