Paws::EC2::ExportTransitGatewayRoutes - Arguments for method ExportTransitGatewayRoutes on Paws::EC2


This class represents the parameters used for calling the method ExportTransitGatewayRoutes on the Amazon Elastic Compute Cloud service. Use the attributes of this class as arguments to method ExportTransitGatewayRoutes.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExportTransitGatewayRoutes.


    my $ec2 = Paws->service('EC2');
    my $ExportTransitGatewayRoutesResult = $ec2->ExportTransitGatewayRoutes(
      S3Bucket                   => 'MyString',
      TransitGatewayRouteTableId => 'MyString',
      DryRun                     => 1,            # OPTIONAL
      Filters                    => [
          Name   => 'MyString',
          Values => [ 'MyString', ... ],          # OPTIONAL
      ],                                          # OPTIONAL

    # Results:
    my $S3Location = $ExportTransitGatewayRoutesResult->S3Location;

    # Returns a L<Paws::EC2::ExportTransitGatewayRoutesResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


DryRun => Bool

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Filters => ArrayRef[Paws::EC2::Filter]

One or more filters. The possible values are:

  • attachment.transit-gateway-attachment-id- The id of the transit gateway attachment.

  • attachment.resource-id - The resource id of the transit gateway attachment.

  • route-search.exact-match - The exact match of the specified filter.

  • route-search.longest-prefix-match - The longest prefix that matches the route.

  • route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter.

  • route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have and routes in your route table and you specify supernet-of-match as, then the result returns

  • state - The state of the attachment (available | deleted | deleting | failed | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).

  • transit-gateway-route-destination-cidr-block - The CIDR range.

  • type - The type of roue (active | blackhole).

REQUIRED S3Bucket => Str

The name of the S3 bucket.

REQUIRED TransitGatewayRouteTableId => Str

The ID of the route table.


This class forms part of Paws, documenting arguments for method ExportTransitGatewayRoutes in Paws::EC2


The source code is located here:

Please report bugs to: