AWSEC2Route

Objective-C

@interface AWSEC2Route

Swift

class AWSEC2Route

Describes a route in a route table.

  • The ID of the carrier gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable carrierGatewayId;

    Swift

    var carrierGatewayId: String? { get set }
  • The Amazon Resource Name (ARN) of the core network.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable coreNetworkArn;

    Swift

    var coreNetworkArn: String? { get set }
  • The IPv4 CIDR block used for the destination match.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable destinationCidrBlock;

    Swift

    var destinationCidrBlock: String? { get set }
  • The IPv6 CIDR block used for the destination match.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable destinationIpv6CidrBlock;

    Swift

    var destinationIpv6CidrBlock: String? { get set }
  • The prefix of the Amazon Web Service.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable destinationPrefixListId;

    Swift

    var destinationPrefixListId: String? { get set }
  • The ID of the egress-only internet gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable egressOnlyInternetGatewayId;

    Swift

    var egressOnlyInternetGatewayId: String? { get set }
  • The ID of a gateway attached to your VPC.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable gatewayId;

    Swift

    var gatewayId: String? { get set }
  • The ID of a NAT instance in your VPC.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceId;

    Swift

    var instanceId: String? { get set }
  • The ID of Amazon Web Services account that owns the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceOwnerId;

    Swift

    var instanceOwnerId: String? { get set }
  • The ID of the local gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable localGatewayId;

    Swift

    var localGatewayId: String? { get set }
  • The ID of a NAT gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable natGatewayId;

    Swift

    var natGatewayId: String? { get set }
  • The ID of the network interface.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable networkInterfaceId;

    Swift

    var networkInterfaceId: String? { get set }
  • Describes how the route was created.

    • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2RouteOrigin origin;

    Swift

    var origin: AWSEC2RouteOrigin { get set }
  • The state of the route. The blackhole state indicates that the route’s target isn’t available (for example, the specified gateway isn’t attached to the VPC, or the specified NAT instance has been terminated).

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2RouteState state;

    Swift

    var state: AWSEC2RouteState { get set }
  • The ID of a transit gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable transitGatewayId;

    Swift

    var transitGatewayId: String? { get set }
  • The ID of a VPC peering connection.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable vpcPeeringConnectionId;

    Swift

    var vpcPeeringConnectionId: String? { get set }