InterfaceVpcEndpointAttributes
- class aws_cdk.aws_ec2.InterfaceVpcEndpointAttributes(*, port, vpc_endpoint_id, security_groups=None)
Bases:
object
Construction properties for an ImportedInterfaceVpcEndpoint.
- Parameters:
port (
Union
[int
,float
]) – The port of the service of the interface VPC endpoint.vpc_endpoint_id (
str
) – The interface VPC endpoint identifier.security_groups (
Optional
[Sequence
[ISecurityGroup
]]) – The security groups associated with the interface VPC endpoint. If you wish to manage the network connections associated with this endpoint, you will need to specify its security groups.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 # security_group: ec2.SecurityGroup interface_vpc_endpoint_attributes = ec2.InterfaceVpcEndpointAttributes( port=123, vpc_endpoint_id="vpcEndpointId", # the properties below are optional security_groups=[security_group] )
Attributes
- port
The port of the service of the interface VPC endpoint.
- security_groups
The security groups associated with the interface VPC endpoint.
If you wish to manage the network connections associated with this endpoint, you will need to specify its security groups.
- vpc_endpoint_id
The interface VPC endpoint identifier.