@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:01.661Z") @Stability(value=Deprecated) @Deprecated public class CfnRouteV2 extends CfnResource implements IInspectable
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();
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRouteV2.Builder
Deprecated.
|
static interface |
CfnRouteV2.ParameterConstraintsProperty
Deprecated.
moved to package aws-apigatewayv2
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnRouteV2(Construct scope,
String id,
CfnRouteV2Props props)
Deprecated.
|
protected |
CfnRouteV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
CfnRouteV2(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Deprecated) @Deprecated public static final String CFN_RESOURCE_TYPE_NAME
protected CfnRouteV2(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRouteV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public CfnRouteV2(@NotNull Construct scope, @NotNull String id, @NotNull CfnRouteV2Props 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=Deprecated) @Deprecated public void inspect(@NotNull TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Deprecated) @Deprecated @NotNull public String getApiId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-apiid@Stability(value=Deprecated) @Deprecated public void setApiId(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-apiid@Stability(value=Deprecated) @Deprecated @NotNull public Object getRequestModels()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-requestmodels@Stability(value=Deprecated) @Deprecated public void setRequestModels(@NotNull Object value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-requestmodels@Stability(value=Deprecated) @Deprecated @NotNull public Object getRequestParameters()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-requestparameters@Stability(value=Deprecated) @Deprecated public void setRequestParameters(@NotNull Object value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-requestparameters@Stability(value=Deprecated) @Deprecated @NotNull public String getRouteKey()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-routekey@Stability(value=Deprecated) @Deprecated public void setRouteKey(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-routekey@Stability(value=Deprecated) @Deprecated @Nullable public Object getApiKeyRequired()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-apikeyrequired@Stability(value=Deprecated) @Deprecated public void setApiKeyRequired(@Nullable Boolean value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-apikeyrequired@Stability(value=Deprecated) @Deprecated public void setApiKeyRequired(@Nullable IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-apikeyrequired@Stability(value=Deprecated) @Deprecated @Nullable public List<String> getAuthorizationScopes()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizationscopes@Stability(value=Deprecated) @Deprecated public void setAuthorizationScopes(@Nullable List<String> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizationscopes@Stability(value=Deprecated) @Deprecated @Nullable public String getAuthorizationType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizationtype@Stability(value=Deprecated) @Deprecated public void setAuthorizationType(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizationtype@Stability(value=Deprecated) @Deprecated @Nullable public String getAuthorizerId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizerid@Stability(value=Deprecated) @Deprecated public void setAuthorizerId(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizerid@Stability(value=Deprecated) @Deprecated @Nullable public String getModelSelectionExpression()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-modelselectionexpression@Stability(value=Deprecated) @Deprecated public void setModelSelectionExpression(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-modelselectionexpression@Stability(value=Deprecated) @Deprecated @Nullable public String getOperationName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-operationname@Stability(value=Deprecated) @Deprecated public void setOperationName(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-operationname@Stability(value=Deprecated) @Deprecated @Nullable public String getRouteResponseSelectionExpression()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-routeresponseselectionexpression@Stability(value=Deprecated) @Deprecated public void setRouteResponseSelectionExpression(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-routeresponseselectionexpression@Stability(value=Deprecated) @Deprecated @Nullable public String getTarget()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-target@Stability(value=Deprecated) @Deprecated public void setTarget(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-targetCopyright © 2022. All rights reserved.