Class: Aws::APIGateway::Types::CreateStageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateStageRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Requests API Gateway to create a Stage resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cache_cluster_enabled ⇒ Boolean
Whether cache clustering is enabled for the stage.
-
#cache_cluster_size ⇒ String
The stage’s cache capacity in GB.
-
#canary_settings ⇒ Types::CanarySettings
The canary deployment settings of this stage.
-
#deployment_id ⇒ String
The identifier of the Deployment resource for the Stage resource.
-
#description ⇒ String
The description of the Stage resource.
-
#documentation_version ⇒ String
The version of the associated API documentation.
-
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
-
#stage_name ⇒ String
The name for the Stage resource.
-
#tags ⇒ Hash<String,String>
The key-value map of strings.
-
#tracing_enabled ⇒ Boolean
Specifies whether active tracing with X-ray is enabled for the Stage.
-
#variables ⇒ Hash<String,String>
A map that defines the stage variables for the new Stage resource.
Instance Attribute Details
#cache_cluster_enabled ⇒ Boolean
Whether cache clustering is enabled for the stage.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#cache_cluster_size ⇒ String
The stage’s cache capacity in GB. For more information about choosing a cache size, see [Enabling API caching to enhance responsiveness].
[1]: docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#canary_settings ⇒ Types::CanarySettings
The canary deployment settings of this stage.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#deployment_id ⇒ String
The identifier of the Deployment resource for the Stage resource.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the Stage resource.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#documentation_version ⇒ String
The version of the associated API documentation.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#stage_name ⇒ String
The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
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.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#tracing_enabled ⇒ Boolean
Specifies whether active tracing with X-ray is enabled for the Stage.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |
#variables ⇒ Hash<String,String>
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-._~:/?#&=,]+`.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1142 class CreateStageRequest < Struct.new( :rest_api_id, :stage_name, :deployment_id, :description, :cache_cluster_enabled, :cache_cluster_size, :variables, :documentation_version, :canary_settings, :tracing_enabled, :tags) SENSITIVE = [] include Aws::Structure end |