cloudstructs 0.2.8 → 0.4.0

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.
Files changed (37) hide show
  1. package/.jsii +1477 -149
  2. package/API.md +346 -4
  3. package/lib/codecommit-mirror/index.js +4 -5
  4. package/lib/ecs-service-roller/index.js +2 -2
  5. package/lib/email-receiver/receiver.js +3 -4
  6. package/lib/saml-identity-provider/index.js +2 -2
  7. package/lib/slack-app/index.d.ts +2 -95
  8. package/lib/slack-app/index.js +13 -47
  9. package/lib/slack-app/manifest.d.ts +482 -0
  10. package/lib/slack-app/manifest.js +198 -0
  11. package/lib/slack-app/provider.handler.js +4 -3
  12. package/lib/slack-app/provider.js +1 -3
  13. package/lib/slack-app/slack-app.d.ts +127 -0
  14. package/lib/slack-app/slack-app.js +103 -0
  15. package/lib/slack-events/index.js +2 -4
  16. package/lib/slack-textract/index.js +2 -4
  17. package/lib/state-machine-cr-provider/index.js +4 -4
  18. package/lib/static-website/index.d.ts +9 -5
  19. package/lib/static-website/index.js +36 -20
  20. package/lib/url-shortener/index.js +2 -4
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +1 -1
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  24. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  25. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +1 -1
  26. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  27. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  28. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +1 -1
  29. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  30. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  31. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +1 -1
  32. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  33. package/package.json +8 -2
  34. package/lib/static-website/origin-response-handler/index.d.ts +0 -1
  35. package/lib/static-website/origin-response-handler/index.js +0 -25
  36. package/lib/static-website/security-headers.d.ts +0 -10
  37. package/lib/static-website/security-headers.js +0 -14
package/.jsii CHANGED
@@ -2886,7 +2886,7 @@
2886
2886
  },
2887
2887
  "locationInModule": {
2888
2888
  "filename": "src/codecommit-mirror/index.ts",
2889
- "line": 93
2889
+ "line": 92
2890
2890
  },
