We recommend new projects start with resources from the AWS provider.
aws-native.apigateway.BasePathMappingV2
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::ApiGateway::BasePathMappingV2
Create BasePathMappingV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BasePathMappingV2(name: string, args: BasePathMappingV2Args, opts?: CustomResourceOptions);
@overload
def BasePathMappingV2(resource_name: str,
args: BasePathMappingV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def BasePathMappingV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name_arn: Optional[str] = None,
rest_api_id: Optional[str] = None,
base_path: Optional[str] = None,
stage: Optional[str] = None)
func NewBasePathMappingV2(ctx *Context, name string, args BasePathMappingV2Args, opts ...ResourceOption) (*BasePathMappingV2, error)
public BasePathMappingV2(string name, BasePathMappingV2Args args, CustomResourceOptions? opts = null)
public BasePathMappingV2(String name, BasePathMappingV2Args args)
public BasePathMappingV2(String name, BasePathMappingV2Args args, CustomResourceOptions options)
type: aws-native:apigateway:BasePathMappingV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BasePathMappingV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BasePathMappingV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BasePathMappingV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BasePathMappingV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BasePathMappingV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BasePathMappingV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BasePathMappingV2 resource accepts the following input properties:
- Domain
Name stringArn - The Arn of an AWS::ApiGateway::DomainNameV2 resource.
- Rest
Api stringId - The ID of the API.
- Base
Path string - The base path name that callers of the API must provide in the URL after the domain name.
- Stage string
- The name of the API's stage.
- Domain
Name stringArn - The Arn of an AWS::ApiGateway::DomainNameV2 resource.
- Rest
Api stringId - The ID of the API.
- Base
Path string - The base path name that callers of the API must provide in the URL after the domain name.
- Stage string
- The name of the API's stage.
- domain
Name StringArn - The Arn of an AWS::ApiGateway::DomainNameV2 resource.
- rest
Api StringId - The ID of the API.
- base
Path String - The base path name that callers of the API must provide in the URL after the domain name.
- stage String
- The name of the API's stage.
- domain
Name stringArn - The Arn of an AWS::ApiGateway::DomainNameV2 resource.
- rest
Api stringId - The ID of the API.
- base
Path string - The base path name that callers of the API must provide in the URL after the domain name.
- stage string
- The name of the API's stage.
- domain_
name_ strarn - The Arn of an AWS::ApiGateway::DomainNameV2 resource.
- rest_
api_ strid - The ID of the API.
- base_
path str - The base path name that callers of the API must provide in the URL after the domain name.
- stage str
- The name of the API's stage.
- domain
Name StringArn - The Arn of an AWS::ApiGateway::DomainNameV2 resource.
- rest
Api StringId - The ID of the API.
- base
Path String - The base path name that callers of the API must provide in the URL after the domain name.
- stage String
- The name of the API's stage.
Outputs
All input properties are implicitly available as output properties. Additionally, the BasePathMappingV2 resource produces the following output properties:
- Base
Path stringMapping Arn - Amazon Resource Name (ARN) of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Base
Path stringMapping Arn - Amazon Resource Name (ARN) of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- base
Path StringMapping Arn - Amazon Resource Name (ARN) of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- base
Path stringMapping Arn - Amazon Resource Name (ARN) of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- base_
path_ strmapping_ arn - Amazon Resource Name (ARN) of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- base
Path StringMapping Arn - Amazon Resource Name (ARN) of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.