@jjrawlins/cdk-ami-builder 0.0.26 → 0.0.28

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/.jsii CHANGED
@@ -3523,6 +3523,10 @@
3523
3523
  },
3524
3524
  "schema": "jsii/0.10.0",
3525
3525
  "targets": {
3526
+ "dotnet": {
3527
+ "namespace": "jjrawlins.CdkAmiBuilder",
3528
+ "packageId": "jjrawlins.CdkAmiBuilder"
3529
+ },
3526
3530
  "go": {
3527
3531
  "moduleName": "github.com/JaysonRawlins/cdk-ami-builder",
3528
3532
  "packageName": "cdk-ami-builder"
@@ -3611,7 +3615,7 @@
3611
3615
  "kind": "interface",
3612
3616
  "locationInModule": {
3613
3617
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3614
- "line": 79
3618
+ "line": 81
3615
3619
  },
3616
3620
  "name": "IActionCommands",
3617
3621
  "properties": [
@@ -3622,7 +3626,7 @@
3622
3626
  },
3623
3627
  "locationInModule": {
3624
3628
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3625
- "line": 80
3629
+ "line": 82
3626
3630
  },
3627
3631
  "name": "commands",
3628
3632
  "type": {
@@ -3647,7 +3651,7 @@
3647
3651
  "kind": "interface",
3648
3652
  "locationInModule": {
3649
3653
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3650
- "line": 108
3654
+ "line": 110
3651
3655
  },
3652
3656
  "name": "IComponentDocument",
3653
3657
  "properties": [
@@ -3658,7 +3662,7 @@
3658
3662
  },
3659
3663
  "locationInModule": {
3660
3664
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3661
- "line": 112
3665
+ "line": 114
3662
3666
  },
3663
3667
  "name": "phases",
3664
3668
  "type": {
@@ -3677,7 +3681,7 @@
3677
3681
  },
3678
3682
  "locationInModule": {
3679
3683
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3680
- "line": 110
3684
+ "line": 112
3681
3685
  },
3682
3686
  "name": "description",
3683
3687
  "optional": true,
@@ -3692,7 +3696,7 @@
3692
3696
  },
3693
3697
  "locationInModule": {
3694
3698
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3695
- "line": 109
3699
+ "line": 111
3696
3700
  },
3697
3701
  "name": "name",
3698
3702
  "optional": true,
@@ -3707,7 +3711,7 @@
3707
3711
  },
3708
3712
  "locationInModule": {
3709
3713
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3710
- "line": 111
3714
+ "line": 113
3711
3715
  },
3712
3716
  "name": "schemaVersion",
3713
3717
  "optional": true,
@@ -3728,7 +3732,7 @@
3728
3732
  "kind": "interface",
3729
3733
  "locationInModule": {
3730
3734
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3731
- "line": 118
3735
+ "line": 120
3732
3736
  },
3733
3737
  "name": "IComponentProps",
3734
3738
  "properties": [
@@ -3739,7 +3743,7 @@
3739
3743
  },
3740
3744
  "locationInModule": {
3741
3745
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3742
- "line": 125
3746
+ "line": 127
3743
3747
  },
3744
3748
  "name": "componentDocument",
3745
3749
  "type": {
@@ -3753,7 +3757,7 @@
3753
3757
  },
3754
3758
  "locationInModule": {
3755
3759
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3756
- "line": 121
3760
+ "line": 123
3757
3761
  },
3758
3762
  "name": "componentVersion",
3759
3763
  "optional": true,
@@ -3768,7 +3772,7 @@
3768
3772
  },
3769
3773
  "locationInModule": {
3770
3774
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3771
- "line": 120
3775
+ "line": 122
3772
3776
  },
3773
3777
  "name": "description",
3774
3778
  "optional": true,
@@ -3783,7 +3787,7 @@
3783
3787
  },
3784
3788
  "locationInModule": {
3785
3789
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3786
- "line": 119
3790
+ "line": 121
3787
3791
  },
3788
3792
  "name": "name",
3789
3793
  "optional": true,
@@ -3798,7 +3802,7 @@
3798
3802
  },
3799
3803
  "locationInModule": {
3800
3804
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3801
- "line": 123
3805
+ "line": 125
3802
3806
  },
3803
3807
  "name": "parameters",
3804
3808
  "optional": true,
@@ -3818,7 +3822,7 @@
3818
3822
  },
