Class CfnRouterNetworkInterface
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.CfnRouterNetworkInterface
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IRouterNetworkInterfaceRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T13:52:06.785Z")
@Stability(Stable)
public class CfnRouterNetworkInterface
extends CfnResource
implements IInspectable, IRouterNetworkInterfaceRef, ITaggableV2
Represents a router network interface in AWS Elemental MediaConnect that is used to define a network boundary for router resources.
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.*;
CfnRouterNetworkInterface cfnRouterNetworkInterface = CfnRouterNetworkInterface.Builder.create(this, "MyCfnRouterNetworkInterface")
.configuration(RouterNetworkInterfaceConfigurationProperty.builder()
.public(PublicRouterNetworkInterfaceConfigurationProperty.builder()
.allowRules(List.of(PublicRouterNetworkInterfaceRuleProperty.builder()
.cidr("cidr")
.build()))
.build())
.vpc(VpcRouterNetworkInterfaceConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetId("subnetId")
.build())
.build())
.name("name")
// the properties below are optional
.regionName("regionName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnRouterNetworkInterface.static interfaceThe configuration settings for a public router network interface, including the list of allowed CIDR blocks.static interfaceA rule that allows a specific CIDR block to access the public router network interface.static interfaceExample:static interfaceThe configuration settings for a router network interface within a VPC, including the security group IDs and subnet ID.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.mediaconnect.IRouterNetworkInterfaceRef
IRouterNetworkInterfaceRef.Jsii$Default, IRouterNetworkInterfaceRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnRouterNetworkInterface(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRouterNetworkInterface(software.amazon.jsii.JsiiObjectRef objRef) CfnRouterNetworkInterface(software.constructs.Construct scope, String id, CfnRouterNetworkInterfaceProps props) Create a newAWS::MediaConnect::RouterNetworkInterface. -
Method Summary
Modifier and TypeMethodDescriptionThe number of router inputs associated with the network interface.The number of router outputs associated with the network interface.The timestamp when the router network interface was created.The unique identifier of the router network interface.The timestamp when the router network interface was last updated.Tag Manager which manages the tags for this resource.The configuration settings for a router network interface.getName()The name of the router network interface.The AWS Region for the router network interface.A reference to a RouterNetworkInterface resource.getTags()Key-value pairs that can be used to tag and organize this router network interface.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetConfiguration(IResolvable value) The configuration settings for a router network interface.voidThe configuration settings for a router network interface.voidThe name of the router network interface.voidsetRegionName(String value) The AWS Region for the router network interface.voidKey-value pairs that can be used to tag and organize this router network interface.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, 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.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnRouterNetworkInterface
protected CfnRouterNetworkInterface(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRouterNetworkInterface
protected CfnRouterNetworkInterface(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRouterNetworkInterface
@Stability(Stable) public CfnRouterNetworkInterface(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRouterNetworkInterfaceProps props) Create a newAWS::MediaConnect::RouterNetworkInterface.- 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.
-
getAttrArn
-
getAttrAssociatedInputCount
The number of router inputs associated with the network interface. -
getAttrAssociatedOutputCount
The number of router outputs associated with the network interface. -
getAttrCreatedAt
The timestamp when the router network interface was created. -
getAttrId
The unique identifier of the router network interface. -
getAttrNetworkInterfaceType
-
getAttrState
-
getAttrUpdatedAt
The timestamp when the router network interface was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getRouterNetworkInterfaceRef
A reference to a RouterNetworkInterface resource.- Specified by:
getRouterNetworkInterfaceRefin interfaceIRouterNetworkInterfaceRef
-
getConfiguration
The configuration settings for a router network interface.Returns union: either
IResolvableorCfnRouterNetworkInterface.RouterNetworkInterfaceConfigurationProperty -
setConfiguration
The configuration settings for a router network interface. -
setConfiguration
@Stability(Stable) public void setConfiguration(@NotNull CfnRouterNetworkInterface.RouterNetworkInterfaceConfigurationProperty value) The configuration settings for a router network interface. -
getName
The name of the router network interface. -
setName
The name of the router network interface. -
getRegionName
The AWS Region for the router network interface. -
setRegionName
The AWS Region for the router network interface. -
getTags
Key-value pairs that can be used to tag and organize this router network interface. -
setTags
Key-value pairs that can be used to tag and organize this router network interface.
-