CfnNetworkInsightsAnalysisPropsMixin

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInsightsAnalysisPropsMixin(props, *, strategy=None)

Bases: Mixin

Specifies a network insights analysis.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html

CloudformationResource:

AWS::EC2::NetworkInsightsAnalysis

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_network_insights_analysis_props_mixin = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin(ec2_mixins.CfnNetworkInsightsAnalysisMixinProps(
    additional_accounts=["additionalAccounts"],
    filter_in_arns=["filterInArns"],
    filter_out_arns=["filterOutArns"],
    network_insights_path_id="networkInsightsPathId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::EC2::NetworkInsightsAnalysis.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['additionalAccounts', 'filterInArns', 'filterOutArns', 'networkInsightsPathId', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AdditionalDetailProperty

class CfnNetworkInsightsAnalysisPropsMixin.AdditionalDetailProperty(*, additional_detail_type=None, component=None, load_balancers=None, service_name=None)

Bases: object

Describes an additional detail for a path analysis.

For more information, see Reachability Analyzer additional detail codes .

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

additional_detail_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AdditionalDetailProperty(
    additional_detail_type="additionalDetailType",
    component=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    load_balancers=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    )],
    service_name="serviceName"
)

Attributes

additional_detail_type

The additional detail code.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-additionaldetailtype

component

The path component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-component

load_balancers

The load balancers.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-loadbalancers

service_name

The name of the VPC endpoint service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-servicename

AlternatePathHintProperty

class CfnNetworkInsightsAnalysisPropsMixin.AlternatePathHintProperty(*, component_arn=None, component_id=None)

Bases: object

Describes an potential intermediate component of a feasible path.

Parameters:
  • component_arn (Optional[str]) – The Amazon Resource Name (ARN) of the component.

  • component_id (Optional[str]) – The ID of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-alternatepathhint.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

alternate_path_hint_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AlternatePathHintProperty(
    component_arn="componentArn",
    component_id="componentId"
)

Attributes

component_arn

The Amazon Resource Name (ARN) of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-alternatepathhint.html#cfn-ec2-networkinsightsanalysis-alternatepathhint-componentarn

component_id

The ID of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-alternatepathhint.html#cfn-ec2-networkinsightsanalysis-alternatepathhint-componentid

AnalysisAclRuleProperty

class CfnNetworkInsightsAnalysisPropsMixin.AnalysisAclRuleProperty(*, cidr=None, egress=None, port_range=None, protocol=None, rule_action=None, rule_number=None)

Bases: object

Describes a network access control (ACL) rule.

Parameters:
  • cidr (Optional[str]) – The IPv4 address range, in CIDR notation.

  • egress (Union[bool, IResolvable, None]) – Indicates whether the rule is an outbound rule.

  • port_range (Union[IResolvable, PortRangeProperty, Dict[str, Any], None]) – The range of ports.

  • protocol (Optional[str]) – The protocol.

  • rule_action (Optional[str]) – Indicates whether to allow or deny traffic that matches the rule.

  • rule_number (Union[int, float, None]) – The rule number.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

analysis_acl_rule_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisAclRuleProperty(
    cidr="cidr",
    egress=False,
    port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
        from=123,
        to=123
    ),
    protocol="protocol",
    rule_action="ruleAction",
    rule_number=123
)

Attributes

cidr

The IPv4 address range, in CIDR notation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-cidr

egress

Indicates whether the rule is an outbound rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-egress

port_range

The range of ports.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-portrange

protocol

The protocol.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-protocol

rule_action

Indicates whether to allow or deny traffic that matches the rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-ruleaction

rule_number

The rule number.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisaclrule.html#cfn-ec2-networkinsightsanalysis-analysisaclrule-rulenumber

AnalysisComponentProperty

class CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(*, arn=None, id=None)

Bases: object

Describes a path component.

Parameters:
  • arn (Optional[str]) – The Amazon Resource Name (ARN) of the component.

  • id (Optional[str]) – The ID of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysiscomponent.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

analysis_component_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
    arn="arn",
    id="id"
)

Attributes

arn

