| Modifier and Type | Method and Description |
|---|---|
CfnStage.Builder |
accessLogSetting(CfnStage.AccessLogSettingProperty accessLogSetting)
Specifies settings for logging access in this stage.
|
CfnStage.Builder |
accessLogSetting(IResolvable accessLogSetting)
Specifies settings for logging access in this stage.
|
CfnStage |
build() |
CfnStage.Builder |
cacheClusterEnabled(Boolean cacheClusterEnabled)
Indicates whether cache clustering is enabled for the stage.
|
CfnStage.Builder |
cacheClusterEnabled(IResolvable cacheClusterEnabled)
Indicates whether cache clustering is enabled for the stage.
|
CfnStage.Builder |
cacheClusterSize(String cacheClusterSize)
The stage's cache cluster size.
|
CfnStage.Builder |
canarySetting(CfnStage.CanarySettingProperty canarySetting)
Specifies settings for the canary deployment in this stage.
|
CfnStage.Builder |
canarySetting(IResolvable canarySetting)
Specifies settings for the canary deployment in this stage.
|
CfnStage.Builder |
clientCertificateId(String clientCertificateId)
The ID of the client certificate that API Gateway uses to call your integration endpoints in the stage.
|
static CfnStage.Builder |
create(software.constructs.Construct scope,
String id) |
CfnStage.Builder |
deploymentId(String deploymentId)
The ID of the deployment that the stage is associated with.
|
CfnStage.Builder |
description(String description)
A description of the stage.
|
CfnStage.Builder |
documentationVersion(String documentationVersion)
The version ID of the API documentation snapshot.
|
CfnStage.Builder |
methodSettings(IResolvable methodSettings)
Settings for all methods in the stage.
|
CfnStage.Builder |
methodSettings(List<? extends Object> methodSettings)
Settings for all methods in the stage.
|
CfnStage.Builder |
restApiId(String restApiId)
The ID of the `RestApi` resource that you're deploying with this stage.
|
CfnStage.Builder |
stageName(String stageName)
The name of the stage, which API Gateway uses as the first path segment in the invoked Uniform Resource Identifier (URI).
|
CfnStage.Builder |
tags(List<? extends CfnTag> tags)
An array of arbitrary tags (key-value pairs) to associate with the stage.
|
CfnStage.Builder |
tracingEnabled(Boolean tracingEnabled)
Specifies whether active X-Ray tracing is enabled for this stage.
|
CfnStage.Builder |
tracingEnabled(IResolvable tracingEnabled)
Specifies whether active X-Ray tracing is enabled for this stage.
|
CfnStage.Builder |
variables(IResolvable variables)
A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value.
|
CfnStage.Builder |
variables(Map<String,String> variables)
A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value.
|
@Stability(value=Stable) public static CfnStage.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnStage.AccessLogSettingProperty.Builder.@Stability(value=Stable) public CfnStage.Builder restApiId(String restApiId)
restApiId - The ID of the `RestApi` resource that you're deploying with this stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder accessLogSetting(CfnStage.AccessLogSettingProperty accessLogSetting)
accessLogSetting - Specifies settings for logging access in this stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder accessLogSetting(IResolvable accessLogSetting)
accessLogSetting - Specifies settings for logging access in this stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder cacheClusterEnabled(Boolean cacheClusterEnabled)
cacheClusterEnabled - Indicates whether cache clustering is enabled for the stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder cacheClusterEnabled(IResolvable cacheClusterEnabled)
cacheClusterEnabled - Indicates whether cache clustering is enabled for the stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder cacheClusterSize(String cacheClusterSize)
cacheClusterSize - The stage's cache cluster size. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder canarySetting(CfnStage.CanarySettingProperty canarySetting)
canarySetting - Specifies settings for the canary deployment in this stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder canarySetting(IResolvable canarySetting)
canarySetting - Specifies settings for the canary deployment in this stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder clientCertificateId(String clientCertificateId)
clientCertificateId - The ID of the client certificate that API Gateway uses to call your integration endpoints in the stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder deploymentId(String deploymentId)
This parameter is required to create a stage.
deploymentId - The ID of the deployment that the stage is associated with. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder description(String description)
description - A description of the stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder documentationVersion(String documentationVersion)
documentationVersion - The version ID of the API documentation snapshot. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder methodSettings(IResolvable methodSettings)
methodSettings - Settings for all methods in the stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder methodSettings(List<? extends Object> methodSettings)
methodSettings - Settings for all methods in the stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder stageName(String stageName)
stageName - The name of the stage, which API Gateway uses as the first path segment in the invoked Uniform Resource Identifier (URI). This parameter is required.this@Stability(value=Stable) public CfnStage.Builder tags(List<? extends CfnTag> tags)
tags - An array of arbitrary tags (key-value pairs) to associate with the stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder tracingEnabled(Boolean tracingEnabled)
For more information, see Trace API Gateway API Execution with AWS X-Ray in the API Gateway Developer Guide .
tracingEnabled - Specifies whether active X-Ray tracing is enabled for this stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder tracingEnabled(IResolvable tracingEnabled)
For more information, see Trace API Gateway API Execution with AWS X-Ray in the API Gateway Developer Guide .
tracingEnabled - Specifies whether active X-Ray tracing is enabled for this stage. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder variables(IResolvable variables)
Variable names are limited to alphanumeric characters. Values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+ .
variables - A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. This parameter is required.this@Stability(value=Stable) public CfnStage.Builder variables(Map<String,String> variables)
Variable names are limited to alphanumeric characters. Values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+ .
variables - A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. This parameter is required.thisCopyright © 2022. All rights reserved.