cdk-serverless 2.1.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +1 -0
- package/docs/constructs/assets/highlight.css +14 -14
- package/docs/constructs/assets/main.js +3 -3
- package/docs/constructs/assets/search.js +1 -1
- package/docs/constructs/assets/style.css +6 -4
- package/docs/constructs/classes/AssetCdn.html +62 -55
- package/docs/constructs/classes/BaseApi.html +54 -46
- package/docs/constructs/classes/CognitoAuthentication.html +64 -56
- package/docs/constructs/classes/GraphQlApi.html +384 -0
- package/docs/constructs/classes/LambdaFunction.html +433 -367
- package/docs/constructs/classes/RestApi.html +110 -97
- package/docs/constructs/classes/SingleTableDatastore.html +56 -49
- package/docs/constructs/classes/Workflow.html +62 -55
- package/docs/constructs/index.html +26 -23
- package/docs/constructs/interfaces/AssetCdnProps.html +35 -30
- package/docs/constructs/interfaces/BaseApiProps.html +73 -61
- package/docs/constructs/interfaces/CognitoAuthenticationProps.html +61 -48
- package/docs/constructs/interfaces/GraphQlApiProps.html +205 -0
- package/docs/constructs/interfaces/ICognitoAuthentication.html +30 -26
- package/docs/constructs/interfaces/IJwtAuthentication.html +40 -34
- package/docs/constructs/interfaces/LambdaFunctionProps.html +97 -80
- package/docs/constructs/interfaces/LambdaTracingOptions.html +31 -27
- package/docs/constructs/interfaces/RestApiProps.html +108 -92
- package/docs/constructs/interfaces/SingleTableDatastoreProps.html +44 -38
- package/docs/constructs/interfaces/SingleTableDesign.html +46 -39
- package/docs/constructs/interfaces/VtlResolverOptions.html +102 -0
- package/docs/constructs/interfaces/WorkflowProps.html +40 -37
- package/docs/constructs/modules.html +46 -40
- package/docs/constructs/types/LambdaOptions.html +24 -21
- package/docs/lambda/assets/highlight.css +11 -4
- package/docs/lambda/assets/main.js +3 -3
- package/docs/lambda/assets/style.css +6 -4
- package/docs/lambda/classes/auth.ApiGatewayv1CognitoAuthorizer.html +116 -123
- package/docs/lambda/classes/auth.ApiGatewayv1JwtAuthorizer.html +114 -122
- package/docs/lambda/classes/auth.ApiGatewayv2CognitoAuthorizer.html +116 -123
- package/docs/lambda/classes/auth.ApiGatewayv2JwtAuthorizer.html +114 -122
- package/docs/lambda/classes/auth.AppSyncCognitoAuthorizer.html +113 -120
- package/docs/lambda/classes/auth.CognitoAuthorizer.html +108 -116
- package/docs/lambda/classes/auth.JwtAuthorizer.html +108 -116
- package/docs/lambda/classes/errors.BadRequestError.html +43 -67
- package/docs/lambda/classes/errors.ForbiddenError.html +43 -67
- package/docs/lambda/classes/errors.HttpError.html +43 -67
- package/docs/lambda/classes/errors.NotFoundError.html +43 -67
- package/docs/lambda/classes/errors.UnauthenticatedError.html +43 -67
- package/docs/lambda/functions/api.createAppSyncHandler.html +23 -39
- package/docs/lambda/functions/api.createHttpHandler.html +21 -38
- package/docs/lambda/functions/api.createOpenApiHandler.html +21 -38
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBody.html +21 -38
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBodyNoResponse.html +21 -38
- package/docs/lambda/index.html +7 -41
- package/docs/lambda/interfaces/api.AppSyncHandlerContext.html +33 -50
- package/docs/lambda/interfaces/api.HttpHandlerContext.html +36 -53
- package/docs/lambda/interfaces/api.HttpResponseContext.html +30 -47
- package/docs/lambda/interfaces/api.Operation.html +24 -41
- package/docs/lambda/interfaces/api.OperationWithRequestBody.html +27 -44
- package/docs/lambda/modules/api.html +31 -49
- package/docs/lambda/modules/auth.html +19 -43
- package/docs/lambda/modules/errors.html +15 -41
- package/docs/lambda/modules.html +8 -42
- package/docs/lambda/types/api.APIGatewayv1Handler.html +20 -37
- package/docs/lambda/types/api.AppSyncHandler.html +20 -37
- package/docs/lambda/types/api.HttpHandler.html +20 -37
- package/docs/projen/assets/highlight.css +25 -18
- package/docs/projen/assets/main.js +3 -3
- package/docs/projen/assets/search.js +1 -1
- package/docs/projen/assets/style.css +6 -4
- package/docs/projen/classes/Datastore.html +54 -49
- package/docs/projen/classes/GraphQlApi.html +155 -0
- package/docs/projen/classes/RestApi.html +54 -49
- package/docs/projen/classes/ServerlessProject.html +590 -461
- package/docs/projen/classes/Workflow.html +54 -49
- package/docs/projen/index.html +15 -13
- package/docs/projen/interfaces/DatastoreOptions.html +20 -18
- package/docs/projen/interfaces/GraphQlApiOptions.html +77 -0
- package/docs/projen/interfaces/RestApiOptions.html +20 -18
- package/docs/projen/interfaces/ServerlessProjectOptions.html +979 -808
- package/docs/projen/interfaces/WorkflowOptions.html +20 -18
- package/docs/projen/modules.html +24 -20
- package/docs/projen/variables/PACKAGE_NAME.html +13 -11
- package/lib/constructs/graphql.d.ts +52 -0
- package/lib/constructs/graphql.js +310 -0
- package/lib/constructs/index.d.ts +1 -0
- package/lib/constructs/index.js +2 -1
- package/lib/projen/core.js +1 -2
- package/lib/projen/datastore.js +3 -4
- package/lib/projen/graphql.d.ts +10 -0
- package/lib/projen/graphql.js +90 -0
- package/lib/projen/index.d.ts +1 -0
- package/lib/projen/index.js +2 -2
- package/lib/projen/rest-api.js +3 -1
- package/package.json +8 -8
|
@@ -26,25 +26,25 @@
|
|
|
26
26
|
<div class="tsd-accordion-details">
|
|
27
27
|
<section class="tsd-index-section">
|
|
28
28
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
29
|
-
<div class="tsd-index-list"><a href="LambdaFunctionProps.html#additionalEnv" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
30
|
-
<a href="LambdaFunctionProps.html#assetBucket" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
31
|
-
<a href="LambdaFunctionProps.html#assetDomainName" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
32
|
-
<a href="LambdaFunctionProps.html#description" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
33
|
-
<a href="LambdaFunctionProps.html#entry" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
34
|
-
<a href="LambdaFunctionProps.html#handler" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
35
|
-
<a href="LambdaFunctionProps.html#includeSDK" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
36
|
-
<a href="LambdaFunctionProps.html#jwt" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
37
|
-
<a href="LambdaFunctionProps.html#lambdaOptions" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
38
|
-
<a href="LambdaFunctionProps.html#lambdaTracing" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
39
|
-
<a href="LambdaFunctionProps.html#stageName" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
40
|
-
<a href="LambdaFunctionProps.html#table" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
41
|
-
<a href="LambdaFunctionProps.html#tableWrites" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
42
|
-
<a href="LambdaFunctionProps.html#userPool" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
29
|
+
<div class="tsd-index-list"><a href="LambdaFunctionProps.html#additionalEnv" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>additional<wbr/>Env?</span></a>
|
|
30
|
+
<a href="LambdaFunctionProps.html#assetBucket" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>asset<wbr/>Bucket?</span></a>
|
|
31
|
+
<a href="LambdaFunctionProps.html#assetDomainName" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>asset<wbr/>Domain<wbr/>Name?</span></a>
|
|
32
|
+
<a href="LambdaFunctionProps.html#description" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>description?</span></a>
|
|
33
|
+
<a href="LambdaFunctionProps.html#entry" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>entry</span></a>
|
|
34
|
+
<a href="LambdaFunctionProps.html#handler" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>handler?</span></a>
|
|
35
|
+
<a href="LambdaFunctionProps.html#includeSDK" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>includeSDK?</span></a>
|
|
36
|
+
<a href="LambdaFunctionProps.html#jwt" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>jwt?</span></a>
|
|
37
|
+
<a href="LambdaFunctionProps.html#lambdaOptions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>lambda<wbr/>Options?</span></a>
|
|
38
|
+
<a href="LambdaFunctionProps.html#lambdaTracing" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>lambda<wbr/>Tracing?</span></a>
|
|
39
|
+
<a href="LambdaFunctionProps.html#stageName" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>stage<wbr/>Name?</span></a>
|
|
40
|
+
<a href="LambdaFunctionProps.html#table" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>table?</span></a>
|
|
41
|
+
<a href="LambdaFunctionProps.html#tableWrites" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>table<wbr/>Writes?</span></a>
|
|
42
|
+
<a href="LambdaFunctionProps.html#userPool" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>user<wbr/>Pool?</span></a>
|
|
43
43
|
</div></section></div></details></section></section>
|
|
44
44
|
<section class="tsd-panel-group tsd-member-group">
|
|
45
45
|
<h2>Properties</h2>
|
|
46
46
|
<section class="tsd-panel tsd-member"><a id="additionalEnv" class="tsd-anchor"></a>
|
|
47
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>additional<wbr/>Env</span><a href="#additionalEnv" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
47
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>additional<wbr/>Env</span><a href="#additionalEnv" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
|
48
48
|
<div class="tsd-signature"><span class="tsd-kind-property">additional<wbr/>Env</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
49
49
|
<div class="tsd-comment tsd-typography"><p>additional environment variables of the Lambda function</p>
|
|
50
50
|
</div>
|
|
@@ -52,88 +52,102 @@
|
|
|
52
52
|
<h4>Type declaration</h4>
|
|
53
53
|
<ul class="tsd-parameters">
|
|
54
54
|
<li class="tsd-parameter-index-signature">
|
|
55
|
-
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></div
|
|
55
|
+
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
56
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
56
57
|
<section class="tsd-panel tsd-member"><a id="assetBucket" class="tsd-anchor"></a>
|
|
57
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>asset<wbr/>Bucket</span><a href="#assetBucket" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
58
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>asset<wbr/>Bucket</span><a href="#assetBucket" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
58
59
|
<div class="tsd-signature"><span class="tsd-kind-property">asset<wbr/>Bucket</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type ">Bucket</span></div>
|
|
59
60
|
<div class="tsd-comment tsd-typography"><p>Bucket that is used for assets and published using the asset CDN
|
|
60
61
|
The name of the bucket is available as process.env.ASSET_BUCKET</p>
|
|
61
|
-
</div
|
|
62
|
+
</div>
|
|
63
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
62
64
|
<section class="tsd-panel tsd-member"><a id="assetDomainName" class="tsd-anchor"></a>
|
|
63
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>asset<wbr/>Domain<wbr/>Name</span><a href="#assetDomainName" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
65
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>asset<wbr/>Domain<wbr/>Name</span><a href="#assetDomainName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
64
66
|
<div class="tsd-signature"><span class="tsd-kind-property">asset<wbr/>Domain<wbr/>Name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
65
67
|
<div class="tsd-comment tsd-typography"><p>Fully qualified domain name of the asset CDN
|
|
66
68
|
It is available as process.env.ASSET_DOMAIN_NAME</p>
|
|
67
|
-
</div
|
|
69
|
+
</div>
|
|
70
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
68
71
|
<section class="tsd-panel tsd-member"><a id="description" class="tsd-anchor"></a>
|
|
69
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>description</span><a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
72
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>description</span><a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
70
73
|
<div class="tsd-signature"><span class="tsd-kind-property">description</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
71
74
|
<div class="tsd-comment tsd-typography"><p>description of the Lambda function</p>
|
|
72
|
-
</div
|
|
75
|
+
</div>
|
|
76
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
73
77
|
<section class="tsd-panel tsd-member"><a id="entry" class="tsd-anchor"></a>
|
|
74
|
-
<h3 class="tsd-anchor-link"><span>entry</span><a href="#entry" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
78
|
+
<h3 class="tsd-anchor-link"><span>entry</span><a href="#entry" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
75
79
|
<div class="tsd-signature"><span class="tsd-kind-property">entry</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
76
80
|
<div class="tsd-comment tsd-typography"><p>entry file name</p>
|
|
77
|
-
</div
|
|
81
|
+
</div>
|
|
82
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
78
83
|
<section class="tsd-panel tsd-member"><a id="handler" class="tsd-anchor"></a>
|
|
79
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>handler</span><a href="#handler" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
84
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>handler</span><a href="#handler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
80
85
|
<div class="tsd-signature"><span class="tsd-kind-property">handler</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
81
86
|
<div class="tsd-comment tsd-typography"><p>name of the exported handler function</p>
|
|
82
|
-
|
|
83
|
-
<
|
|
87
|
+
</div>
|
|
88
|
+
<div class="tsd-comment tsd-typography">
|
|
89
|
+
<h4>Default</h4><pre><code class="language-ts"><span class="hl-6">handler</span>
|
|
84
90
|
</code><button>Copy</button></pre>
|
|
85
91
|
</div></section>
|
|
86
92
|
<section class="tsd-panel tsd-member"><a id="includeSDK" class="tsd-anchor"></a>
|
|
87
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>includeSDK</span><a href="#includeSDK" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
93
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>includeSDK</span><a href="#includeSDK" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
88
94
|
<div class="tsd-signature"><span class="tsd-kind-property">includeSDK</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
89
95
|
<div class="tsd-comment tsd-typography"><p>Should the AWS-SDK be packaged with the Lambda code or excluded</p>
|
|
90
|
-
|
|
91
|
-
<
|
|
96
|
+
</div>
|
|
97
|
+
<div class="tsd-comment tsd-typography">
|
|
98
|
+
<h4>Default</h4><pre><code class="language-ts"><span class="hl-3">false</span><span class="hl-1"> (</span><span class="hl-6">exclude</span><span class="hl-1"> </span><span class="hl-4">SDK</span><span class="hl-1"> </span><span class="hl-6">and</span><span class="hl-1"> </span><span class="hl-6">use</span><span class="hl-1"> </span><span class="hl-6">runtime</span><span class="hl-1"> </span><span class="hl-6">provided</span><span class="hl-1"> </span><span class="hl-6">one</span><span class="hl-1">)</span>
|
|
92
99
|
</code><button>Copy</button></pre>
|
|
93
100
|
</div></section>
|
|
94
101
|
<section class="tsd-panel tsd-member"><a id="jwt" class="tsd-anchor"></a>
|
|
95
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>jwt</span><a href="#jwt" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
102
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>jwt</span><a href="#jwt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
96
103
|
<div class="tsd-signature"><span class="tsd-kind-property">jwt</span><span class="tsd-signature-symbol">?:</span> <a href="IJwtAuthentication.html" class="tsd-signature-type tsd-kind-interface">IJwtAuthentication</a></div>
|
|
97
104
|
<div class="tsd-comment tsd-typography"><p>JwtAuthentication settings</p>
|
|
98
|
-
</div
|
|
105
|
+
</div>
|
|
106
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
99
107
|
<section class="tsd-panel tsd-member"><a id="lambdaOptions" class="tsd-anchor"></a>
|
|
100
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>lambda<wbr/>Options</span><a href="#lambdaOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
108
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>lambda<wbr/>Options</span><a href="#lambdaOptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
101
109
|
<div class="tsd-signature"><span class="tsd-kind-property">lambda<wbr/>Options</span><span class="tsd-signature-symbol">?:</span> <a href="../types/LambdaOptions.html" class="tsd-signature-type tsd-kind-type-alias">LambdaOptions</a></div>
|
|
102
110
|
<div class="tsd-comment tsd-typography"><p>additional options for the underlying Lambda function construct</p>
|
|
103
|
-
</div
|
|
111
|
+
</div>
|
|
112
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
104
113
|
<section class="tsd-panel tsd-member"><a id="lambdaTracing" class="tsd-anchor"></a>
|
|
105
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>lambda<wbr/>Tracing</span><a href="#lambdaTracing" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
114
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>lambda<wbr/>Tracing</span><a href="#lambdaTracing" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
106
115
|
<div class="tsd-signature"><span class="tsd-kind-property">lambda<wbr/>Tracing</span><span class="tsd-signature-symbol">?:</span> <a href="LambdaTracingOptions.html" class="tsd-signature-type tsd-kind-interface">LambdaTracingOptions</a></div>
|
|
107
116
|
<div class="tsd-comment tsd-typography"><p>Tracing config</p>
|
|
108
|
-
</div
|
|
117
|
+
</div>
|
|
118
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
109
119
|
<section class="tsd-panel tsd-member"><a id="stageName" class="tsd-anchor"></a>
|
|
110
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stage<wbr/>Name</span><a href="#stageName" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
120
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stage<wbr/>Name</span><a href="#stageName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
111
121
|
<div class="tsd-signature"><span class="tsd-kind-property">stage<wbr/>Name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
112
122
|
<div class="tsd-comment tsd-typography"><p>Deployment stage (e.g. dev)</p>
|
|
113
|
-
</div
|
|
123
|
+
</div>
|
|
124
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
114
125
|
<section class="tsd-panel tsd-member"><a id="table" class="tsd-anchor"></a>
|
|
115
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>table</span><a href="#table" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
126
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>table</span><a href="#table" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
116
127
|
<div class="tsd-signature"><span class="tsd-kind-property">table</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type ">ITable</span></div>
|
|
117
128
|
<div class="tsd-comment tsd-typography"><p>DynamoDB that is used as datastore
|
|
118
129
|
The Lambda function will have read access to this table automatically
|
|
119
130
|
The name of the table is available as process.env.TABLE</p>
|
|
120
|
-
</div
|
|
131
|
+
</div>
|
|
132
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
121
133
|
<section class="tsd-panel tsd-member"><a id="tableWrites" class="tsd-anchor"></a>
|
|
122
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>table<wbr/>Writes</span><a href="#tableWrites" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
134
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>table<wbr/>Writes</span><a href="#tableWrites" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
123
135
|
<div class="tsd-signature"><span class="tsd-kind-property">table<wbr/>Writes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
124
136
|
<div class="tsd-comment tsd-typography"><p>Activate write permissions to the DynamoDB table</p>
|
|
125
|
-
</div
|
|
137
|
+
</div>
|
|
138
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
126
139
|
<section class="tsd-panel tsd-member"><a id="userPool" class="tsd-anchor"></a>
|
|
127
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>user<wbr/>Pool</span><a href="#userPool" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
140
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>user<wbr/>Pool</span><a href="#userPool" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
128
141
|
<div class="tsd-signature"><span class="tsd-kind-property">user<wbr/>Pool</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type ">IUserPool</span></div>
|
|
129
142
|
<div class="tsd-comment tsd-typography"><p>Cognito user pool
|
|
130
143
|
The name of the pool is available as process.env.USER_POOL_ID</p>
|
|
131
|
-
</div
|
|
144
|
+
</div>
|
|
145
|
+
<div class="tsd-comment tsd-typography"></div></section></section></div>
|
|
132
146
|
<div class="col-sidebar">
|
|
133
147
|
<div class="page-menu">
|
|
134
148
|
<div class="tsd-navigation settings">
|
|
135
149
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
136
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>Settings</h3></summary>
|
|
150
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
137
151
|
<div class="tsd-accordion-details">
|
|
138
152
|
<div class="tsd-filter-visibility">
|
|
139
153
|
<h4 class="uppercase">Member Visibility</h4><form>
|
|
@@ -145,45 +159,48 @@ The name of the pool is available as process.env.USER_POOL_ID</p>
|
|
|
145
159
|
<div class="tsd-theme-toggle">
|
|
146
160
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
147
161
|
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
148
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><
|
|
162
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
|
149
163
|
<div class="tsd-accordion-details">
|
|
150
164
|
<ul>
|
|
151
|
-
<li><a href="#additionalEnv" class=""><svg class="tsd-kind-icon"
|
|
152
|
-
<li><a href="#assetBucket" class=""><svg class="tsd-kind-icon"
|
|
153
|
-
<li><a href="#assetDomainName" class=""><svg class="tsd-kind-icon"
|
|
154
|
-
<li><a href="#description" class=""><svg class="tsd-kind-icon"
|
|
155
|
-
<li><a href="#entry" class=""><svg class="tsd-kind-icon"
|
|
156
|
-
<li><a href="#handler" class=""><svg class="tsd-kind-icon"
|
|
157
|
-
<li><a href="#includeSDK" class=""><svg class="tsd-kind-icon"
|
|
158
|
-
<li><a href="#jwt" class=""><svg class="tsd-kind-icon"
|
|
159
|
-
<li><a href="#lambdaOptions" class=""><svg class="tsd-kind-icon"
|
|
160
|
-
<li><a href="#lambdaTracing" class=""><svg class="tsd-kind-icon"
|
|
161
|
-
<li><a href="#stageName" class=""><svg class="tsd-kind-icon"
|
|
162
|
-
<li><a href="#table" class=""><svg class="tsd-kind-icon"
|
|
163
|
-
<li><a href="#tableWrites" class=""><svg class="tsd-kind-icon"
|
|
164
|
-
<li><a href="#userPool" class=""><svg class="tsd-kind-icon"
|
|
165
|
+
<li><a href="#additionalEnv" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>additional<wbr/>Env</span></a></li>
|
|
166
|
+
<li><a href="#assetBucket" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>asset<wbr/>Bucket</span></a></li>
|
|
167
|
+
<li><a href="#assetDomainName" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>asset<wbr/>Domain<wbr/>Name</span></a></li>
|
|
168
|
+
<li><a href="#description" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>description</span></a></li>
|
|
169
|
+
<li><a href="#entry" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>entry</span></a></li>
|
|
170
|
+
<li><a href="#handler" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>handler</span></a></li>
|
|
171
|
+
<li><a href="#includeSDK" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>includeSDK</span></a></li>
|
|
172
|
+
<li><a href="#jwt" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>jwt</span></a></li>
|
|
173
|
+
<li><a href="#lambdaOptions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>lambda<wbr/>Options</span></a></li>
|
|
174
|
+
<li><a href="#lambdaTracing" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>lambda<wbr/>Tracing</span></a></li>
|
|
175
|
+
<li><a href="#stageName" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>stage<wbr/>Name</span></a></li>
|
|
176
|
+
<li><a href="#table" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>table</span></a></li>
|
|
177
|
+
<li><a href="#tableWrites" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>table<wbr/>Writes</span></a></li>
|
|
178
|
+
<li><a href="#userPool" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>user<wbr/>Pool</span></a></li></ul></div></details></div>
|
|
165
179
|
<div class="site-menu">
|
|
166
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon"
|
|
180
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>cdk-<wbr/>serverless</span></a>
|
|
167
181
|
<ul class="tsd-small-nested-navigation">
|
|
168
|
-
<li><a href="../classes/AssetCdn.html"><svg class="tsd-kind-icon"
|
|
169
|
-
<li><a href="../classes/BaseApi.html"><svg class="tsd-kind-icon"
|
|
170
|
-
<li><a href="../classes/CognitoAuthentication.html"><svg class="tsd-kind-icon"
|
|
171
|
-
<li><a href="../classes/
|
|
172
|
-
<li><a href="../classes/
|
|
173
|
-
<li><a href="../classes/
|
|
174
|
-
<li><a href="../classes/
|
|
175
|
-
<li><a href="
|
|
176
|
-
<li><a href="
|
|
177
|
-
<li><a href="
|
|
178
|
-
<li><a href="
|
|
179
|
-
<li><a href="
|
|
180
|
-
<li><a href="
|
|
181
|
-
<li><a href="
|
|
182
|
-
<li><a href="
|
|
183
|
-
<li><a href="
|
|
184
|
-
<li><a href="
|
|
185
|
-
<li><a href="
|
|
186
|
-
<li><a href="
|
|
182
|
+
<li><a href="../classes/AssetCdn.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Asset<wbr/>Cdn</span></a></li>
|
|
183
|
+
<li><a href="../classes/BaseApi.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Base<wbr/>Api</span></a></li>
|
|
184
|
+
<li><a href="../classes/CognitoAuthentication.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Cognito<wbr/>Authentication</span></a></li>
|
|
185
|
+
<li><a href="../classes/GraphQlApi.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Graph<wbr/>Ql<wbr/>Api</span></a></li>
|
|
186
|
+
<li><a href="../classes/LambdaFunction.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Lambda<wbr/>Function</span></a></li>
|
|
187
|
+
<li><a href="../classes/RestApi.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Rest<wbr/>Api</span></a></li>
|
|
188
|
+
<li><a href="../classes/SingleTableDatastore.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Single<wbr/>Table<wbr/>Datastore</span></a></li>
|
|
189
|
+
<li><a href="../classes/Workflow.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Workflow</span></a></li>
|
|
190
|
+
<li><a href="AssetCdnProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Asset<wbr/>Cdn<wbr/>Props</span></a></li>
|
|
191
|
+
<li><a href="BaseApiProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Base<wbr/>Api<wbr/>Props</span></a></li>
|
|
192
|
+
<li><a href="CognitoAuthenticationProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Cognito<wbr/>Authentication<wbr/>Props</span></a></li>
|
|
193
|
+
<li><a href="GraphQlApiProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Graph<wbr/>Ql<wbr/>Api<wbr/>Props</span></a></li>
|
|
194
|
+
<li><a href="ICognitoAuthentication.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>ICognito<wbr/>Authentication</span></a></li>
|
|
195
|
+
<li><a href="IJwtAuthentication.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>IJwt<wbr/>Authentication</span></a></li>
|
|
196
|
+
<li><a href="LambdaFunctionProps.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Lambda<wbr/>Function<wbr/>Props</span></a></li>
|
|
197
|
+
<li><a href="LambdaTracingOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Lambda<wbr/>Tracing<wbr/>Options</span></a></li>
|
|
198
|
+
<li><a href="RestApiProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Rest<wbr/>Api<wbr/>Props</span></a></li>
|
|
199
|
+
<li><a href="SingleTableDatastoreProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Single<wbr/>Table<wbr/>Datastore<wbr/>Props</span></a></li>
|
|
200
|
+
<li><a href="SingleTableDesign.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Single<wbr/>Table<wbr/>Design</span></a></li>
|
|
201
|
+
<li><a href="VtlResolverOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Vtl<wbr/>Resolver<wbr/>Options</span></a></li>
|
|
202
|
+
<li><a href="WorkflowProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Workflow<wbr/>Props</span></a></li>
|
|
203
|
+
<li><a href="../types/LambdaOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Lambda<wbr/>Options</span></a></li></ul></nav></div></div></div>
|
|
187
204
|
<div class="tsd-generator">
|
|
188
205
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
189
206
|
<div class="overlay"></div></body></html>
|
|
@@ -26,23 +26,24 @@
|
|
|
26
26
|
<div class="tsd-accordion-details">
|
|
27
27
|
<section class="tsd-index-section">
|
|
28
28
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
29
|
-
<div class="tsd-index-list"><a href="LambdaTracingOptions.html#xRayTracing" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
29
|
+
<div class="tsd-index-list"><a href="LambdaTracingOptions.html#xRayTracing" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>x<wbr/>Ray<wbr/>Tracing?</span></a>
|
|
30
30
|
</div></section></div></details></section></section>
|
|
31
31
|
<section class="tsd-panel-group tsd-member-group">
|
|
32
32
|
<h2>Properties</h2>
|
|
33
33
|
<section class="tsd-panel tsd-member"><a id="xRayTracing" class="tsd-anchor"></a>
|
|
34
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>x<wbr/>Ray<wbr/>Tracing</span><a href="#xRayTracing" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
34
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>x<wbr/>Ray<wbr/>Tracing</span><a href="#xRayTracing" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
|
35
35
|
<div class="tsd-signature"><span class="tsd-kind-property">x<wbr/>Ray<wbr/>Tracing</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type ">Tracing</span></div>
|
|
36
36
|
<div class="tsd-comment tsd-typography"><p>Activate tracing with X-Ray</p>
|
|
37
|
-
|
|
38
|
-
<
|
|
37
|
+
</div>
|
|
38
|
+
<div class="tsd-comment tsd-typography">
|
|
39
|
+
<h4>Default</h4><pre><code class="language-ts"><span class="hl-6">lambda</span><span class="hl-1">.</span><span class="hl-6">Tracing</span><span class="hl-1">.</span><span class="hl-4">DISABLED</span>
|
|
39
40
|
</code><button>Copy</button></pre>
|
|
40
41
|
</div></section></section></div>
|
|
41
42
|
<div class="col-sidebar">
|
|
42
43
|
<div class="page-menu">
|
|
43
44
|
<div class="tsd-navigation settings">
|
|
44
45
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
45
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>Settings</h3></summary>
|
|
46
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
46
47
|
<div class="tsd-accordion-details">
|
|
47
48
|
<div class="tsd-filter-visibility">
|
|
48
49
|
<h4 class="uppercase">Member Visibility</h4><form>
|
|
@@ -54,32 +55,35 @@
|
|
|
54
55
|
<div class="tsd-theme-toggle">
|
|
55
56
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
56
57
|
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
57
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><
|
|
58
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
|
58
59
|
<div class="tsd-accordion-details">
|
|
59
60
|
<ul>
|
|
60
|
-
<li><a href="#xRayTracing" class=""><svg class="tsd-kind-icon"
|
|
61
|
+
<li><a href="#xRayTracing" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>x<wbr/>Ray<wbr/>Tracing</span></a></li></ul></div></details></div>
|
|
61
62
|
<div class="site-menu">
|
|
62
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon"
|
|
63
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>cdk-<wbr/>serverless</span></a>
|
|
63
64
|
<ul class="tsd-small-nested-navigation">
|
|
64
|
-
<li><a href="../classes/AssetCdn.html"><svg class="tsd-kind-icon"
|
|
65
|
-
<li><a href="../classes/BaseApi.html"><svg class="tsd-kind-icon"
|
|
66
|
-
<li><a href="../classes/CognitoAuthentication.html"><svg class="tsd-kind-icon"
|
|
67
|
-
<li><a href="../classes/
|
|
68
|
-
<li><a href="../classes/
|
|
69
|
-
<li><a href="../classes/
|
|
70
|
-
<li><a href="../classes/
|
|
71
|
-
<li><a href="
|
|
72
|
-
<li><a href="
|
|
73
|
-
<li><a href="
|
|
74
|
-
<li><a href="
|
|
75
|
-
<li><a href="
|
|
76
|
-
<li><a href="
|
|
77
|
-
<li><a href="
|
|
78
|
-
<li><a href="
|
|
79
|
-
<li><a href="
|
|
80
|
-
<li><a href="
|
|
81
|
-
<li><a href="
|
|
82
|
-
<li><a href="
|
|
65
|
+
<li><a href="../classes/AssetCdn.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Asset<wbr/>Cdn</span></a></li>
|
|
66
|
+
<li><a href="../classes/BaseApi.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Base<wbr/>Api</span></a></li>
|
|
67
|
+
<li><a href="../classes/CognitoAuthentication.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Cognito<wbr/>Authentication</span></a></li>
|
|
68
|
+
<li><a href="../classes/GraphQlApi.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Graph<wbr/>Ql<wbr/>Api</span></a></li>
|
|
69
|
+
<li><a href="../classes/LambdaFunction.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Lambda<wbr/>Function</span></a></li>
|
|
70
|
+
<li><a href="../classes/RestApi.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Rest<wbr/>Api</span></a></li>
|
|
71
|
+
<li><a href="../classes/SingleTableDatastore.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Single<wbr/>Table<wbr/>Datastore</span></a></li>
|
|
72
|
+
<li><a href="../classes/Workflow.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Workflow</span></a></li>
|
|
73
|
+
<li><a href="AssetCdnProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Asset<wbr/>Cdn<wbr/>Props</span></a></li>
|
|
74
|
+
<li><a href="BaseApiProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Base<wbr/>Api<wbr/>Props</span></a></li>
|
|
75
|
+
<li><a href="CognitoAuthenticationProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Cognito<wbr/>Authentication<wbr/>Props</span></a></li>
|
|
76
|
+
<li><a href="GraphQlApiProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Graph<wbr/>Ql<wbr/>Api<wbr/>Props</span></a></li>
|
|
77
|
+
<li><a href="ICognitoAuthentication.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>ICognito<wbr/>Authentication</span></a></li>
|
|
78
|
+
<li><a href="IJwtAuthentication.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>IJwt<wbr/>Authentication</span></a></li>
|
|
79
|
+
<li><a href="LambdaFunctionProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Lambda<wbr/>Function<wbr/>Props</span></a></li>
|
|
80
|
+
<li><a href="LambdaTracingOptions.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Lambda<wbr/>Tracing<wbr/>Options</span></a></li>
|
|
81
|
+
<li><a href="RestApiProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Rest<wbr/>Api<wbr/>Props</span></a></li>
|
|
82
|
+
<li><a href="SingleTableDatastoreProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Single<wbr/>Table<wbr/>Datastore<wbr/>Props</span></a></li>
|
|
83
|
+
<li><a href="SingleTableDesign.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Single<wbr/>Table<wbr/>Design</span></a></li>
|
|
84
|
+
<li><a href="VtlResolverOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Vtl<wbr/>Resolver<wbr/>Options</span></a></li>
|
|
85
|
+
<li><a href="WorkflowProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Workflow<wbr/>Props</span></a></li>
|
|
86
|
+
<li><a href="../types/LambdaOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Lambda<wbr/>Options</span></a></li></ul></nav></div></div></div>
|
|
83
87
|
<div class="tsd-generator">
|
|
84
88
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
85
89
|
<div class="overlay"></div></body></html>
|