The Amazon Resource Name (ARN) of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysiscomponent.html#cfn-ec2-networkinsightsanalysis-analysiscomponent-arn

id

The ID of the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysiscomponent.html#cfn-ec2-networkinsightsanalysis-analysiscomponent-id

AnalysisLoadBalancerListenerProperty

class CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerListenerProperty(*, instance_port=None, load_balancer_port=None)

Bases: object

Describes a load balancer listener.

Parameters:
  • instance_port (Union[int, float, None]) – [Classic Load Balancers] The back-end port for the listener.

  • load_balancer_port (Union[int, float, None]) – The port on which the load balancer is listening.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancerlistener.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

analysis_load_balancer_listener_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerListenerProperty(
    instance_port=123,
    load_balancer_port=123
)

Attributes

instance_port

[Classic Load Balancers] The back-end port for the listener.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancerlistener.html#cfn-ec2-networkinsightsanalysis-analysisloadbalancerlistener-instanceport

load_balancer_port

The port on which the load balancer is listening.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancerlistener.html#cfn-ec2-networkinsightsanalysis-analysisloadbalancerlistener-loadbalancerport

AnalysisLoadBalancerTargetProperty

class CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerTargetProperty(*, address=None, availability_zone=None, instance=None, port=None)

Bases: object

Describes a load balancer target.

Parameters:
  • address (Optional[str]) – The IP address.

  • availability_zone (Optional[str]) – The Availability Zone.

  • instance (Union[IResolvable, AnalysisComponentProperty, Dict[str, Any], None]) – Information about the instance.

  • port (Union[int, float, None]) – The port on which the target is listening.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancertarget.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

analysis_load_balancer_target_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerTargetProperty(
    address="address",
    availability_zone="availabilityZone",
    instance=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    port=123
)

Attributes

address

The IP address.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancertarget.html#cfn-ec2-networkinsightsanalysis-analysisloadbalancertarget-address

availability_zone

The Availability Zone.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancertarget.html#cfn-ec2-networkinsightsanalysis-analysisloadbalancertarget-availabilityzone

instance

Information about the instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancertarget.html#cfn-ec2-networkinsightsanalysis-analysisloadbalancertarget-instance

port

The port on which the target is listening.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisloadbalancertarget.html#cfn-ec2-networkinsightsanalysis-analysisloadbalancertarget-port

AnalysisPacketHeaderProperty

class CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty(*, destination_addresses=None, destination_port_ranges=None, protocol=None, source_addresses=None, source_port_ranges=None)

Bases: object

Describes a header.

Reflects any changes made by a component as traffic passes through. The fields of an inbound header are null except for the first component of a path.

Parameters:
  • destination_addresses (Optional[Sequence[str]]) – The destination addresses.

  • destination_port_ranges (Union[IResolvable, Sequence[Union[IResolvable, PortRangeProperty, Dict[str, Any]]], None]) – The destination port ranges.

  • protocol (Optional[str]) – The protocol.

  • source_addresses (Optional[Sequence[str]]) – The source addresses.

  • source_port_ranges (Union[IResolvable, Sequence[Union[IResolvable, PortRangeProperty, Dict[str, Any]]], None]) – The source port ranges.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysispacketheader.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

analysis_packet_header_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty(
    destination_addresses=["destinationAddresses"],
    destination_port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
        from=123,
        to=123
    )],
    protocol="protocol",
    source_addresses=["sourceAddresses"],
    source_port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
        from=123,
        to=123
    )]
)

Attributes

destination_addresses

The destination addresses.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysispacketheader.html#cfn-ec2-networkinsightsanalysis-analysispacketheader-destinationaddresses

destination_port_ranges

The destination port ranges.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysispacketheader.html#cfn-ec2-networkinsightsanalysis-analysispacketheader-destinationportranges

protocol

The protocol.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysispacketheader.html#cfn-ec2-networkinsightsanalysis-analysispacketheader-protocol

source_addresses

The source addresses.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysispacketheader.html#cfn-ec2-networkinsightsanalysis-analysispacketheader-sourceaddresses

source_port_ranges

