@Stability(value=Stable)
public static interface CfnApiKey.StageKeyProperty
extends software.amazon.jsii.JsiiSerializable
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.apigateway.*;
StageKeyProperty stageKeyProperty = StageKeyProperty.builder()
.restApiId("restApiId")
.stageName("stageName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiKey.StageKeyProperty.Builder
A builder for
CfnApiKey.StageKeyProperty |
static class |
CfnApiKey.StageKeyProperty.Jsii$Proxy
An implementation for
CfnApiKey.StageKeyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApiKey.StageKeyProperty.Builder |
builder() |
default String |
getRestApiId()
The ID of a `RestApi` resource that includes the stage with which you want to associate the API key.
|
default String |
getStageName()
The name of the stage with which to associate the API key.
|
@Stability(value=Stable) @Nullable default String getRestApiId()
@Stability(value=Stable) @Nullable default String getStageName()
The stage must be included in the RestApi resource that you specified in the RestApiId property.
@Stability(value=Stable) static CfnApiKey.StageKeyProperty.Builder builder()
CfnApiKey.StageKeyProperty.Builder of CfnApiKey.StageKeyPropertyCopyright © 2022. All rights reserved.