CfnFlowVpcInterfaceProps
- class aws_cdk.aws_mediaconnect.CfnFlowVpcInterfaceProps(*, flow_arn, name, role_arn, security_group_ids, subnet_id)
Bases:
object
Properties for defining a
CfnFlowVpcInterface
.- Parameters:
flow_arn (
str
) – The Amazon Resource Name (ARN) of the flow.name (
str
) – The name of the VPC Interface. This value must be unique within the current flow.role_arn (
str
) – The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.security_group_ids (
Sequence
[str
]) – 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.subnet_id (
str
) – 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.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_mediaconnect as mediaconnect cfn_flow_vpc_interface_props = mediaconnect.CfnFlowVpcInterfaceProps( flow_arn="flowArn", name="name", role_arn="roleArn", security_group_ids=["securityGroupIds"], subnet_id="subnetId" )
Attributes
- flow_arn
The Amazon Resource Name (ARN) of the flow.
- name
The name of the VPC Interface.
This value must be unique within the current flow.
- role_arn
The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.
- security_group_ids
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.
- subnet_id
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.