The source port ranges.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysispacketheader.html#cfn-ec2-networkinsightsanalysis-analysispacketheader-sourceportranges

AnalysisRouteTableRouteProperty

class CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty(*, destination_cidr=None, destination_prefix_list_id=None, egress_only_internet_gateway_id=None, gateway_id=None, instance_id=None, nat_gateway_id=None, network_interface_id=None, origin=None, state=None, transit_gateway_id=None, vpc_peering_connection_id=None)

Bases: object

Describes a route table route.

Parameters:
  • destination_cidr (Optional[str]) – The destination IPv4 address, in CIDR notation.

  • destination_prefix_list_id (Optional[str]) – The prefix of the AWS service.

  • egress_only_internet_gateway_id (Optional[str]) – The ID of an egress-only internet gateway.

  • gateway_id (Optional[str]) – The ID of the gateway, such as an internet gateway or virtual private gateway.

  • instance_id (Optional[str]) – The ID of the instance, such as a NAT instance.

  • nat_gateway_id (Optional[str]) – The ID of a NAT gateway.

  • network_interface_id (Optional[str]) – The ID of a network interface.

  • origin (Optional[str]) – Describes how the route was created. The following are the possible values:. - CreateRouteTable - The route was automatically created when the route table was created. - CreateRoute - The route was manually added to the route table. - EnableVgwRoutePropagation - The route was propagated by route propagation.

  • state (Optional[str]) – The state. The following are the possible values:. - active - blackhole

  • transit_gateway_id (Optional[str]) – The ID of a transit gateway.

  • vpc_peering_connection_id (Optional[str]) – The ID of a VPC peering connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

analysis_route_table_route_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty(
    destination_cidr="destinationCidr",
    destination_prefix_list_id="destinationPrefixListId",
    egress_only_internet_gateway_id="egressOnlyInternetGatewayId",
    gateway_id="gatewayId",
    instance_id="instanceId",
    nat_gateway_id="natGatewayId",
    network_interface_id="networkInterfaceId",
    origin="origin",
    state="state",
    transit_gateway_id="transitGatewayId",
    vpc_peering_connection_id="vpcPeeringConnectionId"
)

Attributes

destination_cidr

The destination IPv4 address, in CIDR notation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-destinationcidr

destination_prefix_list_id

The prefix of the AWS service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-destinationprefixlistid

egress_only_internet_gateway_id

The ID of an egress-only internet gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-egressonlyinternetgatewayid

gateway_id

The ID of the gateway, such as an internet gateway or virtual private gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-gatewayid

instance_id

The ID of the instance, such as a NAT instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-instanceid

nat_gateway_id

The ID of a NAT gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-natgatewayid

network_interface_id

The ID of a network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-networkinterfaceid

origin

.

  • CreateRouteTable - The route was automatically created when the route table was created.

  • CreateRoute - The route was manually added to the route table.

  • EnableVgwRoutePropagation - The route was propagated by route propagation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-origin

Type:

Describes how the route was created. The following are the possible values

state

.

  • active

  • blackhole

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-state

Type:

The state. The following are the possible values

transit_gateway_id

The ID of a transit gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-transitgatewayid

vpc_peering_connection_id

The ID of a VPC peering connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-vpcpeeringconnectionid

AnalysisSecurityGroupRuleProperty

class CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty(*, cidr=None, direction=None, port_range=None, prefix_list_id=None, protocol=None, security_group_id=None)

Bases: object

Describes a security group rule.

Parameters:
  • cidr (Optional[str]) – The IPv4 address range, in CIDR notation.

  • direction (Optional[str]) – The direction. The following are the possible values:. - egress - ingress

  • port_range (Union[IResolvable, PortRangeProperty, Dict[str, Any], None]) – The port range.

  • prefix_list_id (Optional[str]) – The prefix list ID.

  • protocol (Optional[str]) – The protocol name.

  • security_group_id (Optional[str]) – The security group ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysissecuritygrouprule.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

