Class CfnBasePathMappingV2Props
Properties for defining a CfnBasePathMappingV2.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBasePathMappingV2Props : ICfnBasePathMappingV2Props
Syntax (vb)
Public Class CfnBasePathMappingV2Props Implements ICfnBasePathMappingV2Props
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var cfnBasePathMappingV2Props = new CfnBasePathMappingV2Props {
DomainNameArn = "domainNameArn",
RestApiId = "restApiId",
// the properties below are optional
BasePath = "basePath",
Stage = "stage"
};
Synopsis
Constructors
| CfnBasePathMappingV2Props() | Properties for defining a |
Properties
| BasePath | The base path name that callers of the private API must provide as part of the URL after the domain name. |
| DomainNameArn | The ARN of the domain name for the BasePathMappingV2 resource to be described. |
| RestApiId | The private API's identifier. |
| Stage | Represents a unique identifier for a version of a deployed private RestApi that is callable by users. |
Constructors
CfnBasePathMappingV2Props()
Properties for defining a CfnBasePathMappingV2.
public CfnBasePathMappingV2Props()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var cfnBasePathMappingV2Props = new CfnBasePathMappingV2Props {
DomainNameArn = "domainNameArn",
RestApiId = "restApiId",
// the properties below are optional
BasePath = "basePath",
Stage = "stage"
};
Properties
BasePath
The base path name that callers of the private API must provide as part of the URL after the domain name.
public string? BasePath { get; set; }
Property Value
Remarks
DomainNameArn
The ARN of the domain name for the BasePathMappingV2 resource to be described.
public string DomainNameArn { get; set; }
Property Value
Remarks
RestApiId
The private API's identifier.
public string RestApiId { get; set; }
Property Value
Remarks
This identifier is unique across all of your APIs in API Gateway.
Stage
Represents a unique identifier for a version of a deployed private RestApi that is callable by users.
public string? Stage { get; set; }
Property Value
Remarks
The Stage must depend on the RestApi 's stage. To create a dependency, add a DependsOn attribute to the BasePathMappingV2 resource.