cdk-lambda-subminute 2.0.348 → 2.0.350
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 +29 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +12 -0
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +255 -130
- package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +12 -3
- package/node_modules/aws-sdk/apis/metadata.json +3 -0
- package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +8 -6
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.examples.json +57 -0
- package/node_modules/aws-sdk/apis/supplychain-2024-01-01.examples.json +5 -0
- package/node_modules/aws-sdk/apis/supplychain-2024-01-01.min.json +98 -0
- package/node_modules/aws-sdk/apis/supplychain-2024-01-01.paginators.json +4 -0
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +27 -17
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/connect.d.ts +12 -12
- package/node_modules/aws-sdk/clients/connectparticipant.d.ts +1 -1
- package/node_modules/aws-sdk/clients/ec2.d.ts +40 -24
- package/node_modules/aws-sdk/clients/ecs.d.ts +175 -13
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +13 -2
- package/node_modules/aws-sdk/clients/iot.d.ts +4 -4
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +2 -2
- package/node_modules/aws-sdk/clients/location.d.ts +9 -9
- package/node_modules/aws-sdk/clients/mwaa.d.ts +10 -0
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +8 -8
- package/node_modules/aws-sdk/clients/supplychain.d.ts +111 -0
- package/node_modules/aws-sdk/clients/supplychain.js +18 -0
- package/node_modules/aws-sdk/clients/transfer.d.ts +11 -1
- package/node_modules/aws-sdk/clients/workspaces.d.ts +5 -5
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +46 -9
- package/node_modules/aws-sdk/dist/aws-sdk.js +273 -133
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +67 -67
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -2989,11 +2989,11 @@ declare class EC2 extends Service {
|
|
2989
2989
|
*/
|
2990
2990
|
detachVerifiedAccessTrustProvider(callback?: (err: AWSError, data: EC2.Types.DetachVerifiedAccessTrustProviderResult) => void): Request<EC2.Types.DetachVerifiedAccessTrustProviderResult, AWSError>;
|
2991
2991
|
/**
|
2992
|
-
* Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
|
2992
|
+
* Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. You can't detach or force detach volumes that are attached to Amazon ECS or Fargate tasks. Attempting to do this results in the UnsupportedOperationException exception with the Unable to detach volume attached to ECS tasks error message. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
|
2993
2993
|
*/
|
2994
2994
|
detachVolume(params: EC2.Types.DetachVolumeRequest, callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request<EC2.Types.VolumeAttachment, AWSError>;
|
2995
2995
|
/**
|
2996
|
-
* Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
|
2996
|
+
* Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. You can't detach or force detach volumes that are attached to Amazon ECS or Fargate tasks. Attempting to do this results in the UnsupportedOperationException exception with the Unable to detach volume attached to ECS tasks error message. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
|
2997
2997
|
*/
|
2998
2998
|
detachVolume(callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request<EC2.Types.VolumeAttachment, AWSError>;
|
2999
2999
|
/**
|
@@ -13725,7 +13725,7 @@ declare namespace EC2 {
|
|
13725
13725
|
*/
|
13726
13726
|
NextToken?: String;
|
13727
13727
|
/**
|
13728
|
-
* The maximum number of
|
13728
|
+
* The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
|
13729
13729
|
*/
|
13730
13730
|
MaxResults?: DescribeCapacityBlockOfferingsMaxResults;
|
13731
13731
|
}
|
@@ -13750,7 +13750,7 @@ declare namespace EC2 {
|
|
13750
13750
|
*/
|
13751
13751
|
NextToken?: String;
|
13752
13752
|
/**
|
13753
|
-
* The maximum number of
|
13753
|
+
* The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
|
13754
13754
|
*/
|
13755
13755
|
MaxResults?: DescribeCapacityReservationFleetsMaxResults;
|
13756
13756
|
/**
|
@@ -13783,7 +13783,7 @@ declare namespace EC2 {
|
|
13783
13783
|
*/
|
13784
13784
|
NextToken?: String;
|
13785
13785
|
/**
|
13786
|
-
* The maximum number of
|
13786
|
+
* The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
|
13787
13787
|
*/
|
13788
13788
|
MaxResults?: DescribeCapacityReservationsMaxResults;
|
13789
13789
|
/**
|
@@ -19307,6 +19307,14 @@ declare namespace EC2 {
|
|
19307
19307
|
* The ID of the EBS volume.
|
19308
19308
|
*/
|
19309
19309
|
VolumeId?: String;
|
19310
|
+
/**
|
19311
|
+
* The ARN of the Amazon ECS or Fargate task to which the volume is attached.
|
19312
|
+
*/
|
19313
|
+
AssociatedResource?: String;
|
19314
|
+
/**
|
19315
|
+
* The ID of the Amazon Web Services account that owns the volume. This parameter is returned only for volumes that are attached to Fargate tasks.
|
19316
|
+
*/
|
19317
|
+
VolumeOwnerId?: String;
|
19310
19318
|
}
|
19311
19319
|
export interface EbsInstanceBlockDeviceSpecification {
|
19312
19320
|
/**
|
@@ -19897,7 +19905,7 @@ declare namespace EC2 {
|
|
19897
19905
|
}
|
19898
19906
|
export interface EnableSnapshotBlockPublicAccessRequest {
|
19899
19907
|
/**
|
19900
|
-
* The mode in which to enable block public access for snapshots for the Region. Specify one of the following values: block-all-sharing - Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available. If you enable block public access for snapshots in block-all-sharing mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available. block-new-sharing - Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.
|
19908
|
+
* The mode in which to enable block public access for snapshots for the Region. Specify one of the following values: block-all-sharing - Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available. If you enable block public access for snapshots in block-all-sharing mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available. block-new-sharing - Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available. unblocked is not a valid value for EnableSnapshotBlockPublicAccess.
|
19901
19909
|
*/
|
19902
19910
|
State: SnapshotBlockPublicAccessState;
|
19903
19911
|
/**
|
@@ -21294,7 +21302,7 @@ declare namespace EC2 {
|
|
21294
21302
|
*/
|
21295
21303
|
NextToken?: String;
|
21296
21304
|
/**
|
21297
|
-
* The maximum number of
|
21305
|
+
* The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
|
21298
21306
|
*/
|
21299
21307
|
MaxResults?: GetCapacityReservationUsageRequestMaxResults;
|
21300
21308
|
/**
|
@@ -21503,7 +21511,7 @@ declare namespace EC2 {
|
|
21503
21511
|
*/
|
21504
21512
|
NextToken?: String;
|
21505
21513
|
/**
|
21506
|
-
* The maximum number of
|
21514
|
+
* The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
|
21507
21515
|
*/
|
21508
21516
|
MaxResults?: GetGroupsForCapacityReservationRequestMaxResults;
|
21509
21517
|
/**
|
@@ -22167,7 +22175,7 @@ declare namespace EC2 {
|
|
22167
22175
|
*/
|
22168
22176
|
TargetCapacity: SpotPlacementScoresTargetCapacity;
|
22169
22177
|
/**
|
22170
|
-
* The unit for the target capacity.
|
22178
|
+
* The unit for the target capacity.
|
22171
22179
|
*/
|
22172
22180
|
TargetCapacityUnitType?: TargetCapacityUnitType;
|
22173
22181
|
/**
|
@@ -24415,7 +24423,7 @@ declare namespace EC2 {
|
|
24415
24423
|
export type InstanceMetadataEndpointState = "disabled"|"enabled"|string;
|
24416
24424
|
export interface InstanceMetadataOptionsRequest {
|
24417
24425
|
/**
|
24418
|
-
*
|
24426
|
+
* Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.
|
24419
24427
|
*/
|
24420
24428
|
HttpTokens?: HttpTokensState;
|
24421
24429
|
/**
|
@@ -24441,7 +24449,7 @@ declare namespace EC2 {
|
|
24441
24449
|
*/
|
24442
24450
|
State?: InstanceMetadataOptionsState;
|
24443
24451
|
/**
|
24444
|
-
*
|
24452
|
+
* Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
|
24445
24453
|
*/
|
24446
24454
|
HttpTokens?: HttpTokensState;
|
24447
24455
|
/**
|
@@ -28216,7 +28224,7 @@ declare namespace EC2 {
|
|
28216
28224
|
*/
|
28217
28225
|
Attribute?: InstanceAttributeName;
|
28218
28226
|
/**
|
28219
|
-
* Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated. To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Update the block device mapping when launching an instance in the Amazon EC2 User Guide.
|
28227
|
+
* Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated. You can't modify the DeleteOnTermination attribute for volumes that are attached to Fargate tasks. To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Update the block device mapping when launching an instance in the Amazon EC2 User Guide.
|
28220
28228
|
*/
|
28221
28229
|
BlockDeviceMappings?: InstanceBlockDeviceMappingSpecificationList;
|
28222
28230
|
/**
|
@@ -28402,7 +28410,7 @@ declare namespace EC2 {
|
|
28402
28410
|
*/
|
28403
28411
|
InstanceId: InstanceId;
|
28404
28412
|
/**
|
28405
|
-
*
|
28413
|
+
* Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.
|
28406
28414
|
*/
|
28407
28415
|
HttpTokens?: HttpTokensState;
|
28408
28416
|
/**
|
@@ -34695,7 +34703,7 @@ declare namespace EC2 {
|
|
34695
34703
|
}
|
34696
34704
|
export interface ScheduledInstancesNetworkInterface {
|
34697
34705
|
/**
|
34698
|
-
* Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
|
34706
|
+
* Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true. Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
|
34699
34707
|
*/
|
34700
34708
|
AssociatePublicIpAddress?: Boolean;
|
34701
34709
|
/**
|
@@ -35791,7 +35799,7 @@ declare namespace EC2 {
|
|
35791
35799
|
*/
|
35792
35800
|
Context?: String;
|
35793
35801
|
/**
|
35794
|
-
* The unit for the target capacity.
|
35802
|
+
* The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection. Default: units (the number of instances)
|
35795
35803
|
*/
|
35796
35804
|
TargetCapacityUnitType?: TargetCapacityUnitType;
|
35797
35805
|
/**
|
@@ -36225,7 +36233,7 @@ declare namespace EC2 {
|
|
36225
36233
|
*/
|
36226
36234
|
Code?: String;
|
36227
36235
|
/**
|
36228
|
-
* The message for the state change. Server.InsufficientInstanceCapacity: There was insufficient capacity available to satisfy the launch request. Server.InternalError: An internal error caused the instance to terminate during launch. Server.ScheduledStop: The instance was stopped due to a scheduled retirement. Server.SpotInstanceShutdown: The instance was stopped because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Server.SpotInstanceTermination: The instance was terminated because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Client.InstanceInitiatedShutdown: The instance was shut down
|
36236
|
+
* The message for the state change. Server.InsufficientInstanceCapacity: There was insufficient capacity available to satisfy the launch request. Server.InternalError: An internal error caused the instance to terminate during launch. Server.ScheduledStop: The instance was stopped due to a scheduled retirement. Server.SpotInstanceShutdown: The instance was stopped because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Server.SpotInstanceTermination: The instance was terminated because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Client.InstanceInitiatedShutdown: The instance was shut down from the operating system of the instance. Client.InstanceTerminated: The instance was terminated or rebooted during AMI creation. Client.InternalError: A client error caused the instance to terminate during launch. Client.InvalidSnapshot.NotFound: The specified snapshot was not found. Client.UserInitiatedHibernate: Hibernation was initiated on the instance. Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API. Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your account limits.
|
36229
36237
|
*/
|
36230
36238
|
Message?: String;
|
36231
36239
|
}
|
@@ -36570,7 +36578,7 @@ declare namespace EC2 {
|
|
36570
36578
|
export type TaggableResourceId = string;
|
36571
36579
|
export interface TargetCapacitySpecification {
|
36572
36580
|
/**
|
36573
|
-
* The number of units to request, filled
|
36581
|
+
* The number of units to request, filled the default target capacity type.
|
36574
36582
|
*/
|
36575
36583
|
TotalTargetCapacity?: Integer;
|
36576
36584
|
/**
|
@@ -36582,17 +36590,17 @@ declare namespace EC2 {
|
|
36582
36590
|
*/
|
36583
36591
|
SpotTargetCapacity?: Integer;
|
36584
36592
|
/**
|
36585
|
-
* The default
|
36593
|
+
* The default target capacity type.
|
36586
36594
|
*/
|
36587
36595
|
DefaultTargetCapacityType?: DefaultTargetCapacityType;
|
36588
36596
|
/**
|
36589
|
-
* The unit for the target capacity.
|
36597
|
+
* The unit for the target capacity.
|
36590
36598
|
*/
|
36591
36599
|
TargetCapacityUnitType?: TargetCapacityUnitType;
|
36592
36600
|
}
|
36593
36601
|
export interface TargetCapacitySpecificationRequest {
|
36594
36602
|
/**
|
36595
|
-
* The number of units to request, filled using
|
36603
|
+
* The number of units to request, filled using the default target capacity type.
|
36596
36604
|
*/
|
36597
36605
|
TotalTargetCapacity: Integer;
|
36598
36606
|
/**
|
@@ -36604,11 +36612,11 @@ declare namespace EC2 {
|
|
36604
36612
|
*/
|
36605
36613
|
SpotTargetCapacity?: Integer;
|
36606
36614
|
/**
|
36607
|
-
* The default
|
36615
|
+
* The default target capacity type.
|
36608
36616
|
*/
|
36609
36617
|
DefaultTargetCapacityType?: DefaultTargetCapacityType;
|
36610
36618
|
/**
|
36611
|
-
* The unit for the target capacity.
|
36619
|
+
* The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection. Default: units (the number of instances)
|
36612
36620
|
*/
|
36613
36621
|
TargetCapacityUnitType?: TargetCapacityUnitType;
|
36614
36622
|
}
|
@@ -39006,11 +39014,11 @@ declare namespace EC2 {
|
|
39006
39014
|
*/
|
39007
39015
|
AttachTime?: DateTime;
|
39008
39016
|
/**
|
39009
|
-
* The device name.
|
39017
|
+
* The device name. If the volume is attached to a Fargate task, this parameter returns null.
|
39010
39018
|
*/
|
39011
39019
|
Device?: String;
|
39012
39020
|
/**
|
39013
|
-
* The ID of the instance.
|
39021
|
+
* The ID of the instance. If the volume is attached to a Fargate task, this parameter returns null.
|
39014
39022
|
*/
|
39015
39023
|
InstanceId?: String;
|
39016
39024
|
/**
|
@@ -39025,6 +39033,14 @@ declare namespace EC2 {
|
|
39025
39033
|
* Indicates whether the EBS volume is deleted on instance termination.
|
39026
39034
|
*/
|
39027
39035
|
DeleteOnTermination?: Boolean;
|
39036
|
+
/**
|
39037
|
+
* The ARN of the Amazon ECS or Fargate task to which the volume is attached.
|
39038
|
+
*/
|
39039
|
+
AssociatedResource?: String;
|
39040
|
+
/**
|
39041
|
+
* The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached. This parameter is returned only for volumes that are attached to Fargate tasks.
|
39042
|
+
*/
|
39043
|
+
InstanceOwningService?: String;
|
39028
39044
|
}
|
39029
39045
|
export type VolumeAttachmentList = VolumeAttachment[];
|
39030
39046
|
export type VolumeAttachmentState = "attaching"|"attached"|"detaching"|"detached"|"busy"|string;
|