@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:59.330Z") @Stability(value=Deprecated) @Deprecated public class CfnApiV2 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 body;
Object tags;
CfnApiV2 cfnApiV2 = CfnApiV2.Builder.create(this, "MyCfnApiV2")
.apiKeySelectionExpression("apiKeySelectionExpression")
.basePath("basePath")
.body(body)
.bodyS3Location(BodyS3LocationProperty.builder()
.bucket("bucket")
.etag("etag")
.key("key")
.version("version")
.build())
.corsConfiguration(CorsProperty.builder()
.allowCredentials(false)
.allowHeaders(List.of("allowHeaders"))
.allowMethods(List.of("allowMethods"))
.allowOrigins(List.of("allowOrigins"))
.exposeHeaders(List.of("exposeHeaders"))
.maxAge(123)
.build())
.credentialsArn("credentialsArn")
.description("description")
.disableSchemaValidation(false)
.failOnWarnings(false)
.name("name")
.protocolType("protocolType")
.routeKey("routeKey")
.routeSelectionExpression("routeSelectionExpression")
.tags(tags)
.target("target")
.version("version")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnApiV2.BodyS3LocationProperty
Deprecated.
moved to package aws-apigatewayv2
|
static class |
CfnApiV2.Builder
Deprecated.
|
static interface |
CfnApiV2.CorsProperty
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 |
|---|---|
|
CfnApiV2(Construct scope,
String id)
Deprecated.
|
|
CfnApiV2(Construct scope,
String id,
CfnApiV2Props props)
Deprecated.
|
protected |
CfnApiV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
CfnApiV2(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 CfnApiV2(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApiV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public CfnApiV2(@NotNull Construct scope, @NotNull String id, @Nullable CfnApiV2Props 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.@Stability(value=Deprecated) @Deprecated public CfnApiV2(@NotNull Construct scope, @NotNull String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. 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 TagManager getTags()
@Stability(value=Deprecated) @Deprecated @NotNull public Object getBody()
@Stability(value=Deprecated) @Deprecated public void setBody(@NotNull Object value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getApiKeySelectionExpression()
@Stability(value=Deprecated) @Deprecated public void setApiKeySelectionExpression(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getBasePath()
@Stability(value=Deprecated) @Deprecated public void setBasePath(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public Object getBodyS3Location()
@Stability(value=Deprecated) @Deprecated public void setBodyS3Location(@Nullable CfnApiV2.BodyS3LocationProperty value)
@Stability(value=Deprecated) @Deprecated public void setBodyS3Location(@Nullable IResolvable value)
@Stability(value=Deprecated) @Deprecated @Nullable public Object getCorsConfiguration()
@Stability(value=Deprecated) @Deprecated public void setCorsConfiguration(@Nullable CfnApiV2.CorsProperty value)
@Stability(value=Deprecated) @Deprecated public void setCorsConfiguration(@Nullable IResolvable value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getCredentialsArn()
@Stability(value=Deprecated) @Deprecated public void setCredentialsArn(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getDescription()
@Stability(value=Deprecated) @Deprecated public void setDescription(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public Object getDisableSchemaValidation()
@Stability(value=Deprecated) @Deprecated public void setDisableSchemaValidation(@Nullable Boolean value)
@Stability(value=Deprecated) @Deprecated public void setDisableSchemaValidation(@Nullable IResolvable value)
@Stability(value=Deprecated) @Deprecated @Nullable public Object getFailOnWarnings()
@Stability(value=Deprecated) @Deprecated public void setFailOnWarnings(@Nullable Boolean value)
@Stability(value=Deprecated) @Deprecated public void setFailOnWarnings(@Nullable IResolvable value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getName()
@Stability(value=Deprecated) @Deprecated public void setName(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getProtocolType()
@Stability(value=Deprecated) @Deprecated public void setProtocolType(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getRouteKey()
@Stability(value=Deprecated) @Deprecated public void setRouteKey(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getRouteSelectionExpression()
@Stability(value=Deprecated) @Deprecated public void setRouteSelectionExpression(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getTarget()
@Stability(value=Deprecated) @Deprecated public void setTarget(@Nullable String value)
@Stability(value=Deprecated) @Deprecated @Nullable public String getVersion()
@Stability(value=Deprecated) @Deprecated public void setVersion(@Nullable String value)
Copyright © 2022. All rights reserved.