Interface CfnFunction.IHttpApiEventProperty
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.AWS.SAM.dll
Syntax (csharp)
public interface IHttpApiEventProperty
Syntax (vb)
Public Interface IHttpApiEventProperty
Remarks
Link: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi
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.SAM;
var httpApiEventProperty = new HttpApiEventProperty {
ApiId = "apiId",
Auth = new HttpApiFunctionAuthProperty {
AuthorizationScopes = new [] { "authorizationScopes" },
Authorizer = "authorizer"
},
Method = "method",
Path = "path",
PayloadFormatVersion = "payloadFormatVersion",
RouteSettings = new RouteSettingsProperty {
DataTraceEnabled = false,
DetailedMetricsEnabled = false,
LoggingLevel = "loggingLevel",
ThrottlingBurstLimit = 123,
ThrottlingRateLimit = 123
},
TimeoutInMillis = 123
};
Synopsis
Properties
ApiId |
|
Auth |
|
Method |
|
Path |
|
PayloadFormatVersion |
|
RouteSettings |
|
TimeoutInMillis |
|
Properties
ApiId
CfnFunction.HttpApiEventProperty.ApiId
.
virtual string ApiId { get; }
Property Value
System.String
Remarks
Auth
CfnFunction.HttpApiEventProperty.Auth
.
virtual object Auth { get; }
Property Value
System.Object
Remarks
Method
CfnFunction.HttpApiEventProperty.Method
.
virtual string Method { get; }
Property Value
System.String
Remarks
Path
CfnFunction.HttpApiEventProperty.Path
.
virtual string Path { get; }
Property Value
System.String
Remarks
PayloadFormatVersion
CfnFunction.HttpApiEventProperty.PayloadFormatVersion
.
virtual string PayloadFormatVersion { get; }
Property Value
System.String
Remarks
RouteSettings
CfnFunction.HttpApiEventProperty.RouteSettings
.
virtual object RouteSettings { get; }
Property Value
System.Object
Remarks
TimeoutInMillis
CfnFunction.HttpApiEventProperty.TimeoutInMillis
.
virtual Nullable<double> TimeoutInMillis { get; }
Property Value
System.Nullable<System.Double>