--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_ec2_network_insights_analysis Data Source - terraform-provider-awscc" subcategory: "" description: |- Data Source schema for AWS::EC2::NetworkInsightsAnalysis --- # awscc_ec2_network_insights_analysis (Data Source) Data Source schema for AWS::EC2::NetworkInsightsAnalysis ## Schema ### Required - `id` (String) Uniquely identifies the resource. ### Read-Only - `alternate_path_hints` (Attributes List) (see [below for nested schema](#nestedatt--alternate_path_hints)) - `explanations` (Attributes List) (see [below for nested schema](#nestedatt--explanations)) - `filter_in_arns` (List of String) - `forward_path_components` (Attributes List) (see [below for nested schema](#nestedatt--forward_path_components)) - `network_insights_analysis_arn` (String) - `network_insights_analysis_id` (String) - `network_insights_path_id` (String) - `network_path_found` (Boolean) - `return_path_components` (Attributes List) (see [below for nested schema](#nestedatt--return_path_components)) - `start_date` (String) - `status` (String) - `status_message` (String) - `tags` (Attributes List) (see [below for nested schema](#nestedatt--tags)) ### Nested Schema for `alternate_path_hints` Read-Only: - `component_arn` (String) - `component_id` (String) ### Nested Schema for `explanations` Read-Only: - `acl` (Attributes) (see [below for nested schema](#nestedatt--explanations--acl)) - `acl_rule` (Attributes) (see [below for nested schema](#nestedatt--explanations--acl_rule)) - `address` (String) - `addresses` (List of String) - `attached_to` (Attributes) (see [below for nested schema](#nestedatt--explanations--attached_to)) - `availability_zones` (List of String) - `cidrs` (List of String) - `classic_load_balancer_listener` (Attributes) (see [below for nested schema](#nestedatt--explanations--classic_load_balancer_listener)) - `component` (Attributes) (see [below for nested schema](#nestedatt--explanations--component)) - `customer_gateway` (Attributes) (see [below for nested schema](#nestedatt--explanations--customer_gateway)) - `destination` (Attributes) (see [below for nested schema](#nestedatt--explanations--destination)) - `destination_vpc` (Attributes) (see [below for nested schema](#nestedatt--explanations--destination_vpc)) - `direction` (String) - `elastic_load_balancer_listener` (Attributes) (see [below for nested schema](#nestedatt--explanations--elastic_load_balancer_listener)) - `explanation_code` (String) - `ingress_route_table` (Attributes) (see [below for nested schema](#nestedatt--explanations--ingress_route_table)) - `internet_gateway` (Attributes) (see [below for nested schema](#nestedatt--explanations--internet_gateway)) - `load_balancer_arn` (String) - `load_balancer_listener_port` (Number) - `load_balancer_target` (Attributes) (see [below for nested schema](#nestedatt--explanations--load_balancer_target)) - `load_balancer_target_group` (Attributes) (see [below for nested schema](#nestedatt--explanations--load_balancer_target_group)) - `load_balancer_target_groups` (Attributes List) (see [below for nested schema](#nestedatt--explanations--load_balancer_target_groups)) - `load_balancer_target_port` (Number) - `missing_component` (String) - `nat_gateway` (Attributes) (see [below for nested schema](#nestedatt--explanations--nat_gateway)) - `network_interface` (Attributes) (see [below for nested schema](#nestedatt--explanations--network_interface)) - `packet_field` (String) - `port` (Number) - `port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--explanations--port_ranges)) - `prefix_list` (Attributes) (see [below for nested schema](#nestedatt--explanations--prefix_list)) - `protocols` (List of String) - `route_table` (Attributes) (see [below for nested schema](#nestedatt--explanations--route_table)) - `route_table_route` (Attributes) (see [below for nested schema](#nestedatt--explanations--route_table_route)) - `security_group` (Attributes) (see [below for nested schema](#nestedatt--explanations--security_group)) - `security_group_rule` (Attributes) (see [below for nested schema](#nestedatt--explanations--security_group_rule)) - `security_groups` (Attributes List) (see [below for nested schema](#nestedatt--explanations--security_groups)) - `source_vpc` (Attributes) (see [below for nested schema](#nestedatt--explanations--source_vpc)) - `state` (String) - `subnet` (Attributes) (see [below for nested schema](#nestedatt--explanations--subnet)) - `subnet_route_table` (Attributes) (see [below for nested schema](#nestedatt--explanations--subnet_route_table)) - `vpc` (Attributes) (see [below for nested schema](#nestedatt--explanations--vpc)) - `vpc_endpoint` (Attributes) (see [below for nested schema](#nestedatt--explanations--vpc_endpoint)) - `vpc_peering_connection` (Attributes) (see [below for nested schema](#nestedatt--explanations--vpc_peering_connection)) - `vpn_connection` (Attributes) (see [below for nested schema](#nestedatt--explanations--vpn_connection)) - `vpn_gateway` (Attributes) (see [below for nested schema](#nestedatt--explanations--vpn_gateway)) ### Nested Schema for `explanations.acl` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.acl_rule` Read-Only: - `cidr` (String) - `egress` (Boolean) - `port_range` (Attributes) (see [below for nested schema](#nestedatt--explanations--acl_rule--port_range)) - `protocol` (String) - `rule_action` (String) - `rule_number` (Number) ### Nested Schema for `explanations.acl_rule.port_range` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `explanations.attached_to` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.classic_load_balancer_listener` Read-Only: - `instance_port` (Number) - `load_balancer_port` (Number) ### Nested Schema for `explanations.component` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.customer_gateway` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.destination` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.destination_vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.elastic_load_balancer_listener` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.ingress_route_table` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.internet_gateway` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.load_balancer_target` Read-Only: - `address` (String) - `availability_zone` (String) - `instance` (Attributes) (see [below for nested schema](#nestedatt--explanations--load_balancer_target--instance)) - `port` (Number) ### Nested Schema for `explanations.load_balancer_target.instance` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.load_balancer_target_group` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.load_balancer_target_groups` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.nat_gateway` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.network_interface` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `explanations.prefix_list` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.route_table` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.route_table_route` Read-Only: - `destination_cidr` (String) - `destination_prefix_list_id` (String) - `egress_only_internet_gateway_id` (String) - `gateway_id` (String) - `instance_id` (String) - `nat_gateway_id` (String) - `network_interface_id` (String) - `origin` (String) - `transit_gateway_id` (String) - `vpc_peering_connection_id` (String) ### Nested Schema for `explanations.security_group` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.security_group_rule` Read-Only: - `cidr` (String) - `direction` (String) - `port_range` (Attributes) (see [below for nested schema](#nestedatt--explanations--security_group_rule--port_range)) - `prefix_list_id` (String) - `protocol` (String) - `security_group_id` (String) ### Nested Schema for `explanations.security_group_rule.port_range` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `explanations.security_groups` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.source_vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.subnet` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.subnet_route_table` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.vpc_endpoint` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.vpc_peering_connection` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.vpn_connection` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `explanations.vpn_gateway` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `forward_path_components` Read-Only: - `acl_rule` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--acl_rule)) - `component` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--component)) - `destination_vpc` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--destination_vpc)) - `inbound_header` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--inbound_header)) - `outbound_header` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--outbound_header)) - `route_table_route` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--route_table_route)) - `security_group_rule` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--security_group_rule)) - `sequence_number` (Number) - `source_vpc` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--source_vpc)) - `subnet` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--subnet)) - `vpc` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--vpc)) ### Nested Schema for `forward_path_components.acl_rule` Read-Only: - `cidr` (String) - `egress` (Boolean) - `port_range` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--acl_rule--port_range)) - `protocol` (String) - `rule_action` (String) - `rule_number` (Number) ### Nested Schema for `forward_path_components.acl_rule.port_range` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `forward_path_components.component` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `forward_path_components.destination_vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `forward_path_components.inbound_header` Read-Only: - `destination_addresses` (List of String) - `destination_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--forward_path_components--inbound_header--destination_port_ranges)) - `protocol` (String) - `source_addresses` (List of String) - `source_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--forward_path_components--inbound_header--source_port_ranges)) ### Nested Schema for `forward_path_components.inbound_header.destination_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `forward_path_components.inbound_header.source_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `forward_path_components.outbound_header` Read-Only: - `destination_addresses` (List of String) - `destination_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--forward_path_components--outbound_header--destination_port_ranges)) - `protocol` (String) - `source_addresses` (List of String) - `source_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--forward_path_components--outbound_header--source_port_ranges)) ### Nested Schema for `forward_path_components.outbound_header.destination_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `forward_path_components.outbound_header.source_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `forward_path_components.route_table_route` Read-Only: - `destination_cidr` (String) - `destination_prefix_list_id` (String) - `egress_only_internet_gateway_id` (String) - `gateway_id` (String) - `instance_id` (String) - `nat_gateway_id` (String) - `network_interface_id` (String) - `origin` (String) - `transit_gateway_id` (String) - `vpc_peering_connection_id` (String) ### Nested Schema for `forward_path_components.security_group_rule` Read-Only: - `cidr` (String) - `direction` (String) - `port_range` (Attributes) (see [below for nested schema](#nestedatt--forward_path_components--security_group_rule--port_range)) - `prefix_list_id` (String) - `protocol` (String) - `security_group_id` (String) ### Nested Schema for `forward_path_components.security_group_rule.port_range` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `forward_path_components.source_vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `forward_path_components.subnet` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `forward_path_components.vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `return_path_components` Read-Only: - `acl_rule` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--acl_rule)) - `component` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--component)) - `destination_vpc` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--destination_vpc)) - `inbound_header` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--inbound_header)) - `outbound_header` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--outbound_header)) - `route_table_route` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--route_table_route)) - `security_group_rule` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--security_group_rule)) - `sequence_number` (Number) - `source_vpc` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--source_vpc)) - `subnet` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--subnet)) - `vpc` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--vpc)) ### Nested Schema for `return_path_components.acl_rule` Read-Only: - `cidr` (String) - `egress` (Boolean) - `port_range` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--acl_rule--port_range)) - `protocol` (String) - `rule_action` (String) - `rule_number` (Number) ### Nested Schema for `return_path_components.acl_rule.port_range` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `return_path_components.component` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `return_path_components.destination_vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `return_path_components.inbound_header` Read-Only: - `destination_addresses` (List of String) - `destination_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--return_path_components--inbound_header--destination_port_ranges)) - `protocol` (String) - `source_addresses` (List of String) - `source_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--return_path_components--inbound_header--source_port_ranges)) ### Nested Schema for `return_path_components.inbound_header.destination_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `return_path_components.inbound_header.source_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `return_path_components.outbound_header` Read-Only: - `destination_addresses` (List of String) - `destination_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--return_path_components--outbound_header--destination_port_ranges)) - `protocol` (String) - `source_addresses` (List of String) - `source_port_ranges` (Attributes List) (see [below for nested schema](#nestedatt--return_path_components--outbound_header--source_port_ranges)) ### Nested Schema for `return_path_components.outbound_header.destination_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `return_path_components.outbound_header.source_port_ranges` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `return_path_components.route_table_route` Read-Only: - `destination_cidr` (String) - `destination_prefix_list_id` (String) - `egress_only_internet_gateway_id` (String) - `gateway_id` (String) - `instance_id` (String) - `nat_gateway_id` (String) - `network_interface_id` (String) - `origin` (String) - `transit_gateway_id` (String) - `vpc_peering_connection_id` (String) ### Nested Schema for `return_path_components.security_group_rule` Read-Only: - `cidr` (String) - `direction` (String) - `port_range` (Attributes) (see [below for nested schema](#nestedatt--return_path_components--security_group_rule--port_range)) - `prefix_list_id` (String) - `protocol` (String) - `security_group_id` (String) ### Nested Schema for `return_path_components.security_group_rule.port_range` Read-Only: - `from` (Number) - `to` (Number) ### Nested Schema for `return_path_components.source_vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `return_path_components.subnet` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `return_path_components.vpc` Read-Only: - `arn` (String) - `id` (String) The ID of this resource. ### Nested Schema for `tags` Read-Only: - `key` (String) - `value` (String)