View a markdown version of this page

S3ConnectionConfig - AWS Assurance

S3ConnectionConfig

The Amazon S3 location that a connection reads evidence from.

Contents

sourceUri

The S3 URI of the bucket or prefix, for example s3://amzn-s3-demo-bucket/compliance/. The bucket must be in the same AWS Region as the governance environment.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9](/.*)?

Required: Yes

expectedBucketOwner

The ID of the AWS account that must own the bucket. Required for a bucket in another account. AWS Assurance sends this value with each request to the bucket, and the request fails if a different account owns the bucket.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: