You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Creates VPC users for the S3 Express One Zone scenario.
356
-
* <p>
357
-
* This method performs the following steps:
358
-
* <ol>
359
-
* <li>Optionally creates a new VPC and VPC Endpoint if the application is running in an EC2 instance in the same Availability Zone as the Directory buckets.</li>
360
-
* <li>Creates two IAM users: one with S3 Express One Zone permissions and one without.</li>
361
-
* </ol>
362
-
*
363
-
* @return a {@link UserNames} object containing the names of the created IAM users
364
-
*/
365
353
/**
366
354
* Creates VPC users for the S3 Express One Zone scenario.
367
355
* <p>
@@ -424,24 +412,6 @@ public static UserNames createVpcUsers() {
424
412
returnnames;
425
413
}
426
414
427
-
/**
428
-
* Sets up a Virtual Private Cloud (VPC) in AWS.
429
-
* <p>
430
-
* This method performs the following steps:
431
-
* <ol>
432
-
* <li>Creates a VPC with a CIDR block of "10.0.0.0/16".</li>
433
-
* <li>Waits for the VPC to become available.</li>
434
-
* <li>Retrieves the route table associated with the VPC.</li>
435
-
* <li>Creates a VPC endpoint for the S3 service in the VPC.</li>
436
-
* </ol>
437
-
* <p>
438
-
* The method uses the AWS SDK for Java to interact with the EC2 service.
439
-
*
440
-
* @throws RuntimeException if the VPC wait fails
441
-
* @throws Ec2Exception if there is an error creating the VPC endpoint
442
-
*/
443
-
444
-
445
415
/**
446
416
* Sets up the necessary clients and buckets for the S3 Express service.
0 commit comments