import { Value } from '../../../cloudformation/Value';
/**
  The <code>MethodSetting</code> property type configures settings for all methods in a stage.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-methodsetting.html">the AWS Docs</a>
*/
export interface MethodSettingProps {
    /** <code>CacheTtlInSeconds</code>  <a name="cfn-apigateway-deployment-methodsetting-cachettlinseconds"></a>
  Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    cacheTtlInSeconds?: Value<number>;
    /** <code>LoggingLevel</code>  <a name="cfn-apigateway-deployment-methodsetting-logginglevel"></a>
  Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are <code>OFF</code>, <code>ERROR</code>, and <code>INFO</code>. Choose <code>ERROR</code> to write only error-level entries to CloudWatch Logs, or choose <code>INFO</code> to include all <code>ERROR</code> events as well as extra informational events.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    loggingLevel?: Value<string>;
    /** <code>ResourcePath</code>  <a name="cfn-apigateway-deployment-methodsetting-resourcepath"></a>
  The resource path for this method. Forward slashes (<code>/</code>) are encoded as <code>~1</code> and the initial slash must include a forward slash. For example, the path value <code>/resource/subresource</code> must be encoded as <code>/~1resource~1subresource</code>. To specify the root path, use only a slash (<code>/</code>).<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    resourcePath?: Value<string>;
    /** <code>CacheDataEncrypted</code>  <a name="cfn-apigateway-deployment-methodsetting-cachedataencrypted"></a>
  Specifies whether the cached responses are encrypted.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    cacheDataEncrypted?: Value<boolean>;
    /** <code>DataTraceEnabled</code>  <a name="cfn-apigateway-deployment-methodsetting-datatraceenabled"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    dataTraceEnabled?: Value<boolean>;
    /** <code>ThrottlingBurstLimit</code>  <a name="cfn-apigateway-deployment-methodsetting-throttlingburstlimit"></a>
  Specifies the throttling burst limit.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    throttlingBurstLimit?: Value<number>;
    /** <code>CachingEnabled</code>  <a name="cfn-apigateway-deployment-methodsetting-cachingenabled"></a>
  Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    cachingEnabled?: Value<boolean>;
    /** <code>MetricsEnabled</code>  <a name="cfn-apigateway-deployment-methodsetting-metricsenabled"></a>
  Specifies whether Amazon CloudWatch metrics are enabled for this method.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    metricsEnabled?: Value<boolean>;
    /** <code>HttpMethod</code>  <a name="cfn-apigateway-deployment-methodsetting-httpmethod"></a>
  The HTTP method.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    httpMethod?: Value<string>;
    /** <code>ThrottlingRateLimit</code>  <a name="cfn-apigateway-deployment-methodsetting-throttlingratelimit"></a>
  Specifies the throttling rate limit.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    throttlingRateLimit?: Value<number>;
}
