

# CreateS3BucketResource
<a name="API_CreateS3BucketResource"></a>

Information about the protected S3 bucket resource.

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

 ** bucketName **   <a name="guardduty-Type-CreateS3BucketResource-bucketName"></a>
Name of the S3 bucket.  
Type: String  
Required: No

 ** objectPrefixes **   <a name="guardduty-Type-CreateS3BucketResource-objectPrefixes"></a>
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 5 items.  
Required: No

## See Also
<a name="API_CreateS3BucketResource_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/guardduty-2017-11-28/CreateS3BucketResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/CreateS3BucketResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/CreateS3BucketResource) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon GuardDuty. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query guardduty` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
