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(java.lang.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(java.lang.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(java.lang.String clientCertificateId)
The ID of the client certificate that API Gateway uses to call your integration endpoints in the stage.
|
static CfnStage.Builder |
create(Construct scope,
java.lang.String id) |
CfnStage.Builder |
deploymentId(java.lang.String deploymentId)
The ID of the deployment that the stage is associated with.
|
CfnStage.Builder |
description(java.lang.String description)
A description of the stage.
|
CfnStage.Builder |
documentationVersion(java.lang.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(java.util.List<? extends java.lang.Object> methodSettings)
Settings for all methods in the stage.
|
CfnStage.Builder |
restApiId(java.lang.String restApiId)
The ID of the `RestApi` resource that you're deploying with this stage.
|
CfnStage.Builder |
stageName(java.lang.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(java.util.List<? extends CfnTag> tags)
An array of arbitrary tags (key-value pairs) to associate with the stage.
|
CfnStage.Builder |
tracingEnabled(java.lang.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(java.util.Map<java.lang.String,java.lang.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.
|
public static CfnStage.Builder create(Construct scope, java.lang.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
.public CfnStage.Builder restApiId(java.lang.String restApiId)
restApiId
- The ID of the `RestApi` resource that you're deploying with this stage. This parameter is required.this
public CfnStage.Builder accessLogSetting(IResolvable accessLogSetting)
accessLogSetting
- Specifies settings for logging access in this stage. This parameter is required.this
public CfnStage.Builder accessLogSetting(CfnStage.AccessLogSettingProperty accessLogSetting)
accessLogSetting
- Specifies settings for logging access in this stage. This parameter is required.this
public CfnStage.Builder cacheClusterEnabled(java.lang.Boolean cacheClusterEnabled)
cacheClusterEnabled
- Indicates whether cache clustering is enabled for the stage. This parameter is required.this
public CfnStage.Builder cacheClusterEnabled(IResolvable cacheClusterEnabled)
cacheClusterEnabled
- Indicates whether cache clustering is enabled for the stage. This parameter is required.this
public CfnStage.Builder cacheClusterSize(java.lang.String cacheClusterSize)
cacheClusterSize
- The stage's cache cluster size. This parameter is required.this
public CfnStage.Builder canarySetting(IResolvable canarySetting)
canarySetting
- Specifies settings for the canary deployment in this stage. This parameter is required.this
public CfnStage.Builder canarySetting(CfnStage.CanarySettingProperty canarySetting)
canarySetting
- Specifies settings for the canary deployment in this stage. This parameter is required.this
public CfnStage.Builder clientCertificateId(java.lang.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
public CfnStage.Builder deploymentId(java.lang.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
public CfnStage.Builder description(java.lang.String description)
description
- A description of the stage. This parameter is required.this
public CfnStage.Builder documentationVersion(java.lang.String documentationVersion)
documentationVersion
- The version ID of the API documentation snapshot. This parameter is required.this
public CfnStage.Builder methodSettings(IResolvable methodSettings)
methodSettings
- Settings for all methods in the stage. This parameter is required.this
public CfnStage.Builder methodSettings(java.util.List<? extends java.lang.Object> methodSettings)
methodSettings
- Settings for all methods in the stage. This parameter is required.this
public CfnStage.Builder stageName(java.lang.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
public CfnStage.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- An array of arbitrary tags (key-value pairs) to associate with the stage. This parameter is required.this
public CfnStage.Builder tracingEnabled(java.lang.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
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
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
public CfnStage.Builder variables(java.util.Map<java.lang.String,java.lang.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.this
public CfnStage build()