Class PayloadFormatVersion
(experimental) Payload format version for lambda proxy integration.
Inheritance
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class PayloadFormatVersion : DeputyBase
Syntax (vb)
Public Class PayloadFormatVersion
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
var payloadFormatVersion = PayloadFormatVersion.Custom("version");
Synopsis
Constructors
PayloadFormatVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
PayloadFormatVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Version | (experimental) version as a string. |
VERSION_1_0 | (experimental) Version 1.0. |
VERSION_2_0 | (experimental) Version 2.0. |
Methods
Custom(String) | (experimental) A custom payload version. |
Constructors
PayloadFormatVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected PayloadFormatVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
PayloadFormatVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected PayloadFormatVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Version
(experimental) version as a string.
public virtual string Version { get; }
Property Value
System.String
Remarks
Stability: Experimental
VERSION_1_0
(experimental) Version 1.0.
public static PayloadFormatVersion VERSION_1_0 { get; }
Property Value
Remarks
Stability: Experimental
VERSION_2_0
(experimental) Version 2.0.
public static PayloadFormatVersion VERSION_2_0 { get; }
Property Value
Remarks
Stability: Experimental
Methods
Custom(String)
(experimental) A custom payload version.
public static PayloadFormatVersion Custom(string version)
Parameters
- version System.String
Returns
Remarks
Typically used if there is a version number that the CDK doesn't support yet
Stability: Experimental