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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated.static interface
Deprecated.moved to package aws-apigatewayv2Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionCfnRouteV2
(Construct scope, String id, CfnRouteV2Props props) Deprecated.protected
CfnRouteV2
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
CfnRouteV2
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetApiId()
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.void
inspect
(TreeInspector inspector) Deprecated.renderProperties
(Map<String, Object> props) Deprecated.void
Deprecated.void
setApiKeyRequired
(Boolean value) Deprecated.void
setApiKeyRequired
(IResolvable value) Deprecated.void
setAuthorizationScopes
(List<String> value) Deprecated.void
setAuthorizationType
(String value) Deprecated.void
setAuthorizerId
(String value) Deprecated.void
Deprecated.void
setOperationName
(String value) Deprecated.void
setRequestModels
(Object value) Deprecated.void
setRequestParameters
(Object value) Deprecated.void
setRouteKey
(String value) Deprecated.void
Deprecated.void
Deprecated.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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
Deprecated.- Overrides:
getCfnProperties
in classCfnResource
-
getApiId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiId
.- See Also:
-
setApiId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiId
.- See Also:
-
getRequestModels
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestModels
.- See Also:
-
setRequestModels
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestModels
.- See Also:
-
getRequestParameters
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestParameters
.- See Also:
-
setRequestParameters
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RequestParameters
.- See Also:
-
getRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteKey
.- See Also:
-
setRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteKey
.- See Also:
-
getApiKeyRequired
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiKeyRequired
.- See Also:
-
setApiKeyRequired
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiKeyRequired
.- See Also:
-
setApiKeyRequired
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ApiKeyRequired
.- See Also:
-
getAuthorizationScopes
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationScopes
.- See Also:
-
setAuthorizationScopes
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationScopes
.- See Also:
-
getAuthorizationType
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationType
.- See Also:
-
setAuthorizationType
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizationType
.- See Also:
-
getAuthorizerId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizerId
.- See Also:
-
setAuthorizerId
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.AuthorizerId
.- See Also:
-
getModelSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ModelSelectionExpression
.- See Also:
-
setModelSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.ModelSelectionExpression
.- See Also:
-
getOperationName
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.OperationName
.- See Also:
-
setOperationName
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.OperationName
.- See Also:
-
getRouteResponseSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression
.- See Also:
-
setRouteResponseSelectionExpression
@Stability(Deprecated) @Deprecated public void setRouteResponseSelectionExpression(@Nullable String value) Deprecated.(deprecated)AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression
.- See Also:
-
getTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.Target
.- See Also:
-
setTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Route.Target
.- See Also:
-