analysis_security_group_rule_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty(
    cidr="cidr",
    direction="direction",
    port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
        from=123,
        to=123
    ),
    prefix_list_id="prefixListId",
    protocol="protocol",
    security_group_id="securityGroupId"
)

Attributes

cidr

The IPv4 address range, in CIDR notation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysissecuritygrouprule.html#cfn-ec2-networkinsightsanalysis-analysissecuritygrouprule-cidr

direction

.

  • egress

  • ingress

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysissecuritygrouprule.html#cfn-ec2-networkinsightsanalysis-analysissecuritygrouprule-direction

Type:

The direction. The following are the possible values

port_range

The port range.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysissecuritygrouprule.html#cfn-ec2-networkinsightsanalysis-analysissecuritygrouprule-portrange

prefix_list_id

The prefix list ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysissecuritygrouprule.html#cfn-ec2-networkinsightsanalysis-analysissecuritygrouprule-prefixlistid

protocol

The protocol name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysissecuritygrouprule.html#cfn-ec2-networkinsightsanalysis-analysissecuritygrouprule-protocol

security_group_id

The security group ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysissecuritygrouprule.html#cfn-ec2-networkinsightsanalysis-analysissecuritygrouprule-securitygroupid

ExplanationProperty

class CfnNetworkInsightsAnalysisPropsMixin.ExplanationProperty(*, acl=None, acl_rule=None, address=None, addresses=None, attached_to=None, availability_zones=None, cidrs=None, classic_load_balancer_listener=None, component=None, component_account=None, component_region=None, customer_gateway=None, destination=None, destination_vpc=None, direction=None, elastic_load_balancer_listener=None, explanation_code=None, ingress_route_table=None, internet_gateway=None, load_balancer_arn=None, load_balancer_listener_port=None, load_balancer_target=None, load_balancer_target_group=None, load_balancer_target_groups=None, load_balancer_target_port=None, missing_component=None, nat_gateway=None, network_interface=None, packet_field=None, port=None, port_ranges=None, prefix_list=None, protocols=None, route_table=None, route_table_route=None, security_group=None, security_group_rule=None, security_groups=None, source_vpc=None, state=None, subnet=None, subnet_route_table=None, transit_gateway=None, transit_gateway_attachment=None, transit_gateway_route_table=None, transit_gateway_route_table_route=None, vpc=None, vpc_endpoint=None, vpc_peering_connection=None, vpn_connection=None, vpn_gateway=None)

Bases: object

Describes an explanation code for an unreachable path.

For more information, see Reachability Analyzer explanation codes .

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

explanation_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.ExplanationProperty(
    acl=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    acl_rule=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisAclRuleProperty(
        cidr="cidr",
        egress=False,
        port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        ),
        protocol="protocol",
        rule_action="ruleAction",
        rule_number=123
    ),
    address="address",
    addresses=["addresses"],
    attached_to=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    availability_zones=["availabilityZones"],
    cidrs=["cidrs"],
    classic_load_balancer_listener=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerListenerProperty(
        instance_port=123,
        load_balancer_port=123
    ),
    component=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    component_account="componentAccount",
    component_region="componentRegion",
    customer_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    destination=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    destination_vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    direction="direction",
    elastic_load_balancer_listener=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    explanation_code="explanationCode",
    ingress_route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    internet_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    load_balancer_arn="loadBalancerArn",
    load_balancer_listener_port=123,
    load_balancer_target=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerTargetProperty(
        address="address",
        availability_zone="availabilityZone",
        instance=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        port=123
    ),
    load_balancer_target_group=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    load_balancer_target_groups=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    )],
    load_balancer_target_port=123,
    missing_component="missingComponent",
    nat_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    network_interface=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    packet_field="packetField",
    port=123,
    port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
        from=123,
        to=123
    )],
    prefix_list=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    protocols=["protocols"],
    route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    route_table_route=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty(
        destination_cidr="destinationCidr",
        destination_prefix_list_id="destinationPrefixListId",
        egress_only_internet_gateway_id="egressOnlyInternetGatewayId",
        gateway_id="gatewayId",
        instance_id="instanceId",
        nat_gateway_id="natGatewayId",
        network_interface_id="networkInterfaceId",
        origin="origin",
        state="state",
        transit_gateway_id="transitGatewayId",
        vpc_peering_connection_id="vpcPeeringConnectionId"
    ),
    security_group=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    security_group_rule=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty(
        cidr="cidr",
        direction="direction",
        port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        ),
        prefix_list_id="prefixListId",
        protocol="protocol",
        security_group_id="securityGroupId"
    ),
    security_groups=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    )],
    source_vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    state="state",
    subnet=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    subnet_route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    transit_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    transit_gateway_attachment=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    transit_gateway_route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    transit_gateway_route_table_route=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.TransitGatewayRouteTableRouteProperty(
        attachment_id="attachmentId",
        destination_cidr="destinationCidr",
        prefix_list_id="prefixListId",
        resource_id="resourceId",
        resource_type="resourceType",
        route_origin="routeOrigin",
        state="state"
    ),
    vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    vpc_endpoint=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    vpc_peering_connection=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    vpn_connection=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    vpn_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    )
)

