@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:41.448Z") @Stability(value=Experimental) public class ApiMapping extends Resource implements IApiMapping
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
IApi api;
DomainName domainName;
IStage stage;
ApiMapping apiMapping = ApiMapping.Builder.create(this, "MyApiMapping")
.api(api)
.domainName(domainName)
// the properties below are optional
.apiMappingKey("apiMappingKey")
.stage(stage)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiMapping.Builder
(experimental) A fluent builder for
ApiMapping. |
software.amazon.jsii.JsiiObject.InitializationModeIApiMapping.Jsii$Default, IApiMapping.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ApiMapping(software.constructs.Construct scope,
String id,
ApiMappingProps props) |
protected |
ApiMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ApiMapping(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IApiMapping |
fromApiMappingAttributes(software.constructs.Construct scope,
String id,
ApiMappingAttributes attrs)
(experimental) import from API ID.
|
String |
getApiMappingId()
(experimental) ID of the API Mapping.
|
IDomainName |
getDomainName()
(experimental) API domain name.
|
String |
getMappingKey()
(experimental) API Mapping key.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected ApiMapping(software.amazon.jsii.JsiiObjectRef objRef)
protected ApiMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public ApiMapping(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ApiMappingProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IApiMapping fromApiMappingAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApiMappingAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public String getApiMappingId()
getApiMappingId in interface IApiMapping@Stability(value=Experimental) @NotNull public IDomainName getDomainName()
@Stability(value=Experimental) @Nullable public String getMappingKey()
Copyright © 2022. All rights reserved.