Show / Hide Table of Contents

Class CfnApiGatewayManagedOverrides.StageOverridesProperty

The StageOverrides property overrides the stage configuration for an API Gateway-managed stage.

Inheritance
System.Object
CfnApiGatewayManagedOverrides.StageOverridesProperty
Implements
CfnApiGatewayManagedOverrides.IStageOverridesProperty
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class StageOverridesProperty : Object, CfnApiGatewayManagedOverrides.IStageOverridesProperty
Syntax (vb)
Public Class StageOverridesProperty
    Inherits Object
    Implements CfnApiGatewayManagedOverrides.IStageOverridesProperty
Remarks

If you remove this property, API Gateway restores the default values.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;

var routeSettings;
var stageVariables;

var stageOverridesProperty = new StageOverridesProperty {
    AccessLogSettings = new AccessLogSettingsProperty {
        DestinationArn = "destinationArn",
        Format = "format"
    },
    AutoDeploy = false,
    DefaultRouteSettings = new RouteSettingsProperty {
        DataTraceEnabled = false,
        DetailedMetricsEnabled = false,
        LoggingLevel = "loggingLevel",
        ThrottlingBurstLimit = 123,
        ThrottlingRateLimit = 123
    },
    Description = "description",
    RouteSettings = routeSettings,
    StageVariables = stageVariables
};

Synopsis

Constructors

StageOverridesProperty()

Properties

AccessLogSettings

Settings for logging access in a stage.

AutoDeploy

Specifies whether updates to an API automatically trigger a new deployment.

DefaultRouteSettings

The default route settings for the stage.

Description

The description for the API stage.

RouteSettings

Route settings for the stage.

StageVariables

A map that defines the stage variables for a Stage .

Constructors

StageOverridesProperty()

public StageOverridesProperty()

Properties

AccessLogSettings

Settings for logging access in a stage.

public object AccessLogSettings { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-accesslogsettings

AutoDeploy

Specifies whether updates to an API automatically trigger a new deployment.

public object AutoDeploy { get; set; }
Property Value

System.Object

Remarks

The default value is true .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-autodeploy

DefaultRouteSettings

The default route settings for the stage.

public object DefaultRouteSettings { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-defaultroutesettings

Description

The description for the API stage.

public string Description { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-description

RouteSettings

Route settings for the stage.

public object RouteSettings { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-routesettings

StageVariables

A map that defines the stage variables for a Stage .

public object StageVariables { get; set; }
Property Value

System.Object

Remarks

Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-stagevariables

Implements

CfnApiGatewayManagedOverrides.IStageOverridesProperty
Back to top Generated by DocFX