public static final class CfnFlowVpcInterface.Builder
extends java.lang.Object
CfnFlowVpcInterface
.Modifier and Type | Method and Description |
---|---|
CfnFlowVpcInterface |
build() |
static CfnFlowVpcInterface.Builder |
create(Construct scope,
java.lang.String id) |
CfnFlowVpcInterface.Builder |
flowArn(java.lang.String flowArn)
The Amazon Resource Name (ARN) of the flow.
|
CfnFlowVpcInterface.Builder |
name(java.lang.String name)
The name of the VPC Interface.
|
CfnFlowVpcInterface.Builder |
roleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.
|
CfnFlowVpcInterface.Builder |
securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
The VPC security groups that you want MediaConnect to use for your VPC configuration.
|
CfnFlowVpcInterface.Builder |
subnetId(java.lang.String subnetId)
The subnet IDs that you want to use for your VPC interface.
|
public static CfnFlowVpcInterface.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnFlowVpcInterface.Builder
.public CfnFlowVpcInterface.Builder flowArn(java.lang.String flowArn)
flowArn
- The Amazon Resource Name (ARN) of the flow. This parameter is required.this
public CfnFlowVpcInterface.Builder name(java.lang.String name)
This value must be unique within the current flow.
name
- The name of the VPC Interface. This parameter is required.this
public CfnFlowVpcInterface.Builder roleArn(java.lang.String roleArn)
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.this
public CfnFlowVpcInterface.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
You must include at least one security group in the request.
securityGroupIds
- The VPC security groups that you want MediaConnect to use for your VPC configuration. This parameter is required.this
public CfnFlowVpcInterface.Builder subnetId(java.lang.String subnetId)
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.
subnetId
- The subnet IDs that you want to use for your VPC interface. This parameter is required.this
public CfnFlowVpcInterface build()