Class CfnApiGatewayManagedOverrides

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides
All Implemented Interfaces:
IInspectable, IApiGatewayManagedOverridesRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)", date="2026-05-21T17:27:29.268Z") @Stability(Stable) public class CfnApiGatewayManagedOverrides extends CfnResource implements IInspectable, IApiGatewayManagedOverridesRef
The AWS::ApiGatewayV2::ApiGatewayManagedOverrides resource overrides the default properties of API Gateway-managed resources that are implicitly configured for you when you use quick create.

When you create an API by using quick create, an AWS::ApiGatewayV2::Route , AWS::ApiGatewayV2::Integration , and AWS::ApiGatewayV2::Stage are created for you and associated with your AWS::ApiGatewayV2::Api . The AWS::ApiGatewayV2::ApiGatewayManagedOverrides resource enables you to set, or override the properties of these implicit resources. Supported only for HTTP APIs.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigatewayv2.*;
 Object routeSettings;
 Object stageVariables;
 CfnApiGatewayManagedOverrides cfnApiGatewayManagedOverrides = CfnApiGatewayManagedOverrides.Builder.create(this, "MyCfnApiGatewayManagedOverrides")
         .apiId("apiId")
         // the properties below are optional
         .integration(IntegrationOverridesProperty.builder()
                 .description("description")
                 .integrationMethod("integrationMethod")
                 .payloadFormatVersion("payloadFormatVersion")
                 .timeoutInMillis(123)
                 .build())
         .route(RouteOverridesProperty.builder()
                 .authorizationScopes(List.of("authorizationScopes"))
                 .authorizationType("authorizationType")
                 .authorizerId("authorizerId")
                 .operationName("operationName")
                 .target("target")
                 .build())
         .stage(StageOverridesProperty.builder()
                 .accessLogSettings(AccessLogSettingsProperty.builder()
                         .destinationArn("destinationArn")
                         .format("format")
                         .build())
                 .autoDeploy(false)
                 .defaultRouteSettings(RouteSettingsProperty.builder()
                         .dataTraceEnabled(false)
                         .detailedMetricsEnabled(false)
                         .loggingLevel("loggingLevel")
                         .throttlingBurstLimit(123)
                         .throttlingRateLimit(123)
                         .build())
                 .description("description")
                 .routeSettings(routeSettings)
                 .stageVariables(stageVariables)
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnApiGatewayManagedOverrides

      protected CfnApiGatewayManagedOverrides(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnApiGatewayManagedOverrides

      protected CfnApiGatewayManagedOverrides(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnApiGatewayManagedOverrides

      @Stability(Stable) public CfnApiGatewayManagedOverrides(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApiGatewayManagedOverridesProps props)
      Create a new AWS::ApiGatewayV2::ApiGatewayManagedOverrides.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details