aws-cdk-lib.aws_ec2.CfnNetworkInsightsAnalysis.ExplanationProperty

interface ExplanationProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnNetworkInsightsAnalysis.ExplanationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsAnalysis_ExplanationProperty
Javasoftware.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.ExplanationProperty
Pythonaws_cdk.aws_ec2.CfnNetworkInsightsAnalysis.ExplanationProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnNetworkInsightsAnalysis » ExplanationProperty

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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const explanationProperty: ec2.CfnNetworkInsightsAnalysis.ExplanationProperty = {
  acl: {
    arn: 'arn',
    id: 'id',
  },
  aclRule: {
    cidr: 'cidr',
    egress: false,
    portRange: {
      from: 123,
      to: 123,
    },
    protocol: 'protocol',
    ruleAction: 'ruleAction',
    ruleNumber: 123,
  },
  address: 'address',
  addresses: ['addresses'],
  attachedTo: {
    arn: 'arn',
    id: 'id',
  },
  availabilityZones: ['availabilityZones'],
  cidrs: ['cidrs'],
  classicLoadBalancerListener: {
    instancePort: 123,
    loadBalancerPort: 123,
  },
  component: {
    arn: 'arn',
    id: 'id',
  },
  componentAccount: 'componentAccount',
  componentRegion: 'componentRegion',
  customerGateway: {
    arn: 'arn',
    id: 'id',
  },
  destination: {
    arn: 'arn',
    id: 'id',
  },
  destinationVpc: {
    arn: 'arn',
    id: 'id',
  },
  direction: 'direction',
  elasticLoadBalancerListener: {
    arn: 'arn',
    id: 'id',
  },
  explanationCode: 'explanationCode',
  ingressRouteTable: {
    arn: 'arn',
    id: 'id',
  },
  internetGateway: {
    arn: 'arn',
    id: 'id',
  },
  loadBalancerArn: 'loadBalancerArn',
  loadBalancerListenerPort: 123,
  loadBalancerTarget: {
    address: 'address',
    availabilityZone: 'availabilityZone',
    instance: {
      arn: 'arn',
      id: 'id',
    },
    port: 123,
  },
  loadBalancerTargetGroup: {
    arn: 'arn',
    id: 'id',
  },
  loadBalancerTargetGroups: [{
    arn: 'arn',
    id: 'id',
  }],
  loadBalancerTargetPort: 123,
  missingComponent: 'missingComponent',
  natGateway: {
    arn: 'arn',
    id: 'id',
  },
  networkInterface: {
    arn: 'arn',
    id: 'id',
  },
  packetField: 'packetField',
  port: 123,
  portRanges: [{
    from: 123,
    to: 123,
  }],
  prefixList: {
    arn: 'arn',
    id: 'id',
  },
  protocols: ['protocols'],
  routeTable: {
    arn: 'arn',
    id: 'id',
  },
  routeTableRoute: {
    destinationCidr: 'destinationCidr',
    destinationPrefixListId: 'destinationPrefixListId',
    egressOnlyInternetGatewayId: 'egressOnlyInternetGatewayId',
    gatewayId: 'gatewayId',
    instanceId: 'instanceId',
    natGatewayId: 'natGatewayId',
    networkInterfaceId: 'networkInterfaceId',
    origin: 'origin',
    state: 'state',
    transitGatewayId: 'transitGatewayId',
    vpcPeeringConnectionId: 'vpcPeeringConnectionId',
  },
  securityGroup: {
    arn: 'arn',
    id: 'id',
  },
  securityGroupRule: {
    cidr: 'cidr',
    direction: 'direction',
    portRange: {
      from: 123,
      to: 123,
    },
    prefixListId: 'prefixListId',
    protocol: 'protocol',
    securityGroupId: 'securityGroupId',
  },
  securityGroups: [{
    arn: 'arn',
    id: 'id',
  }],
  sourceVpc: {
    arn: 'arn',
    id: 'id',
  },
  state: 'state',
  subnet: {
    arn: 'arn',
    id: 'id',
  },
  subnetRouteTable: {
    arn: 'arn',
    id: 'id',
  },
  transitGateway: {
    arn: 'arn',
    id: 'id',
  },
  transitGatewayAttachment: {
    arn: 'arn',
    id: 'id',
  },
  transitGatewayRouteTable: {
    arn: 'arn',
    id: 'id',
  },
  transitGatewayRouteTableRoute: {
    attachmentId: 'attachmentId',
    destinationCidr: 'destinationCidr',
    prefixListId: 'prefixListId',
    resourceId: 'resourceId',
    resourceType: 'resourceType',
    routeOrigin: 'routeOrigin',
    state: 'state',
  },
  vpc: {
    arn: 'arn',
    id: 'id',
  },
  vpcEndpoint: {
    arn: 'arn',
    id: 'id',
  },
  vpcPeeringConnection: {
    arn: 'arn',
    id: 'id',
  },
  vpnConnection: {
    arn: 'arn',
    id: 'id',
  },
  vpnGateway: {
    arn: 'arn',
    id: 'id',
  },
};

