Class PayloadFormatVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.PayloadFormatVersion
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.313Z")
@Stability(Experimental)
public class PayloadFormatVersion
extends software.amazon.jsii.JsiiObject
(experimental) Payload format version for lambda proxy integration.
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.apigatewayv2.*; PayloadFormatVersion payloadFormatVersion = PayloadFormatVersion.custom("version");
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PayloadFormatVersion
(experimental) Version 1.0.static final PayloadFormatVersion
(experimental) Version 2.0. -
Constructor Summary
ModifierConstructorDescriptionprotected
PayloadFormatVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
PayloadFormatVersion
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic PayloadFormatVersion
(experimental) A custom payload version.(experimental) version as a string.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, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
VERSION_1_0
(experimental) Version 1.0. -
VERSION_2_0
(experimental) Version 2.0.
-
-
Constructor Details
-
PayloadFormatVersion
protected PayloadFormatVersion(software.amazon.jsii.JsiiObjectRef objRef) -
PayloadFormatVersion
protected PayloadFormatVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
custom
@Stability(Experimental) @NotNull public static PayloadFormatVersion custom(@NotNull String version) (experimental) A custom payload version.Typically used if there is a version number that the CDK doesn't support yet
- Parameters:
version
- This parameter is required.
-
getVersion
(experimental) version as a string.
-