Class: AWSCDK::EC2::CfnClientVpnEndpoint::ClientRouteEnforcementOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnClientVpnEndpoint::ClientRouteEnforcementOptionsProperty
- Defined in:
- ec2/cfn_client_vpn_endpoint.rb
Overview
Client Route Enforcement is a feature of Client VPN that helps enforce administrator defined routes on devices connected through the VPN.
This feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.
Client Route Enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
Instance Attribute Summary collapse
-
#enforced ⇒ Boolean, ...
readonly
Enable or disable Client Route Enforcement.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enforced: nil) ⇒ ClientRouteEnforcementOptionsProperty
constructor
A new instance of ClientRouteEnforcementOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enforced: nil) ⇒ ClientRouteEnforcementOptionsProperty
Returns a new instance of ClientRouteEnforcementOptionsProperty.
987 988 989 990 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 987 def initialize(enforced: nil) @enforced = enforced Jsii::Type.check_type(@enforced, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enforced") unless @enforced.nil? end |
Instance Attribute Details
#enforced ⇒ Boolean, ... (readonly)
Enable or disable Client Route Enforcement.
The state can either be true (enabled) or false (disabled). The default is false .
Valid values: true | false
Default value: false
1002 1003 1004 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 1002 def enforced @enforced end |
Class Method Details
.jsii_properties ⇒ Object
1004 1005 1006 1007 1008 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 1004 def self.jsii_properties { :enforced => "enforced", } end |
Instance Method Details
#to_jsii ⇒ Object
1010 1011 1012 1013 1014 1015 1016 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 1010 def to_jsii result = {} result.merge!({ "enforced" => @enforced, }) result.compact end |