Attributes

acl

The network ACL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-acl

acl_rule

The network ACL rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-aclrule

address

The IPv4 address, in CIDR notation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-address

addresses

The IPv4 addresses, in CIDR notation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-addresses

attached_to

The resource to which the component is attached.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-attachedto

availability_zones

The Availability Zones.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-availabilityzones

cidrs

The CIDR ranges.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-cidrs

classic_load_balancer_listener

The listener for a Classic Load Balancer.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-classicloadbalancerlistener

component

The component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-component

component_account

The AWS account for the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-componentaccount

component_region

The Region for the component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-componentregion

customer_gateway

The customer gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-customergateway

destination

The destination.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-destination

destination_vpc

The destination VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-destinationvpc

direction

.

  • egress

  • ingress

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-direction

Type:

The direction. The following are the possible values

elastic_load_balancer_listener

The load balancer listener.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-elasticloadbalancerlistener

explanation_code

The explanation code.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-explanationcode

ingress_route_table

The route table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-ingressroutetable

internet_gateway

The internet gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-internetgateway

load_balancer_arn

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-loadbalancerarn

load_balancer_listener_port

The listener port of the load balancer.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-loadbalancerlistenerport

load_balancer_target

The target.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-loadbalancertarget

load_balancer_target_group

The target group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-loadbalancertargetgroup

load_balancer_target_groups

The target groups.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-loadbalancertargetgroups

load_balancer_target_port

The target port.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-loadbalancertargetport

missing_component

The missing component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-missingcomponent

nat_gateway

The NAT gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-natgateway

network_interface

The network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-networkinterface

packet_field

The packet field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-packetfield

port

The port.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-port

port_ranges

The port ranges.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-portranges

prefix_list

The prefix list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-prefixlist

protocols

The protocols.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-protocols

route_table

The route table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-routetable

route_table_route

The route table route.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-routetableroute

security_group

The security group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-securitygroup

security_group_rule

The security group rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-securitygrouprule

security_groups

The security groups.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-securitygroups

source_vpc

The source VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-sourcevpc

state

The state.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-state

subnet

The subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-subnet

subnet_route_table

The route table for the subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-subnetroutetable

transit_gateway

The transit gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgateway

transit_gateway_attachment

The transit gateway attachment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgatewayattachment

transit_gateway_route_table

The transit gateway route table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgatewayroutetable

transit_gateway_route_table_route

The transit gateway route table route.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgatewayroutetableroute

vpc

The component VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-vpc

vpc_endpoint

The VPC endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-vpcendpoint

vpc_peering_connection

The VPC peering connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-vpcpeeringconnection

vpn_connection

The VPN connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-vpnconnection

vpn_gateway

The VPN gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-vpngateway

PathComponentProperty

class CfnNetworkInsightsAnalysisPropsMixin.PathComponentProperty(*, acl_rule=None, additional_details=None, component=None, destination_vpc=None, elastic_load_balancer_listener=None, explanations=None, inbound_header=None, outbound_header=None, route_table_route=None, security_group_rule=None, sequence_number=None, service_name=None, source_vpc=None, subnet=None, transit_gateway=None, transit_gateway_route_table_route=None, vpc=None)

