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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-12T12:32:05.672Z")
@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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A fluent builder forCfnGateway
.static interface
The network settings for a gateway.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
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnGateway
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnGateway
(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.getName()
The name of the network.The list of networks that you want to add.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setEgressCidrBlocks
(List<String> value) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.void
The name of the network.void
setNetworks
(List<Object> value) The list of networks that you want to add.void
setNetworks
(IResolvable value) The list of networks that you want to add.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
-
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:
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.
-
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:
getCfnProperties
in classCfnResource
-
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 network. -
setName
The name of the network. -
getNetworks
The list of networks that you want to add. -
setNetworks
The list of networks that you want to add. -
setNetworks
The list of networks that you want to add.
-