Class: AWSCDK::EC2::CfnNetworkInsightsAnalysis::PathComponentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnNetworkInsightsAnalysis::PathComponentProperty
- Defined in:
- ec2/cfn_network_insights_analysis.rb
Overview
Describes a path component.
Instance Attribute Summary collapse
-
#acl_rule ⇒ AWSCDK::IResolvable, ...
readonly
The network ACL rule.
-
#additional_details ⇒ AWSCDK::IResolvable, ...
readonly
The additional details.
-
#component ⇒ AWSCDK::IResolvable, ...
readonly
The component.
-
#destination_vpc ⇒ AWSCDK::IResolvable, ...
readonly
The destination VPC.
-
#elastic_load_balancer_listener ⇒ AWSCDK::IResolvable, ...
readonly
The load balancer listener.
-
#explanations ⇒ AWSCDK::IResolvable, ...
readonly
The explanation codes.
-
#inbound_header ⇒ AWSCDK::IResolvable, ...
readonly
The inbound header.
-
#outbound_header ⇒ AWSCDK::IResolvable, ...
readonly
The outbound header.
-
#route_table_route ⇒ AWSCDK::IResolvable, ...
readonly
The route table route.
-
#security_group_rule ⇒ AWSCDK::IResolvable, ...
readonly
The security group rule.
-
#sequence_number ⇒ Numeric?
readonly
The sequence number.
-
#service_name ⇒ String?
readonly
The name of the VPC endpoint service.
-
#source_vpc ⇒ AWSCDK::IResolvable, ...
readonly
The source VPC.
-
#subnet ⇒ AWSCDK::IResolvable, ...
readonly
The subnet.
-
#transit_gateway ⇒ AWSCDK::IResolvable, ...
readonly
The transit gateway.
-
#transit_gateway_route_table_route ⇒ AWSCDK::IResolvable, ...
readonly
The route in a transit gateway route table.
-
#vpc ⇒ AWSCDK::IResolvable, ...
readonly
The component VPC.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(acl_rule: nil, additional_details: nil, component: nil, destination_vpc: nil, elastic_load_balancer_listener: nil, explanations: nil, inbound_header: nil, outbound_header: nil, route_table_route: nil, security_group_rule: nil, sequence_number: nil, service_name: nil, source_vpc: nil, subnet: nil, transit_gateway: nil, transit_gateway_route_table_route: nil, vpc: nil) ⇒ PathComponentProperty
constructor
A new instance of PathComponentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(acl_rule: nil, additional_details: nil, component: nil, destination_vpc: nil, elastic_load_balancer_listener: nil, explanations: nil, inbound_header: nil, outbound_header: nil, route_table_route: nil, security_group_rule: nil, sequence_number: nil, service_name: nil, source_vpc: nil, subnet: nil, transit_gateway: nil, transit_gateway_route_table_route: nil, vpc: nil) ⇒ PathComponentProperty
Returns a new instance of PathComponentProperty.
1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1872 def initialize(acl_rule: nil, additional_details: nil, component: nil, destination_vpc: nil, elastic_load_balancer_listener: nil, explanations: nil, inbound_header: nil, outbound_header: nil, route_table_route: nil, security_group_rule: nil, sequence_number: nil, service_name: nil, source_vpc: nil, subnet: nil, transit_gateway: nil, transit_gateway_route_table_route: nil, vpc: nil) @acl_rule = acl_rule.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisAclRuleProperty.new(**acl_rule.transform_keys(&:to_sym)) : acl_rule Jsii::Type.check_type(@acl_rule, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNBY2xSdWxlUHJvcGVydHkifV19fQ==")), "aclRule") unless @acl_rule.nil? @additional_details = additional_details Jsii::Type.check_type(@additional_details, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLkNmbk5ldHdvcmtJbnNpZ2h0c0FuYWx5c2lzLkFkZGl0aW9uYWxEZXRhaWxQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "additionalDetails") unless @additional_details.nil? @component = component.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty.new(**component.transform_keys(&:to_sym)) : component Jsii::Type.check_type(@component, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNDb21wb25lbnRQcm9wZXJ0eSJ9XX19")), "component") unless @component.nil? @destination_vpc = destination_vpc.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty.new(**destination_vpc.transform_keys(&:to_sym)) : destination_vpc Jsii::Type.check_type(@destination_vpc, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNDb21wb25lbnRQcm9wZXJ0eSJ9XX19")), "destinationVpc") unless @destination_vpc.nil? @elastic_load_balancer_listener = elastic_load_balancer_listener.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty.new(**elastic_load_balancer_listener.transform_keys(&:to_sym)) : elastic_load_balancer_listener Jsii::Type.check_type(@elastic_load_balancer_listener, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNDb21wb25lbnRQcm9wZXJ0eSJ9XX19")), "elasticLoadBalancerListener") unless @elastic_load_balancer_listener.nil? @explanations = explanations Jsii::Type.check_type(@explanations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLkNmbk5ldHdvcmtJbnNpZ2h0c0FuYWx5c2lzLkV4cGxhbmF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "explanations") unless @explanations.nil? @inbound_header = inbound_header.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisPacketHeaderProperty.new(**inbound_header.transform_keys(&:to_sym)) : inbound_header Jsii::Type.check_type(@inbound_header, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNQYWNrZXRIZWFkZXJQcm9wZXJ0eSJ9XX19")), "inboundHeader") unless @inbound_header.nil? @outbound_header = outbound_header.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisPacketHeaderProperty.new(**outbound_header.transform_keys(&:to_sym)) : outbound_header Jsii::Type.check_type(@outbound_header, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNQYWNrZXRIZWFkZXJQcm9wZXJ0eSJ9XX19")), "outboundHeader") unless @outbound_header.nil? @route_table_route = route_table_route.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisRouteTableRouteProperty.new(**route_table_route.transform_keys(&:to_sym)) : route_table_route Jsii::Type.check_type(@route_table_route, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNSb3V0ZVRhYmxlUm91dGVQcm9wZXJ0eSJ9XX19")), "routeTableRoute") unless @route_table_route.nil? @security_group_rule = security_group_rule.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisSecurityGroupRuleProperty.new(**security_group_rule.transform_keys(&:to_sym)) : security_group_rule Jsii::Type.check_type(@security_group_rule, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNTZWN1cml0eUdyb3VwUnVsZVByb3BlcnR5In1dfX0=")), "securityGroupRule") unless @security_group_rule.nil? @sequence_number = sequence_number Jsii::Type.check_type(@sequence_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sequenceNumber") unless @sequence_number.nil? @service_name = service_name Jsii::Type.check_type(@service_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceName") unless @service_name.nil? @source_vpc = source_vpc.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty.new(**source_vpc.transform_keys(&:to_sym)) : source_vpc Jsii::Type.check_type(@source_vpc, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNDb21wb25lbnRQcm9wZXJ0eSJ9XX19")), "sourceVpc") unless @source_vpc.nil? @subnet = subnet.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty.new(**subnet.transform_keys(&:to_sym)) : subnet Jsii::Type.check_type(@subnet, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNDb21wb25lbnRQcm9wZXJ0eSJ9XX19")), "subnet") unless @subnet.nil? @transit_gateway = transit_gateway.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty.new(**transit_gateway.transform_keys(&:to_sym)) : transit_gateway Jsii::Type.check_type(@transit_gateway, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNDb21wb25lbnRQcm9wZXJ0eSJ9XX19")), "transitGateway") unless @transit_gateway.nil? @transit_gateway_route_table_route = transit_gateway_route_table_route.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::TransitGatewayRouteTableRouteProperty.new(**transit_gateway_route_table_route.transform_keys(&:to_sym)) : transit_gateway_route_table_route Jsii::Type.check_type(@transit_gateway_route_table_route, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuVHJhbnNpdEdhdGV3YXlSb3V0ZVRhYmxlUm91dGVQcm9wZXJ0eSJ9XX19")), "transitGatewayRouteTableRoute") unless @transit_gateway_route_table_route.nil? @vpc = vpc.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty.new(**vpc.transform_keys(&:to_sym)) : vpc Jsii::Type.check_type(@vpc, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQW5hbHlzaXMuQW5hbHlzaXNDb21wb25lbnRQcm9wZXJ0eSJ9XX19")), "vpc") unless @vpc.nil? end |
Instance Attribute Details
#acl_rule ⇒ AWSCDK::IResolvable, ... (readonly)
The network ACL rule.
1913 1914 1915 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1913 def acl_rule @acl_rule end |
#additional_details ⇒ AWSCDK::IResolvable, ... (readonly)
The additional details.
1918 1919 1920 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1918 def additional_details @additional_details end |
#component ⇒ AWSCDK::IResolvable, ... (readonly)
The component.
1923 1924 1925 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1923 def component @component end |
#destination_vpc ⇒ AWSCDK::IResolvable, ... (readonly)
The destination VPC.
1928 1929 1930 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1928 def destination_vpc @destination_vpc end |
#elastic_load_balancer_listener ⇒ AWSCDK::IResolvable, ... (readonly)
The load balancer listener.
1933 1934 1935 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1933 def elastic_load_balancer_listener @elastic_load_balancer_listener end |
#explanations ⇒ AWSCDK::IResolvable, ... (readonly)
The explanation codes.
1938 1939 1940 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1938 def explanations @explanations end |
#inbound_header ⇒ AWSCDK::IResolvable, ... (readonly)
The inbound header.
1943 1944 1945 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1943 def inbound_header @inbound_header end |
#outbound_header ⇒ AWSCDK::IResolvable, ... (readonly)
The outbound header.
1948 1949 1950 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1948 def outbound_header @outbound_header end |
#route_table_route ⇒ AWSCDK::IResolvable, ... (readonly)
The route table route.
1953 1954 1955 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1953 def route_table_route @route_table_route end |
#security_group_rule ⇒ AWSCDK::IResolvable, ... (readonly)
The security group rule.
1958 1959 1960 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1958 def security_group_rule @security_group_rule end |
#sequence_number ⇒ Numeric? (readonly)
The sequence number.
1963 1964 1965 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1963 def sequence_number @sequence_number end |
#service_name ⇒ String? (readonly)
The name of the VPC endpoint service.
1968 1969 1970 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1968 def service_name @service_name end |
#source_vpc ⇒ AWSCDK::IResolvable, ... (readonly)
The source VPC.
1973 1974 1975 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1973 def source_vpc @source_vpc end |
#subnet ⇒ AWSCDK::IResolvable, ... (readonly)
The subnet.
1978 1979 1980 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1978 def subnet @subnet end |
#transit_gateway ⇒ AWSCDK::IResolvable, ... (readonly)
The transit gateway.
1983 1984 1985 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1983 def transit_gateway @transit_gateway end |
#transit_gateway_route_table_route ⇒ AWSCDK::IResolvable, ... (readonly)
The route in a transit gateway route table.
1988 1989 1990 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1988 def transit_gateway_route_table_route @transit_gateway_route_table_route end |
#vpc ⇒ AWSCDK::IResolvable, ... (readonly)
The component VPC.
1993 1994 1995 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1993 def vpc @vpc end |
Class Method Details
.jsii_properties ⇒ Object
1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 |
# File 'ec2/cfn_network_insights_analysis.rb', line 1995 def self.jsii_properties { :acl_rule => "aclRule", :additional_details => "additionalDetails", :component => "component", :destination_vpc => "destinationVpc", :elastic_load_balancer_listener => "elasticLoadBalancerListener", :explanations => "explanations", :inbound_header => "inboundHeader", :outbound_header => "outboundHeader", :route_table_route => "routeTableRoute", :security_group_rule => "securityGroupRule", :sequence_number => "sequenceNumber", :service_name => "serviceName", :source_vpc => "sourceVpc", :subnet => "subnet", :transit_gateway => "transitGateway", :transit_gateway_route_table_route => "transitGatewayRouteTableRoute", :vpc => "vpc", } end |
Instance Method Details
#to_jsii ⇒ Object
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 |
# File 'ec2/cfn_network_insights_analysis.rb', line 2017 def to_jsii result = {} result.merge!({ "aclRule" => @acl_rule, "additionalDetails" => @additional_details, "component" => @component, "destinationVpc" => @destination_vpc, "elasticLoadBalancerListener" => @elastic_load_balancer_listener, "explanations" => @explanations, "inboundHeader" => @inbound_header, "outboundHeader" => @outbound_header, "routeTableRoute" => @route_table_route, "securityGroupRule" => @security_group_rule, "sequenceNumber" => @sequence_number, "serviceName" => @service_name, "sourceVpc" => @source_vpc, "subnet" => @subnet, "transitGateway" => @transit_gateway, "transitGatewayRouteTableRoute" => @transit_gateway_route_table_route, "vpc" => @vpc, }) result.compact end |