diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a534c9..4cec0eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,9 @@ Dropping a requirement of a major version of a dependency is a new contract. ## [Unreleased] [Unreleased]: https://github.com/atlassian-labs/aws-resources/compare/release-1.14.0...master +### Added +- Add `Aws.Builder.housekeeping` + ### Fixed - Tag security groups atomically when created. - Respect AWS request size limits in `TerminationBatchingEc2` and `TerminationPollingEc2`. diff --git a/src/main/kotlin/com/atlassian/performance/tools/aws/api/Aws.kt b/src/main/kotlin/com/atlassian/performance/tools/aws/api/Aws.kt index 6f72bf6..101ad39 100644 --- a/src/main/kotlin/com/atlassian/performance/tools/aws/api/Aws.kt +++ b/src/main/kotlin/com/atlassian/performance/tools/aws/api/Aws.kt @@ -402,13 +402,15 @@ class Aws private constructor( */ fun amiProvider(amiProvider: AmiProvider): Builder = apply { this.amiProvider = amiProvider } + fun housekeeping(housekeeping: Housekeeping): Builder = apply { this.housekeeping = housekeeping } + /** * @param [managedPolicyArns] A way to attach additional managed policies to [shortTermStorage]. */ - fun managedPolicyArns(managedPolicyArns: List): Builder = apply { this.managedPolicyArns = managedPolicyArns } + fun build(): Aws = Aws( region = region, credentialsProvider = credentialsProvider,