Interface CfnFlow.VpcInterfaceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlow.VpcInterfaceProperty.Jsii$Proxy
- Enclosing class:
CfnFlow
@Stability(Stable)
public static interface CfnFlow.VpcInterfaceProperty
extends software.amazon.jsii.JsiiSerializable
The details of a VPC interface.
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.*;
VpcInterfaceProperty vpcInterfaceProperty = VpcInterfaceProperty.builder()
.name("name")
.roleArn("roleArn")
.securityGroupIds(List.of("securityGroupIds"))
.subnetId("subnetId")
// the properties below are optional
.networkInterfaceIds(List.of("networkInterfaceIds"))
.networkInterfaceType("networkInterfaceType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlow.VpcInterfacePropertystatic final classAn implementation forCfnFlow.VpcInterfaceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getName()The name for the VPC interface.The IDs of the network interfaces that MediaConnect created in your account.default StringThe type of network interface.The ARN of the IAM role that you created when you set up MediaConnect as a trusted service.A virtual firewall to control inbound and outbound traffic.The subnet IDs that you specified for your VPC interface.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name for the VPC interface.This name must be unique within the flow.
- See Also:
-
getRoleArn
The ARN of the IAM role that you created when you set up MediaConnect as a trusted service.- See Also:
-
getSecurityGroupIds
A virtual firewall to control inbound and outbound traffic.- See Also:
-
getSubnetId
The subnet IDs that you specified for your VPC interface.A subnet ID is a range of IP addresses in your VPC. When you create your VPC, you specify a range of IPv4 addresses for the VPC in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. This is the primary CIDR block for your VPC. When you create a subnet for your VPC, you specify the CIDR block for the subnet, which is a subset of the VPC CIDR block.
The subnets that you use across all VPC interfaces on the flow must be in the same Availability Zone as the flow.
- See Also:
-
getNetworkInterfaceIds
The IDs of the network interfaces that MediaConnect created in your account.- See Also:
-
getNetworkInterfaceType
The type of network interface.- See Also:
-
builder
-