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

Class: Aws::APIGateway::Types::CreateBasePathMappingRequest

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

Overview

Note:

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

{
  domain_name: "String", # required
  base_path: "String",
  rest_api_id: "String", # required
  stage: "String",
}

Requests API Gateway to create a new BasePathMapping resource.

Instance Attribute Summary collapse

Instance Attribute Details

#base_pathString

The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify a base path name after the domain name.

Returns:

  • (String)

    The base path name that callers of the API must provide as part of the URL after the domain name.

#domain_nameString

The domain name of the BasePathMapping resource to create.

Returns:

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)

    The string identifier of the associated RestApi.

#stageString

The name of the API\'s stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.

Returns:

  • (String)

    The name of the API\'s stage that you want to use for this mapping.