AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateStage operation. Creates a new Stage resource that references a pre-existing Deployment for the API.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.APIGateway.AmazonAPIGatewayRequest
      Amazon.APIGateway.Model.CreateStageRequest

Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z

Syntax

C#
public class CreateStageRequest : AmazonAPIGatewayRequest
         IAmazonWebServiceRequest

The CreateStageRequest type exposes the following members

Constructors

NameDescription
Public Method CreateStageRequest()

Properties

NameTypeDescription
Public Property CacheClusterEnabled System.Boolean

Gets and sets the property CacheClusterEnabled.

Whether cache clustering is enabled for the stage.

Public Property CacheClusterSize Amazon.APIGateway.CacheClusterSize

Gets and sets the property CacheClusterSize.

The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.

Public Property CanarySettings Amazon.APIGateway.Model.CanarySettings

Gets and sets the property CanarySettings.

The canary deployment settings of this stage.

Public Property DeploymentId System.String

Gets and sets the property DeploymentId.

The identifier of the Deployment resource for the Stage resource.

Public Property Description System.String

Gets and sets the property Description.

The description of the Stage resource.

Public Property DocumentationVersion System.String

Gets and sets the property DocumentationVersion.

The version of the associated API documentation.

Public Property RestApiId System.String

Gets and sets the property RestApiId.

The string identifier of the associated RestApi.

Public Property StageName System.String

Gets and sets the property StageName.

The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

Public Property TracingEnabled System.Boolean

Gets and sets the property TracingEnabled.

Specifies whether active tracing with X-ray is enabled for the Stage.

Public Property Variables System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Variables.

A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5