3819
3823
  "locationInModule": {
3820
3824
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3821
- "line": 124
3825
+ "line": 126
3822
3826
  },
3823
3827
  "name": "platform",
3824
3828
  "optional": true,
@@ -3833,7 +3837,7 @@
3833
3837
  },
3834
3838
  "locationInModule": {
3835
3839
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3836
- "line": 122
3840
+ "line": 124
3837
3841
  },
3838
3842
  "name": "schemaVersion",
3839
3843
  "optional": true,
@@ -3853,7 +3857,7 @@
3853
3857
  "kind": "interface",
3854
3858
  "locationInModule": {
3855
3859
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3856
- "line": 28
3860
+ "line": 30
3857
3861
  },
3858
3862
  "name": "IEbsParameters",
3859
3863
  "properties": [
@@ -3865,7 +3869,7 @@
3865
3869
  },
3866
3870
  "locationInModule": {
3867
3871
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3868
- "line": 32
3872
+ "line": 34
3869
3873
  },
3870
3874
  "name": "volumeSize",
3871
3875
  "type": {
@@ -3881,7 +3885,7 @@
3881
3885
  },
3882
3886
  "locationInModule": {
3883
3887
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3884
- "line": 57
3888
+ "line": 59
3885
3889
  },
3886
3890
  "name": "deleteOnTermination",
3887
3891
  "optional": true,
@@ -3898,7 +3902,7 @@
3898
3902
  },
3899
3903
  "locationInModule": {
3900
3904
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3901
- "line": 51
3905
+ "line": 53
3902
3906
  },
3903
3907
  "name": "encrypted",
3904
3908
  "optional": true,
@@ -3915,7 +3919,7 @@
3915
3919
  },
3916
3920
  "locationInModule": {
3917
3921
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3918
- "line": 45
3922
+ "line": 47
3919
3923
  },
3920
3924
  "name": "kmsKeyId",
3921
3925
  "optional": true,
@@ -3932,7 +3936,7 @@
3932
3936
  },
3933
3937
  "locationInModule": {
3934
3938
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3935
- "line": 38
3939
+ "line": 40
3936
3940
  },
3937
3941
  "name": "volumeType",
3938
3942
  "optional": true,
@@ -3952,7 +3956,7 @@
3952
3956
  "kind": "interface",
3953
3957
  "locationInModule": {
3954
3958
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3955
- "line": 97
3959
+ "line": 99
3956
3960
  },
3957
3961
  "name": "IInputParameter",
3958
3962
  "properties": [
@@ -3963,7 +3967,7 @@
3963
3967
  },
3964
3968
  "locationInModule": {
3965
3969
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3966
- "line": 99
3970
+ "line": 101
3967
3971
  },
3968
3972
  "name": "default",
3969
3973
  "type": {
@@ -3977,7 +3981,7 @@
3977
3981
  },
3978
3982
  "locationInModule": {
3979
3983
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3980
- "line": 100
3984
+ "line": 102
3981
3985
  },
3982
3986
  "name": "description",
3983
3987
  "type": {
@@ -3991,7 +3995,7 @@
3991
3995
  },
3992
3996
  "locationInModule": {
3993
3997
  "filename": "src/ImagePipeline/ImagePipeline.ts",
3994
- "line": 98
3998
+ "line": 100
3995
3999
  },
3996
4000
  "name": "type",