Bases: object

Describes a path component.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

path_component_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PathComponentProperty(
    acl_rule=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisAclRuleProperty(
        cidr="cidr",
        egress=False,
        port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        ),
        protocol="protocol",
        rule_action="ruleAction",
        rule_number=123
    ),
    additional_details=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AdditionalDetailProperty(
        additional_detail_type="additionalDetailType",
        component=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        load_balancers=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        )],
        service_name="serviceName"
    )],
    component=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    destination_vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    elastic_load_balancer_listener=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    explanations=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.ExplanationProperty(
        acl=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        acl_rule=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisAclRuleProperty(
            cidr="cidr",
            egress=False,
            port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
                from=123,
                to=123
            ),
            protocol="protocol",
            rule_action="ruleAction",
            rule_number=123
        ),
        address="address",
        addresses=["addresses"],
        attached_to=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        availability_zones=["availabilityZones"],
        cidrs=["cidrs"],
        classic_load_balancer_listener=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerListenerProperty(
            instance_port=123,
            load_balancer_port=123
        ),
        component=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        component_account="componentAccount",
        component_region="componentRegion",
        customer_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        destination=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        destination_vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        direction="direction",
        elastic_load_balancer_listener=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        explanation_code="explanationCode",
        ingress_route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        internet_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        load_balancer_arn="loadBalancerArn",
        load_balancer_listener_port=123,
        load_balancer_target=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisLoadBalancerTargetProperty(
            address="address",
            availability_zone="availabilityZone",
            instance=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
                arn="arn",
                id="id"
            ),
            port=123
        ),
        load_balancer_target_group=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        load_balancer_target_groups=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        )],
        load_balancer_target_port=123,
        missing_component="missingComponent",
        nat_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        network_interface=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        packet_field="packetField",
        port=123,
        port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        )],
        prefix_list=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        protocols=["protocols"],
        route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        route_table_route=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty(
            destination_cidr="destinationCidr",
            destination_prefix_list_id="destinationPrefixListId",
            egress_only_internet_gateway_id="egressOnlyInternetGatewayId",
            gateway_id="gatewayId",
            instance_id="instanceId",
            nat_gateway_id="natGatewayId",
            network_interface_id="networkInterfaceId",
            origin="origin",
            state="state",
            transit_gateway_id="transitGatewayId",
            vpc_peering_connection_id="vpcPeeringConnectionId"
        ),
        security_group=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        security_group_rule=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty(
            cidr="cidr",
            direction="direction",
            port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
                from=123,
                to=123
            ),
            prefix_list_id="prefixListId",
            protocol="protocol",
            security_group_id="securityGroupId"
        ),
        security_groups=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        )],
        source_vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        state="state",
        subnet=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        subnet_route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        transit_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        transit_gateway_attachment=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        transit_gateway_route_table=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        transit_gateway_route_table_route=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.TransitGatewayRouteTableRouteProperty(
            attachment_id="attachmentId",
            destination_cidr="destinationCidr",
            prefix_list_id="prefixListId",
            resource_id="resourceId",
            resource_type="resourceType",
            route_origin="routeOrigin",
            state="state"
        ),
        vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        vpc_endpoint=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        vpc_peering_connection=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        vpn_connection=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        ),
        vpn_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
            arn="arn",
            id="id"
        )
    )],
    inbound_header=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty(
        destination_addresses=["destinationAddresses"],
        destination_port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        )],
        protocol="protocol",
        source_addresses=["sourceAddresses"],
        source_port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        )]
    ),
    outbound_header=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty(
        destination_addresses=["destinationAddresses"],
        destination_port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        )],
        protocol="protocol",
        source_addresses=["sourceAddresses"],
        source_port_ranges=[ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        )]
    ),
    route_table_route=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty(
        destination_cidr="destinationCidr",
        destination_prefix_list_id="destinationPrefixListId",
        egress_only_internet_gateway_id="egressOnlyInternetGatewayId",
        gateway_id="gatewayId",
        instance_id="instanceId",
        nat_gateway_id="natGatewayId",
        network_interface_id="networkInterfaceId",
        origin="origin",
        state="state",
        transit_gateway_id="transitGatewayId",
        vpc_peering_connection_id="vpcPeeringConnectionId"
    ),
    security_group_rule=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty(
        cidr="cidr",
        direction="direction",
        port_range=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
            from=123,
            to=123
        ),
        prefix_list_id="prefixListId",
        protocol="protocol",
        security_group_id="securityGroupId"
    ),
    sequence_number=123,
    service_name="serviceName",
    source_vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    subnet=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    transit_gateway=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    transit_gateway_route_table_route=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.TransitGatewayRouteTableRouteProperty(
        attachment_id="attachmentId",
        destination_cidr="destinationCidr",
        prefix_list_id="prefixListId",
        resource_id="resourceId",
        resource_type="resourceType",
        route_origin="routeOrigin",
        state="state"
    ),
    vpc=ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty(
        arn="arn",
        id="id"
    )
)

