Class CfnApiV2
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.CfnApiV2
- 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.738Z")
@Stability(Deprecated)
@Deprecated
public class CfnApiV2
extends CfnResource
implements IInspectable
Deprecated.
moved to package aws-apigatewayv2
(deprecated) A CloudFormation
AWS::ApiGatewayV2::Api
.
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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Deprecated.moved to package aws-apigatewayv2static 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
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getBody()
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getName()
Deprecated.Deprecated.Deprecated.Deprecated.getTags()
Deprecated.Deprecated.Deprecated.void
inspect
(TreeInspector inspector) Deprecated.renderProperties
(Map<String, Object> props) Deprecated.void
Deprecated.void
setBasePath
(String value) Deprecated.void
Deprecated.void
setBodyS3Location
(IResolvable value) Deprecated.void
Deprecated.void
setCorsConfiguration
(IResolvable value) Deprecated.void
Deprecated.void
setCredentialsArn
(String value) Deprecated.void
setDescription
(String value) Deprecated.void
Deprecated.void
Deprecated.void
setFailOnWarnings
(Boolean value) Deprecated.void
setFailOnWarnings
(IResolvable value) Deprecated.void
Deprecated.void
setProtocolType
(String value) Deprecated.void
setRouteKey
(String value) Deprecated.void
Deprecated.void
Deprecated.void
setVersion
(String value) 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
-
CfnApiV2
protected CfnApiV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
CfnApiV2
protected CfnApiV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
CfnApiV2
@Stability(Deprecated) @Deprecated public CfnApiV2(@NotNull Construct scope, @NotNull String id, @Nullable CfnApiV2Props props) Deprecated.(deprecated) Create a newAWS::ApiGatewayV2::Api
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
CfnApiV2
Deprecated.(deprecated) Create a newAWS::ApiGatewayV2::Api
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
-
-
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
-
getTags
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Tags
. -
getBody
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Body
. -
setBody
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Body
. -
getApiKeySelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.ApiKeySelectionExpression
. -
setApiKeySelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.ApiKeySelectionExpression
. -
getBasePath
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BasePath
. -
setBasePath
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BasePath
. -
getBodyS3Location
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BodyS3Location
. -
setBodyS3Location
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BodyS3Location
. -
setBodyS3Location
@Stability(Deprecated) @Deprecated public void setBodyS3Location(@Nullable CfnApiV2.BodyS3LocationProperty value) Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BodyS3Location
. -
getCorsConfiguration
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CorsConfiguration
. -
setCorsConfiguration
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CorsConfiguration
. -
setCorsConfiguration
@Stability(Deprecated) @Deprecated public void setCorsConfiguration(@Nullable CfnApiV2.CorsProperty value) Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CorsConfiguration
. -
getCredentialsArn
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CredentialsArn
. -
setCredentialsArn
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CredentialsArn
. -
getDescription
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Description
. -
setDescription
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Description
. -
getDisableSchemaValidation
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.DisableSchemaValidation
. -
setDisableSchemaValidation
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.DisableSchemaValidation
. -
setDisableSchemaValidation
@Stability(Deprecated) @Deprecated public void setDisableSchemaValidation(@Nullable IResolvable value) Deprecated.(deprecated)AWS::ApiGatewayV2::Api.DisableSchemaValidation
. -
getFailOnWarnings
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.FailOnWarnings
. -
setFailOnWarnings
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.FailOnWarnings
. -
setFailOnWarnings
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.FailOnWarnings
. -
getName
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Name
. -
setName
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Name
. -
getProtocolType
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.ProtocolType
. -
setProtocolType
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.ProtocolType
. -
getRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteKey
. -
setRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteKey
. -
getRouteSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteSelectionExpression
. -
setRouteSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteSelectionExpression
. -
getTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Target
. -
setTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Target
. -
getVersion
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Version
. -
setVersion
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Version
.
-