@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.248Z") @Stability(value=Stable) public class CfnApiGatewayManagedOverrides extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
The `AccessLogSettings` property overrides the access log settings for an API Gateway-managed stage.
|
static class |
CfnApiGatewayManagedOverrides.Builder
A fluent builder for
CfnApiGatewayManagedOverrides. |
static interface |
CfnApiGatewayManagedOverrides.IntegrationOverridesProperty
The `IntegrationOverrides` property overrides the integration settings for an API Gateway-managed integration.
|
static interface |
CfnApiGatewayManagedOverrides.RouteOverridesProperty
The `RouteOverrides` property overrides the route configuration for an API Gateway-managed route.
|
static interface |
CfnApiGatewayManagedOverrides.RouteSettingsProperty
The `RouteSettings` property overrides the route settings for an API Gateway-managed route.
|
static interface |
CfnApiGatewayManagedOverrides.StageOverridesProperty
The `StageOverrides` property overrides the stage configuration for an API Gateway-managed stage.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnApiGatewayManagedOverrides(software.constructs.Construct scope,
String id,
CfnApiGatewayManagedOverridesProps props)
Create a new `AWS::ApiGatewayV2::ApiGatewayManagedOverrides`.
|
protected |
CfnApiGatewayManagedOverrides(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApiGatewayManagedOverrides(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiId()
The ID of the API for which to override the configuration of API Gateway-managed resources.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getIntegration()
Overrides the integration configuration for an API Gateway-managed integration.
|
Object |
getRoute()
Overrides the route configuration for an API Gateway-managed route.
|
Object |
getStage()
Overrides the stage configuration for an API Gateway-managed stage.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApiId(String value)
The ID of the API for which to override the configuration of API Gateway-managed resources.
|
void |
setIntegration(CfnApiGatewayManagedOverrides.IntegrationOverridesProperty value)
Overrides the integration configuration for an API Gateway-managed integration.
|
void |
setIntegration(IResolvable value)
Overrides the integration configuration for an API Gateway-managed integration.
|
void |
setRoute(CfnApiGatewayManagedOverrides.RouteOverridesProperty value)
Overrides the route configuration for an API Gateway-managed route.
|
void |
setRoute(IResolvable value)
Overrides the route configuration for an API Gateway-managed route.
|
void |
setStage(CfnApiGatewayManagedOverrides.StageOverridesProperty value)
Overrides the stage configuration for an API Gateway-managed stage.
|
void |
setStage(IResolvable value)
Overrides the stage configuration for an API Gateway-managed stage.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnApiGatewayManagedOverrides(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApiGatewayManagedOverrides(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApiGatewayManagedOverrides(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnApiGatewayManagedOverridesProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getApiId()
@Stability(value=Stable)
public void setApiId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getIntegration()
@Stability(value=Stable)
public void setIntegration(@Nullable
CfnApiGatewayManagedOverrides.IntegrationOverridesProperty value)
@Stability(value=Stable)
public void setIntegration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getRoute()
@Stability(value=Stable)
public void setRoute(@Nullable
CfnApiGatewayManagedOverrides.RouteOverridesProperty value)
@Stability(value=Stable)
public void setRoute(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getStage()
@Stability(value=Stable)
public void setStage(@Nullable
CfnApiGatewayManagedOverrides.StageOverridesProperty value)
@Stability(value=Stable)
public void setStage(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.