

# CreateS3BucketResource


Information about the protected S3 bucket resource.

## Contents


 ** 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


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](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) 