

# ConnectionItem

An item that a connection can access, such as a folder or a file.

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

 ** id **   <a name="assurance-Type-ConnectionItem-id"></a>
The identifier of the item. To list the contents of the item, pass this value as `parentId`. This doesn't apply to a `FILE`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

 ** kind **   <a name="assurance-Type-ConnectionItem-kind"></a>
The type of item. Valid values:  
+  `FILE` – A document that you can link as evidence.
+  `FOLDER` – A folder that contains other items.
+  `LIBRARY` – A SharePoint document library.
+  `REPOSITORY` – A GitHub repository.
+  `SITE` – A SharePoint site.
Type: String  
Valid Values: `REPOSITORY | SITE | LIBRARY | FOLDER | FILE`   
Required: Yes

 ** name **   <a name="assurance-Type-ConnectionItem-name"></a>
The display name of the item.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 400.  
Required: Yes

 ** sizeBytes **   <a name="assurance-Type-ConnectionItem-sizeBytes"></a>
The size of the item in bytes. This field is present for a `FILE`.  
Type: Long  
Required: No

 ** updatedAt **   <a name="assurance-Type-ConnectionItem-updatedAt"></a>
The time when the provider last recorded a change to the item. This field is present for a `FILE`.  
Type: Timestamp  
Required: No

 ** url **   <a name="assurance-Type-ConnectionItem-url"></a>
The URL of the item. This field is present for a `FILE`. To add the file as evidence, pass this value as `reference` to `PutEvidence`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `(https://[a-zA-Z0-9][a-zA-Z0-9.-]+[a-zA-Z0-9]|s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9])(/.*)?`   
Required: No

## See Also
<a name="API_ConnectionItem_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/ConnectionItem) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/ConnectionItem) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/ConnectionItem) 