@Stability(value=Stable) public static final class CfnStageProps.Builder extends Object implements software.amazon.jsii.Builder<CfnStageProps>
CfnStageProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnStageProps.Builder restApiId(String restApiId)
CfnStageProps.getRestApiId()restApiId - The ID of the `RestApi` resource that you're deploying with this stage. This parameter is required.this@Stability(value=Stable) public CfnStageProps.Builder accessLogSetting(CfnStage.AccessLogSettingProperty accessLogSetting)
CfnStageProps.getAccessLogSetting()accessLogSetting - Specifies settings for logging access in this stage.this@Stability(value=Stable) public CfnStageProps.Builder accessLogSetting(IResolvable accessLogSetting)
CfnStageProps.getAccessLogSetting()accessLogSetting - Specifies settings for logging access in this stage.this@Stability(value=Stable) public CfnStageProps.Builder cacheClusterEnabled(Boolean cacheClusterEnabled)
CfnStageProps.getCacheClusterEnabled()cacheClusterEnabled - Indicates whether cache clustering is enabled for the stage.this@Stability(value=Stable) public CfnStageProps.Builder cacheClusterEnabled(IResolvable cacheClusterEnabled)
CfnStageProps.getCacheClusterEnabled()cacheClusterEnabled - Indicates whether cache clustering is enabled for the stage.this@Stability(value=Stable) public CfnStageProps.Builder cacheClusterSize(String cacheClusterSize)
CfnStageProps.getCacheClusterSize()cacheClusterSize - The stage's cache cluster size.this@Stability(value=Stable) public CfnStageProps.Builder canarySetting(CfnStage.CanarySettingProperty canarySetting)
CfnStageProps.getCanarySetting()canarySetting - Specifies settings for the canary deployment in this stage.this@Stability(value=Stable) public CfnStageProps.Builder canarySetting(IResolvable canarySetting)
CfnStageProps.getCanarySetting()canarySetting - Specifies settings for the canary deployment in this stage.this@Stability(value=Stable) public CfnStageProps.Builder clientCertificateId(String clientCertificateId)
CfnStageProps.getClientCertificateId()clientCertificateId - The ID of the client certificate that API Gateway uses to call your integration endpoints in the stage.this@Stability(value=Stable) public CfnStageProps.Builder deploymentId(String deploymentId)
CfnStageProps.getDeploymentId()deploymentId - The ID of the deployment that the stage is associated with.
This parameter is required to create a stage.this@Stability(value=Stable) public CfnStageProps.Builder description(String description)
CfnStageProps.getDescription()description - A description of the stage.this@Stability(value=Stable) public CfnStageProps.Builder documentationVersion(String documentationVersion)
CfnStageProps.getDocumentationVersion()documentationVersion - The version ID of the API documentation snapshot.this@Stability(value=Stable) public CfnStageProps.Builder methodSettings(IResolvable methodSettings)
CfnStageProps.getMethodSettings()methodSettings - Settings for all methods in the stage.this@Stability(value=Stable) public CfnStageProps.Builder methodSettings(List<? extends Object> methodSettings)
CfnStageProps.getMethodSettings()methodSettings - Settings for all methods in the stage.this@Stability(value=Stable) public CfnStageProps.Builder stageName(String stageName)
CfnStageProps.getStageName()stageName - The name of the stage, which API Gateway uses as the first path segment in the invoked Uniform Resource Identifier (URI).this@Stability(value=Stable) public CfnStageProps.Builder tags(List<? extends CfnTag> tags)
CfnStageProps.getTags()tags - An array of arbitrary tags (key-value pairs) to associate with the stage.this@Stability(value=Stable) public CfnStageProps.Builder tracingEnabled(Boolean tracingEnabled)
CfnStageProps.getTracingEnabled()tracingEnabled - Specifies whether active X-Ray tracing is enabled for this stage.
For more information, see Trace API Gateway API Execution with AWS X-Ray in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnStageProps.Builder tracingEnabled(IResolvable tracingEnabled)
CfnStageProps.getTracingEnabled()tracingEnabled - Specifies whether active X-Ray tracing is enabled for this stage.
For more information, see Trace API Gateway API Execution with AWS X-Ray in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnStageProps.Builder variables(IResolvable variables)
CfnStageProps.getVariables()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.
Variable names are limited to alphanumeric characters. Values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+ .this@Stability(value=Stable) public CfnStageProps.Builder variables(Map<String,String> variables)
CfnStageProps.getVariables()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.
Variable names are limited to alphanumeric characters. Values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+ .this@Stability(value=Stable) public CfnStageProps build()
build in interface software.amazon.jsii.Builder<CfnStageProps>CfnStagePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.