You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::NetworkPathComponent

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing NetworkPathComponent as input to an Aws::Client method, you can use a vanilla Hash:

{
  component_id: "NonEmptyString",
  component_type: "NonEmptyString",
  egress: {
    protocol: "NonEmptyString",
    destination: {
      address: ["NonEmptyString"],
      port_ranges: [
        {
          begin: 1,
          end: 1,
        },
      ],
    },
    source: {
      address: ["NonEmptyString"],
      port_ranges: [
        {
          begin: 1,
          end: 1,
        },
      ],
    },
  },
  ingress: {
    protocol: "NonEmptyString",
    destination: {
      address: ["NonEmptyString"],
      port_ranges: [
        {
          begin: 1,
          end: 1,
        },
      ],
    },
    source: {
      address: ["NonEmptyString"],
      port_ranges: [
        {
          begin: 1,
          end: 1,
        },
      ],
    },
  },
}

Information about a network path component.

Instance Attribute Summary collapse

Instance Attribute Details

#component_idString

The identifier of a component in the network path.

Returns:

  • (String)

    The identifier of a component in the network path.

#component_typeString

The type of component.

Returns:

  • (String)

    The type of component.

#egressTypes::NetworkHeader

Information about the component that comes after the current component in the network path.

Returns:

  • (Types::NetworkHeader)

    Information about the component that comes after the current component in the network path.

#ingressTypes::NetworkHeader

Information about the component that comes before the current node in the network path.

Returns:

  • (Types::NetworkHeader)

    Information about the component that comes before the current node in the network path.