Class CfnFlowVpcInterface.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowVpcInterface.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVpcInterface>
- Enclosing class:
CfnFlowVpcInterface
@Stability(Stable)
public static final class CfnFlowVpcInterface.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVpcInterface>
A fluent builder for
CfnFlowVpcInterface
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnFlowVpcInterface.Builder
The Amazon Resource Name (ARN) of the flow.The name of the VPC Interface.The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.securityGroupIds
(List<String> securityGroupIds) The VPC security groups that you want MediaConnect to use for your VPC configuration.The subnet IDs that you want to use for your VPC interface.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnFlowVpcInterface.Builder
.
-
flowArn
The Amazon Resource Name (ARN) of the flow.- Parameters:
flowArn
- The Amazon Resource Name (ARN) of the flow. This parameter is required.- Returns:
this
-
name
The name of the VPC Interface.This value must be unique within the current flow.
- Parameters:
name
- The name of the VPC Interface. This parameter is required.- Returns:
this
-
roleArn
The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service. This parameter is required.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnFlowVpcInterface.Builder securityGroupIds(List<String> securityGroupIds) The VPC security groups that you want MediaConnect to use for your VPC configuration.You must include at least one security group in the request.
- Parameters:
securityGroupIds
- The VPC security groups that you want MediaConnect to use for your VPC configuration. This parameter is required.- Returns:
this
-
subnetId
The subnet IDs that you want to use for your VPC interface.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.
- Parameters:
subnetId
- The subnet IDs that you want to use for your VPC interface. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowVpcInterface>
- Returns:
- a newly built instance of
CfnFlowVpcInterface
.
-