ClientVpnEndpointAttributes¶
-
class
aws_cdk.aws_ec2.
ClientVpnEndpointAttributes
(*, endpoint_id, security_groups)¶ Bases:
object
Attributes when importing an existing client VPN endpoint.
- Parameters
endpoint_id (
str
) – The endpoint ID.security_groups (
Sequence
[ISecurityGroup
]) – The security groups associated with the endpoint.
- 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_ec2 as ec2 # security_group: ec2.SecurityGroup client_vpn_endpoint_attributes = ec2.ClientVpnEndpointAttributes( endpoint_id="endpointId", security_groups=[security_group] )
Attributes
-
endpoint_id
¶ The endpoint ID.
- Return type
str
-
security_groups
¶ The security groups associated with the endpoint.
- Return type
List
[ISecurityGroup
]