Attributes

acl_rule

The network ACL rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-aclrule

additional_details

The additional details.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-additionaldetails

component

The component.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-component

destination_vpc

The destination VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-destinationvpc

elastic_load_balancer_listener

The load balancer listener.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-elasticloadbalancerlistener

explanations

The explanation codes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-explanations

inbound_header

The inbound header.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-inboundheader

outbound_header

The outbound header.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-outboundheader

route_table_route

The route table route.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-routetableroute

security_group_rule

The security group rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-securitygrouprule

sequence_number

The sequence number.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-sequencenumber

service_name

The name of the VPC endpoint service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-servicename

source_vpc

The source VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-sourcevpc

subnet

The subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-subnet

transit_gateway

The transit gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-transitgateway

transit_gateway_route_table_route

The route in a transit gateway route table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-transitgatewayroutetableroute

vpc

The component VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-vpc

PortRangeProperty

class CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(*, from_=None, to=None)

Bases: object

Describes a range of ports.

Parameters:
  • from – The first port in the range.

  • to (Union[int, float, None]) – The last port in the range.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-portrange.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

port_range_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.PortRangeProperty(
    from=123,
    to=123
)

Attributes

from_

The first port in the range.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-portrange.html#cfn-ec2-networkinsightsanalysis-portrange-from

to

The last port in the range.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-portrange.html#cfn-ec2-networkinsightsanalysis-portrange-to

TransitGatewayRouteTableRouteProperty

class CfnNetworkInsightsAnalysisPropsMixin.TransitGatewayRouteTableRouteProperty(*, attachment_id=None, destination_cidr=None, prefix_list_id=None, resource_id=None, resource_type=None, route_origin=None, state=None)

Bases: object

Describes a route in a transit gateway route table.

Parameters:
  • attachment_id (Optional[str]) – The ID of the route attachment.

  • destination_cidr (Optional[str]) – The CIDR block used for destination matches.

  • prefix_list_id (Optional[str]) – The ID of the prefix list.

  • resource_id (Optional[str]) – The ID of the resource for the route attachment.

  • resource_type (Optional[str]) – The resource type for the route attachment.

  • route_origin (Optional[str]) – The route origin. The following are the possible values:. - static - propagated

  • state (Optional[str]) – The state of the route.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

transit_gateway_route_table_route_property = ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.TransitGatewayRouteTableRouteProperty(
    attachment_id="attachmentId",
    destination_cidr="destinationCidr",
    prefix_list_id="prefixListId",
    resource_id="resourceId",
    resource_type="resourceType",
    route_origin="routeOrigin",
    state="state"
)

Attributes

attachment_id

The ID of the route attachment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-attachmentid

destination_cidr

The CIDR block used for destination matches.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-destinationcidr

prefix_list_id

The ID of the prefix list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-prefixlistid

resource_id

The ID of the resource for the route attachment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-resourceid

resource_type

The resource type for the route attachment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-resourcetype

route_origin

.

  • static

  • propagated

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-routeorigin

Type:

The route origin. The following are the possible values

state

The state of the route.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-state