Class CfnRouteV2
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.apigateway.CfnRouteV2
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.874Z")
@Stability(Deprecated)
@Deprecated
public class CfnRouteV2
extends CfnResource
implements IInspectable
Deprecated.
moved to package aws-apigatewayv2
(deprecated) A CloudFormation
AWS::ApiGatewayV2::Route.
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.apigateway.*;
Object requestModels;
Object requestParameters;
CfnRouteV2 cfnRouteV2 = CfnRouteV2.Builder.create(this, "MyCfnRouteV2")
.apiId("apiId")
.routeKey("routeKey")
// the properties below are optional
.apiKeyRequired(false)
.authorizationScopes(List.of("authorizationScopes"))
.authorizationType("authorizationType")
.authorizerId("authorizerId")
.modelSelectionExpression("modelSelectionExpression")
.operationName("operationName")
.requestModels(requestModels)
.requestParameters(requestParameters)
.routeResponseSelectionExpression("routeResponseSelectionExpression")
.target("target")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.static interfaceDeprecated.moved to package aws-apigatewayv2Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnRouteV2(Construct scope, String id, CfnRouteV2Props props) Deprecated.protectedCfnRouteV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedCfnRouteV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetApiId()Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.voidinspect(TreeInspector inspector) Deprecated.renderProperties(Map<String, Object> props) Deprecated.voidDeprecated.voidsetApiKeyRequired(Boolean value) Deprecated.voidsetApiKeyRequired(IResolvable value) Deprecated.voidsetAuthorizationScopes(List<String> value) Deprecated.voidsetAuthorizationType(String value) Deprecated.voidsetAuthorizerId(String value) Deprecated.voidDeprecated.voidsetOperationName(String value) Deprecated.voidsetRequestModels(Object value) Deprecated.voidsetRequestParameters(Object value) Deprecated.voidsetRouteKey(String value) Deprecated.voidDeprecated.voidDeprecated.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
Deprecated.(deprecated) The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRouteV2
protected CfnRouteV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
CfnRouteV2
protected CfnRouteV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
CfnRouteV2
@Stability(Deprecated) @Deprecated public CfnRouteV2(@NotNull Construct scope, @NotNull String id, @NotNull CfnRouteV2Props props) Deprecated.(deprecated) Create a newAWS::ApiGatewayV2::Route.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Deprecated.(deprecated) Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Deprecated) @Deprecated @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) Deprecated.- Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
Deprecated.- Overrides:
getCfnPropertiesin classCfnResource
-
getApiId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiId. -
setApiId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiId. -
getRequestModels
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestModels. -
setRequestModels
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestModels. -
getRequestParameters
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestParameters. -
setRequestParameters
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestParameters. -
getRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteKey. -
setRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteKey. -
getApiKeyRequired
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiKeyRequired. -
setApiKeyRequired
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiKeyRequired. -
setApiKeyRequired
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiKeyRequired. -
getAuthorizationScopes
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationScopes. -
setAuthorizationScopes
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationScopes. -
getAuthorizationType
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationType. -
setAuthorizationType
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationType. -
getAuthorizerId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizerId. -
setAuthorizerId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizerId. -
getModelSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ModelSelectionExpression. -
setModelSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ModelSelectionExpression. -
getOperationName
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.OperationName. -
setOperationName
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.OperationName. -
getRouteResponseSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression. -
setRouteResponseSelectionExpression
@Stability(Deprecated) @Deprecated public void setRouteResponseSelectionExpression(@Nullable String value) Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression. -
getTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.Target. -
setTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.Target.
-