

# S3ConnectionDetails

Contains the source URI and, optionally, the expected bucket owner for an Amazon S3 connection.

## Contents
<a name="API_S3ConnectionDetails_Contents"></a>

 ** sourceUri **   <a name="assurance-Type-S3ConnectionDetails-sourceUri"></a>
The Amazon S3 URI of the connection. To delete the connection, pass this value to `DeleteEnvironmentConnection` in `providerConfig.s3.sourceUri`.  
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 **   <a name="assurance-Type-S3ConnectionDetails-expectedBucketOwner"></a>
The ID of the AWS account that must own the bucket. Absent if the connection doesn't specify an expected bucket owner.  
Type: String  
Length Constraints: Fixed length of 12.  
Pattern: `[0-9]{12}`   
Required: No

## See Also
<a name="API_S3ConnectionDetails_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/assurance-2022-07-26/S3ConnectionDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/S3ConnectionDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/S3ConnectionDetails) 