class
Amazonite::ApiGateway::Stage
- Amazonite::ApiGateway::Stage
- Reference
- Object
Overview
Represents a unique identifier for a version of a deployed RestApi that is callable by users.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/stage.crConstructors
- .new(pull : JSON::PullParser)
- .new(deployment_id : String | Nil = nil, client_certificate_id : String | Nil = nil, stage_name : String | Nil = nil, description : String | Nil = nil, cache_cluster_enabled : Bool | Nil = nil, cache_cluster_size : CacheClusterSize | Nil = nil, cache_cluster_status : CacheClusterStatus | Nil = nil, method_settings : Hash(String, MethodSetting) | Nil = nil, variables : Hash(String, String) | Nil = nil, documentation_version : String | Nil = nil, access_log_settings : AccessLogSettings | Nil = nil, canary_settings : CanarySettings | Nil = nil, tracing_enabled : Bool | Nil = nil, web_acl_arn : String | Nil = nil, tags : Hash(String, String) | Nil = nil, created_date : Time | Nil = nil, last_updated_date : Time | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#access_log_settings : AccessLogSettings | Nil
Settings for logging access in this stage.
-
#access_log_settings=(access_log_settings : AccessLogSettings | Nil)
Settings for logging access in this stage.
-
#cache_cluster_enabled : Bool | Nil
Specifies whether a cache cluster is enabled for the stage.
-
#cache_cluster_enabled=(cache_cluster_enabled : Bool | Nil)
Specifies whether a cache cluster is enabled for the stage.
-
#cache_cluster_size : CacheClusterSize | Nil
The stage's cache capacity in GB.
-
#cache_cluster_size=(cache_cluster_size : CacheClusterSize | Nil)
The stage's cache capacity in GB.
-
#cache_cluster_status : CacheClusterStatus | Nil
The status of the cache cluster for the stage, if enabled.
-
#cache_cluster_status=(cache_cluster_status : CacheClusterStatus | Nil)
The status of the cache cluster for the stage, if enabled.
-
#canary_settings : CanarySettings | Nil
Settings for the canary deployment in this stage.
-
#canary_settings=(canary_settings : CanarySettings | Nil)
Settings for the canary deployment in this stage.
-
#client_certificate_id : String | Nil
The identifier of a client certificate for an API stage.
-
#client_certificate_id=(client_certificate_id : String | Nil)
The identifier of a client certificate for an API stage.
-
#created_date : Time | Nil
The timestamp when the stage was created.
-
#created_date=(created_date : Time | Nil)
The timestamp when the stage was created.
-
#deployment_id : String | Nil
The identifier of the Deployment that the stage points to.
-
#deployment_id=(deployment_id : String | Nil)
The identifier of the Deployment that the stage points to.
-
#description : String | Nil
The stage's description.
-
#description=(description : String | Nil)
The stage's description.
-
#documentation_version : String | Nil
The version of the associated API documentation.
-
#documentation_version=(documentation_version : String | Nil)
The version of the associated API documentation.
-
#hash(hasher)
See
Object#hash(hasher) -
#last_updated_date : Time | Nil
The timestamp when the stage last updated.
-
#last_updated_date=(last_updated_date : Time | Nil)
The timestamp when the stage last updated.
-
#method_settings : Hash(String, MethodSetting) | Nil
A map that defines the method settings for a Stage resource.
-
#method_settings=(method_settings : Hash(String, MethodSetting) | Nil)
A map that defines the method settings for a Stage resource.
-
#stage_name : String | Nil
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway.
-
#stage_name=(stage_name : String | Nil)
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway.
-
#tags : Hash(String, String) | Nil
The collection of tags.
-
#tags=(tags : Hash(String, String) | Nil)
The collection of tags.
-
#tracing_enabled : Bool | Nil
Specifies whether active tracing with X-ray is enabled for the Stage.
-
#tracing_enabled=(tracing_enabled : Bool | Nil)
Specifies whether active tracing with X-ray is enabled for the Stage.
- #validate! : Nil
-
#variables : Hash(String, String) | Nil
A map that defines the stage variables for a Stage resource.
-
#variables=(variables : Hash(String, String) | Nil)
A map that defines the stage variables for a Stage resource.
-
#web_acl_arn : String | Nil
The ARN of the WebAcl associated with the Stage.
-
#web_acl_arn=(web_acl_arn : String | Nil)
The ARN of the WebAcl associated with the Stage.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Settings for logging access in this stage.
Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache,
set CachingEnabled to true for a method.
Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache,
set CachingEnabled to true for a method.
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
The status of the cache cluster for the stage, if enabled.
The status of the cache cluster for the stage, if enabled.
Settings for the canary deployment in this stage.
The identifier of a client certificate for an API stage.
The identifier of the Deployment that the stage points to.
The version of the associated API documentation.
A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an
individual method override, or /\*/\* for overriding all methods in the stage.
A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an
individual method override, or /\*/\* for overriding all methods in the stage.
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
The collection of tags. Each tag element is associated with a given resource.
The collection of tags. Each tag element is associated with a given resource.
Specifies whether active tracing with X-ray is enabled for the Stage.
Specifies whether active tracing with X-ray is enabled for the Stage.
A map that defines the stage variables for a Stage resource. Variable names can have
alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
A map that defines the stage variables for a Stage resource. Variable names can have
alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.