Interface CfnRouterNetworkInterfaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouterNetworkInterfaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:55.607Z")
@Stability(Stable)
public interface CfnRouterNetworkInterfaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRouterNetworkInterface.
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.*;
CfnRouterNetworkInterfaceProps cfnRouterNetworkInterfaceProps = CfnRouterNetworkInterfaceProps.builder()
.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 TypeInterfaceDescriptionstatic final classA builder forCfnRouterNetworkInterfacePropsstatic final classAn implementation forCfnRouterNetworkInterfaceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The configuration settings for a router network interface.getName()The name of the router network interface.default StringThe AWS Region for the router network interface.getTags()Key-value pairs that can be used to tag and organize this router network interface.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
The configuration settings for a router network interface.Returns union: either
IResolvableorCfnRouterNetworkInterface.RouterNetworkInterfaceConfigurationProperty- See Also:
-
getName
The name of the router network interface.- See Also:
-
getRegionName
The AWS Region for the router network interface.Defaults to the current region if not specified.
- See Also:
-
getTags
Key-value pairs that can be used to tag and organize this router network interface.- See Also:
-
builder
-