Skip to content

Commit

Permalink
Merge branch 'master' into chore/add-adf-params-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
javydekoning authored Mar 28, 2024
2 parents ad3b48a + 7a4359f commit 55e8896
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/providers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -647,3 +647,11 @@ Provider type: `s3`.
- *role* - *(String)* default:
`arn:${partition}:iam::${target_account_id}:role/adf-cloudformation-role`.
- The role you would like to use for this action.
- *kms_encryption_key_arn* - *(String)*
- The ARN of the AWS KMS encryption key for the host bucket. The
`kms_encryption_key_arn` parameter encrypts uploaded artifacts with the
provided AWS KMS key. For a KMS key, you can use the key ID, the key ARN,
or the alias ARN.
- *cache_control* - *(String)*
- The `cache_control` parameter controls caching behavior for
requests/responses for objects in the bucket.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,28 @@ def _generate_configuration(self):
.get('object_key')
))
),
"KMSEncryptionKeyARN": (
self.target
.get('properties', {})
.get('kms_encryption_key_arn', (
self.map_params
.get('default_providers', {})
.get('deploy', {})
.get('properties', {})
.get('kms_encryption_key_arn')
))
),
"CacheControl": (
self.target
.get('properties', {})
.get('cache_control', (
self.map_params
.get('default_providers', {})
.get('deploy', {})
.get('properties', {})
.get('cache_control')
))
),
}
if self.provider == "CodeStarSourceConnection":
default_source_props = (
Expand Down

0 comments on commit 55e8896

Please sign in to comment.