Skip to content

Commit

Permalink
Add lacking Aws.Builder.housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrzaslewicz authored and dagguh committed Jan 23, 2024
1 parent b70a562 commit 16dbb33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>): Builder =
apply { this.managedPolicyArns = managedPolicyArns }


fun build(): Aws = Aws(
region = region,
credentialsProvider = credentialsProvider,
Expand Down

0 comments on commit 16dbb33

Please sign in to comment.