class Amazonite::ApiGateway::CreateDeploymentRequest

Overview

Requests API Gateway to create a Deployment resource.

Included Modules

Defined in:

api_gateway/create_deployment_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(rest_api_id : String, stage_name : String | Nil = nil, stage_description : String | Nil = nil, description : String | Nil = nil, cache_cluster_enabled : Bool | Nil = nil, cache_cluster_size : CacheClusterSize | Nil = nil, variables : Hash(String, String) | Nil = nil, canary_settings : DeploymentCanarySettings | Nil = nil, tracing_enabled : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def cache_cluster_enabled : Bool | Nil #

Enables a cache cluster for the Stage resource specified in the input.


[View source]
def cache_cluster_enabled=(cache_cluster_enabled : Bool | Nil) #

Enables a cache cluster for the Stage resource specified in the input.


[View source]
def cache_cluster_size : CacheClusterSize | Nil #

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


[View source]
def cache_cluster_size=(cache_cluster_size : CacheClusterSize | Nil) #

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


[View source]
def canary_settings : DeploymentCanarySettings | Nil #

The input configuration for the canary deployment when the deployment is a canary release deployment.


[View source]
def canary_settings=(canary_settings : DeploymentCanarySettings | Nil) #

The input configuration for the canary deployment when the deployment is a canary release deployment.


[View source]
def description : String | Nil #

The description for the Deployment resource to create.


[View source]
def description=(description : String | Nil) #

The description for the Deployment resource to create.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def rest_api_id : String #

The string identifier of the associated RestApi.


[View source]
def rest_api_id=(rest_api_id : String) #

The string identifier of the associated RestApi.


[View source]
def stage_description : String | Nil #

The description of the Stage resource for the Deployment resource to create.


[View source]
def stage_description=(stage_description : String | Nil) #

The description of the Stage resource for the Deployment resource to create.


[View source]
def stage_name : String | Nil #

The name of the Stage resource for the Deployment resource to create.


[View source]
def stage_name=(stage_name : String | Nil) #

The name of the Stage resource for the Deployment resource to create.


[View source]
def tracing_enabled : Bool | Nil #

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


[View source]
def tracing_enabled=(tracing_enabled : Bool | Nil) #

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


[View source]
def validate! : Nil #

[View source]
def variables : Hash(String, String) | Nil #

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


[View source]
def variables=(variables : Hash(String, String) | Nil) #

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


[View source]