2891
2891
  "parameters": [
2892
2892
  {
@@ -2912,7 +2912,7 @@
2912
2912
  "kind": "class",
2913
2913
  "locationInModule": {
2914
2914
  "filename": "src/codecommit-mirror/index.ts",
2915
- "line": 92
2915
+ "line": 91
2916
2916
  },
2917
2917
  "name": "CodeCommitMirror",
2918
2918
  "symbolId": "src/codecommit-mirror/index:CodeCommitMirror"
@@ -2928,7 +2928,7 @@
2928
2928
  "kind": "interface",
2929
2929
  "locationInModule": {
2930
2930
  "filename": "src/codecommit-mirror/index.ts",
2931
- "line": 15
2931
+ "line": 14
2932
2932
  },
2933
2933
  "name": "CodeCommitMirrorProps",
2934
2934
  "properties": [
@@ -2941,7 +2941,7 @@
2941
2941
  "immutable": true,
2942
2942
  "locationInModule": {
2943
2943
  "filename": "src/codecommit-mirror/index.ts",
2944
- "line": 24
2944
+ "line": 23
2945
2945
  },
2946
2946
  "name": "cluster",
2947
2947
  "type": {
@@ -2957,7 +2957,7 @@
2957
2957
  "immutable": true,
2958
2958
  "locationInModule": {
2959
2959
  "filename": "src/codecommit-mirror/index.ts",
2960
- "line": 19
2960
+ "line": 18
2961
2961
  },
2962
2962
  "name": "repository",
2963
2963
  "type": {
@@ -2974,7 +2974,7 @@
2974
2974
  "immutable": true,
2975
2975
  "locationInModule": {
2976
2976
  "filename": "src/codecommit-mirror/index.ts",
2977
- "line": 31
2977
+ "line": 30
2978
2978
  },
2979
2979
  "name": "schedule",
2980
2980
  "optional": true,
@@ -2992,7 +2992,7 @@
2992
2992
  "immutable": true,
2993
2993
  "locationInModule": {
2994
2994
  "filename": "src/codecommit-mirror/index.ts",
2995
- "line": 38
2995
+ "line": 37
2996
2996
  },
2997
2997
  "name": "subnetSelection",
2998
2998
  "optional": true,
@@ -3019,7 +3019,7 @@
3019
3019
  "kind": "class",
3020
3020
  "locationInModule": {
3021
3021
  "filename": "src/codecommit-mirror/index.ts",
3022
- "line": 44
3022
+ "line": 43
3023
3023
  },
3024
3024
  "methods": [
3025
3025
  {
@@ -3029,7 +3029,7 @@
3029
3029
  },
3030
3030
  "locationInModule": {
3031
3031
  "filename": "src/codecommit-mirror/index.ts",
3032
- "line": 48
3032
+ "line": 47
3033
3033
  },
3034
3034
  "name": "gitHub",
3035
3035
  "parameters": [
@@ -3060,7 +3060,7 @@
3060
3060
  },
3061
3061
  "locationInModule": {
3062
3062
  "filename": "src/codecommit-mirror/index.ts",
3063
- "line": 62
3063
+ "line": 61
3064
3064
  },
3065
3065
  "name": "private",
3066
3066
  "parameters": [
@@ -3102,7 +3102,7 @@
3102
3102
  "immutable": true,
3103
3103
  "locationInModule": {
3104
3104
  "filename": "src/codecommit-mirror/index.ts",
3105
- "line": 72
3105
+ "line": 71
3106
3106
  },
3107
3107
  "name": "name",
3108
3108
  "type": {
@@ -3118,7 +3118,7 @@
3118
3118
  "immutable": true,
3119
3119
  "locationInModule": {
3120
3120
  "filename": "src/codecommit-mirror/index.ts",
3121
- "line": 75
3121
+ "line": 74
3122
3122
  },
3123
3123
  "name": "plainTextUrl",
3124
3124
  "optional": true,
@@ -3137,7 +3137,7 @@
3137
3137
  "immutable": true,
3138
3138
  "locationInModule": {
3139
3139
  "filename": "src/codecommit-mirror/index.ts",
3140
- "line": 86
3140
+ "line": 85
3141
3141
  },
3142
3142
  "name": "secretUrl",
3143
3143
  "optional": true,
@@ -3723,8 +3723,8 @@
3723
3723
  "stability": "stable"
3724
3724
  },
3725
3725
  "locationInModule": {
3726
- "filename": "src/slack-app/index.ts",
3727
- "line": 84
3726
+ "filename": "src/slack-app/slack-app.ts",
3727
+ "line": 137
3728
3728
  },
3729
3729
  "parameters": [
3730
3730
  {
@@ -3749,8 +3749,8 @@
3749
3749
  },
3750
3750
  "kind": "class",
3751
3751
  "locationInModule": {
3752
- "filename": "src/slack-app/index.ts",
3753
- "line": 43
3752
+ "filename": "src/slack-app/slack-app.ts",
3753
+ "line": 96
3754
3754
  },
3755
3755
  "name": "SlackApp",
3756
3756
  "properties": [
@@ -3761,8 +3761,8 @@
3761
3761
  },
3762
3762
  "immutable": true,
3763
3763
  "locationInModule": {
3764
- "filename": "src/slack-app/index.ts",
3765
- "line": 47
3764
+ "filename": "src/slack-app/slack-app.ts",
3765
+ "line": 100
3766
3766
  },
3767
3767
  "name": "appId",
3768
3768
  "type": {
@@ -3776,8 +3776,8 @@
3776
3776
  },
3777
3777
  "immutable": true,
3778
3778
  "locationInModule": {
3779
- "filename": "src/slack-app/index.ts",
3780
- "line": 67
3779
+ "filename": "src/slack-app/slack-app.ts",
3780
+ "line": 120
3781
3781
  },
3782
3782
  "name": "clientId",
3783
3783
  "type": {
@@ -3791,8 +3791,8 @@
3791
3791
  },
3792
3792
  "immutable": true,
3793
3793
  "locationInModule": {
3794
- "filename": "src/slack-app/index.ts",
3795
- "line": 72
3794
+ "filename": "src/slack-app/slack-app.ts",
3795
+ "line": 125
3796
3796
  },
3797
3797
  "name": "clientSecret",
3798
3798
  "type": {
@@ -3807,8 +3807,8 @@
3807
3807
  },
3808
3808
  "immutable": true,
3809
3809
  "locationInModule": {
3810
- "filename": "src/slack-app/index.ts",
3811
- "line": 62
3810
+ "filename": "src/slack-app/slack-app.ts",
3811
+ "line": 115
3812
3812
  },
3813
3813
  "name": "credentials",
3814
3814
  "type": {
@@ -3822,8 +3822,8 @@
3822
3822
  },
3823
3823
  "immutable": true,
3824
3824
  "locationInModule": {
3825
- "filename": "src/slack-app/index.ts",
3826
- "line": 82
3825
+ "filename": "src/slack-app/slack-app.ts",
3826
+ "line": 135
3827
3827
  },
3828
3828
  "name": "signingSecret",
3829
3829
  "type": {
@@ -3837,8 +3837,8 @@
3837
3837
  },
3838
3838
  "immutable": true,
3839
3839
  "locationInModule": {
3840
- "filename": "src/slack-app/index.ts",
3841
- "line": 77
3840
+ "filename": "src/slack-app/slack-app.ts",
3841
+ "line": 130
3842
3842
  },
3843
3843
  "name": "verificationToken",
3844
3844
  "type": {
@@ -3846,185 +3846,391 @@
3846
3846
  }
3847
3847
  }
3848
3848
  ],
3849
- "symbolId": "src/slack-app/index:SlackApp"
3849
+ "symbolId": "src/slack-app/slack-app:SlackApp"
3850
3850
  },
3851
- "cloudstructs.SlackAppProps": {
3851
+ "cloudstructs.SlackAppManifest": {
3852
+ "assembly": "cloudstructs",
3853
+ "docs": {
3854
+ "see": "https://api.slack.com/reference/manifests",
3855
+ "stability": "stable",
3856
+ "summary": "A Slack app manifest."
3857
+ },
3858
+ "fqn": "cloudstructs.SlackAppManifest",
3859
+ "initializer": {
3860
+ "docs": {
3861
+ "stability": "stable"
3862
+ },
3863
+ "locationInModule": {
3864
+ "filename": "src/slack-app/manifest.ts",
3865
+ "line": 452
3866
+ },
3867
+ "parameters": [
3868
+ {
3869
+ "name": "props",
3870
+ "type": {
3871
+ "fqn": "cloudstructs.SlackAppManifestProps"
3872
+ }
3873
+ }
3874
+ ]
3875
+ },
3876
+ "kind": "class",
3877
+ "locationInModule": {
3878
+ "filename": "src/slack-app/manifest.ts",
3879
+ "line": 451
3880
+ },
3881
+ "methods": [
3882
+ {
3883
+ "docs": {
3884
+ "stability": "stable"
3885
+ },
3886
+ "locationInModule": {
3887
+ "filename": "src/slack-app/manifest.ts",
3888
+ "line": 496
3889
+ },
3890
+ "name": "render",
3891
+ "parameters": [
3892
+ {
3893
+ "name": "construct",
3894
+ "type": {
3895
+ "fqn": "constructs.IConstruct"
3896
+ }
3897
+ }
3898
+ ],
3899
+ "returns": {
3900
+ "type": {
3901
+ "primitive": "string"
3902
+ }
3903
+ }
3904
+ }
3905
+ ],
3906
+ "name": "SlackAppManifest",
3907
+ "symbolId": "src/slack-app/manifest:SlackAppManifest"
3908
+ },
3909
+ "cloudstructs.SlackAppManifestAppHome": {
3852
3910
  "assembly": "cloudstructs",
3853
3911
  "datatype": true,
3854
3912
  "docs": {
3913
+ "see": "https://api.slack.com/surfaces/tabs",
3855
3914
  "stability": "stable",
3856
- "summary": "Properties for a SlackApp."
3915
+ "summary": "App Home configuration."
3857
3916
  },
3858
- "fqn": "cloudstructs.SlackAppProps",
3917
+ "fqn": "cloudstructs.SlackAppManifestAppHome",
3859
3918
  "kind": "interface",
3860
3919
  "locationInModule": {
3861
- "filename": "src/slack-app/index.ts",
3862
- "line": 9
3920
+ "filename": "src/slack-app/manifest.ts",
3921
+ "line": 250
3863
3922
  },
3864
- "name": "SlackAppProps",
3923
+ "name": "SlackAppManifestAppHome",
3865
3924
  "properties": [
3866
3925
  {
3867
3926
  "abstract": true,
3868
3927
  "docs": {
3869
- "remarks": "Must use the following JSON format:\n\n```\n{\n \"refreshToken\": \"<token>\"\n}\n```",
3928
+ "default": "false",
3870
3929
  "stability": "stable",
3871
- "summary": "An AWS Secrets Manager secret containing the app configuration token."
3930
+ "summary": "Wether the Home tab is enabled."
3872
3931
  },
3873
3932
  "immutable": true,
3874
3933
  "locationInModule": {
3875
- "filename": "src/slack-app/index.ts",
3876
- "line": 28
3934
+ "filename": "src/slack-app/manifest.ts",
3935
+ "line": 256
3877
3936
  },
3878
- "name": "configurationTokenSecret",
3937
+ "name": "homeTab",
3938
+ "optional": true,
3879
3939
  "type": {
3880
- "fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
3940
+ "primitive": "boolean"
3881
3941
  }
3882
3942
  },
3883
3943
  {
3884
3944
  "abstract": true,
3885
3945
  "docs": {
3886
- "see": "https://api.slack.com/reference/manifests",
3946
+ "default": "false",
3887
3947
  "stability": "stable",
3888
- "summary": "The JSON app manifest encoded as a string."
3948
+ "summary": "Wether the Messages is enabled."
3889
3949
  },
3890
3950
  "immutable": true,
3891
3951
  "locationInModule": {
3892
- "filename": "src/slack-app/index.ts",
3893
- "line": 15
3952
+ "filename": "src/slack-app/manifest.ts",
3953
+ "line": 263
3894
3954
  },
3895
- "name": "manifest",
3955
+ "name": "messagesTab",
3956
+ "optional": true,
3896
3957
  "type": {
3897
- "primitive": "string"
3958
+ "primitive": "boolean"
3898
3959
  }
3899
3960
  },
3900
3961
  {
3901
3962
  "abstract": true,
3902
3963
  "docs": {
3903
- "default": "- a new secret is created",
3964
+ "default": "false",
3904
3965
  "stability": "stable",
3905
- "summary": "The AWS Secrets Manager secret where to store the app credentials."
3966
+ "summary": "Whether the users can send messages to your app in the Messages tab of your App Home."
3906
3967
  },
3907
3968
  "immutable": true,
3908
3969
  "locationInModule": {
3909
- "filename": "src/slack-app/index.ts",
3910
- "line": 35
3970
+ "filename": "src/slack-app/manifest.ts",
3971
+ "line": 271
3911
3972
  },
3912
- "name": "credentialsSecret",
3973
+ "name": "messagesTabReadOnly",
3913
3974
  "optional": true,
3914
3975
  "type": {
3915
- "fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
3976
+ "primitive": "boolean"
3916
3977
  }
3917
3978
  }
3918
3979
  ],
3919
- "symbolId": "src/slack-app/index:SlackAppProps"
3980
+ "symbolId": "src/slack-app/manifest:SlackAppManifestAppHome"
3920
3981
  },
3921
- "cloudstructs.SlackEvents": {
3982
+ "cloudstructs.SlackAppManifestDefinition": {
3983
+ "abstract": true,
3922
3984
  "assembly": "cloudstructs",
3923
- "base": "constructs.Construct",
3924
3985
  "docs": {
3925
3986
  "stability": "stable",
3926
- "summary": "Send Slack events to Amazon EventBridge."
3987
+ "summary": "A Slack app manifest definition."
3927
3988
  },
3928
- "fqn": "cloudstructs.SlackEvents",
3989
+ "fqn": "cloudstructs.SlackAppManifestDefinition",
3929
3990
  "initializer": {
3930
3991
  "docs": {
3931
3992
  "stability": "stable"
3993
+ }
3994
+ },
3995
+ "kind": "class",
3996
+ "locationInModule": {
3997
+ "filename": "src/slack-app/slack-app.ts",
3998
+ "line": 43
3999
+ },
4000
+ "methods": [
4001
+ {
4002
+ "docs": {
4003
+ "stability": "stable",
4004
+ "summary": "Creates a Slack app manifest from a file containg a JSON app manifest."
4005
+ },
4006
+ "locationInModule": {
4007
+ "filename": "src/slack-app/slack-app.ts",
4008
+ "line": 54
4009
+ },
4010
+ "name": "fromFile",
4011
+ "parameters": [
4012
+ {
4013
+ "name": "file",
4014
+ "type": {
4015
+ "primitive": "string"
4016
+ }
4017
+ }
4018
+ ],
4019
+ "returns": {
4020
+ "type": {
4021
+ "fqn": "cloudstructs.SlackAppManifestDefinition"
4022
+ }
4023
+ },
4024
+ "static": true
3932
4025
  },
3933
- "locationInModule": {
3934
- "filename": "src/slack-events/index.ts",
3935
- "line": 43
3936
- },
3937
- "parameters": [
3938
- {
3939
- "name": "scope",
4026
+ {
4027
+ "docs": {
4028
+ "stability": "stable",
4029
+ "summary": "Creates a Slack app manifest by specifying properties."
4030
+ },
4031
+ "locationInModule": {
4032
+ "filename": "src/slack-app/slack-app.ts",
4033
+ "line": 61
4034
+ },
4035
+ "name": "fromManifest",
4036
+ "parameters": [
4037
+ {
4038
+ "name": "props",
4039
+ "type": {
4040
+ "fqn": "cloudstructs.SlackAppManifestProps"
4041
+ }
4042
+ }
4043
+ ],
4044
+ "returns": {
3940
4045
  "type": {
3941
- "fqn": "constructs.Construct"
4046
+ "fqn": "cloudstructs.SlackAppManifestDefinition"
3942
4047
  }
3943
4048
  },
3944
- {
3945
- "name": "id",
4049
+ "static": true
4050
+ },
4051
+ {
4052
+ "docs": {
4053
+ "stability": "stable",
4054
+ "summary": "Create a Slack app manifest from a JSON app manifest encoded as a string."
4055
+ },
4056
+ "locationInModule": {
4057
+ "filename": "src/slack-app/slack-app.ts",
4058
+ "line": 47
4059
+ },
4060
+ "name": "fromString",
4061
+ "parameters": [
4062
+ {
4063
+ "name": "manifest",
4064
+ "type": {
4065
+ "primitive": "string"
4066
+ }
4067
+ }
4068
+ ],
4069
+ "returns": {
3946
4070
  "type": {
3947
- "primitive": "string"
4071
+ "fqn": "cloudstructs.SlackAppManifestDefinition"
3948
4072
  }
3949
4073
  },
3950
- {
3951
- "name": "props",
4074
+ "static": true
4075
+ },
4076
+ {
4077
+ "abstract": true,
4078
+ "docs": {
4079
+ "stability": "stable",
4080
+ "summary": "Renders the JSON app manifest encoded as a string."
4081
+ },
4082
+ "locationInModule": {
4083
+ "filename": "src/slack-app/slack-app.ts",
4084
+ "line": 68
4085
+ },
4086
+ "name": "render",
4087
+ "parameters": [
4088
+ {
4089
+ "name": "construct",
4090
+ "type": {
4091
+ "fqn": "constructs.IConstruct"
4092
+ }
4093
+ }
4094
+ ],
4095
+ "returns": {
3952
4096
  "type": {
3953
- "fqn": "cloudstructs.SlackEventsProps"
4097
+ "primitive": "string"
3954
4098
  }
3955
4099
  }
3956
- ]
4100
+ }
4101
+ ],
4102
+ "name": "SlackAppManifestDefinition",
4103
+ "symbolId": "src/slack-app/slack-app:SlackAppManifestDefinition"
4104
+ },
4105
+ "cloudstructs.SlackAppManifestEventSubscriptions": {
4106
+ "assembly": "cloudstructs",
4107
+ "datatype": true,
4108
+ "docs": {
4109
+ "see": "https://api.slack.com/events-api",
4110
+ "stability": "stable",
4111
+ "summary": "Events API configuration for the app."
3957
4112
  },
3958
- "kind": "class",
4113
+ "fqn": "cloudstructs.SlackAppManifestEventSubscriptions",
4114
+ "kind": "interface",
3959
4115
  "locationInModule": {
3960
- "filename": "src/slack-events/index.ts",
3961
- "line": 37
4116
+ "filename": "src/slack-app/manifest.ts",
4117
+ "line": 196
3962
4118
  },
3963
- "name": "SlackEvents",
4119
+ "name": "SlackAppManifestEventSubscriptions",
3964
4120
  "properties": [
3965
4121
  {
4122
+ "abstract": true,
3966
4123
  "docs": {
4124
+ "see": "https://api.slack.com/events-api#the-events-api__subscribing-to-event-types__events-api-request-urls",
3967
4125
  "stability": "stable",
3968
- "summary": "The custom event bus where Slack events are sent."
4126
+ "summary": "The full https URL that acts as the Events API request URL."
3969
4127
  },
3970
4128
  "immutable": true,
3971
4129
  "locationInModule": {
3972
- "filename": "src/slack-events/index.ts",
3973
- "line": 41
4130
+ "filename": "src/slack-app/manifest.ts",
4131
+ "line": 202
3974
4132
  },
3975
- "name": "eventBus",
4133
+ "name": "requestUrl",
4134
+ "type": {
4135
+ "primitive": "string"
4136
+ }
4137
+ },
4138
+ {
4139
+ "abstract": true,
4140
+ "docs": {
4141
+ "remarks": "A maximum of 100 event types can be used",
4142
+ "see": "https://api.slack.com/events",
4143
+ "stability": "stable",
4144
+ "summary": "Event types you want the app to subscribe to."
4145
+ },
4146
+ "immutable": true,
4147
+ "locationInModule": {
4148
+ "filename": "src/slack-app/manifest.ts",
4149
+ "line": 211
4150
+ },
4151
+ "name": "botEvents",
3976
4152
  "optional": true,
3977
4153
  "type": {
3978
- "fqn": "aws-cdk-lib.aws_events.EventBus"
4154
+ "collection": {
4155
+ "elementtype": {
4156
+ "primitive": "string"
4157
+ },
4158
+ "kind": "array"
4159
+ }
4160
+ }
4161
+ },
4162
+ {
4163
+ "abstract": true,
4164
+ "docs": {
4165
+ "remarks": "A maximum of 100 event types can be used.",
4166
+ "stability": "stable",
4167
+ "summary": "Event types you want the app to subscribe to on behalf of authorized users."
4168
+ },
4169
+ "immutable": true,
4170
+ "locationInModule": {
4171
+ "filename": "src/slack-app/manifest.ts",
4172
+ "line": 218
4173
+ },
4174
+ "name": "userEvents",
4175
+ "optional": true,
4176
+ "type": {
4177
+ "collection": {
4178
+ "elementtype": {
4179
+ "primitive": "string"
4180
+ },
4181
+ "kind": "array"
4182
+ }
3979
4183
  }
3980
4184
  }
3981
4185
  ],
3982
- "symbolId": "src/slack-events/index:SlackEvents"
4186
+ "symbolId": "src/slack-app/manifest:SlackAppManifestEventSubscriptions"
3983
4187
  },
3984
- "cloudstructs.SlackEventsProps": {
4188
+ "cloudstructs.SlackAppManifestInteractivity": {
3985
4189
  "assembly": "cloudstructs",
3986
4190
  "datatype": true,
3987
4191
  "docs": {
4192
+ "see": "https://api.slack.com/interactivity/handling#setup",
3988
4193
  "stability": "stable",
3989
- "summary": "Properties for a SlackEvents."
4194
+ "summary": "Interactivity configuration for the app."
3990
4195
  },
3991
- "fqn": "cloudstructs.SlackEventsProps",
4196
+ "fqn": "cloudstructs.SlackAppManifestInteractivity",
3992
4197
  "kind": "interface",
3993
4198
  "locationInModule": {
3994
- "filename": "src/slack-events/index.ts",
3995
- "line": 13
4199
+ "filename": "src/slack-app/manifest.ts",
4200
+ "line": 226
3996
4201
  },
3997
- "name": "SlackEventsProps",
4202
+ "name": "SlackAppManifestInteractivity",
3998
4203
  "properties": [
3999
4204
  {
4000
4205
  "abstract": true,
4001
4206
  "docs": {
4207
+ "default": "true",
4002
4208
  "stability": "stable",
4003
- "summary": "The signing secret of the Slack app."
4209
+ "summary": "Whether or not interactivity features are enabled."
4004
4210
  },
4005
4211
  "immutable": true,
4006
4212
  "locationInModule": {
4007
- "filename": "src/slack-events/index.ts",
4008
- "line": 17
4213
+ "filename": "src/slack-app/manifest.ts",
4214
+ "line": 232
4009
4215
  },
4010
- "name": "signingSecret",
4216
+ "name": "enabled",
4217
+ "optional": true,
4011
4218
  "type": {
4012
- "fqn": "aws-cdk-lib.SecretValue"
4219
+ "primitive": "boolean"
4013
4220
  }
4014
4221
  },
4015
4222
  {
4016
4223
  "abstract": true,
4017
4224
  "docs": {
4018
- "default": "SlackEventsApi",
4019
4225
  "stability": "stable",
4020
- "summary": "A name for the API Gateway resource."
4226
+ "summary": "The full https URL that acts as th interactive Options Load URL."
4021
4227
  },
4022
4228
  "immutable": true,
4023
4229
  "locationInModule": {
4024
- "filename": "src/slack-events/index.ts",
4025
- "line": 24
4230
+ "filename": "src/slack-app/manifest.ts",
4231
+ "line": 242
4026
4232
  },
4027
- "name": "apiName",
4233
+ "name": "messageMenuOptionsUrl",
4028
4234
  "optional": true,
4029
4235
  "type": {
4030
4236
  "primitive": "string"
@@ -4033,30 +4239,1088 @@
4033
4239
  {
4034
4240
  "abstract": true,
4035
4241
  "docs": {
4036
- "default": "false",
4037
4242
  "stability": "stable",
4038
- "summary": "Whether to use a custom event bus."
4243
+ "summary": "The full https URL that acts as the interactive Request URL."
4039
4244
  },
4040
4245
  "immutable": true,
4041
4246
  "locationInModule": {
4042
- "filename": "src/slack-events/index.ts",
4043
- "line": 31
4247
+ "filename": "src/slack-app/manifest.ts",
4248
+ "line": 237
4044
4249
  },
4045
- "name": "customEventBus",
4250
+ "name": "requestUrl",
4046
4251
  "optional": true,
4047
4252
  "type": {
4048
- "primitive": "boolean"
4253
+ "primitive": "string"
4049
4254
  }
4050
4255
  }
4051
4256
  ],
4052
- "symbolId": "src/slack-events/index:SlackEventsProps"
4257
+ "symbolId": "src/slack-app/manifest:SlackAppManifestInteractivity"
4053
4258
  },
4054
- "cloudstructs.SlackTextract": {
4259
+ "cloudstructs.SlackAppManifestOauthConfig": {
4055
4260
  "assembly": "cloudstructs",
4056
- "base": "constructs.Construct",
4261
+ "datatype": true,
4057
4262
  "docs": {
4058
4263
  "stability": "stable",
4059
- "summary": "Extract text from images posted to Slack using Amazon Textract."
4264
+ "summary": "OAuth configuration for the app."
4265
+ },
4266
+ "fqn": "cloudstructs.SlackAppManifestOauthConfig",
4267
+ "kind": "interface",
4268
+ "locationInModule": {
4269
+ "filename": "src/slack-app/manifest.ts",
4270
+ "line": 416
4271
+ },
4272
+ "name": "SlackAppManifestOauthConfig",
4273
+ "properties": [
4274
+ {
4275
+ "abstract": true,
4276
+ "docs": {
4277
+ "remarks": "A maximum of 255 scopes can be included.",
4278
+ "see": "https://api.slack.com/scopes",
4279
+ "stability": "stable",
4280
+ "summary": "Bot scopes to request upon app installation."
4281
+ },
4282
+ "immutable": true,
4283
+ "locationInModule": {
4284
+ "filename": "src/slack-app/manifest.ts",
4285
+ "line": 433
4286
+ },
4287
+ "name": "botScopes",
4288
+ "optional": true,
4289
+ "type": {
4290
+ "collection": {
4291
+ "elementtype": {
4292
+ "primitive": "string"
4293
+ },
4294
+ "kind": "array"
4295
+ }
4296
+ }
4297
+ },
4298
+ {
4299
+ "abstract": true,
4300
+ "docs": {
4301
+ "remarks": "A maximum of 1000 redirect URLs can be included.",
4302
+ "see": "https://api.slack.com/authentication/oauth-v2#redirect_urls",
4303
+ "stability": "stable",
4304
+ "summary": "OAuth redirect URLs."
4305
+ },
4306
+ "immutable": true,
4307
+ "locationInModule": {
4308
+ "filename": "src/slack-app/manifest.ts",
4309
+ "line": 424
4310
+ },
4311
+ "name": "redirectUrls",
4312
+ "optional": true,
4313
+ "type": {
4314
+ "collection": {
4315
+ "elementtype": {
4316
+ "primitive": "string"
4317
+ },
4318
+ "kind": "array"
4319
+ }
4320
+ }
4321
+ },
4322
+ {
4323
+ "abstract": true,
4324
+ "docs": {
4325
+ "remarks": "A maximum of 255 scopes can be included.",
4326
+ "see": "https://api.slack.com/scopes",
4327
+ "stability": "stable",
4328
+ "summary": "User scopes to request upon app installation."
4329
+ },
4330
+ "immutable": true,
4331
+ "locationInModule": {
4332
+ "filename": "src/slack-app/manifest.ts",
4333
+ "line": 442
4334
+ },
4335
+ "name": "userScopes",
4336
+ "optional": true,
4337
+ "type": {
4338
+ "collection": {
4339
+ "elementtype": {
4340
+ "primitive": "string"
4341
+ },
4342
+ "kind": "array"
4343
+ }
4344
+ }
4345
+ }
4346
+ ],
4347
+ "symbolId": "src/slack-app/manifest:SlackAppManifestOauthConfig"
4348
+ },
4349
+ "cloudstructs.SlackAppManifestProps": {
4350
+ "assembly": "cloudstructs",
4351
+ "datatype": true,
4352
+ "docs": {
4353
+ "see": "https://api.slack.com/reference/manifests",
4354
+ "stability": "stable",
4355
+ "summary": "Properties for a Slack app manifest."
4356
+ },
4357
+ "fqn": "cloudstructs.SlackAppManifestProps",
4358
+ "kind": "interface",
4359
+ "locationInModule": {
4360
+ "filename": "src/slack-app/manifest.ts",
4361
+ "line": 10
4362
+ },
4363
+ "name": "SlackAppManifestProps",
4364
+ "properties": [
4365
+ {
4366
+ "abstract": true,
4367
+ "docs": {
4368
+ "remarks": "Maximum length is 35 characters.",
4369
+ "stability": "stable",
4370
+ "summary": "The name of the app."
4371
+ },
4372
+ "immutable": true,
4373
+ "locationInModule": {
4374
+ "filename": "src/slack-app/manifest.ts",
4375
+ "line": 16
4376
+ },
4377
+ "name": "name",
4378
+ "type": {
4379
+ "primitive": "string"
4380
+ }
4381
+ },
4382
+ {
4383
+ "abstract": true,
4384
+ "docs": {
4385
+ "see": "https://api.slack.com/authentication/best-practices#ip_allowlisting",
4386
+ "stability": "stable",
4387
+ "summary": "An array of IP addresses that conform to the Allowed IP Ranges feature."
4388
+ },
4389
+ "immutable": true,
4390
+ "locationInModule": {
4391
+ "filename": "src/slack-app/manifest.ts",
4392
+ "line": 61
4393
+ },
4394
+ "name": "allowedIpAddressRanges",
4395
+ "optional": true,
4396
+ "type": {
4397
+ "collection": {
4398
+ "elementtype": {
4399
+ "primitive": "string"
4400
+ },
4401
+ "kind": "array"
4402
+ }
4403
+ }
4404
+ },
4405
+ {
4406
+ "abstract": true,
4407
+ "docs": {
4408
+ "see": "https://api.slack.com/surfaces/tabs",
4409
+ "stability": "stable",
4410
+ "summary": "App Home configuration."
4411
+ },
4412
+ "immutable": true,
4413
+ "locationInModule": {
4414
+ "filename": "src/slack-app/manifest.ts",
4415
+ "line": 98
4416
+ },
4417
+ "name": "appHome",
4418
+ "optional": true,
4419
+ "type": {
4420
+ "fqn": "cloudstructs.SlackAppManifestAppHome"
4421
+ }
4422
+ },
4423
+ {
4424
+ "abstract": true,
4425
+ "docs": {
4426
+ "remarks": "Can be 3-digit (#000) or 6-digit (#000000) hex values with or without #",
4427
+ "stability": "stable",
4428
+ "summary": "A hex color value that specifies the background color used on hovercards that display information about your app."
4429
+ },
4430
+ "immutable": true,
4431
+ "locationInModule": {
4432
+ "filename": "src/slack-app/manifest.ts",
4433
+ "line": 40
4434
+ },
4435
+ "name": "backgroundColor",
4436
+ "optional": true,
4437
+ "type": {
4438
+ "primitive": "string"
4439
+ }
4440
+ },
4441
+ {
4442
+ "abstract": true,
4443
+ "docs": {
4444
+ "see": "https://api.slack.com/bot-users",
4445
+ "stability": "stable",
4446
+ "summary": "Bot user configuration."
4447
+ },
4448
+ "immutable": true,
4449
+ "locationInModule": {
4450
+ "filename": "src/slack-app/manifest.ts",
4451
+ "line": 105
4452
+ },
4453
+ "name": "botUser",
4454
+ "optional": true,
4455
+ "type": {
4456
+ "fqn": "cloudstructs.SlackkAppManifestBotUser"
4457
+ }
4458
+ },
4459
+ {
4460
+ "abstract": true,
4461
+ "docs": {
4462
+ "default": "- no short description",
4463
+ "remarks": "Maximum length is 140 characters.",
4464
+ "stability": "stable",
4465
+ "summary": "A short description of the app for display to users."
4466
+ },
4467
+ "immutable": true,
4468
+ "locationInModule": {
4469
+ "filename": "src/slack-app/manifest.ts",
4470
+ "line": 25
4471
+ },
4472
+ "name": "description",
4473
+ "optional": true,
4474
+ "type": {
4475
+ "primitive": "string"
4476
+ }
4477
+ },
4478
+ {
4479
+ "abstract": true,
4480
+ "docs": {
4481
+ "see": "https://api.slack.com/events-api",
4482
+ "stability": "stable",
4483
+ "summary": "Events API configuration for the app."
4484
+ },
4485
+ "immutable": true,
4486
+ "locationInModule": {
4487
+ "filename": "src/slack-app/manifest.ts",
4488
+ "line": 68
4489
+ },
4490
+ "name": "eventSubscriptions",
4491
+ "optional": true,
4492
+ "type": {
4493
+ "fqn": "cloudstructs.SlackAppManifestEventSubscriptions"
4494
+ }
4495
+ },
4496
+ {
4497
+ "abstract": true,
4498
+ "docs": {
4499
+ "stability": "stable",
4500
+ "summary": "Interactivity configuration for the app."
4501
+ },
4502
+ "immutable": true,
4503
+ "locationInModule": {
4504
+ "filename": "src/slack-app/manifest.ts",
4505
+ "line": 73
4506
+ },
4507
+ "name": "interactivity",
4508
+ "optional": true,
4509
+ "type": {
4510
+ "fqn": "cloudstructs.SlackAppManifestInteractivity"
4511
+ }
4512
+ },
4513
+ {
4514
+ "abstract": true,
4515
+ "docs": {
4516
+ "remarks": "Maximum length is 4000 characters.",
4517
+ "stability": "stable",
4518
+ "summary": "A longer version of the description of the app."
4519
+ },
4520
+ "immutable": true,
4521
+ "locationInModule": {
4522
+ "filename": "src/slack-app/manifest.ts",
4523
+ "line": 32
4524
+ },
4525
+ "name": "longDescription",
4526
+ "optional": true,
4527
+ "type": {
4528
+ "primitive": "string"
4529
+ }
4530
+ },
4531
+ {
4532
+ "abstract": true,
4533
+ "docs": {
4534
+ "default": "- do not target a specific major version",
4535
+ "stability": "stable",
4536
+ "summary": "The major version of the manifest schema to target."
4537
+ },
4538
+ "immutable": true,
4539
+ "locationInModule": {
4540
+ "filename": "src/slack-app/manifest.ts",
4541
+ "line": 47
4542
+ },
4543
+ "name": "majorVersion",
4544
+ "optional": true,
4545
+ "type": {
4546
+ "primitive": "number"
4547
+ }
4548
+ },
4549
+ {
4550
+ "abstract": true,
4551
+ "docs": {
4552
+ "default": "- do not target a specific minor version",
4553
+ "stability": "stable",
4554
+ "summary": "The minor version of the manifest schema to target."
4555
+ },
4556
+ "immutable": true,
4557
+ "locationInModule": {
4558
+ "filename": "src/slack-app/manifest.ts",
4559
+ "line": 54
4560
+ },
4561
+ "name": "minorVersion",
4562
+ "optional": true,
4563
+ "type": {
4564
+ "primitive": "number"
4565
+ }
4566
+ },
4567
+ {
4568
+ "abstract": true,
4569
+ "docs": {
4570
+ "stability": "stable",
4571
+ "summary": "OAuth configuration for the app."
4572
+ },
4573
+ "immutable": true,
4574
+ "locationInModule": {
4575
+ "filename": "src/slack-app/manifest.ts",
4576
+ "line": 146
4577
+ },
4578
+ "name": "oauthConfig",
4579
+ "optional": true,
4580
+ "type": {
4581
+ "fqn": "cloudstructs.SlackAppManifestOauthConfig"
4582
+ }
4583
+ },
4584
+ {
4585
+ "abstract": true,
4586
+ "docs": {
4587
+ "default": "false",
4588
+ "see": "https://api.slack.com/enterprise/apps",
4589
+ "stability": "stable",
4590
+ "summary": "Whether org-wide deploy is enabled."
4591
+ },
4592
+ "immutable": true,
4593
+ "locationInModule": {
4594
+ "filename": "src/slack-app/manifest.ts",
4595
+ "line": 82
4596
+ },
4597
+ "name": "orgDeploy",
4598
+ "optional": true,
4599
+ "type": {
4600
+ "primitive": "boolean"
4601
+ }
4602
+ },
4603
+ {
4604
+ "abstract": true,
4605
+ "docs": {
4606
+ "remarks": "A maximum of 5 shortcuts can be included.",
4607
+ "see": "https://api.slack.com/interactivity/shortcuts",
4608
+ "stability": "stable",
4609
+ "summary": "Shortcuts configuration."
4610
+ },
4611
+ "immutable": true,
4612
+ "locationInModule": {
4613
+ "filename": "src/slack-app/manifest.ts",
4614
+ "line": 114
4615
+ },
4616
+ "name": "shortcuts",
4617
+ "optional": true,
4618
+ "type": {
4619
+ "collection": {
4620
+ "elementtype": {
4621
+ "fqn": "cloudstructs.SlackAppManifestShortcut"
4622
+ },
4623
+ "kind": "array"
4624
+ }
4625
+ }
4626
+ },
4627
+ {
4628
+ "abstract": true,
4629
+ "docs": {
4630
+ "remarks": "A maximum of 5 slash commands can be included.",
4631
+ "see": "https://api.slack.com/interactivity/slash-commands",
4632
+ "stability": "stable",
4633
+ "summary": "Slash commands configuration."
4634
+ },
4635
+ "immutable": true,
4636
+ "locationInModule": {
4637
+ "filename": "src/slack-app/manifest.ts",
4638
+ "line": 123
4639
+ },
4640
+ "name": "slashCommands",
4641
+ "optional": true,
4642
+ "type": {
4643
+ "collection": {
4644
+ "elementtype": {
4645
+ "fqn": "cloudstructs.SlackAppManifestSlashCommand"
4646
+ },
4647
+ "kind": "array"
4648
+ }
4649
+ }
4650
+ },
4651
+ {
4652
+ "abstract": true,
4653
+ "docs": {
4654
+ "default": "false",
4655
+ "see": "https://api.slack.com/apis/connections/socket",
4656
+ "stability": "stable",
4657
+ "summary": "Whether Socket Mode is enabled."
4658
+ },
4659
+ "immutable": true,
4660
+ "locationInModule": {
4661
+ "filename": "src/slack-app/manifest.ts",
4662
+ "line": 91
4663
+ },
4664
+ "name": "socketMode",
4665
+ "optional": true,
4666
+ "type": {
4667
+ "primitive": "boolean"
4668
+ }
4669
+ },
4670
+ {
4671
+ "abstract": true,
4672
+ "docs": {
4673
+ "remarks": "A maximum of 5 unfurl domains can be included.",
4674
+ "see": "https://api.slack.com/reference/messaging/link-unfurling#configuring_domains",
4675
+ "stability": "stable",
4676
+ "summary": "Valid unfurl domains to register."
4677
+ },
4678
+ "immutable": true,
4679
+ "locationInModule": {
4680
+ "filename": "src/slack-app/manifest.ts",
4681
+ "line": 141
4682
+ },
4683
+ "name": "unfurlDomains",
4684
+ "optional": true,
4685
+ "type": {
4686
+ "collection": {
4687
+ "elementtype": {
4688
+ "primitive": "string"
4689
+ },
4690
+ "kind": "array"
4691
+ }
4692
+ }
4693
+ },
4694
+ {
4695
+ "abstract": true,
4696
+ "docs": {
4697
+ "remarks": "A maximum of 10 workflow steps can be included.",
4698
+ "see": "https://api.slack.com/workflows/steps",
4699
+ "stability": "stable",
4700
+ "summary": "Workflow steps."
4701
+ },
4702
+ "immutable": true,
4703
+ "locationInModule": {
4704
+ "filename": "src/slack-app/manifest.ts",
4705
+ "line": 132
4706
+ },
4707
+ "name": "workflowSteps",
4708
+ "optional": true,
4709
+ "type": {
4710
+ "collection": {
4711
+ "elementtype": {
4712
+ "fqn": "cloudstructs.SlackAppManifestWorkflowStep"
4713
+ },
4714
+ "kind": "array"
4715
+ }
4716
+ }
4717
+ }
4718
+ ],
4719
+ "symbolId": "src/slack-app/manifest:SlackAppManifestProps"
4720
+ },
4721
+ "cloudstructs.SlackAppManifestSettings": {
4722
+ "assembly": "cloudstructs",
4723
+ "datatype": true,
4724
+ "docs": {
4725
+ "stability": "stable",
4726
+ "summary": "Settings section of the app config pages."
4727
+ },
4728
+ "fqn": "cloudstructs.SlackAppManifestSettings",
4729
+ "kind": "interface",
4730
+ "locationInModule": {
4731
+ "filename": "src/slack-app/manifest.ts",
4732
+ "line": 152
4733
+ },
4734
+ "name": "SlackAppManifestSettings",
4735
+ "properties": [
4736
+ {
4737
+ "abstract": true,
4738
+ "docs": {
4739
+ "see": "https://api.slack.com/authentication/best-practices#ip_allowlisting",
4740
+ "stability": "stable",
4741
+ "summary": "An array of IP addresses that conform to the Allowed IP Ranges feature."
4742
+ },
4743
+ "immutable": true,
4744
+ "locationInModule": {
4745
+ "filename": "src/slack-app/manifest.ts",
4746
+ "line": 158
4747
+ },
4748
+ "name": "allowedIpAddressRanges",
4749
+ "optional": true,
4750
+ "type": {
4751
+ "collection": {
4752
+ "elementtype": {
4753
+ "primitive": "string"
4754
+ },
4755
+ "kind": "array"
4756
+ }
4757
+ }
4758
+ },
4759
+ {
4760
+ "abstract": true,
4761
+ "docs": {
4762
+ "see": "https://api.slack.com/events-api",
4763
+ "stability": "stable",
4764
+ "summary": "Events API configuration for the app."
4765
+ },
4766
+ "immutable": true,
4767
+ "locationInModule": {
4768
+ "filename": "src/slack-app/manifest.ts",
4769
+ "line": 165
4770
+ },
4771
+ "name": "eventSubscriptions",
4772
+ "optional": true,
4773
+ "type": {
4774
+ "fqn": "cloudstructs.SlackAppManifestEventSubscriptions"
4775
+ }
4776
+ },
4777
+ {
4778
+ "abstract": true,
4779
+ "docs": {
4780
+ "stability": "stable",
4781
+ "summary": "Interactivity configuration for the app."
4782
+ },
4783
+ "immutable": true,
4784
+ "locationInModule": {
4785
+ "filename": "src/slack-app/manifest.ts",
4786
+ "line": 170
4787
+ },
4788
+ "name": "interactivity",
4789
+ "optional": true,
4790
+ "type": {
4791
+ "fqn": "cloudstructs.SlackAppManifestInteractivity"
4792
+ }
4793
+ },
4794
+ {
4795
+ "abstract": true,
4796
+ "docs": {
4797
+ "default": "false",
4798
+ "see": "https://api.slack.com/enterprise/apps",
4799
+ "stability": "stable",
4800
+ "summary": "Whether org-wide deploy is enabled."
4801
+ },
4802
+ "immutable": true,
4803
+ "locationInModule": {
4804
+ "filename": "src/slack-app/manifest.ts",
4805
+ "line": 179
4806
+ },
4807
+ "name": "orgDeploy",
4808
+ "optional": true,
4809
+ "type": {
4810
+ "primitive": "boolean"
4811
+ }
4812
+ },
4813
+ {
4814
+ "abstract": true,
4815
+ "docs": {
4816
+ "default": "false",
4817
+ "see": "https://api.slack.com/apis/connections/socket",
4818
+ "stability": "stable",
4819
+ "summary": "Whether Socket Mode is enabled."
4820
+ },
4821
+ "immutable": true,
4822
+ "locationInModule": {
4823
+ "filename": "src/slack-app/manifest.ts",
4824
+ "line": 188
4825
+ },
4826
+ "name": "socketMode",
4827
+ "optional": true,
4828
+ "type": {
4829
+ "primitive": "boolean"
4830
+ }
4831
+ }
4832
+ ],
4833
+ "symbolId": "src/slack-app/manifest:SlackAppManifestSettings"
4834
+ },
4835
+ "cloudstructs.SlackAppManifestShortcut": {
4836
+ "assembly": "cloudstructs",
4837
+ "datatype": true,
4838
+ "docs": {
4839
+ "see": "https://api.slack.com/interactivity/shortcuts",
4840
+ "stability": "stable",
4841
+ "summary": "Shortcut configuration."
4842
+ },
4843
+ "fqn": "cloudstructs.SlackAppManifestShortcut",
4844
+ "kind": "interface",
4845
+ "locationInModule": {
4846
+ "filename": "src/slack-app/manifest.ts",
4847
+ "line": 300
4848
+ },
4849
+ "name": "SlackAppManifestShortcut",
4850
+ "properties": [
4851
+ {
4852
+ "abstract": true,
4853
+ "docs": {
4854
+ "remarks": "Maximum length is 255 characters.",
4855
+ "stability": "stable",
4856
+ "summary": "The callback ID of the shortcut."
4857
+ },
4858
+ "immutable": true,
4859
+ "locationInModule": {
4860
+ "filename": "src/slack-app/manifest.ts",
4861
+ "line": 318
4862
+ },
4863
+ "name": "callbackId",
4864
+ "type": {
4865
+ "primitive": "string"
4866
+ }
4867
+ },
4868
+ {
4869
+ "abstract": true,
4870
+ "docs": {
4871
+ "remarks": "Maximum length is 150 characters",
4872
+ "stability": "stable",
4873
+ "summary": "A short description of the shortcut."
4874
+ },
4875
+ "immutable": true,
4876
+ "locationInModule": {
4877
+ "filename": "src/slack-app/manifest.ts",
4878
+ "line": 325
4879
+ },
4880
+ "name": "description",
4881
+ "type": {
4882
+ "primitive": "string"
4883
+ }
4884
+ },
4885
+ {
4886
+ "abstract": true,
4887
+ "docs": {
4888
+ "stability": "stable",
4889
+ "summary": "The name of the shortcut."
4890
+ },
4891
+ "immutable": true,
4892
+ "locationInModule": {
4893
+ "filename": "src/slack-app/manifest.ts",
4894
+ "line": 304
4895
+ },
4896
+ "name": "name",
4897
+ "type": {
4898
+ "primitive": "string"
4899
+ }
4900
+ },
4901
+ {
4902
+ "abstract": true,
4903
+ "docs": {
4904
+ "see": "https://api.slack.com/interactivity/shortcuts",
4905
+ "stability": "stable",
4906
+ "summary": "The type of shortcut."
4907
+ },
4908
+ "immutable": true,
4909
+ "locationInModule": {
4910
+ "filename": "src/slack-app/manifest.ts",
4911
+ "line": 311
4912
+ },
4913
+ "name": "type",
4914
+ "type": {
4915
+ "fqn": "cloudstructs.SlackAppManifestShortcutType"
4916
+ }
4917
+ }
4918
+ ],
4919
+ "symbolId": "src/slack-app/manifest:SlackAppManifestShortcut"
4920
+ },
4921
+ "cloudstructs.SlackAppManifestShortcutType": {
4922
+ "assembly": "cloudstructs",
4923
+ "docs": {
4924
+ "see": "https://api.slack.com/interactivity/shortcuts",
4925
+ "stability": "stable",
4926
+ "summary": "Type of shortcuts."
4927
+ },
4928
+ "fqn": "cloudstructs.SlackAppManifestShortcutType",
4929
+ "kind": "enum",
4930
+ "locationInModule": {
4931
+ "filename": "src/slack-app/manifest.ts",
4932
+ "line": 333
4933
+ },
4934
+ "members": [
4935
+ {
4936
+ "docs": {
4937
+ "see": "https://api.slack.com/interactivity/shortcuts/using#message_shortcuts",
4938
+ "stability": "stable",
4939
+ "summary": "Message shortcuts are shown to users in the context menus of messages within Slack."
4940
+ },
4941
+ "name": "MESSAGE"
4942
+ },
4943
+ {
4944
+ "docs": {
4945
+ "see": "https://api.slack.com/interactivity/shortcuts/using#global_shortcuts",
4946
+ "stability": "stable",
4947
+ "summary": "Global shortcuts are available to users via the shortcuts button in the composer, and when using search in Slack."
4948
+ },
4949
+ "name": "GLOBAL"
4950
+ }
4951
+ ],
4952
+ "name": "SlackAppManifestShortcutType",
4953
+ "symbolId": "src/slack-app/manifest:SlackAppManifestShortcutType"
4954
+ },
4955
+ "cloudstructs.SlackAppManifestSlashCommand": {
4956
+ "assembly": "cloudstructs",
4957
+ "datatype": true,
4958
+ "docs": {
4959
+ "see": "https://api.slack.com/interactivity/slash-commands",
4960
+ "stability": "stable",
4961
+ "summary": "Slash command configuration."
4962
+ },
4963
+ "fqn": "cloudstructs.SlackAppManifestSlashCommand",
4964
+ "kind": "interface",
4965
+ "locationInModule": {
4966
+ "filename": "src/slack-app/manifest.ts",
4967
+ "line": 355
4968
+ },
4969
+ "name": "SlackAppManifestSlashCommand",
4970
+ "properties": [
4971
+ {
4972
+ "abstract": true,
4973
+ "docs": {
4974
+ "remarks": "Maximum length is 32 characters",
4975
+ "stability": "stable",
4976
+ "summary": "The actual slash command."
4977
+ },
4978
+ "immutable": true,
4979
+ "locationInModule": {
4980
+ "filename": "src/slack-app/manifest.ts",
4981
+ "line": 361
4982
+ },
4983
+ "name": "command",
4984
+ "type": {
4985
+ "primitive": "string"
4986
+ }
4987
+ },
4988
+ {
4989
+ "abstract": true,
4990
+ "docs": {
4991
+ "remarks": "Maximum length is 2000 characters.",
4992
+ "stability": "stable",
4993
+ "summary": "The description of the slash command."
4994
+ },
4995
+ "immutable": true,
4996
+ "locationInModule": {
4997
+ "filename": "src/slack-app/manifest.ts",
4998
+ "line": 368
4999
+ },
5000
+ "name": "description",
5001
+ "type": {
5002
+ "primitive": "string"
5003
+ }
5004
+ },
5005
+ {
5006
+ "abstract": true,
5007
+ "docs": {
5008
+ "default": "false",
5009
+ "stability": "stable",
5010
+ "summary": "Whether channels, users, and links typed with the slash command should be escaped."
5011
+ },
5012
+ "immutable": true,
5013
+ "locationInModule": {
5014
+ "filename": "src/slack-app/manifest.ts",
5015
+ "line": 389
5016
+ },
5017
+ "name": "shouldEscape",
5018
+ "optional": true,
5019
+ "type": {
5020
+ "primitive": "boolean"
5021
+ }
5022
+ },
5023
+ {
5024
+ "abstract": true,
5025
+ "docs": {
5026
+ "see": "https://api.slack.com/interactivity/slash-commands#creating_commands",
5027
+ "stability": "stable",
5028
+ "summary": "The full https URL that acts as the slash command's request URL."
5029
+ },
5030
+ "immutable": true,
5031
+ "locationInModule": {
5032
+ "filename": "src/slack-app/manifest.ts",
5033
+ "line": 375
5034
+ },
5035
+ "name": "url",
5036
+ "optional": true,
5037
+ "type": {
5038
+ "primitive": "string"
5039
+ }
5040
+ },
5041
+ {
5042
+ "abstract": true,
5043
+ "docs": {
5044
+ "remarks": "Maximum length is 1000 characters.",
5045
+ "stability": "stable",
5046
+ "summary": "The short usage hint about the slash command for users."
5047
+ },
5048
+ "immutable": true,
5049
+ "locationInModule": {
5050
+ "filename": "src/slack-app/manifest.ts",
5051
+ "line": 382
5052
+ },
5053
+ "name": "usageHint",
5054
+ "optional": true,
5055
+ "type": {
5056
+ "primitive": "string"
5057
+ }
5058
+ }
5059
+ ],
5060
+ "symbolId": "src/slack-app/manifest:SlackAppManifestSlashCommand"
5061
+ },
5062
+ "cloudstructs.SlackAppManifestWorkflowStep": {
5063
+ "assembly": "cloudstructs",
5064
+ "datatype": true,
5065
+ "docs": {
5066
+ "see": "https://api.slack.com/workflows/steps",
5067
+ "stability": "stable",
5068
+ "summary": "Workflow step."
5069
+ },
5070
+ "fqn": "cloudstructs.SlackAppManifestWorkflowStep",
5071
+ "kind": "interface",
5072
+ "locationInModule": {
5073
+ "filename": "src/slack-app/manifest.ts",
5074
+ "line": 397
5075
+ },
5076
+ "name": "SlackAppManifestWorkflowStep",
5077
+ "properties": [
5078
+ {
5079
+ "abstract": true,
5080
+ "docs": {
5081
+ "remarks": "Maximum length of 50 characters.",
5082
+ "stability": "stable",
5083
+ "summary": "The callback ID of the workflow step."
5084
+ },
5085
+ "immutable": true,
5086
+ "locationInModule": {
5087
+ "filename": "src/slack-app/manifest.ts",
5088
+ "line": 410
5089
+ },
5090
+ "name": "callbackId",
5091
+ "type": {
5092
+ "primitive": "string"
5093
+ }
5094
+ },
5095
+ {
5096
+ "abstract": true,
5097
+ "docs": {
5098
+ "remarks": "Maximum length of 50 characters.",
5099
+ "stability": "stable",
5100
+ "summary": "The name of the workflow step."
5101
+ },
5102
+ "immutable": true,
5103
+ "locationInModule": {
5104
+ "filename": "src/slack-app/manifest.ts",
5105
+ "line": 403
5106
+ },
5107
+ "name": "name",
5108
+ "type": {
5109
+ "primitive": "string"
5110
+ }
5111
+ }
5112
+ ],
5113
+ "symbolId": "src/slack-app/manifest:SlackAppManifestWorkflowStep"
5114
+ },
5115
+ "cloudstructs.SlackAppProps": {
5116
+ "assembly": "cloudstructs",
5117
+ "datatype": true,
5118
+ "docs": {
5119
+ "stability": "stable",
5120
+ "summary": "Properties for a SlackApp."
5121
+ },
5122
+ "fqn": "cloudstructs.SlackAppProps",
5123
+ "kind": "interface",
5124
+ "locationInModule": {
5125
+ "filename": "src/slack-app/slack-app.ts",
5126
+ "line": 11
5127
+ },
5128
+ "name": "SlackAppProps",
5129
+ "properties": [
5130
+ {
5131
+ "abstract": true,
5132
+ "docs": {
5133
+ "remarks": "Must use the following JSON format:\n\n```\n{\n \"refreshToken\": \"<token>\"\n}\n```",
5134
+ "stability": "stable",
5135
+ "summary": "An AWS Secrets Manager secret containing the app configuration token."
5136
+ },
5137
+ "immutable": true,
5138
+ "locationInModule": {
5139
+ "filename": "src/slack-app/slack-app.ts",
5140
+ "line": 30
5141
+ },
5142
+ "name": "configurationTokenSecret",
5143
+ "type": {
5144
+ "fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
5145
+ }
5146
+ },
5147
+ {
5148
+ "abstract": true,
5149
+ "docs": {
5150
+ "see": "https://api.slack.com/reference/manifests",
5151
+ "stability": "stable",
5152
+ "summary": "The definition of the app manifest."
5153
+ },
5154
+ "immutable": true,
5155
+ "locationInModule": {
5156
+ "filename": "src/slack-app/slack-app.ts",
5157
+ "line": 17
5158
+ },
5159
+ "name": "manifest",
5160
+ "type": {
5161
+ "fqn": "cloudstructs.SlackAppManifestDefinition"
5162
+ }
5163
+ },
5164
+ {
5165
+ "abstract": true,
5166
+ "docs": {
5167
+ "default": "- a new secret is created",
5168
+ "stability": "stable",
5169
+ "summary": "The AWS Secrets Manager secret where to store the app credentials."
5170
+ },
5171
+ "immutable": true,
5172
+ "locationInModule": {
5173
+ "filename": "src/slack-app/slack-app.ts",
5174
+ "line": 37
5175
+ },
5176
+ "name": "credentialsSecret",
5177
+ "optional": true,
5178
+ "type": {
5179
+ "fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
5180
+ }
5181
+ }
5182
+ ],
5183
+ "symbolId": "src/slack-app/slack-app:SlackAppProps"
5184
+ },
5185
+ "cloudstructs.SlackEvents": {
5186
+ "assembly": "cloudstructs",
5187
+ "base": "constructs.Construct",
5188
+ "docs": {
5189
+ "stability": "stable",
5190
+ "summary": "Send Slack events to Amazon EventBridge."
5191
+ },
5192
+ "fqn": "cloudstructs.SlackEvents",
5193
+ "initializer": {
5194
+ "docs": {
5195
+ "stability": "stable"
5196
+ },
5197
+ "locationInModule": {
5198
+ "filename": "src/slack-events/index.ts",
5199
+ "line": 42
5200
+ },
5201
+ "parameters": [
5202
+ {
5203
+ "name": "scope",
5204
+ "type": {
5205
+ "fqn": "constructs.Construct"
5206
+ }
5207
+ },
5208
+ {
5209
+ "name": "id",
5210
+ "type": {
5211
+ "primitive": "string"
5212
+ }
5213
+ },
5214
+ {
5215
+ "name": "props",
5216
+ "type": {
5217
+ "fqn": "cloudstructs.SlackEventsProps"
5218
+ }
5219
+ }
5220
+ ]
5221
+ },
5222
+ "kind": "class",
5223
+ "locationInModule": {
5224
+ "filename": "src/slack-events/index.ts",
5225
+ "line": 36
5226
+ },
5227
+ "name": "SlackEvents",
5228
+ "properties": [
5229
+ {
5230
+ "docs": {
5231
+ "stability": "stable",
5232
+ "summary": "The custom event bus where Slack events are sent."
5233
+ },
5234
+ "immutable": true,
5235
+ "locationInModule": {
5236
+ "filename": "src/slack-events/index.ts",
5237
+ "line": 40
5238
+ },
5239
+ "name": "eventBus",
5240
+ "optional": true,
5241
+ "type": {
5242
+ "fqn": "aws-cdk-lib.aws_events.EventBus"
5243
+ }
5244
+ }
5245
+ ],
5246
+ "symbolId": "src/slack-events/index:SlackEvents"
5247
+ },
5248
+ "cloudstructs.SlackEventsProps": {
5249
+ "assembly": "cloudstructs",
5250
+ "datatype": true,
5251
+ "docs": {
5252
+ "stability": "stable",
5253
+ "summary": "Properties for a SlackEvents."
5254
+ },
5255
+ "fqn": "cloudstructs.SlackEventsProps",
5256
+ "kind": "interface",
5257
+ "locationInModule": {
5258
+ "filename": "src/slack-events/index.ts",
5259
+ "line": 12
5260
+ },
5261
+ "name": "SlackEventsProps",
5262
+ "properties": [
5263
+ {
5264
+ "abstract": true,
5265
+ "docs": {
5266
+ "stability": "stable",
5267
+ "summary": "The signing secret of the Slack app."
5268
+ },
5269
+ "immutable": true,
5270
+ "locationInModule": {
5271
+ "filename": "src/slack-events/index.ts",
5272
+ "line": 16
5273
+ },
5274
+ "name": "signingSecret",
5275
+ "type": {
5276
+ "fqn": "aws-cdk-lib.SecretValue"
5277
+ }
5278
+ },
5279
+ {
5280
+ "abstract": true,
5281
+ "docs": {
5282
+ "default": "SlackEventsApi",
5283
+ "stability": "stable",
5284
+ "summary": "A name for the API Gateway resource."
5285
+ },
5286
+ "immutable": true,
5287
+ "locationInModule": {
5288
+ "filename": "src/slack-events/index.ts",
5289
+ "line": 23
5290
+ },
5291
+ "name": "apiName",
5292
+ "optional": true,
5293
+ "type": {
5294
+ "primitive": "string"
5295
+ }
5296
+ },
5297
+ {
5298
+ "abstract": true,
5299
+ "docs": {
5300
+ "default": "false",
5301
+ "stability": "stable",
5302
+ "summary": "Whether to use a custom event bus."
5303
+ },
5304
+ "immutable": true,
5305
+ "locationInModule": {
5306
+ "filename": "src/slack-events/index.ts",
5307
+ "line": 30
5308
+ },
5309
+ "name": "customEventBus",
5310
+ "optional": true,
5311
+ "type": {
5312
+ "primitive": "boolean"
5313
+ }
5314
+ }
5315
+ ],
5316
+ "symbolId": "src/slack-events/index:SlackEventsProps"
5317
+ },
5318
+ "cloudstructs.SlackTextract": {
5319
+ "assembly": "cloudstructs",
5320
+ "base": "constructs.Construct",
5321
+ "docs": {
5322
+ "stability": "stable",
5323
+ "summary": "Extract text from images posted to Slack using Amazon Textract."
4060
5324
  },
4061
5325
  "fqn": "cloudstructs.SlackTextract",
4062
5326
  "initializer": {
@@ -4065,7 +5329,7 @@
4065
5329
  },
4066
5330
  "locationInModule": {
4067
5331
  "filename": "src/slack-textract/index.ts",
4068
- "line": 37
5332
+ "line": 36
4069
5333
  },
4070
5334
  "parameters": [
4071
5335
  {
@@ -4091,7 +5355,7 @@
4091
5355
  "kind": "class",
4092
5356
  "locationInModule": {
4093
5357
  "filename": "src/slack-textract/index.ts",
4094
- "line": 36
5358
+ "line": 35
4095
5359
  },
4096
5360
  "name": "SlackTextract",
4097
5361
  "symbolId": "src/slack-textract/index:SlackTextract"
@@ -4107,7 +5371,7 @@
4107
5371
  "kind": "interface",
4108
5372
  "locationInModule": {
4109
5373
  "filename": "src/slack-textract/index.ts",
4110
- "line": 14
5374
+ "line": 13
4111
5375
  },
4112
5376
  "name": "SlackTextractProps",
4113
5377
  "properties": [
@@ -4120,7 +5384,7 @@
4120
5384
  "immutable": true,
4121
5385
  "locationInModule": {
4122
5386
  "filename": "src/slack-textract/index.ts",
4123
- "line": 30
5387
+ "line": 29
4124
5388
  },
4125
5389
  "name": "appId",
4126
5390
  "type": {
@@ -4137,7 +5401,7 @@
4137
5401
  "immutable": true,
4138
5402
  "locationInModule": {
4139
5403
  "filename": "src/slack-textract/index.ts",
4140
- "line": 25
5404
+ "line": 24
4141
5405
  },
4142
5406
  "name": "botToken",
4143
5407
  "type": {
@@ -4153,7 +5417,7 @@
4153
5417
  "immutable": true,
4154
5418
  "locationInModule": {
4155
5419
  "filename": "src/slack-textract/index.ts",
4156
- "line": 18
5420
+ "line": 17
4157
5421
  },
4158
5422
  "name": "signingSecret",
4159
5423
  "type": {
@@ -4163,6 +5427,60 @@
4163
5427
  ],
4164
5428
  "symbolId": "src/slack-textract/index:SlackTextractProps"
4165
5429
  },
5430
+ "cloudstructs.SlackkAppManifestBotUser": {
5431
+ "assembly": "cloudstructs",
5432
+ "datatype": true,
5433
+ "docs": {
5434
+ "see": "https://api.slack.com/bot-users",
5435
+ "stability": "stable",
5436
+ "summary": "Bot user configuration."
5437
+ },
5438
+ "fqn": "cloudstructs.SlackkAppManifestBotUser",
5439
+ "kind": "interface",
5440
+ "locationInModule": {
5441
+ "filename": "src/slack-app/manifest.ts",
5442
+ "line": 279
5443
+ },
5444
+ "name": "SlackkAppManifestBotUser",
5445
+ "properties": [
5446
+ {
5447
+ "abstract": true,
5448
+ "docs": {
5449
+ "remarks": "Maximum length is 80 characters.",
5450
+ "stability": "stable",
5451
+ "summary": "The display name of the bot user."
5452
+ },
5453
+ "immutable": true,
5454
+ "locationInModule": {
5455
+ "filename": "src/slack-app/manifest.ts",
5456
+ "line": 285
5457
+ },
5458
+ "name": "displayName",
5459
+ "type": {
5460
+ "primitive": "string"
5461
+ }
5462
+ },
5463
+ {
5464
+ "abstract": true,
5465
+ "docs": {
5466
+ "default": "false",
5467
+ "stability": "stable",
5468
+ "summary": "Whether the bot user will always appear to be online."
5469
+ },
5470
+ "immutable": true,
5471
+ "locationInModule": {
5472
+ "filename": "src/slack-app/manifest.ts",
5473
+ "line": 292
5474
+ },
5475
+ "name": "alwaysOnline",
5476
+ "optional": true,
5477
+ "type": {
5478
+ "primitive": "boolean"
5479
+ }
5480
+ }
5481
+ ],
5482
+ "symbolId": "src/slack-app/manifest:SlackkAppManifestBotUser"
5483
+ },
4166
5484
  "cloudstructs.StateMachineCustomResourceProvider": {
4167
5485
  "assembly": "cloudstructs",
4168
5486
  "base": "constructs.Construct",
@@ -4291,7 +5609,7 @@
4291
5609
  },
4292
5610
  "locationInModule": {
4293
5611
  "filename": "src/static-website/index.ts",
4294
- "line": 72
5612
+ "line": 98
4295
5613
  },
4296
5614
  "parameters": [
4297
5615
  {
@@ -4317,10 +5635,25 @@
4317
5635
  "kind": "class",
4318
5636
  "locationInModule": {
4319
5637
  "filename": "src/static-website/index.ts",
4320
- "line": 61
5638
+ "line": 59
4321
5639
  },
4322
5640
  "name": "StaticWebsite",
4323
5641
  "properties": [
5642
+ {
5643
+ "docs": {
5644
+ "stability": "stable",
5645
+ "summary": "Best practice security headers used as default."
5646
+ },
5647
+ "locationInModule": {
5648
+ "filename": "src/static-website/index.ts",
5649
+ "line": 63
5650
+ },
5651
+ "name": "defaultSecurityHeadersBehavior",
5652
+ "static": true,
5653
+ "type": {
5654
+ "fqn": "aws-cdk-lib.aws_cloudfront.ResponseSecurityHeadersBehavior"
5655
+ }
5656
+ },
4324
5657
  {
4325
5658
  "docs": {
4326
5659
  "stability": "stable",
@@ -4329,7 +5662,7 @@
4329
5662
  "immutable": true,
4330
5663
  "locationInModule": {
4331
5664
  "filename": "src/static-website/index.ts",
4332
- "line": 70
5665
+ "line": 96
4333
5666
  },
4334
5667
  "name": "bucket",
4335
5668
  "type": {
@@ -4344,7 +5677,7 @@
4344
5677
  "immutable": true,
4345
5678
  "locationInModule": {
4346
5679
  "filename": "src/static-website/index.ts",
4347
- "line": 65
5680
+ "line": 91
4348
5681
  },
4349
5682
  "name": "distribution",
4350
5683
  "type": {
@@ -4365,7 +5698,7 @@
4365
5698
  "kind": "interface",
4366
5699
  "locationInModule": {
4367
5700
  "filename": "src/static-website/index.ts",
4368
- "line": 20
5701
+ "line": 18
4369
5702
  },
4370
5703
  "name": "StaticWebsiteProps",
4371
5704
  "properties": [
@@ -4379,7 +5712,7 @@
4379
5712
  "immutable": true,
4380
5713
  "locationInModule": {
4381
5714
  "filename": "src/static-website/index.ts",
4382
- "line": 26
5715
+ "line": 24
4383
5716
  },
4384
5717
  "name": "domainName",
4385
5718
  "type": {
@@ -4395,7 +5728,7 @@
4395
5728
  "immutable": true,
4396
5729
  "locationInModule": {
4397
5730
  "filename": "src/static-website/index.ts",
4398
- "line": 31
5731
+ "line": 29
4399
5732
  },
4400
5733
  "name": "hostedZone",
4401
5734
  "type": {
@@ -4413,7 +5746,7 @@
4413
5746
  "immutable": true,
4414
5747
  "locationInModule": {
4415
5748
  "filename": "src/static-website/index.ts",
4416
- "line": 41
5749
+ "line": 39
4417
5750
  },
4418
5751
  "name": "backendConfiguration",
4419
5752
  "optional": true,
@@ -4424,47 +5757,42 @@
4424
5757
  {
4425
5758
  "abstract": true,
4426
5759
  "docs": {
4427
- "default": "- best practice security headers",
5760
+ "default": "- the domain name of the hosted zone",
4428
5761
  "stability": "stable",
4429
- "summary": "Custom HTTP headers."
5762
+ "summary": "A list of domain names that should redirect to `domainName`."
4430
5763
  },
4431
5764
  "immutable": true,
4432
5765
  "locationInModule": {
4433
5766
  "filename": "src/static-website/index.ts",
4434
- "line": 55
5767
+ "line": 46
4435
5768
  },
4436
- "name": "httpHeaders",
5769
+ "name": "redirects",
4437
5770
  "optional": true,
4438
5771
  "type": {
4439
5772
  "collection": {
4440
5773
  "elementtype": {
4441
5774
  "primitive": "string"
4442
5775
  },
4443
- "kind": "map"
5776
+ "kind": "array"
4444
5777
  }
4445
5778
  }
4446
5779
  },
4447
5780
  {
4448
5781
  "abstract": true,
4449
5782
  "docs": {
4450
- "default": "- the domain name of the hosted zone",
5783
+ "default": "- a new policy is created with best practice security headers",
4451
5784
  "stability": "stable",
4452
- "summary": "A list of domain names that should redirect to `domainName`."
5785
+ "summary": "Response headers policy for the default behavior."
4453
5786
  },
4454
5787
  "immutable": true,
4455
5788
  "locationInModule": {
4456
5789
  "filename": "src/static-website/index.ts",
4457
- "line": 48
5790
+ "line": 53
4458
5791
  },
4459
- "name": "redirects",
5792
+ "name": "responseHeadersPolicy",
4460
5793
  "optional": true,
4461
5794
  "type": {
4462
- "collection": {
4463
- "elementtype": {
4464
- "primitive": "string"
4465
- },
4466
- "kind": "array"
4467
- }
5795
+ "fqn": "aws-cdk-lib.aws_cloudfront.ResponseHeadersPolicy"
4468
5796
  }
4469
5797
  }
4470
5798
  ],
@@ -4484,7 +5812,7 @@
4484
5812
  },
4485
5813
  "locationInModule": {
4486
5814
  "filename": "src/url-shortener/index.ts",
4487
- "line": 58
5815
+ "line": 57
4488
5816
  },
4489
5817
  "parameters": [
4490
5818
  {
@@ -4510,7 +5838,7 @@
4510
5838
  "kind": "class",
4511
5839
  "locationInModule": {
4512
5840
  "filename": "src/url-shortener/index.ts",
4513
- "line": 47
5841
+ "line": 46
4514
5842
  },
4515
5843
  "name": "UrlShortener",
4516
5844
  "properties": [
@@ -4522,7 +5850,7 @@
4522
5850
  "immutable": true,
4523
5851
  "locationInModule": {
4524
5852
  "filename": "src/url-shortener/index.ts",
4525
- "line": 56
5853
+ "line": 55
4526
5854
  },
4527
5855
  "name": "api",
4528
5856
  "type": {
@@ -4537,7 +5865,7 @@
4537
5865
  "immutable": true,
4538
5866
  "locationInModule": {
4539
5867
  "filename": "src/url-shortener/index.ts",
4540
- "line": 51
5868
+ "line": 50
4541
5869
  },
4542
5870
  "name": "apiEndpoint",
4543
5871
  "type": {
@@ -4558,7 +5886,7 @@
4558
5886
  "kind": "interface",
4559
5887
  "locationInModule": {
4560
5888
  "filename": "src/url-shortener/index.ts",
4561
- "line": 20
5889
+ "line": 19
4562
5890
  },
4563
5891
  "name": "UrlShortenerProps",
4564
5892
  "properties": [
@@ -4571,7 +5899,7 @@
4571
5899
  "immutable": true,
4572
5900
  "locationInModule": {
4573
5901
  "filename": "src/url-shortener/index.ts",
4574
- "line": 24
5902
+ "line": 23
4575
5903
  },
4576
5904
  "name": "hostedZone",
4577
5905
  "type": {
@@ -4590,7 +5918,7 @@
4590
5918
  "immutable": true,
4591
5919
  "locationInModule": {
4592
5920
  "filename": "src/url-shortener/index.ts",
4593
- "line": 41
5921
+ "line": 40
4594
5922
  },
4595
5923
  "name": "apiGatewayEndpoint",
4596
5924
  "optional": true,
@@ -4608,7 +5936,7 @@
4608
5936
  "immutable": true,
4609
5937
  "locationInModule": {
4610
5938
  "filename": "src/url-shortener/index.ts",
4611
- "line": 31
5939
+ "line": 30
4612
5940
  },
4613
5941
  "name": "expiration",
4614
5942
  "optional": true,
@@ -4620,6 +5948,6 @@
4620
5948
  "symbolId": "src/url-shortener/index:UrlShortenerProps"
4621
5949
  }
4622
5950
  },
4623
- "version": "0.2.8",
4624
- "fingerprint": "XGwS2a/NfvjzXGtcyyGE4FVfDpql3ldVh4QuSL/9YKo="
5951
+ "version": "0.4.0",
5952
+ "fingerprint": "ct1uxaRXIou/LRsYrA+QgPtM5Xl9ybz1uIxO1ZsX50Y="
4625
5953
  }