Class RouteTableRoute


  • public final class RouteTableRoute
    extends java.lang.Object
    • Method Detail

      • carrierGatewayId

        public java.util.Optional<java.lang.String> carrierGatewayId()
        Returns:
        Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
      • cidrBlock

        public java.util.Optional<java.lang.String> cidrBlock()
        Returns:
        The CIDR block of the route.
      • coreNetworkArn

        public java.util.Optional<java.lang.String> coreNetworkArn()
        Returns:
        ARN of a core network.
      • destinationPrefixListId

        public java.util.Optional<java.lang.String> destinationPrefixListId()
        Returns:
        The ID of a managed prefix list destination of the route. One of the following target arguments must be supplied:
      • egressOnlyGatewayId

        public java.util.Optional<java.lang.String> egressOnlyGatewayId()
        Returns:
        Identifier of a VPC Egress Only Internet Gateway.
      • gatewayId

        public java.util.Optional<java.lang.String> gatewayId()
        Returns:
        Identifier of a VPC internet gateway, virtual private gateway, or `local`. `local` routes cannot be created but can be adopted or imported. See the example above.
      • ipv6CidrBlock

        public java.util.Optional<java.lang.String> ipv6CidrBlock()
        Returns:
        The Ipv6 CIDR block of the route.
      • localGatewayId

        public java.util.Optional<java.lang.String> localGatewayId()
        Returns:
        Identifier of a Outpost local gateway.
      • natGatewayId

        public java.util.Optional<java.lang.String> natGatewayId()
        Returns:
        Identifier of a VPC NAT gateway.
      • networkInterfaceId

        public java.util.Optional<java.lang.String> networkInterfaceId()
        Returns:
        Identifier of an EC2 network interface.
      • odbNetworkArn

        public java.util.Optional<java.lang.String> odbNetworkArn()
        Returns:
        ARN of an ODB network.
      • transitGatewayId

        public java.util.Optional<java.lang.String> transitGatewayId()
        Returns:
        Identifier of an EC2 Transit Gateway.
      • vpcEndpointId

        public java.util.Optional<java.lang.String> vpcEndpointId()
        Returns:
        Identifier of a VPC Endpoint.
      • vpcPeeringConnectionId

        public java.util.Optional<java.lang.String> vpcPeeringConnectionId()
        Returns:
        Identifier of a VPC peering connection. Note that the default route, mapping the VPC's CIDR block to "local", is created implicitly and cannot be specified.