Properties

NameTypeDescription
acl?IResolvable | AnalysisComponentPropertyThe network ACL.
aclRule?IResolvable | AnalysisAclRulePropertyThe network ACL rule.
address?stringThe IPv4 address, in CIDR notation.
addresses?string[]The IPv4 addresses, in CIDR notation.
attachedTo?IResolvable | AnalysisComponentPropertyThe resource to which the component is attached.
availabilityZones?string[]The Availability Zones.
cidrs?string[]The CIDR ranges.
classicLoadBalancerListener?IResolvable | AnalysisLoadBalancerListenerPropertyThe listener for a Classic Load Balancer.
component?IResolvable | AnalysisComponentPropertyThe component.
componentAccount?stringThe AWS account for the component.
componentRegion?stringThe Region for the component.
customerGateway?IResolvable | AnalysisComponentPropertyThe customer gateway.
destination?IResolvable | AnalysisComponentPropertyThe destination.
destinationVpc?IResolvable | AnalysisComponentPropertyThe destination VPC.
direction?stringThe direction. The following are the possible values:.
elasticLoadBalancerListener?IResolvable | AnalysisComponentPropertyThe load balancer listener.
explanationCode?stringThe explanation code.
ingressRouteTable?IResolvable | AnalysisComponentPropertyThe route table.
internetGateway?IResolvable | AnalysisComponentPropertyThe internet gateway.
loadBalancerArn?stringThe Amazon Resource Name (ARN) of the load balancer.
loadBalancerListenerPort?numberThe listener port of the load balancer.
loadBalancerTarget?IResolvable | AnalysisLoadBalancerTargetPropertyThe target.
loadBalancerTargetGroup?IResolvable | AnalysisComponentPropertyThe target group.
loadBalancerTargetGroups?IResolvable | IResolvable | AnalysisComponentProperty[]The target groups.
loadBalancerTargetPort?numberThe target port.
missingComponent?stringThe missing component.
natGateway?IResolvable | AnalysisComponentPropertyThe NAT gateway.
networkInterface?IResolvable | AnalysisComponentPropertyThe network interface.
packetField?stringThe packet field.
port?numberThe port.
portRanges?IResolvable | IResolvable | PortRangeProperty[]The port ranges.
prefixList?IResolvable | AnalysisComponentPropertyThe prefix list.
protocols?string[]The protocols.
routeTable?IResolvable | AnalysisComponentPropertyThe route table.
routeTableRoute?IResolvable | AnalysisRouteTableRoutePropertyThe route table route.
securityGroup?IResolvable | AnalysisComponentPropertyThe security group.
securityGroupRule?IResolvable | AnalysisSecurityGroupRulePropertyThe security group rule.
securityGroups?IResolvable | IResolvable | AnalysisComponentProperty[]The security groups.
sourceVpc?IResolvable | AnalysisComponentPropertyThe source VPC.
state?stringThe state.
subnet?IResolvable | AnalysisComponentPropertyThe subnet.
subnetRouteTable?IResolvable | AnalysisComponentPropertyThe route table for the subnet.
transitGateway?IResolvable | AnalysisComponentPropertyThe transit gateway.
transitGatewayAttachment?IResolvable | AnalysisComponentPropertyThe transit gateway attachment.
transitGatewayRouteTable?IResolvable | AnalysisComponentPropertyThe transit gateway route table.
transitGatewayRouteTableRoute?IResolvable | TransitGatewayRouteTableRoutePropertyThe transit gateway route table route.
vpc?IResolvable | AnalysisComponentPropertyThe component VPC.
vpcEndpoint?IResolvable | AnalysisComponentPropertyThe VPC endpoint.
vpcPeeringConnection?IResolvable | AnalysisComponentPropertyThe VPC peering connection.
vpnConnection?IResolvable | AnalysisComponentPropertyThe VPN connection.
vpnGateway?IResolvable | AnalysisComponentPropertyThe VPN gateway.

acl?

Type: IResolvable | AnalysisComponentProperty (optional)

The network ACL.


aclRule?

Type: IResolvable | AnalysisAclRuleProperty (optional)

The network ACL rule.


address?

Type: string (optional)

