Package de.taimos.pipeline.aws
Class AWSUtilFactory
java.lang.Object
de.taimos.pipeline.aws.AWSUtilFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudFormationStacknewCFStack(software.amazon.awssdk.services.cloudformation.CloudFormationClient client, String stack, TaskListener listener) static CloudFormationStackSetnewCFStackSet(software.amazon.awssdk.services.cloudformation.CloudFormationClient client, String stack, TaskListener listener, SleepStrategy sleepStrategy) static software.amazon.awssdk.transfer.s3.S3TransferManagernewV2TransferManager(software.amazon.awssdk.services.s3.S3AsyncClient s3Client) Note that closing the returned manager does not close this client: S3TransferManager closes only an async client it constructed itself.static voidsetStackSetSupplier(Function<String, CloudFormationStackSet> supplier) static voidsetStackSupplier(Function<String, CloudFormationStack> supplier) static voidsetV2TransferManagerSupplier(Supplier<software.amazon.awssdk.transfer.s3.S3TransferManager> tfSupplier)
-
Constructor Details
-
AWSUtilFactory
public AWSUtilFactory()
-
-
Method Details
-
setStackSupplier
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static void setStackSupplier(Function<String, CloudFormationStack> supplier) -
setStackSetSupplier
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static void setStackSetSupplier(Function<String, CloudFormationStackSet> supplier) -
newCFStack
public static CloudFormationStack newCFStack(software.amazon.awssdk.services.cloudformation.CloudFormationClient client, String stack, TaskListener listener) -
newCFStackSet
public static CloudFormationStackSet newCFStackSet(software.amazon.awssdk.services.cloudformation.CloudFormationClient client, String stack, TaskListener listener, SleepStrategy sleepStrategy) -
newV2TransferManager
public static software.amazon.awssdk.transfer.s3.S3TransferManager newV2TransferManager(software.amazon.awssdk.services.s3.S3AsyncClient s3Client) Note that closing the returned manager does not close this client: S3TransferManager closes only an async client it constructed itself. Callers own what they pass in and must close it. -
setV2TransferManagerSupplier
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static void setV2TransferManagerSupplier(Supplier<software.amazon.awssdk.transfer.s3.S3TransferManager> tfSupplier)
-