3997
4001
  "type": {
@@ -4011,7 +4015,7 @@
4011
4015
  "kind": "interface",
4012
4016
  "locationInModule": {
4013
4017
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4014
- "line": 92
4018
+ "line": 94
4015
4019
  },
4016
4020
  "name": "IPhases",
4017
4021
  "properties": [
@@ -4022,7 +4026,7 @@
4022
4026
  },
4023
4027
  "locationInModule": {
4024
4028
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4025
- "line": 93
4029
+ "line": 95
4026
4030
  },
4027
4031
  "name": "name",
4028
4032
  "type": {
@@ -4036,7 +4040,7 @@
4036
4040
  },
4037
4041
  "locationInModule": {
4038
4042
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4039
- "line": 94
4043
+ "line": 96
4040
4044
  },
4041
4045
  "name": "steps",
4042
4046
  "type": {
@@ -4060,7 +4064,7 @@
4060
4064
  "kind": "interface",
4061
4065
  "locationInModule": {
4062
4066
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4063
- "line": 83
4067
+ "line": 85
4064
4068
  },
4065
4069
  "name": "IStepCommands",
4066
4070
  "properties": [
@@ -4071,7 +4075,7 @@
4071
4075
  },
4072
4076
  "locationInModule": {
4073
4077
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4074
- "line": 85
4078
+ "line": 87
4075
4079
  },
4076
4080
  "name": "action",
4077
4081
  "type": {
@@ -4085,7 +4089,7 @@
4085
4089
  },
4086
4090
  "locationInModule": {
4087
4091
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4088
- "line": 84
4092
+ "line": 86
4089
4093
  },
4090
4094
  "name": "name",
4091
4095
  "type": {
@@ -4099,7 +4103,7 @@
4099
4103
  },
4100
4104
  "locationInModule": {
4101
4105
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4102
- "line": 86
4106
+ "line": 88
4103
4107
  },
4104
4108
  "name": "inputs",
4105
4109
  "optional": true,
@@ -4123,7 +4127,7 @@
4123
4127
  },
4124
4128
  "locationInModule": {
4125
4129
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4126
- "line": 236
4130
+ "line": 238
4127
4131
  },
4128
4132
  "parameters": [
4129
4133
  {
@@ -4149,7 +4153,7 @@
4149
4153
  "kind": "class",
4150
4154
  "locationInModule": {
4151
4155
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4152
- "line": 231
4156
+ "line": 233
4153
4157
  },
4154
4158
  "name": "ImagePipeline",
4155
4159
  "properties": [
@@ -4159,7 +4163,7 @@
4159
4163
  },
4160
4164
  "locationInModule": {
4161
4165
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4162
- "line": 234
4166
+ "line": 236
4163
4167
  },
4164
4168
  "name": "imageId",
4165
4169
  "type": {
@@ -4172,7 +4176,7 @@
4172
4176
  },
4173
4177
  "locationInModule": {
4174
4178
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4175
- "line": 233
4179
+ "line": 235
4176
4180
  },
4177
4181
  "name": "imagePipelineArn",
4178
4182
  "type": {
@@ -4185,7 +4189,7 @@
4185
4189
  },
4186
4190
  "locationInModule": {
4187
4191
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4188
- "line": 232
4192
+ "line": 234
4189
4193
  },
4190
4194
  "name": "imageRecipeComponents",
4191
4195
  "type": {
@@ -4210,7 +4214,7 @@
4210
4214
  "kind": "interface",
4211
4215
  "locationInModule": {
4212
4216
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4213
- "line": 128
4217
+ "line": 130
4214
4218
  },
4215
4219
  "name": "ImagePipelineProps",
4216
4220
  "properties": [
@@ -4223,7 +4227,7 @@
4223
4227
  "immutable": true,
4224
4228
  "locationInModule": {
4225
4229
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4226
- "line": 139
4230
+ "line": 141
4227
4231
  },
4228
4232
  "name": "components",
4229
4233
  "type": {
@@ -4245,7 +4249,7 @@
4245
4249
  "immutable": true,
4246
4250
  "locationInModule": {
4247
4251
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4248
- "line": 163
4252
+ "line": 165
4249
4253
  },
4250
4254
  "name": "parentImage",
4251
4255
  "type": {
@@ -4261,7 +4265,7 @@
4261
4265
  "immutable": true,
4262
4266
  "locationInModule": {
4263
4267
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4264
- "line": 135
4268
+ "line": 137
4265
4269
  },
4266
4270
  "name": "vpc",
4267
4271
  "type": {
@@ -4277,7 +4281,7 @@
4277
4281
  "immutable": true,
4278
4282
  "locationInModule": {
4279
4283
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4280
- "line": 147
4284
+ "line": 149
4281
4285
  },
4282
4286
  "name": "additionalPolicies",
4283
4287
  "optional": true,
@@ -4304,7 +4308,7 @@
4304
4308
  "immutable": true,
4305
4309
  "locationInModule": {
4306
4310
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4307
- "line": 217
4311
+ "line": 219
4308
4312
  },
4309
4313
  "name": "debugImagePipeline",
4310
4314
  "optional": true,
@@ -4326,7 +4330,7 @@
4326
4330
  "immutable": true,
4327
4331
  "locationInModule": {
4328
4332
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4329
- "line": 206
4333
+ "line": 208
4330
4334
  },
4331
4335
  "name": "distributionAccountIds",
4332
4336
  "optional": true,
@@ -4353,7 +4357,7 @@
4353
4357
  "immutable": true,
4354
4358
  "locationInModule": {
4355
4359
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4356
- "line": 228
4360
+ "line": 230
4357
4361
  },
4358
4362
  "name": "distributionKmsKeyAlias",
4359
4363
  "optional": true,
@@ -4369,7 +4373,7 @@
4369
4373
  "immutable": true,
4370
4374
  "locationInModule": {
4371
4375
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4372
- "line": 131
4376
+ "line": 133
4373
4377
  },
4374
4378
  "name": "distributionRegions",
4375
4379
  "optional": true,
@@ -4391,7 +4395,7 @@
4391
4395
  "immutable": true,
4392
4396
  "locationInModule": {
4393
4397
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4394
- "line": 184
4398
+ "line": 186
4395
4399
  },
4396
4400
  "name": "ebsVolumeConfigurations",
4397
4401
  "optional": true,
@@ -4413,7 +4417,7 @@
4413
4417
  "immutable": true,
4414
4418
  "locationInModule": {
4415
4419
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4416
- "line": 176
4420
+ "line": 178
4417
4421
  },
4418
4422
  "name": "email",
4419
4423
  "optional": true,
@@ -4430,7 +4434,7 @@
4430
4434
  "immutable": true,
4431
4435
  "locationInModule": {
4432
4436
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4433
- "line": 188
4437
+ "line": 190
4434
4438
  },
4435
4439
  "name": "enableVulnScans",
4436
4440
  "optional": true,
@@ -4447,7 +4451,7 @@
4447
4451
  "immutable": true,
4448
4452
  "locationInModule": {
4449
4453
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4450
- "line": 158
4454
+ "line": 160
4451
4455
  },
4452
4456
  "name": "imageRecipeVersion",
4453
4457
  "optional": true,
@@ -4464,7 +4468,7 @@
4464
4468
  "immutable": true,
4465
4469
  "locationInModule": {
4466
4470
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4467
- "line": 168
4471
+ "line": 170
4468
4472
  },
4469
4473
  "name": "instanceTypes",
4470
4474
  "optional": true,
@@ -4486,7 +4490,7 @@
4486
4490
  "immutable": true,
4487
4491
  "locationInModule": {
4488
4492
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4489
- "line": 172
4493
+ "line": 174
4490
4494
  },
4491
4495
  "name": "platform",
4492
4496
  "optional": true,
@@ -4503,7 +4507,7 @@
4503
4507
  "immutable": true,
4504
4508
  "locationInModule": {
4505
4509
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4506
- "line": 143
4510
+ "line": 145
4507
4511
  },
4508
4512
  "name": "profileName",
4509
4513
  "optional": true,
@@ -4520,7 +4524,7 @@
4520
4524
  "immutable": true,
4521
4525
  "locationInModule": {
4522
4526
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4523
- "line": 180
4527
+ "line": 182
4524
4528
  },
4525
4529
  "name": "securityGroupIds",
4526
4530
  "optional": true,
@@ -4541,7 +4545,7 @@
4541
4545
  "immutable": true,
4542
4546
  "locationInModule": {
4543
4547
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4544
- "line": 130
4548
+ "line": 132
4545
4549
  },
4546
4550
  "name": "securityGroups",
4547
4551
  "optional": true,
@@ -4562,7 +4566,7 @@
4562
4566
  "immutable": true,
4563
4567
  "locationInModule": {
4564
4568
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4565
- "line": 129
4569
+ "line": 131
4566
4570
  },
4567
4571
  "name": "subnetId",
4568
4572
  "optional": true,
@@ -4580,7 +4584,7 @@
4580
4584
  "immutable": true,
4581
4585
  "locationInModule": {
4582
4586
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4583
- "line": 154
4587
+ "line": 156
4584
4588
  },
4585
4589
  "name": "userDataScript",
4586
4590
  "optional": true,
@@ -4597,7 +4601,7 @@
4597
4601
  "immutable": true,
4598
4602
  "locationInModule": {
4599
4603
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4600
- "line": 192
4604
+ "line": 194
4601
4605
  },
4602
4606
  "name": "vulnScansRepoName",
4603
4607
  "optional": true,
@@ -4614,7 +4618,7 @@
4614
4618
  "immutable": true,
4615
4619
  "locationInModule": {
4616
4620
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4617
- "line": 196
4621
+ "line": 198
4618
4622
  },
4619
4623
  "name": "vulnScansRepoTags",
4620
4624
  "optional": true,
@@ -4705,7 +4709,7 @@
4705
4709
  "kind": "interface",
4706
4710
  "locationInModule": {
4707
4711
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4708
- "line": 60
4712
+ "line": 62
4709
4713
  },
4710
4714
  "name": "VolumeProps",
4711
4715
  "properties": [
@@ -4718,7 +4722,7 @@
4718
4722
  "immutable": true,
4719
4723
  "locationInModule": {
4720
4724
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4721
- "line": 64
4725
+ "line": 66
4722
4726
  },
4723
4727
  "name": "deviceName",
4724
4728
  "type": {
@@ -4735,7 +4739,7 @@
4735
4739
  "immutable": true,
4736
4740
  "locationInModule": {
4737
4741
  "filename": "src/ImagePipeline/ImagePipeline.ts",
4738
- "line": 73
4742
+ "line": 75
4739
4743
  },
4740
4744
  "name": "ebs",
4741
4745
  "type": {
@@ -4746,6 +4750,6 @@
4746
4750
  "symbolId": "src/ImagePipeline/ImagePipeline:VolumeProps"
4747
4751
  }
4748
4752
  },
4749
- "version": "0.0.26",
4750
- "fingerprint": "ndqL+Aby/nOmELtp3X9g9vw6wU7U8QRfz4i3x6kB1OE="
4753
+ "version": "0.0.28",
4754
+ "fingerprint": "SbYxwHOSkiuFurUXboG5KVTPxqF9VGL47OqTHrph39g="
4751
4755
  }
package/.mergify.yml CHANGED
@@ -9,7 +9,6 @@ queue_rules:
9
9
  - status-success=package-python
10
10
  - status-success=package-go
11
11
  - or:
12
- - author=dependabot[bot]
13
12
  - author=projenbuildmanager[bot]
14
13
  - author=jjrawlins
15
14
  merge_method: squash
@@ -18,16 +17,6 @@ queue_rules:
18
17
 
19
18
  {{ body }}
20
19
  autoqueue: true
21
- pull_request_rules:
22
- - name: Automatic Merge Dependebot Prs
23
- description: Merge when PR passes all branch protection and has label automerge
24
- conditions:
25
- - author=dependabot[bot]
26
- - -label~=(do-not-merge)
27
- - status-success=build
28
- actions:
29
- merge:
30
- method: squash
31
20
  - name: Label conflicting pull requests
32
21
  description: Add a label to a pull request with conflict to spot it easily
33
22
  conditions:
@@ -122,11 +122,11 @@ type CheckStateMachineStatusFunction interface {
122
122
  AddEnvironment(key *string, value *string, options *awslambda.EnvironmentOptions) awslambda.Function
123
123
  // Adds an event source to this function.
124
124
  //
125
- // Event sources are implemented in the aws-cdk-lib/aws-lambda-event-sources module.
125
+ // Event sources are implemented in the @aws-cdk/aws-lambda-event-sources module.
126
126
  //
127
127
  // The following example adds an SQS Queue as an event source:
128
128
  // ```
129
- // import { SqsEventSource } from 'aws-cdk-lib/aws-lambda-event-sources';
129
+ // import { SqsEventSource } from '@aws-cdk/aws-lambda-event-sources';
130
130
  // myFunction.addEventSource(new SqsEventSource(myQueue));
131
131
  // ```.
132
132
  AddEventSource(source awslambda.IEventSource)
@@ -177,14 +177,8 @@ type CheckStateMachineStatusFunction interface {
177
177
  GetResourceNameAttribute(nameAttr *string) *string
178
178
  // Grant the given identity permissions to invoke this Lambda.
179
179
  GrantInvoke(grantee awsiam.IGrantable) awsiam.Grant
180
- // Grant multiple principals the ability to invoke this Lambda via CompositePrincipal.
181
- GrantInvokeCompositePrincipal(compositePrincipal awsiam.CompositePrincipal) *[]awsiam.Grant
182
- // Grant the given identity permissions to invoke the $LATEST version or unqualified version of this Lambda.
183
- GrantInvokeLatestVersion(grantee awsiam.IGrantable) awsiam.Grant
184
180
  // Grant the given identity permissions to invoke this Lambda Function URL.
185
181
  GrantInvokeUrl(grantee awsiam.IGrantable) awsiam.Grant
186
- // Grant the given identity permissions to invoke the given version of this Lambda.
187
- GrantInvokeVersion(grantee awsiam.IGrantable, version awslambda.IVersion) awsiam.Grant
188
182
  // Mix additional information into the hash of the Version object.
189
183
  //
190
184
  // The Lambda Function construct does its best to automatically create a new
@@ -485,9 +479,6 @@ func CheckStateMachineStatusFunction_ClassifyVersionProperty(propertyName *strin
485
479
  }
486
480
 
487
481
  // Import a lambda function into the CDK using its ARN.
488
- //
489
- // For `Function.addPermissions()` to work on this imported lambda, make sure that is
490
- // in the same account and region as the stack you are importing it into.
491
482
  func CheckStateMachineStatusFunction_FromFunctionArn(scope constructs.Construct, id *string, functionArn *string) awslambda.IFunction {
492
483
  _init_.Initialize()
493
484
 
@@ -507,9 +498,6 @@ func CheckStateMachineStatusFunction_FromFunctionArn(scope constructs.Construct,
507
498
  }
508
499
 
509
500
  // Creates a Lambda function object which represents a function not defined within this stack.
510
- //
511
- // For `Function.addPermissions()` to work on this imported lambda, set the sameEnvironment property to true
512
- // if this imported lambda is in the same account and region as the stack you are importing it into.
513
501
  func CheckStateMachineStatusFunction_FromFunctionAttributes(scope constructs.Construct, id *string, attrs *awslambda.FunctionAttributes) awslambda.IFunction {
514
502
  _init_.Initialize()
515
503
 
@@ -969,38 +957,6 @@ func (c *jsiiProxy_CheckStateMachineStatusFunction) GrantInvoke(grantee awsiam.I
969
957
  return returns
970
958
  }
971
959
 
972
- func (c *jsiiProxy_CheckStateMachineStatusFunction) GrantInvokeCompositePrincipal(compositePrincipal awsiam.CompositePrincipal) *[]awsiam.Grant {
973
- if err := c.validateGrantInvokeCompositePrincipalParameters(compositePrincipal); err != nil {
974
- panic(err)
975
- }
976
- var returns *[]awsiam.Grant
977
-
978
- _jsii_.Invoke(
979
- c,
980
- "grantInvokeCompositePrincipal",
981
- []interface{}{compositePrincipal},
982
- &returns,
983
- )
984
-
985
- return returns
986
- }
987
-
988
- func (c *jsiiProxy_CheckStateMachineStatusFunction) GrantInvokeLatestVersion(grantee awsiam.IGrantable) awsiam.Grant {
989
- if err := c.validateGrantInvokeLatestVersionParameters(grantee); err != nil {
990
- panic(err)
991
- }
992
- var returns awsiam.Grant
993
-
994
- _jsii_.Invoke(
995
- c,
996
- "grantInvokeLatestVersion",
997
- []interface{}{grantee},
998
- &returns,
999
- )
1000
-
1001
- return returns
1002
- }
1003
-
1004
960
  func (c *jsiiProxy_CheckStateMachineStatusFunction) GrantInvokeUrl(grantee awsiam.IGrantable) awsiam.Grant {
1005
961
  if err := c.validateGrantInvokeUrlParameters(grantee); err != nil {
1006
962
  panic(err)
@@ -1017,22 +973,6 @@ func (c *jsiiProxy_CheckStateMachineStatusFunction) GrantInvokeUrl(grantee awsia
1017
973
  return returns
1018
974
  }
1019
975
 
1020
- func (c *jsiiProxy_CheckStateMachineStatusFunction) GrantInvokeVersion(grantee awsiam.IGrantable, version awslambda.IVersion) awsiam.Grant {
1021
- if err := c.validateGrantInvokeVersionParameters(grantee, version); err != nil {
1022
- panic(err)
1023
- }
1024
- var returns awsiam.Grant
1025
-
1026
- _jsii_.Invoke(
1027
- c,
1028
- "grantInvokeVersion",
1029
- []interface{}{grantee, version},
1030
- &returns,
1031
- )
1032
-
1033
- return returns
1034
- }
1035
-
1036
976
  func (c *jsiiProxy_CheckStateMachineStatusFunction) InvalidateVersionBasedOn(x *string) {
1037
977
  if err := c.validateInvalidateVersionBasedOnParameters(x); err != nil {
1038
978
  panic(err)