We recommend new projects start with resources from the AWS provider.
aws-native.apigateway.Deployment
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:
- RestApi stringId 
- The string identifier of the associated RestApi.
- DeploymentCanary 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.
- StageDescription 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.
- StageName string
- The name of the Stage resource for the Deployment resource to create.
- RestApi stringId 
- The string identifier of the associated RestApi.
- DeploymentCanary DeploymentSettings Canary Settings Args 
- The input configuration for a canary deployment.
- Description string
- The description for the Deployment resource to create.
- StageDescription 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.
- StageName string
- The name of the Stage resource for the Deployment resource to create.
- restApi StringId 
- The string identifier of the associated RestApi.
- deploymentCanary DeploymentSettings Canary Settings 
- The input configuration for a canary deployment.
- description String
- The description for the Deployment resource to create.
- stageDescription 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.
- stageName String
- The name of the Stage resource for the Deployment resource to create.
- restApi stringId 
- The string identifier of the associated RestApi.
- deploymentCanary DeploymentSettings Canary Settings 
- The input configuration for a canary deployment.
- description string
- The description for the Deployment resource to create.
- stageDescription 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.
- stageName 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.
- restApi StringId 
- The string identifier of the associated RestApi.
- deploymentCanary Property MapSettings 
- The input configuration for a canary deployment.
- description String
- The description for the Deployment resource to create.
- stageDescription 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.
- stageName 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:
- DeploymentId string
- The ID for the deployment. For example: abc123.
- Id string
- The provider-assigned unique ID for this managed resource.
- DeploymentId string
- The ID for the deployment. For example: abc123.
- Id string
- The provider-assigned unique ID for this managed resource.
- deploymentId String
- The ID for the deployment. For example: abc123.
- id String
- The provider-assigned unique ID for this managed resource.
- deploymentId 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.
- deploymentId String
- The ID for the deployment. For example: abc123.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
DeploymentAccessLogSetting, DeploymentAccessLogSettingArgs        
The AccessLogSetting property type specifies settings for logging access in this stage.
AccessLogSetting is a property of the StageDescription property type.- DestinationArn 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.
- DestinationArn 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.
- destinationArn 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.
- destinationArn 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.
- destinationArn 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      
The CanarySetting property type specifies settings for the canary deployment in this stage.
CanarySetting is a property of the StageDescription property type.- PercentTraffic double
- The percent (0-100) of traffic diverted to a canary deployment.
- StageVariable 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.
- UseStage boolCache 
- A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- PercentTraffic float64
- The percent (0-100) of traffic diverted to a canary deployment.
- StageVariable 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.
- UseStage boolCache 
- A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- percentTraffic Double
- The percent (0-100) of traffic diverted to a canary deployment.
- stageVariable 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.
- useStage BooleanCache 
- A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- percentTraffic number
- The percent (0-100) of traffic diverted to a canary deployment.
- stageVariable {[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.
- useStage 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.
- percentTraffic Number
- The percent (0-100) of traffic diverted to a canary deployment.
- stageVariable 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.
- useStage BooleanCache 
- A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
DeploymentCanarySettings, DeploymentCanarySettingsArgs      
The DeploymentCanarySettings property type specifies settings for the canary deployment.- PercentTraffic double
- The percentage (0.0-100.0) of traffic routed to the canary deployment.
- StageVariable 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.
- UseStage boolCache 
- A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- PercentTraffic float64
- The percentage (0.0-100.0) of traffic routed to the canary deployment.
- StageVariable 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.
- UseStage boolCache 
- A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- percentTraffic Double
- The percentage (0.0-100.0) of traffic routed to the canary deployment.
- stageVariable 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.
- useStage BooleanCache 
- A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- percentTraffic number
- The percentage (0.0-100.0) of traffic routed to the canary deployment.
- stageVariable {[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.
- useStage 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.
- percentTraffic Number
- The percentage (0.0-100.0) of traffic routed to the canary deployment.
- stageVariable 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.
- useStage BooleanCache 
- A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
DeploymentMethodSetting, DeploymentMethodSettingArgs      
The MethodSetting property type configures settings for all methods in a stage.
The MethodSettings property of the Amazon API Gateway Deployment StageDescription property type contains a list of MethodSetting property types.- CacheData boolEncrypted 
- Specifies whether the cached responses are encrypted.
- CacheTtl intIn Seconds 
- Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- CachingEnabled 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.
- DataTrace 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.
- HttpMethod string
- The HTTP method.
- LoggingLevel string
- Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are OFF,ERROR, andINFO. ChooseERRORto write only error-level entries to CloudWatch Logs, or chooseINFOto include allERRORevents as well as extra informational events.
- MetricsEnabled bool
- Specifies whether Amazon CloudWatch metrics are enabled for this method.
- ResourcePath string
- The resource path for this method. Forward slashes (/) are encoded as~1and the initial slash must include a forward slash. For example, the path value/resource/subresourcemust be encoded as/~1resource~1subresource. To specify the root path, use only a slash (/).
- ThrottlingBurst intLimit 
- Specifies the throttling burst limit.
- ThrottlingRate doubleLimit 
- Specifies the throttling rate limit.
- CacheData boolEncrypted 
- Specifies whether the cached responses are encrypted.
- CacheTtl intIn Seconds 
- Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- CachingEnabled 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.
- DataTrace 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.
- HttpMethod string
- The HTTP method.
- LoggingLevel string
- Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are OFF,ERROR, andINFO. ChooseERRORto write only error-level entries to CloudWatch Logs, or chooseINFOto include allERRORevents as well as extra informational events.
- MetricsEnabled bool
- Specifies whether Amazon CloudWatch metrics are enabled for this method.
- ResourcePath string
- The resource path for this method. Forward slashes (/) are encoded as~1and the initial slash must include a forward slash. For example, the path value/resource/subresourcemust be encoded as/~1resource~1subresource. To specify the root path, use only a slash (/).
- ThrottlingBurst intLimit 
- Specifies the throttling burst limit.
- ThrottlingRate float64Limit 
- Specifies the throttling rate limit.
- cacheData BooleanEncrypted 
- Specifies whether the cached responses are encrypted.
- cacheTtl IntegerIn Seconds 
- Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- cachingEnabled 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.
- dataTrace 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.
- httpMethod String
- The HTTP method.
- loggingLevel String
- Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are OFF,ERROR, andINFO. ChooseERRORto write only error-level entries to CloudWatch Logs, or chooseINFOto include allERRORevents as well as extra informational events.
- metricsEnabled Boolean
- Specifies whether Amazon CloudWatch metrics are enabled for this method.
- resourcePath String
- The resource path for this method. Forward slashes (/) are encoded as~1and the initial slash must include a forward slash. For example, the path value/resource/subresourcemust be encoded as/~1resource~1subresource. To specify the root path, use only a slash (/).
- throttlingBurst IntegerLimit 
- Specifies the throttling burst limit.
- throttlingRate DoubleLimit 
- Specifies the throttling rate limit.
- cacheData booleanEncrypted 
- Specifies whether the cached responses are encrypted.
- cacheTtl numberIn Seconds 
- Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- cachingEnabled 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.
- dataTrace 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.
- httpMethod string
- The HTTP method.
- loggingLevel string
- Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are OFF,ERROR, andINFO. ChooseERRORto write only error-level entries to CloudWatch Logs, or chooseINFOto include allERRORevents as well as extra informational events.
- metricsEnabled boolean
- Specifies whether Amazon CloudWatch metrics are enabled for this method.
- resourcePath string
- The resource path for this method. Forward slashes (/) are encoded as~1and the initial slash must include a forward slash. For example, the path value/resource/subresourcemust be encoded as/~1resource~1subresource. To specify the root path, use only a slash (/).
- throttlingBurst numberLimit 
- Specifies the throttling burst limit.
- throttlingRate 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. ChooseERRORto write only error-level entries to CloudWatch Logs, or chooseINFOto include allERRORevents 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~1and the initial slash must include a forward slash. For example, the path value/resource/subresourcemust 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.
- cacheData BooleanEncrypted 
- Specifies whether the cached responses are encrypted.
- cacheTtl NumberIn Seconds 
- Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- cachingEnabled 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.
- dataTrace 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.
- httpMethod String
- The HTTP method.
- loggingLevel String
- Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are OFF,ERROR, andINFO. ChooseERRORto write only error-level entries to CloudWatch Logs, or chooseINFOto include allERRORevents as well as extra informational events.
- metricsEnabled Boolean
- Specifies whether Amazon CloudWatch metrics are enabled for this method.
- resourcePath String
- The resource path for this method. Forward slashes (/) are encoded as~1and the initial slash must include a forward slash. For example, the path value/resource/subresourcemust be encoded as/~1resource~1subresource. To specify the root path, use only a slash (/).
- throttlingBurst NumberLimit 
- Specifies the throttling burst limit.
- throttlingRate NumberLimit 
- Specifies the throttling rate limit.
DeploymentStageDescription, DeploymentStageDescriptionArgs      
StageDescription is a property of the AWS::ApiGateway::Deployment resource that configures a deployment stage.- AccessLog Pulumi.Setting Aws Native. Api Gateway. Inputs. Deployment Access Log Setting 
- Specifies settings for logging access in this stage.
- CacheCluster boolEnabled 
- Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set CachingEnabledtotruefor a method.
- CacheCluster stringSize 
- The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- CacheData boolEncrypted 
- Indicates whether the cached responses are encrypted.
- CacheTtl intIn Seconds 
- The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- CachingEnabled 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.
- CanarySetting Pulumi.Aws Native. Api Gateway. Inputs. Deployment Canary Setting 
- Specifies settings for the canary deployment in this stage.
- ClientCertificate stringId 
- The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- DataTrace 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.
- DocumentationVersion string
- The version identifier of the API documentation snapshot.
- LoggingLevel string
- The logging level for this method. For valid values, see the loggingLevelproperty of the MethodSetting resource in the Amazon API Gateway API Reference.
- MethodSettings List<Pulumi.Aws Native. Api Gateway. Inputs. Deployment Method Setting> 
- Configures settings for all of the stage's methods.
- MetricsEnabled 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.
- ThrottlingBurst 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.
- ThrottlingRate doubleLimit 
- The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- TracingEnabled 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-._~:/?#&=,]+.
- AccessLog DeploymentSetting Access Log Setting 
- Specifies settings for logging access in this stage.
- CacheCluster boolEnabled 
- Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set CachingEnabledtotruefor a method.
- CacheCluster stringSize 
- The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- CacheData boolEncrypted 
- Indicates whether the cached responses are encrypted.
- CacheTtl intIn Seconds 
- The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- CachingEnabled 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.
- CanarySetting DeploymentCanary Setting 
- Specifies settings for the canary deployment in this stage.
- ClientCertificate stringId 
- The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- DataTrace 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.
- DocumentationVersion string
- The version identifier of the API documentation snapshot.
- LoggingLevel string
- The logging level for this method. For valid values, see the loggingLevelproperty of the MethodSetting resource in the Amazon API Gateway API Reference.
- MethodSettings []DeploymentMethod Setting 
- Configures settings for all of the stage's methods.
- MetricsEnabled bool
- Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- 
[]DeploymentTag 
- An array of arbitrary tags (key-value pairs) to associate with the stage.
- ThrottlingBurst 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.
- ThrottlingRate float64Limit 
- The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- TracingEnabled 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-._~:/?#&=,]+.
- accessLog DeploymentSetting Access Log Setting 
- Specifies settings for logging access in this stage.
- cacheCluster BooleanEnabled 
- Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set CachingEnabledtotruefor a method.
- cacheCluster StringSize 
- The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- cacheData BooleanEncrypted 
- Indicates whether the cached responses are encrypted.
- cacheTtl IntegerIn Seconds 
- The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- cachingEnabled 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.
- canarySetting DeploymentCanary Setting 
- Specifies settings for the canary deployment in this stage.
- clientCertificate StringId 
- The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- dataTrace 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.
- documentationVersion String
- The version identifier of the API documentation snapshot.
- loggingLevel String
- The logging level for this method. For valid values, see the loggingLevelproperty of the MethodSetting resource in the Amazon API Gateway API Reference.
- methodSettings List<DeploymentMethod Setting> 
- Configures settings for all of the stage's methods.
- metricsEnabled Boolean
- Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- 
List<DeploymentTag> 
- An array of arbitrary tags (key-value pairs) to associate with the stage.
- throttlingBurst 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.
- throttlingRate DoubleLimit 
- The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- tracingEnabled 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-._~:/?#&=,]+.
- accessLog DeploymentSetting Access Log Setting 
- Specifies settings for logging access in this stage.
- cacheCluster booleanEnabled 
- Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set CachingEnabledtotruefor a method.
- cacheCluster stringSize 
- The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- cacheData booleanEncrypted 
- Indicates whether the cached responses are encrypted.
- cacheTtl numberIn Seconds 
- The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- cachingEnabled 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.
- canarySetting DeploymentCanary Setting 
- Specifies settings for the canary deployment in this stage.
- clientCertificate stringId 
- The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- dataTrace 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.
- documentationVersion string
- The version identifier of the API documentation snapshot.
- loggingLevel string
- The logging level for this method. For valid values, see the loggingLevelproperty of the MethodSetting resource in the Amazon API Gateway API Reference.
- methodSettings DeploymentMethod Setting[] 
- Configures settings for all of the stage's methods.
- metricsEnabled boolean
- Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
- 
DeploymentTag[] 
- An array of arbitrary tags (key-value pairs) to associate with the stage.
- throttlingBurst 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.
- throttlingRate numberLimit 
- The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- tracingEnabled 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 CachingEnabledtotruefor 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 loggingLevelproperty 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[DeploymentTag] 
- 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-._~:/?#&=,]+.
- accessLog Property MapSetting 
- Specifies settings for logging access in this stage.
- cacheCluster BooleanEnabled 
- Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set CachingEnabledtotruefor a method.
- cacheCluster StringSize 
- The size of the stage's cache cluster. For more information, see cacheClusterSize in the API Gateway API Reference.
- cacheData BooleanEncrypted 
- Indicates whether the cached responses are encrypted.
- cacheTtl NumberIn Seconds 
- The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
- cachingEnabled 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.
- canarySetting Property Map
- Specifies settings for the canary deployment in this stage.
- clientCertificate StringId 
- The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
- dataTrace 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.
- documentationVersion String
- The version identifier of the API documentation snapshot.
- loggingLevel String
- The logging level for this method. For valid values, see the loggingLevelproperty of the MethodSetting resource in the Amazon API Gateway API Reference.
- methodSettings List<Property Map>
- Configures settings for all of the stage's methods.
- metricsEnabled 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.
- throttlingBurst 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.
- throttlingRate NumberLimit 
- The target request steady-state rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide.
- tracingEnabled 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    
An array of key-value pairs to apply to this resource.
For more information, see Tag.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
