Interface CfnNetworkInsightsAnalysis.ExplanationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnNetworkInsightsAnalysis.ExplanationProperty.Jsii$Proxy
Enclosing class:
CfnNetworkInsightsAnalysis

@Stability(Stable) public static interface CfnNetworkInsightsAnalysis.ExplanationProperty extends software.amazon.jsii.JsiiSerializable
Describes an explanation code for an unreachable path.

For more information, see Reachability Analyzer explanation codes .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 ExplanationProperty explanationProperty = ExplanationProperty.builder()
         .acl(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .aclRule(AnalysisAclRuleProperty.builder()
                 .cidr("cidr")
                 .egress(false)
                 .portRange(PortRangeProperty.builder()
                         .from(123)
                         .to(123)
                         .build())
                 .protocol("protocol")
                 .ruleAction("ruleAction")
                 .ruleNumber(123)
                 .build())
         .address("address")
         .addresses(List.of("addresses"))
         .attachedTo(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .availabilityZones(List.of("availabilityZones"))
         .cidrs(List.of("cidrs"))
         .classicLoadBalancerListener(AnalysisLoadBalancerListenerProperty.builder()
                 .instancePort(123)
                 .loadBalancerPort(123)
                 .build())
         .component(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .componentAccount("componentAccount")
         .componentRegion("componentRegion")
         .customerGateway(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .destination(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .destinationVpc(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .direction("direction")
         .elasticLoadBalancerListener(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .explanationCode("explanationCode")
         .ingressRouteTable(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .internetGateway(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .loadBalancerArn("loadBalancerArn")
         .loadBalancerListenerPort(123)
         .loadBalancerTarget(AnalysisLoadBalancerTargetProperty.builder()
                 .address("address")
                 .availabilityZone("availabilityZone")
                 .instance(AnalysisComponentProperty.builder()
                         .arn("arn")
                         .id("id")
                         .build())
                 .port(123)
                 .build())
         .loadBalancerTargetGroup(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .loadBalancerTargetGroups(List.of(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build()))
         .loadBalancerTargetPort(123)
         .missingComponent("missingComponent")
         .natGateway(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .networkInterface(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .packetField("packetField")
         .port(123)
         .portRanges(List.of(PortRangeProperty.builder()
                 .from(123)
                 .to(123)
                 .build()))
         .prefixList(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .protocols(List.of("protocols"))
         .routeTable(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .routeTableRoute(AnalysisRouteTableRouteProperty.builder()
                 .destinationCidr("destinationCidr")
                 .destinationPrefixListId("destinationPrefixListId")
                 .egressOnlyInternetGatewayId("egressOnlyInternetGatewayId")
                 .gatewayId("gatewayId")
                 .instanceId("instanceId")
                 .natGatewayId("natGatewayId")
                 .networkInterfaceId("networkInterfaceId")
                 .origin("origin")
                 .state("state")
                 .transitGatewayId("transitGatewayId")
                 .vpcPeeringConnectionId("vpcPeeringConnectionId")
                 .build())
         .securityGroup(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .securityGroupRule(AnalysisSecurityGroupRuleProperty.builder()
                 .cidr("cidr")
                 .direction("direction")
                 .portRange(PortRangeProperty.builder()
                         .from(123)
                         .to(123)
                         .build())
                 .prefixListId("prefixListId")
                 .protocol("protocol")
                 .securityGroupId("securityGroupId")
                 .build())
         .securityGroups(List.of(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build()))
         .sourceVpc(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .state("state")
         .subnet(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .subnetRouteTable(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .transitGateway(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .transitGatewayAttachment(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .transitGatewayRouteTable(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .transitGatewayRouteTableRoute(TransitGatewayRouteTableRouteProperty.builder()
                 .attachmentId("attachmentId")
                 .destinationCidr("destinationCidr")
                 .prefixListId("prefixListId")
                 .resourceId("resourceId")
                 .resourceType("resourceType")
                 .routeOrigin("routeOrigin")
                 .state("state")
                 .build())
         .vpc(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .vpcEndpoint(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .vpcPeeringConnection(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .vpnConnection(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .vpnGateway(AnalysisComponentProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .build();
 
  • Method Details

    • getAcl

      @Stability(Stable) @Nullable default Object getAcl()
      The network ACL.
    • getAclRule

      @Stability(Stable) @Nullable default Object getAclRule()
      The network ACL rule.
    • getAddress

      @Stability(Stable) @Nullable default String getAddress()
      The IPv4 address, in CIDR notation.
    • getAddresses

      @Stability(Stable) @Nullable default List<String> getAddresses()
      The IPv4 addresses, in CIDR notation.
    • getAttachedTo

      @Stability(Stable) @Nullable default Object getAttachedTo()
      The resource to which the component is attached.
    • getAvailabilityZones

      @Stability(Stable) @Nullable default List<String> getAvailabilityZones()
      The Availability Zones.
    • getCidrs

      @Stability(Stable) @Nullable default List<String> getCidrs()
      The CIDR ranges.
    • getClassicLoadBalancerListener

      @Stability(Stable) @Nullable default Object getClassicLoadBalancerListener()
      The listener for a Classic Load Balancer.
    • getComponent

      @Stability(Stable) @Nullable default Object getComponent()
      The component.
    • getComponentAccount

      @Stability(Stable) @Nullable default String getComponentAccount()
      The AWS account for the component.
    • getComponentRegion

      @Stability(Stable) @Nullable default String getComponentRegion()
      The Region for the component.
    • getCustomerGateway

      @Stability(Stable) @Nullable default Object getCustomerGateway()
      The customer gateway.
    • getDestination

      @Stability(Stable) @Nullable default Object getDestination()
      The destination.
    • getDestinationVpc

      @Stability(Stable) @Nullable default Object getDestinationVpc()
      The destination VPC.
    • getDirection

      @Stability(Stable) @Nullable default String getDirection()
      The direction. The following are the possible values:.

      • egress
      • ingress
    • getElasticLoadBalancerListener

      @Stability(Stable) @Nullable default Object getElasticLoadBalancerListener()
      The load balancer listener.
    • getExplanationCode

      @Stability(Stable) @Nullable default String getExplanationCode()
      The explanation code.
    • getIngressRouteTable

      @Stability(Stable) @Nullable default Object getIngressRouteTable()
      The route table.
    • getInternetGateway

      @Stability(Stable) @Nullable default Object getInternetGateway()
      The internet gateway.
    • getLoadBalancerArn

      @Stability(Stable) @Nullable default String getLoadBalancerArn()
      The Amazon Resource Name (ARN) of the load balancer.
    • getLoadBalancerListenerPort

      @Stability(Stable) @Nullable default Number getLoadBalancerListenerPort()
      The listener port of the load balancer.
    • getLoadBalancerTarget

      @Stability(Stable) @Nullable default Object getLoadBalancerTarget()
      The target.
    • getLoadBalancerTargetGroup

      @Stability(Stable) @Nullable default Object getLoadBalancerTargetGroup()
      The target group.
    • getLoadBalancerTargetGroups

      @Stability(Stable) @Nullable default Object getLoadBalancerTargetGroups()
      The target groups.
    • getLoadBalancerTargetPort

      @Stability(Stable) @Nullable default Number getLoadBalancerTargetPort()
      The target port.
    • getMissingComponent

      @Stability(Stable) @Nullable default String getMissingComponent()
      The missing component.
    • getNatGateway

      @Stability(Stable) @Nullable default Object getNatGateway()
      The NAT gateway.
    • getNetworkInterface

      @Stability(Stable) @Nullable default Object getNetworkInterface()
      The network interface.
    • getPacketField

      @Stability(Stable) @Nullable default String getPacketField()
      The packet field.
    • getPort

      @Stability(Stable) @Nullable default Number getPort()
      The port.
    • getPortRanges

      @Stability(Stable) @Nullable default Object getPortRanges()
      The port ranges.
    • getPrefixList

      @Stability(Stable) @Nullable default Object getPrefixList()
      The prefix list.
    • getProtocols

      @Stability(Stable) @Nullable default List<String> getProtocols()
      The protocols.
    • getRouteTable

      @Stability(Stable) @Nullable default Object getRouteTable()
      The route table.
    • getRouteTableRoute

      @Stability(Stable) @Nullable default Object getRouteTableRoute()
      The route table route.
    • getSecurityGroup

      @Stability(Stable) @Nullable default Object getSecurityGroup()
      The security group.
    • getSecurityGroupRule

      @Stability(Stable) @Nullable default Object getSecurityGroupRule()
      The security group rule.
    • getSecurityGroups

      @Stability(Stable) @Nullable default Object getSecurityGroups()
      The security groups.
    • getSourceVpc

      @Stability(Stable) @Nullable default Object getSourceVpc()
      The source VPC.
    • getState

      @Stability(Stable) @Nullable default String getState()
      The state.
    • getSubnet

      @Stability(Stable) @Nullable default Object getSubnet()
      The subnet.
    • getSubnetRouteTable

      @Stability(Stable) @Nullable default Object getSubnetRouteTable()
      The route table for the subnet.
    • getTransitGateway

      @Stability(Stable) @Nullable default Object getTransitGateway()
      The transit gateway.
    • getTransitGatewayAttachment

      @Stability(Stable) @Nullable default Object getTransitGatewayAttachment()
      The transit gateway attachment.
    • getTransitGatewayRouteTable

      @Stability(Stable) @Nullable default Object getTransitGatewayRouteTable()
      The transit gateway route table.
    • getTransitGatewayRouteTableRoute

      @Stability(Stable) @Nullable default Object getTransitGatewayRouteTableRoute()
      The transit gateway route table route.
    • getVpc

      @Stability(Stable) @Nullable default Object getVpc()
      The component VPC.
    • getVpcEndpoint

      @Stability(Stable) @Nullable default Object getVpcEndpoint()
      The VPC endpoint.
    • getVpcPeeringConnection

      @Stability(Stable) @Nullable default Object getVpcPeeringConnection()
      The VPC peering connection.
    • getVpnConnection

      @Stability(Stable) @Nullable default Object getVpnConnection()
      The VPN connection.
    • getVpnGateway

      @Stability(Stable) @Nullable default Object getVpnGateway()
      The VPN gateway.
    • builder

      @Stability(Stable) static CfnNetworkInsightsAnalysis.ExplanationProperty.Builder builder()
      Returns:
      a CfnNetworkInsightsAnalysis.ExplanationProperty.Builder of CfnNetworkInsightsAnalysis.ExplanationProperty