@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.101Z") @Stability(value=Stable) public interface CfnDeploymentProps 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.*;
CfnDeploymentProps cfnDeploymentProps = CfnDeploymentProps.builder()
.restApiId("restApiId")
// the properties below are optional
.deploymentCanarySettings(DeploymentCanarySettingsProperty.builder()
.percentTraffic(123)
.stageVariableOverrides(Map.of(
"stageVariableOverridesKey", "stageVariableOverrides"))
.useStageCache(false)
.build())
.description("description")
.stageDescription(StageDescriptionProperty.builder()
.accessLogSetting(AccessLogSettingProperty.builder()
.destinationArn("destinationArn")
.format("format")
.build())
.cacheClusterEnabled(false)
.cacheClusterSize("cacheClusterSize")
.cacheDataEncrypted(false)
.cacheTtlInSeconds(123)
.cachingEnabled(false)
.canarySetting(CanarySettingProperty.builder()
.percentTraffic(123)
.stageVariableOverrides(Map.of(
"stageVariableOverridesKey", "stageVariableOverrides"))
.useStageCache(false)
.build())
.clientCertificateId("clientCertificateId")
.dataTraceEnabled(false)
.description("description")
.documentationVersion("documentationVersion")
.loggingLevel("loggingLevel")
.methodSettings(List.of(MethodSettingProperty.builder()
.cacheDataEncrypted(false)
.cacheTtlInSeconds(123)
.cachingEnabled(false)
.dataTraceEnabled(false)
.httpMethod("httpMethod")
.loggingLevel("loggingLevel")
.metricsEnabled(false)
.resourcePath("resourcePath")
.throttlingBurstLimit(123)
.throttlingRateLimit(123)
.build()))
.metricsEnabled(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.throttlingBurstLimit(123)
.throttlingRateLimit(123)
.tracingEnabled(false)
.variables(Map.of(
"variablesKey", "variables"))
.build())
.stageName("stageName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeploymentProps.Builder
A builder for
CfnDeploymentProps |
static class |
CfnDeploymentProps.Jsii$Proxy
An implementation for
CfnDeploymentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeploymentProps.Builder |
builder() |
default Object |
getDeploymentCanarySettings()
Specifies settings for the canary deployment.
|
default String |
getDescription()
A description of the purpose of the API Gateway deployment.
|
String |
getRestApiId()
The ID of the `RestApi` resource to deploy.
|
default Object |
getStageDescription()
Configures the stage that API Gateway creates with this deployment.
|
default String |
getStageName()
A name for the stage that API Gateway creates with this deployment.
|
@Stability(value=Stable) @NotNull String getRestApiId()
@Stability(value=Stable) @Nullable default Object getDeploymentCanarySettings()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getStageDescription()
@Stability(value=Stable) @Nullable default String getStageName()
Use only alphanumeric characters.
@Stability(value=Stable) static CfnDeploymentProps.Builder builder()
CfnDeploymentProps.Builder of CfnDeploymentPropsCopyright © 2022. All rights reserved.