@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.
@@ -46,9 +46,6 @@ type CheckStateMachineStatusFunctionProps struct {
46
46
  //
47
47
  // If set to false, you must individually add traffic rules to allow the
48
48
  // Lambda to connect to network targets.
49
- //
50
- // Do not specify this property if the `securityGroups` or `securityGroup` property is set.
51
- // Instead, configure `allowAllOutbound` directly on the security group.
52
49
  // Default: true.
53
50
  //
54
51
  AllowAllOutbound *bool `field:"optional" json:"allowAllOutbound" yaml:"allowAllOutbound"`
@@ -60,15 +57,6 @@ type CheckStateMachineStatusFunctionProps struct {
60
57
  // Default: false.
61
58
  //
62
59
  AllowPublicSubnet *bool `field:"optional" json:"allowPublicSubnet" yaml:"allowPublicSubnet"`
63
- // Sets the application log level for the function.
64
- // Default: "INFO".
65
- //
66
- // Deprecated: Use `applicationLogLevelV2` as a property instead.
67
- ApplicationLogLevel *string `field:"optional" json:"applicationLogLevel" yaml:"applicationLogLevel"`
68
- // Sets the application log level for the function.
69
- // Default: ApplicationLogLevel.INFO
70
- //
71
- ApplicationLogLevelV2 awslambda.ApplicationLogLevel `field:"optional" json:"applicationLogLevelV2" yaml:"applicationLogLevelV2"`
72
60
  // The system architectures compatible with this lambda function.
73
61
  // Default: Architecture.X86_64
74
62
  //
@@ -148,12 +136,6 @@ type CheckStateMachineStatusFunctionProps struct {
148
136
  // Default: - No Lambda Insights.
149
137
  //
150
138
  InsightsVersion awslambda.LambdaInsightsVersion `field:"optional" json:"insightsVersion" yaml:"insightsVersion"`
151
- // Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
152
- //
153
- // Only used if 'vpc' is supplied.
154
- // Default: false.
155
- //
156
- Ipv6AllowedForDualStack *bool `field:"optional" json:"ipv6AllowedForDualStack" yaml:"ipv6AllowedForDualStack"`
157
139
  // A list of layers to add to the function's execution environment.
158
140
  //
159
141
  // You can configure your Lambda function to pull in
@@ -162,62 +144,21 @@ type CheckStateMachineStatusFunctionProps struct {
162
144
  // Default: - No layers.
163
145
  //
164
146
  Layers *[]awslambda.ILayerVersion `field:"optional" json:"layers" yaml:"layers"`
165
- // Sets the logFormat for the function.
166
- // Default: "Text".
167
- //
168
- // Deprecated: Use `loggingFormat` as a property instead.
169
- LogFormat *string `field:"optional" json:"logFormat" yaml:"logFormat"`
170
- // Sets the loggingFormat for the function.
171
- // Default: LoggingFormat.TEXT
172
- //
173
- LoggingFormat awslambda.LoggingFormat `field:"optional" json:"loggingFormat" yaml:"loggingFormat"`
174
- // The log group the function sends logs to.
175
- //
176
- // By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/\<function name\>.
177
- // However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention.
178
- //
179
- // Use the `logGroup` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it.
180
- //
181
- // Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16.
182
- // If you are deploying to another type of region, please check regional availability first.
183
- // Default: `/aws/lambda/${this.functionName}` - default log group created by Lambda
184
- //
185
- LogGroup awslogs.ILogGroup `field:"optional" json:"logGroup" yaml:"logGroup"`
186
147
  // The number of days log events are kept in CloudWatch Logs.
187
148
  //
188
149
  // When updating
189
150
  // this property, unsetting it doesn't remove the log retention policy. To
190
151
  // remove the retention policy, set the value to `INFINITE`.
191
- //
192
- // This is a legacy API and we strongly recommend you move away from it if you can.
193
- // Instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property
194
- // to instruct the Lambda function to send logs to it.
195
- // Migrating from `logRetention` to `logGroup` will cause the name of the log group to change.
196
- // Users and code and referencing the name verbatim will have to adjust.
197
- //
198
- // In AWS CDK code, you can access the log group name directly from the LogGroup construct:
199
- // ```ts
200
- // import * as logs from 'aws-cdk-lib/aws-logs';
201
- //
202
- // declare const myLogGroup: logs.LogGroup;
203
- // myLogGroup.logGroupName;
204
- // ```.
205
152
  // Default: logs.RetentionDays.INFINITE
206
153
  //
207
154
  LogRetention awslogs.RetentionDays `field:"optional" json:"logRetention" yaml:"logRetention"`
208
155
  // When log retention is specified, a custom resource attempts to create the CloudWatch log group.
209
156
  //
210
157
  // These options control the retry policy when interacting with CloudWatch APIs.
211
- //
212
- // This is a legacy API and we strongly recommend you migrate to `logGroup` if you can.
213
- // `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
214
158
  // Default: - Default AWS SDK retry options.
215
159
  //
216
160
  LogRetentionRetryOptions *awslambda.LogRetentionRetryOptions `field:"optional" json:"logRetentionRetryOptions" yaml:"logRetentionRetryOptions"`
217
161
  // The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
218
- //
219
- // This is a legacy API and we strongly recommend you migrate to `logGroup` if you can.
220
- // `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
221
162
  // Default: - A new role is created.
222
163
  //
223
164
  LogRetentionRole awsiam.IRole `field:"optional" json:"logRetentionRole" yaml:"logRetentionRole"`
@@ -280,21 +221,6 @@ type CheckStateMachineStatusFunctionProps struct {
280
221
  // group will be created for this function.
281
222
  //
282
223
  SecurityGroups *[]awsec2.ISecurityGroup `field:"optional" json:"securityGroups" yaml:"securityGroups"`
283
- // Enable SnapStart for Lambda Function.
284
- //
285
- // SnapStart is currently supported only for Java 11, 17 runtime.
286
- // Default: - No snapstart.
287
- //
288
- SnapStart awslambda.SnapStartConf `field:"optional" json:"snapStart" yaml:"snapStart"`
289
- // Sets the system log level for the function.
290
- // Default: "INFO".
291
- //
292
- // Deprecated: Use `systemLogLevelV2` as a property instead.
293
- SystemLogLevel *string `field:"optional" json:"systemLogLevel" yaml:"systemLogLevel"`
294
- // Sets the system log level for the function.
295
- // Default: SystemLogLevel.INFO
296
- //
297
- SystemLogLevelV2 awslambda.SystemLogLevel `field:"optional" json:"systemLogLevelV2" yaml:"systemLogLevelV2"`
298
224
  // The function execution time (in seconds) after which Lambda terminates the function.
299
225
  //
300
226
  // Because the execution time affects cost, set this value
@@ -158,22 +158,6 @@ func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeParameter
158
158
  return nil
159
159
  }
160
160
 
161
- func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeCompositePrincipalParameters(compositePrincipal awsiam.CompositePrincipal) error {
162
- if compositePrincipal == nil {
163
- return fmt.Errorf("parameter compositePrincipal is required, but nil was provided")
164
- }
165
-
166
- return nil
167
- }
168
-
169
- func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeLatestVersionParameters(grantee awsiam.IGrantable) error {
170
- if grantee == nil {
171
- return fmt.Errorf("parameter grantee is required, but nil was provided")
172
- }
173
-
174
- return nil
175
- }
176
-
177
161
  func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeUrlParameters(grantee awsiam.IGrantable) error {
178
162
  if grantee == nil {
179
163
  return fmt.Errorf("parameter grantee is required, but nil was provided")
@@ -182,18 +166,6 @@ func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeUrlParame
182
166
  return nil
183
167
  }
184
168
 
185
- func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeVersionParameters(grantee awsiam.IGrantable, version awslambda.IVersion) error {
186
- if grantee == nil {
187
- return fmt.Errorf("parameter grantee is required, but nil was provided")
188
- }
189
-
190
- if version == nil {
191
- return fmt.Errorf("parameter version is required, but nil was provided")
192
- }
193
-
194
- return nil
195
- }
196
-
197
169
  func (c *jsiiProxy_CheckStateMachineStatusFunction) validateInvalidateVersionBasedOnParameters(x *string) error {
198
170
  if x == nil {
199
171
  return fmt.Errorf("parameter x is required, but nil was provided")
@@ -56,22 +56,10 @@ func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeParameter
56
56
  return nil
57
57
  }
58
58
 
59
- func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeCompositePrincipalParameters(compositePrincipal awsiam.CompositePrincipal) error {
60
- return nil
61
- }
62
-
63
- func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeLatestVersionParameters(grantee awsiam.IGrantable) error {
64
- return nil
65
- }
66
-
67
59
  func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeUrlParameters(grantee awsiam.IGrantable) error {
68
60
  return nil
69
61
  }
70
62
 
71
- func (c *jsiiProxy_CheckStateMachineStatusFunction) validateGrantInvokeVersionParameters(grantee awsiam.IGrantable, version awslambda.IVersion) error {
72
- return nil
73
- }
74
-
75
63
  func (c *jsiiProxy_CheckStateMachineStatusFunction) validateInvalidateVersionBasedOnParameters(x *string) error {
76
64
  return nil
77
65
  }
@@ -88,7 +88,6 @@ const imagePipeline = new ImagePipeline(this, 'ImagePipeline', {
88
88
  parentImage: image.getImage(this).imageId,
89
89
  vpc: vpc,
90
90
  imageRecipeVersion: version,
91
- autoBuild: true, // Otherwise you can't use the below output
92
91
  components: [
93
92
  {
94
93
  name: 'Install-Monitoring',
@@ -122,11 +122,11 @@ type StartStateMachineFunction 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 StartStateMachineFunction 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 StartStateMachineFunction_ClassifyVersionProperty(propertyName *string, loc
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 StartStateMachineFunction_FromFunctionArn(scope constructs.Construct, id *string, functionArn *string) awslambda.IFunction {
492
483
  _init_.Initialize()
493
484
 
@@ -507,9 +498,6 @@ func StartStateMachineFunction_FromFunctionArn(scope constructs.Construct, id *s
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 StartStateMachineFunction_FromFunctionAttributes(scope constructs.Construct, id *string, attrs *awslambda.FunctionAttributes) awslambda.IFunction {
514
502
  _init_.Initialize()
515
503
 
@@ -969,38 +957,6 @@ func (s *jsiiProxy_StartStateMachineFunction) GrantInvoke(grantee awsiam.IGranta
969
957
  return returns
970
958
  }
971
959
 
972
- func (s *jsiiProxy_StartStateMachineFunction) GrantInvokeCompositePrincipal(compositePrincipal awsiam.CompositePrincipal) *[]awsiam.Grant {
973
- if err := s.validateGrantInvokeCompositePrincipalParameters(compositePrincipal); err != nil {
974
- panic(err)
975
- }
976
- var returns *[]awsiam.Grant
977
-
978
- _jsii_.Invoke(
979
- s,
980
- "grantInvokeCompositePrincipal",
981
- []interface{}{compositePrincipal},
982
- &returns,
983
- )
984
-
985
- return returns
986
- }
987
-
988
- func (s *jsiiProxy_StartStateMachineFunction) GrantInvokeLatestVersion(grantee awsiam.IGrantable) awsiam.Grant {
989
- if err := s.validateGrantInvokeLatestVersionParameters(grantee); err != nil {
990
- panic(err)
991
- }
992
- var returns awsiam.Grant
993
-
994
- _jsii_.Invoke(
995
- s,
996
- "grantInvokeLatestVersion",
997
- []interface{}{grantee},
998
- &returns,
999
- )
1000
-
1001
- return returns
1002
- }
1003
-
1004
960
  func (s *jsiiProxy_StartStateMachineFunction) GrantInvokeUrl(grantee awsiam.IGrantable) awsiam.Grant {
1005
961
  if err := s.validateGrantInvokeUrlParameters(grantee); err != nil {
1006
962
  panic(err)
@@ -1017,22 +973,6 @@ func (s *jsiiProxy_StartStateMachineFunction) GrantInvokeUrl(grantee awsiam.IGra
1017
973
  return returns
1018
974
  }
1019
975
 
1020
- func (s *jsiiProxy_StartStateMachineFunction) GrantInvokeVersion(grantee awsiam.IGrantable, version awslambda.IVersion) awsiam.Grant {
1021
- if err := s.validateGrantInvokeVersionParameters(grantee, version); err != nil {
1022
- panic(err)
1023
- }
1024
- var returns awsiam.Grant
1025
-
1026
- _jsii_.Invoke(
1027
- s,
1028
- "grantInvokeVersion",
1029
- []interface{}{grantee, version},
1030
- &returns,
1031
- )
1032
-
1033
- return returns
1034
- }
1035
-
1036
976
  func (s *jsiiProxy_StartStateMachineFunction) InvalidateVersionBasedOn(x *string) {
1037
977
  if err := s.validateInvalidateVersionBasedOnParameters(x); err != nil {
1038
978
  panic(err)
@@ -46,9 +46,6 @@ type StartStateMachineFunctionProps struct {
46
46
  //
47
47
  // If set to false, you must individually add traffic rules to allow the
48
48
  // Lambda to connect to network targets.
49
- //
50
- // Do not specify this property if the `securityGroups` or `securityGroup` property is set.
51
- // Instead, configure `allowAllOutbound` directly on the security group.
52
49
  // Default: true.
53
50
  //
54
51
  AllowAllOutbound *bool `field:"optional" json:"allowAllOutbound" yaml:"allowAllOutbound"`
@@ -60,15 +57,6 @@ type StartStateMachineFunctionProps struct {
60
57
  // Default: false.
61
58
  //
62
59
  AllowPublicSubnet *bool `field:"optional" json:"allowPublicSubnet" yaml:"allowPublicSubnet"`
63
- // Sets the application log level for the function.
64
- // Default: "INFO".
65
- //
66
- // Deprecated: Use `applicationLogLevelV2` as a property instead.
67
- ApplicationLogLevel *string `field:"optional" json:"applicationLogLevel" yaml:"applicationLogLevel"`
68
- // Sets the application log level for the function.
69
- // Default: ApplicationLogLevel.INFO
70
- //
71
- ApplicationLogLevelV2 awslambda.ApplicationLogLevel `field:"optional" json:"applicationLogLevelV2" yaml:"applicationLogLevelV2"`
72
60
  // The system architectures compatible with this lambda function.
73
61
  // Default: Architecture.X86_64
74
62
  //
@@ -148,12 +136,6 @@ type StartStateMachineFunctionProps struct {
148
136
  // Default: - No Lambda Insights.
149
137
  //
150
138
  InsightsVersion awslambda.LambdaInsightsVersion `field:"optional" json:"insightsVersion" yaml:"insightsVersion"`
151
- // Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
152
- //
153
- // Only used if 'vpc' is supplied.
154
- // Default: false.
155
- //
156
- Ipv6AllowedForDualStack *bool `field:"optional" json:"ipv6AllowedForDualStack" yaml:"ipv6AllowedForDualStack"`
157
139
  // A list of layers to add to the function's execution environment.
158
140
  //
159
141
  // You can configure your Lambda function to pull in
@@ -162,62 +144,21 @@ type StartStateMachineFunctionProps struct {
162
144
  // Default: - No layers.
163
145
  //
164
146
  Layers *[]awslambda.ILayerVersion `field:"optional" json:"layers" yaml:"layers"`
165
- // Sets the logFormat for the function.
166
- // Default: "Text".
167
- //
168
- // Deprecated: Use `loggingFormat` as a property instead.
169
- LogFormat *string `field:"optional" json:"logFormat" yaml:"logFormat"`
170
- // Sets the loggingFormat for the function.
171
- // Default: LoggingFormat.TEXT
172
- //
173
- LoggingFormat awslambda.LoggingFormat `field:"optional" json:"loggingFormat" yaml:"loggingFormat"`
174
- // The log group the function sends logs to.
175
- //
176
- // By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/\<function name\>.
177
- // However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention.
178
- //
179
- // Use the `logGroup` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it.
180
- //
181
- // Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16.
182
- // If you are deploying to another type of region, please check regional availability first.
183
- // Default: `/aws/lambda/${this.functionName}` - default log group created by Lambda
184
- //
185
- LogGroup awslogs.ILogGroup `field:"optional" json:"logGroup" yaml:"logGroup"`
186
147
  // The number of days log events are kept in CloudWatch Logs.
187
148
  //
188
149
  // When updating
189
150
  // this property, unsetting it doesn't remove the log retention policy. To
190
151
  // remove the retention policy, set the value to `INFINITE`.
191
- //
192
- // This is a legacy API and we strongly recommend you move away from it if you can.
193
- // Instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property
194
- // to instruct the Lambda function to send logs to it.
195
- // Migrating from `logRetention` to `logGroup` will cause the name of the log group to change.
196
- // Users and code and referencing the name verbatim will have to adjust.
197
- //
198
- // In AWS CDK code, you can access the log group name directly from the LogGroup construct:
199
- // ```ts
200
- // import * as logs from 'aws-cdk-lib/aws-logs';
201
- //
202
- // declare const myLogGroup: logs.LogGroup;
203
- // myLogGroup.logGroupName;
204
- // ```.
205
152
  // Default: logs.RetentionDays.INFINITE
206
153
  //
207
154
  LogRetention awslogs.RetentionDays `field:"optional" json:"logRetention" yaml:"logRetention"`
208
155
  // When log retention is specified, a custom resource attempts to create the CloudWatch log group.
209
156
  //
210
157
  // These options control the retry policy when interacting with CloudWatch APIs.
211
- //
212
- // This is a legacy API and we strongly recommend you migrate to `logGroup` if you can.
213
- // `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
214
158
  // Default: - Default AWS SDK retry options.
215
159
  //
216
160
  LogRetentionRetryOptions *awslambda.LogRetentionRetryOptions `field:"optional" json:"logRetentionRetryOptions" yaml:"logRetentionRetryOptions"`
217
161
  // The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
218
- //
219
- // This is a legacy API and we strongly recommend you migrate to `logGroup` if you can.
220
- // `logGroup` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
221
162
  // Default: - A new role is created.
222
163
  //
223
164
  LogRetentionRole awsiam.IRole `field:"optional" json:"logRetentionRole" yaml:"logRetentionRole"`
@@ -280,21 +221,6 @@ type StartStateMachineFunctionProps struct {
280
221
  // group will be created for this function.
281
222
  //
282
223
  SecurityGroups *[]awsec2.ISecurityGroup `field:"optional" json:"securityGroups" yaml:"securityGroups"`
283
- // Enable SnapStart for Lambda Function.
284
- //
285
- // SnapStart is currently supported only for Java 11, 17 runtime.
286
- // Default: - No snapstart.
287
- //
288
- SnapStart awslambda.SnapStartConf `field:"optional" json:"snapStart" yaml:"snapStart"`
289
- // Sets the system log level for the function.
290
- // Default: "INFO".
291
- //
292
- // Deprecated: Use `systemLogLevelV2` as a property instead.
293
- SystemLogLevel *string `field:"optional" json:"systemLogLevel" yaml:"systemLogLevel"`
294
- // Sets the system log level for the function.
295
- // Default: SystemLogLevel.INFO
296
- //
297
- SystemLogLevelV2 awslambda.SystemLogLevel `field:"optional" json:"systemLogLevelV2" yaml:"systemLogLevelV2"`
298
224
  // The function execution time (in seconds) after which Lambda terminates the function.
299
225
  //
300
226
  // Because the execution time affects cost, set this value
@@ -158,22 +158,6 @@ func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeParameters(gran
158
158
  return nil
159
159
  }
160
160
 
161
- func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeCompositePrincipalParameters(compositePrincipal awsiam.CompositePrincipal) error {
162
- if compositePrincipal == nil {
163
- return fmt.Errorf("parameter compositePrincipal is required, but nil was provided")
164
- }
165
-
166
- return nil
167
- }
168
-
169
- func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeLatestVersionParameters(grantee awsiam.IGrantable) error {
170
- if grantee == nil {
171
- return fmt.Errorf("parameter grantee is required, but nil was provided")
172
- }
173
-
174
- return nil
175
- }
176
-
177
161
  func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeUrlParameters(grantee awsiam.IGrantable) error {
178
162
  if grantee == nil {
179
163
  return fmt.Errorf("parameter grantee is required, but nil was provided")
@@ -182,18 +166,6 @@ func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeUrlParameters(g
182
166
  return nil
183
167
  }
184
168
 
185
- func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeVersionParameters(grantee awsiam.IGrantable, version awslambda.IVersion) error {
186
- if grantee == nil {
187
- return fmt.Errorf("parameter grantee is required, but nil was provided")
188
- }
189
-
190
- if version == nil {
191
- return fmt.Errorf("parameter version is required, but nil was provided")
192
- }
193
-
194
- return nil
195
- }
196
-
197
169
  func (s *jsiiProxy_StartStateMachineFunction) validateInvalidateVersionBasedOnParameters(x *string) error {
198
170
  if x == nil {
199
171
  return fmt.Errorf("parameter x is required, but nil was provided")
@@ -56,22 +56,10 @@ func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeParameters(gran
56
56
  return nil
57
57
  }
58
58
 
59
- func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeCompositePrincipalParameters(compositePrincipal awsiam.CompositePrincipal) error {
60
- return nil
61
- }
62
-
63
- func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeLatestVersionParameters(grantee awsiam.IGrantable) error {
64
- return nil
65
- }
66
-
67
59
  func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeUrlParameters(grantee awsiam.IGrantable) error {
68
60
  return nil
69
61
  }
70
62
 
71
- func (s *jsiiProxy_StartStateMachineFunction) validateGrantInvokeVersionParameters(grantee awsiam.IGrantable, version awslambda.IVersion) error {
72
- return nil
73
- }
74
-
75
63
  func (s *jsiiProxy_StartStateMachineFunction) validateInvalidateVersionBasedOnParameters(x *string) error {
76
64
  return nil
77
65
  }
@@ -4,9 +4,9 @@ go 1.23
4
4
 
5
5
  require (
6
6
  github.com/aws/jsii-runtime-go v1.114.1
7
- github.com/aws/aws-cdk-go/awscdk/v2 v2.150.0
7
+ github.com/aws/aws-cdk-go/awscdk/v2 v2.85.0
8
8
  github.com/aws/constructs-go/constructs/v10 v10.4.2
9
9
  github.com/cdklabs/awscdk-asset-awscli-go/awscliv1/v2 v2.2.252 // indirect
10
10
  github.com/cdklabs/awscdk-asset-kubectl-go/kubectlv20/v2 v2.1.4 // indirect
11
- github.com/cdklabs/awscdk-asset-node-proxy-agent-go/nodeproxyagentv6/v2 v2.1.0 // indirect
11
+ github.com/cdklabs/awscdk-asset-node-proxy-agent-go/nodeproxyagentv5/v2 v2.0.166 // indirect
12
12
  )
@@ -13,7 +13,7 @@ import (
13
13
  constructs "github.com/aws/constructs-go/constructs/v10/jsii"
14
14
  )
15
15
 
16
- //go:embed jjrawlins-cdk-ami-builder-0.0.25.tgz
16
+ //go:embed jjrawlins-cdk-ami-builder-0.0.27.tgz
17
17
  var tarball []byte
18
18
 
19
19
  // Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
@@ -24,5 +24,5 @@ func Initialize() {
24
24
  constructs.Initialize()
25
25
 
26
26
  // Load this library into the kernel
27
- _jsii_.Load("@jjrawlins/cdk-ami-builder", "0.0.25", tarball)
27
+ _jsii_.Load("@jjrawlins/cdk-ami-builder", "0.0.27", tarball)
28
28
  }
@@ -36,10 +36,7 @@ func init() {
36
36
  _jsii_.MemberMethod{JsiiMethod: "getResourceArnAttribute", GoMethod: "GetResourceArnAttribute"},
37
37
  _jsii_.MemberMethod{JsiiMethod: "getResourceNameAttribute", GoMethod: "GetResourceNameAttribute"},
38
38
  _jsii_.MemberMethod{JsiiMethod: "grantInvoke", GoMethod: "GrantInvoke"},
39
- _jsii_.MemberMethod{JsiiMethod: "grantInvokeCompositePrincipal", GoMethod: "GrantInvokeCompositePrincipal"},
40
- _jsii_.MemberMethod{JsiiMethod: "grantInvokeLatestVersion", GoMethod: "GrantInvokeLatestVersion"},
41
39
  _jsii_.MemberMethod{JsiiMethod: "grantInvokeUrl", GoMethod: "GrantInvokeUrl"},
42
- _jsii_.MemberMethod{JsiiMethod: "grantInvokeVersion", GoMethod: "GrantInvokeVersion"},
43
40
  _jsii_.MemberProperty{JsiiProperty: "grantPrincipal", GoGetter: "GrantPrincipal"},
44
41
  _jsii_.MemberMethod{JsiiMethod: "invalidateVersionBasedOn", GoMethod: "InvalidateVersionBasedOn"},
45
42
  _jsii_.MemberProperty{JsiiProperty: "isBoundToVpc", GoGetter: "IsBoundToVpc"},
@@ -207,10 +204,7 @@ func init() {
207
204
  _jsii_.MemberMethod{JsiiMethod: "getResourceArnAttribute", GoMethod: "GetResourceArnAttribute"},
208
205
  _jsii_.MemberMethod{JsiiMethod: "getResourceNameAttribute", GoMethod: "GetResourceNameAttribute"},
209
206
  _jsii_.MemberMethod{JsiiMethod: "grantInvoke", GoMethod: "GrantInvoke"},
210
- _jsii_.MemberMethod{JsiiMethod: "grantInvokeCompositePrincipal", GoMethod: "GrantInvokeCompositePrincipal"},
211
- _jsii_.MemberMethod{JsiiMethod: "grantInvokeLatestVersion", GoMethod: "GrantInvokeLatestVersion"},
212
207
  _jsii_.MemberMethod{JsiiMethod: "grantInvokeUrl", GoMethod: "GrantInvokeUrl"},
213
- _jsii_.MemberMethod{JsiiMethod: "grantInvokeVersion", GoMethod: "GrantInvokeVersion"},
214
208
  _jsii_.MemberProperty{JsiiProperty: "grantPrincipal", GoGetter: "GrantPrincipal"},
215
209
  _jsii_.MemberMethod{JsiiMethod: "invalidateVersionBasedOn", GoMethod: "InvalidateVersionBasedOn"},
216
210
  _jsii_.MemberProperty{JsiiProperty: "isBoundToVpc", GoGetter: "IsBoundToVpc"},
@@ -1 +1 @@
1
- 0.0.25
1
+ 0.0.27