Skip to content
v2.277.0

BasePathMappingReference Struct ​

A reference to a BasePathMapping resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as interfaces_apigateway } from 'aws-cdk-lib/interfaces';
const basePathMappingReference: interfaces_apigateway.BasePathMappingReference = {
  basePath: 'basePath',
  domainName: 'domainName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_apigateway as interfaces_apigateway

base_path_mapping_reference = interfaces_apigateway.BasePathMappingReference(
    base_path="basePath",
    domain_name="domainName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.apigateway.*;

BasePathMappingReference basePathMappingReference = BasePathMappingReference.builder()
        .basePath("basePath")
        .domainName("domainName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.APIGateway;

var basePathMappingReference = new BasePathMappingReference {
    BasePath = "basePath",
    DomainName = "domainName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

basePathMappingReference := &BasePathMappingReference{
	BasePath: jsii.String("basePath"),
	DomainName: jsii.String("domainName"),
}

Properties ​

basePathstringbase_pathstrbasePathStringBasePathstringBasePath*stringrequired#
The BasePath of the BasePathMapping resource.
domainNamestringdomain_namestrdomainNameStringDomainNamestringDomainName*stringrequired#
The DomainName of the BasePathMapping resource.