We recommend new projects start with resources from the AWS provider.
aws-native.apigateway.Deployment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::ApiGateway::Deployment
resource deploys an API Gateway RestApi
resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
Create Deployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@overload
def Deployment(resource_name: str,
args: DeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Deployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
rest_api_id: Optional[str] = None,
deployment_canary_settings: Optional[DeploymentCanarySettingsArgs] = None,
description: Optional[str] = None,
stage_description: Optional[DeploymentStageDescriptionArgs] = None,
stage_name: Optional[str] = None)
func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
type: aws-native:apigateway:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Deployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Deployment resource accepts the following input properties:
- Rest
Api stringId - The string identifier of the associated RestApi.
- Deployment
Canary Pulumi.Settings Aws Native. Api Gateway. Inputs. Deployment Canary Settings - The input configuration for a canary deployment.
- Description string
- The description for the Deployment resource to create.
- Stage
Description Pulumi.Aws Native. Api Gateway. Inputs. Deployment Stage Description - The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
- Stage
Name string - The name of the Stage resource for the Deployment resource to create.
- Rest
Api stringId - The string identifier of the associated RestApi.
- Deployment
Canary DeploymentSettings Canary Settings Args - The input configuration for a canary deployment.
- Description string
- The description for the Deployment resource to create.
- Stage
Description DeploymentStage Description Args - The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
- Stage
Name string - The name of the Stage resource for the Deployment resource to create.
- rest
Api StringId - The string identifier of the associated RestApi.
- deployment
Canary DeploymentSettings Canary Settings - The input configuration for a canary deployment.
- description String
- The description for the Deployment resource to create.
- stage
Description DeploymentStage Description - The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
- stage
Name String - The name of the Stage resource for the Deployment resource to create.
- rest
Api stringId - The string identifier of the associated RestApi.
- deployment
Canary DeploymentSettings Canary Settings - The input configuration for a canary deployment.
- description string
- The description for the Deployment resource to create.
- stage
Description DeploymentStage Description - The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
- stage
Name string - The name of the Stage resource for the Deployment resource to create.
- rest_
api_ strid - The string identifier of the associated RestApi.
- deployment_
canary_ Deploymentsettings Canary Settings Args - The input configuration for a canary deployment.
- description str
- The description for the Deployment resource to create.
- stage_
description DeploymentStage Description Args - The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
- stage_
name str - The name of the Stage resource for the Deployment resource to create.
- rest
Api StringId - The string identifier of the associated RestApi.
- deployment
Canary Property MapSettings - The input configuration for a canary deployment.
- description String
- The description for the Deployment resource to create.
- stage
Description Property Map - The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
- stage
Name String - The name of the Stage resource for the Deployment resource to create.
Outputs
All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:
- Deployment
Id string - The ID for the deployment. For example:
abc123
. - Id string
- The provider-assigned unique ID for this managed resource.
- Deployment
Id string - The ID for the deployment. For example:
abc123
. - Id string
- The provider-assigned unique ID for this managed resource.
- deployment
Id String - The ID for the deployment. For example:
abc123
. - id String
- The provider-assigned unique ID for this managed resource.
- deployment
Id string - The ID for the deployment. For example:
abc123
. - id string
- The provider-assigned unique ID for this managed resource.
- deployment_
id str - The ID for the deployment. For example:
abc123
. - id str
- The provider-assigned unique ID for this managed resource.
- deployment
Id String - The ID for the deployment. For example:
abc123
. - id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
DeploymentAccessLogSetting, DeploymentAccessLogSettingArgs
- Destination
Arn string - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-
. - Format string
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least
$context.requestId
.
- Destination
Arn string - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-
. - Format string
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least
$context.requestId
.
- destination
Arn String - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-
. - format String
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least
$context.requestId
.
- destination
Arn string - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-
. - format string
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least
$context.requestId
.
- destination_
arn str - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-
. - format str
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least
$context.requestId
.
- destination
Arn String - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-
. - format String
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least
$context.requestId
.
DeploymentCanarySetting, DeploymentCanarySettingArgs
- Percent
Traffic double - The percent (0-100) of traffic diverted to a canary deployment.
- Stage
Variable Dictionary<string, string>Overrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
- Use
Stage boolCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- Percent
Traffic float64 - The percent (0-100) of traffic diverted to a canary deployment.
- Stage
Variable map[string]stringOverrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
- Use
Stage boolCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- percent
Traffic Double - The percent (0-100) of traffic diverted to a canary deployment.
- stage
Variable Map<String,String>Overrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use
Stage BooleanCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- percent
Traffic number - The percent (0-100) of traffic diverted to a canary deployment.
- stage
Variable {[key: string]: string}Overrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use
Stage booleanCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- percent_
traffic float - The percent (0-100) of traffic diverted to a canary deployment.
- stage_
variable_ Mapping[str, str]overrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use_
stage_ boolcache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- percent
Traffic Number - The percent (0-100) of traffic diverted to a canary deployment.
- stage
Variable Map<String>Overrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use
Stage BooleanCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
DeploymentCanarySettings, DeploymentCanarySettingsArgs
- Percent
Traffic double - The percentage (0.0-100.0) of traffic routed to the canary deployment.
- Stage
Variable Dictionary<string, string>Overrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
- Use
Stage boolCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- Percent
Traffic float64 - The percentage (0.0-100.0) of traffic routed to the canary deployment.
- Stage
Variable map[string]stringOverrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
- Use
Stage boolCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- percent
Traffic Double - The percentage (0.0-100.0) of traffic routed to the canary deployment.
- stage
Variable Map<String,String>Overrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use
Stage BooleanCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- percent
Traffic number - The percentage (0.0-100.0) of traffic routed to the canary deployment.
- stage
Variable {[key: string]: string}Overrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use
Stage booleanCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- percent_
traffic float - The percentage (0.0-100.0) of traffic routed to the canary deployment.
- stage_
variable_ Mapping[str, str]overrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use_
stage_ boolcache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- percent
Traffic Number - The percentage (0.0-100.0) of traffic routed to the canary deployment.
- stage
Variable Map<String>Overrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
- use
Stage BooleanCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
DeploymentMethodSetting, DeploymentMethodSettingArgs
- Cache
Data boolEncrypted - Specifies whether the cached responses are encrypted.
- Cache
Ttl intIn Seconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- Caching
Enabled bool - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
- Data
Trace boolEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- Http
Method string - The HTTP method.
- Logging
Level string - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are
OFF
,ERROR
, andINFO
. ChooseERROR
to write only error-level entries to CloudWatch Logs, or chooseINFO
to include allERROR
events as well as extra informational events. - Metrics
Enabled bool - Specifies whether Amazon CloudWatch metrics are enabled for this method.
- Resource
Path string - The resource path for this method. Forward slashes (
/
) are encoded as~1
and the initial slash must include a forward slash. For example, the path value/resource/subresource
must be encoded as/~1resource~1subresource
. To specify the root path, use only a slash (/
). - Throttling
Burst intLimit - Specifies the throttling burst limit.
- Throttling
Rate doubleLimit - Specifies the throttling rate limit.
- Cache
Data boolEncrypted - Specifies whether the cached responses are encrypted.
- Cache
Ttl intIn Seconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- Caching
Enabled bool - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
- Data
Trace boolEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- Http
Method string - The HTTP method.
- Logging
Level string - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are
OFF
,ERROR
, andINFO
. ChooseERROR
to write only error-level entries to CloudWatch Logs, or chooseINFO
to include allERROR
events as well as extra informational events. - Metrics
Enabled bool - Specifies whether Amazon CloudWatch metrics are enabled for this method.
- Resource
Path string - The resource path for this method. Forward slashes (
/
) are encoded as~1
and the initial slash must include a forward slash. For example, the path value/resource/subresource
must be encoded as/~1resource~1subresource
. To specify the root path, use only a slash (/
). - Throttling
Burst intLimit - Specifies the throttling burst limit.
- Throttling
Rate float64Limit - Specifies the throttling rate limit.
- cache
Data BooleanEncrypted - Specifies whether the cached responses are encrypted.
- cache
Ttl IntegerIn Seconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- caching
Enabled Boolean - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
- data
Trace BooleanEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- http
Method String - The HTTP method.
- logging
Level String - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are
OFF
,ERROR
, andINFO
. ChooseERROR
to write only error-level entries to CloudWatch Logs, or chooseINFO
to include allERROR
events as well as extra informational events. - metrics
Enabled Boolean - Specifies whether Amazon CloudWatch metrics are enabled for this method.
- resource
Path String - The resource path for this method. Forward slashes (
/
) are encoded as~1
and the initial slash must include a forward slash. For example, the path value/resource/subresource
must be encoded as/~1resource~1subresource
. To specify the root path, use only a slash (/
). - throttling
Burst IntegerLimit - Specifies the throttling burst limit.
- throttling
Rate DoubleLimit - Specifies the throttling rate limit.
- cache
Data booleanEncrypted - Specifies whether the cached responses are encrypted.
- cache
Ttl numberIn Seconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- caching
Enabled boolean - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
- data
Trace booleanEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- http
Method string - The HTTP method.
- logging
Level string - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are
OFF
,ERROR
, andINFO
. ChooseERROR
to write only error-level entries to CloudWatch Logs, or chooseINFO
to include allERROR
events as well as extra informational events. - metrics
Enabled boolean - Specifies whether Amazon CloudWatch metrics are enabled for this method.
- resource
Path string - The resource path for this method. Forward slashes (
/
) are encoded as~1
and the initial slash must include a forward slash. For example, the path value/resource/subresource
must be encoded as/~1resource~1subresource
. To specify the root path, use only a slash (/
). - throttling
Burst numberLimit - Specifies the throttling burst limit.
- throttling
Rate numberLimit - Specifies the throttling rate limit.
- cache_
data_ boolencrypted - Specifies whether the cached responses are encrypted.
- cache_
ttl_ intin_ seconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- caching_
enabled bool - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
- data_
trace_ boolenabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- http_
method str - The HTTP method.
- logging_
level str - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are
OFF
,ERROR
, andINFO
. ChooseERROR
to write only error-level entries to CloudWatch Logs, or chooseINFO
to include allERROR
events as well as extra informational events. - metrics_
enabled bool - Specifies whether Amazon CloudWatch metrics are enabled for this method.
- resource_
path str - The resource path for this method. Forward slashes (
/
) are encoded as~1
and the initial slash must include a forward slash. For example, the path value/resource/subresource
must be encoded as/~1resource~1subresource
. To specify the root path, use only a slash (/
). - throttling_
burst_ intlimit - Specifies the throttling burst limit.
- throttling_
rate_ floatlimit - Specifies the throttling rate limit.
- cache
Data BooleanEncrypted - Specifies whether the cached responses are encrypted.
- cache
Ttl NumberIn Seconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- caching
Enabled Boolean - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
- data
Trace BooleanEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- http
Method String - The HTTP method.
- logging
Level String - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are
OFF
,ERROR
, andINFO
. ChooseERROR
to write only error-level entries to CloudWatch Logs, or chooseINFO
to include allERROR
events as well as extra informational events. - metrics
Enabled Boolean - Specifies whether Amazon CloudWatch metrics are enabled for this method.
- resource
Path String - The resource path for this method. Forward slashes (
/
) are encoded as~1
and the initial slash must include a forward slash. For example, the path value/resource/subresource
must be encoded as/~1resource~1subresource
. To specify the root path, use only a slash (/
). - throttling
Burst NumberLimit - Specifies the throttling burst limit.
- throttling
Rate NumberLimit - Specifies the throttling rate limit.
DeploymentStageDescription, DeploymentStageDescriptionArgs
- Access
Log Pulumi.Setting Aws Native. Api Gateway. Inputs. Deployment Access Log Setting - Specifies settings for logging access in this stage.
- Cache
Cluster boolEnabled - Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set
CachingEnabled
totrue
for a method. - Cache
Cluster stringSize - The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- Cache
Data boolEncrypted - Indicates whether the cached responses are encrypted.
- Cache
Ttl intIn Seconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- Caching
Enabled bool - Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide.
- Canary
Setting Pulumi.Aws Native. Api Gateway. Inputs. Deployment Canary Setting - Specifies settings for the canary deployment in this stage.
- Client
Certificate stringId - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- Data
Trace boolEnabled - Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
- Description string
- A description of the purpose of the stage.
- Documentation
Version string - The version identifier of the API documentation snapshot.
- Logging
Level string - The logging level for this method. For valid values, see the
loggingLevel
property of the MethodSetting resource in the Amazon API Gateway API Reference. - Method
Settings List<Pulumi.Aws Native. Api Gateway. Inputs. Deployment Method Setting> - Configures settings for all of the stage's methods.
- Metrics
Enabled bool - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- List<Pulumi.
Aws Native. Api Gateway. Inputs. Deployment Tag> - An array of arbitrary tags (key-value pairs) to associate with the stage.
- Throttling
Burst intLimit - The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- Throttling
Rate doubleLimit - The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- Tracing
Enabled bool - Specifies whether active tracing with X-ray is enabled for this stage. For more information, see Trace API Gateway API Execution with X-Ray in the API Gateway Developer Guide.
- Variables Dictionary<string, string>
- A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression:
[A-Za-z0-9-._~:/?#&=,]+
.
- Access
Log DeploymentSetting Access Log Setting - Specifies settings for logging access in this stage.
- Cache
Cluster boolEnabled - Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set
CachingEnabled
totrue
for a method. - Cache
Cluster stringSize - The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- Cache
Data boolEncrypted - Indicates whether the cached responses are encrypted.
- Cache
Ttl intIn Seconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- Caching
Enabled bool - Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide.
- Canary
Setting DeploymentCanary Setting - Specifies settings for the canary deployment in this stage.
- Client
Certificate stringId - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- Data
Trace boolEnabled - Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
- Description string
- A description of the purpose of the stage.
- Documentation
Version string - The version identifier of the API documentation snapshot.
- Logging
Level string - The logging level for this method. For valid values, see the
loggingLevel
property of the MethodSetting resource in the Amazon API Gateway API Reference. - Method
Settings []DeploymentMethod Setting - Configures settings for all of the stage's methods.
- Metrics
Enabled bool - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- []Deployment
Tag - An array of arbitrary tags (key-value pairs) to associate with the stage.
- Throttling
Burst intLimit - The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- Throttling
Rate float64Limit - The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- Tracing
Enabled bool - Specifies whether active tracing with X-ray is enabled for this stage. For more information, see Trace API Gateway API Execution with X-Ray in the API Gateway Developer Guide.
- Variables map[string]string
- A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression:
[A-Za-z0-9-._~:/?#&=,]+
.
- access
Log DeploymentSetting Access Log Setting - Specifies settings for logging access in this stage.
- cache
Cluster BooleanEnabled - Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set
CachingEnabled
totrue
for a method. - cache
Cluster StringSize - The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- cache
Data BooleanEncrypted - Indicates whether the cached responses are encrypted.
- cache
Ttl IntegerIn Seconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- caching
Enabled Boolean - Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide.
- canary
Setting DeploymentCanary Setting - Specifies settings for the canary deployment in this stage.
- client
Certificate StringId - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- data
Trace BooleanEnabled - Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
- description String
- A description of the purpose of the stage.
- documentation
Version String - The version identifier of the API documentation snapshot.
- logging
Level String - The logging level for this method. For valid values, see the
loggingLevel
property of the MethodSetting resource in the Amazon API Gateway API Reference. - method
Settings List<DeploymentMethod Setting> - Configures settings for all of the stage's methods.
- metrics
Enabled Boolean - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- List<Deployment
Tag> - An array of arbitrary tags (key-value pairs) to associate with the stage.
- throttling
Burst IntegerLimit - The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- throttling
Rate DoubleLimit - The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- tracing
Enabled Boolean - Specifies whether active tracing with X-ray is enabled for this stage. For more information, see Trace API Gateway API Execution with X-Ray in the API Gateway Developer Guide.
- variables Map<String,String>
- A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression:
[A-Za-z0-9-._~:/?#&=,]+
.
- access
Log DeploymentSetting Access Log Setting - Specifies settings for logging access in this stage.
- cache
Cluster booleanEnabled - Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set
CachingEnabled
totrue
for a method. - cache
Cluster stringSize - The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- cache
Data booleanEncrypted - Indicates whether the cached responses are encrypted.
- cache
Ttl numberIn Seconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- caching
Enabled boolean - Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide.
- canary
Setting DeploymentCanary Setting - Specifies settings for the canary deployment in this stage.
- client
Certificate stringId - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- data
Trace booleanEnabled - Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
- description string
- A description of the purpose of the stage.
- documentation
Version string - The version identifier of the API documentation snapshot.
- logging
Level string - The logging level for this method. For valid values, see the
loggingLevel
property of the MethodSetting resource in the Amazon API Gateway API Reference. - method
Settings DeploymentMethod Setting[] - Configures settings for all of the stage's methods.
- metrics
Enabled boolean - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- Deployment
Tag[] - An array of arbitrary tags (key-value pairs) to associate with the stage.
- throttling
Burst numberLimit - The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- throttling
Rate numberLimit - The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- tracing
Enabled boolean - Specifies whether active tracing with X-ray is enabled for this stage. For more information, see Trace API Gateway API Execution with X-Ray in the API Gateway Developer Guide.
- variables {[key: string]: string}
- A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression:
[A-Za-z0-9-._~:/?#&=,]+
.
- access_
log_ Deploymentsetting Access Log Setting - Specifies settings for logging access in this stage.
- cache_
cluster_ boolenabled - Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set
CachingEnabled
totrue
for a method. - cache_
cluster_ strsize - The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- cache_
data_ boolencrypted - Indicates whether the cached responses are encrypted.
- cache_
ttl_ intin_ seconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- caching_
enabled bool - Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide.
- canary_
setting DeploymentCanary Setting - Specifies settings for the canary deployment in this stage.
- client_
certificate_ strid - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- data_
trace_ boolenabled - Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
- description str
- A description of the purpose of the stage.
- documentation_
version str - The version identifier of the API documentation snapshot.
- logging_
level str - The logging level for this method. For valid values, see the
loggingLevel
property of the MethodSetting resource in the Amazon API Gateway API Reference. - method_
settings Sequence[DeploymentMethod Setting] - Configures settings for all of the stage's methods.
- metrics_
enabled bool - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- Sequence[Deployment
Tag] - An array of arbitrary tags (key-value pairs) to associate with the stage.
- throttling_
burst_ intlimit - The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- throttling_
rate_ floatlimit - The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- tracing_
enabled bool - Specifies whether active tracing with X-ray is enabled for this stage. For more information, see Trace API Gateway API Execution with X-Ray in the API Gateway Developer Guide.
- variables Mapping[str, str]
- A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression:
[A-Za-z0-9-._~:/?#&=,]+
.
- access
Log Property MapSetting - Specifies settings for logging access in this stage.
- cache
Cluster BooleanEnabled - Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set
CachingEnabled
totrue
for a method. - cache
Cluster StringSize - The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- cache
Data BooleanEncrypted - Indicates whether the cached responses are encrypted.
- cache
Ttl NumberIn Seconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- caching
Enabled Boolean - Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide.
- canary
Setting Property Map - Specifies settings for the canary deployment in this stage.
- client
Certificate StringId - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- data
Trace BooleanEnabled - Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
- description String
- A description of the purpose of the stage.
- documentation
Version String - The version identifier of the API documentation snapshot.
- logging
Level String - The logging level for this method. For valid values, see the
loggingLevel
property of the MethodSetting resource in the Amazon API Gateway API Reference. - method
Settings List<Property Map> - Configures settings for all of the stage's methods.
- metrics
Enabled Boolean - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- List<Property Map>
- An array of arbitrary tags (key-value pairs) to associate with the stage.
- throttling
Burst NumberLimit - The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- throttling
Rate NumberLimit - The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- tracing
Enabled Boolean - Specifies whether active tracing with X-ray is enabled for this stage. For more information, see Trace API Gateway API Execution with X-Ray in the API Gateway Developer Guide.
- variables Map<String>
- A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression:
[A-Za-z0-9-._~:/?#&=,]+
.
DeploymentTag, DeploymentTagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.