The IPv4 address, in CIDR notation.


addresses?

Type: string[] (optional)

The IPv4 addresses, in CIDR notation.


attachedTo?

Type: IResolvable | AnalysisComponentProperty (optional)

The resource to which the component is attached.


availabilityZones?

Type: string[] (optional)

The Availability Zones.


cidrs?

Type: string[] (optional)

The CIDR ranges.


classicLoadBalancerListener?

Type: IResolvable | AnalysisLoadBalancerListenerProperty (optional)

The listener for a Classic Load Balancer.


component?

Type: IResolvable | AnalysisComponentProperty (optional)

The component.


componentAccount?

Type: string (optional)

The AWS account for the component.


componentRegion?

Type: string (optional)

The Region for the component.


customerGateway?

Type: IResolvable | AnalysisComponentProperty (optional)

The customer gateway.


destination?

Type: IResolvable | AnalysisComponentProperty (optional)

The destination.


destinationVpc?

Type: IResolvable | AnalysisComponentProperty (optional)

The destination VPC.


direction?

Type: string (optional)

The direction. The following are the possible values:.

  • egress
  • ingress

elasticLoadBalancerListener?

Type: IResolvable | AnalysisComponentProperty (optional)

The load balancer listener.


explanationCode?

Type: string (optional)

The explanation code.


ingressRouteTable?

Type: IResolvable | AnalysisComponentProperty (optional)

The route table.


internetGateway?

Type: IResolvable | AnalysisComponentProperty (optional)

The internet gateway.


loadBalancerArn?

Type: string (optional)

The Amazon Resource Name (ARN) of the load balancer.


loadBalancerListenerPort?

Type: number (optional)

The listener port of the load balancer.


loadBalancerTarget?

Type: IResolvable | AnalysisLoadBalancerTargetProperty (optional)

The target.


loadBalancerTargetGroup?

Type: IResolvable | AnalysisComponentProperty (optional)

The target group.


loadBalancerTargetGroups?

Type: IResolvable | IResolvable | AnalysisComponentProperty[] (optional)

The target groups.


loadBalancerTargetPort?

Type: number (optional)

The target port.


missingComponent?

Type: string (optional)

The missing component.


natGateway?

Type: IResolvable | AnalysisComponentProperty (optional)

The NAT gateway.


networkInterface?

Type: IResolvable | AnalysisComponentProperty (optional)

The network interface.


packetField?

Type: string (optional)

The packet field.


port?

Type: number (optional)

The port.


portRanges?

Type: IResolvable | IResolvable | PortRangeProperty[] (optional)

The port ranges.


prefixList?

Type: IResolvable | AnalysisComponentProperty (optional)

The prefix list.


protocols?

Type: string[] (optional)

The protocols.


routeTable?

Type: IResolvable | AnalysisComponentProperty (optional)

The route table.


routeTableRoute?

Type: IResolvable | AnalysisRouteTableRouteProperty (optional)

The route table route.


securityGroup?

Type: IResolvable | AnalysisComponentProperty (optional)

The security group.


securityGroupRule?

Type: IResolvable | AnalysisSecurityGroupRuleProperty (optional)

The security group rule.


securityGroups?

Type: IResolvable | IResolvable | AnalysisComponentProperty[] (optional)

The security groups.


sourceVpc?

Type: IResolvable | AnalysisComponentProperty (optional)

The source VPC.


state?

Type: string (optional)

The state.


subnet?

Type: IResolvable | AnalysisComponentProperty (optional)

The subnet.


subnetRouteTable?

Type: IResolvable | AnalysisComponentProperty (optional)

The route table for the subnet.


transitGateway?

Type: IResolvable | AnalysisComponentProperty (optional)

The transit gateway.


transitGatewayAttachment?

Type: IResolvable | AnalysisComponentProperty (optional)

The transit gateway attachment.


transitGatewayRouteTable?

Type: IResolvable | AnalysisComponentProperty (optional)

The transit gateway route table.


transitGatewayRouteTableRoute?

Type: IResolvable | TransitGatewayRouteTableRouteProperty (optional)

The transit gateway route table route.


vpc?

Type: IResolvable | AnalysisComponentProperty (optional)

The component VPC.


vpcEndpoint?

Type: IResolvable | AnalysisComponentProperty (optional)

The VPC endpoint.


vpcPeeringConnection?

Type: IResolvable | AnalysisComponentProperty (optional)

The VPC peering connection.


vpnConnection?

Type: IResolvable | AnalysisComponentProperty (optional)

The VPN connection.


vpnGateway?

Type: IResolvable | AnalysisComponentProperty (optional)

The VPN gateway.