Add an S3 bucket
POST/v1/cloudAccounts/awsLoggingAccounts/:loggingAccountId/buckets
Add an S3 bucket to the existing logging account.
Request
Path Parameters
loggingAccountId stringrequired
AWS Logging Account ID
- application/json
Body
- Array [
- ]
bucketName stringrequired
S3 Bucket Name
bucketRegion stringrequired
S3 Bucket Region
bucketPathPrefixes string
Bucket Path Prefixes
keyArn string
CMS Key ARN
loggingAccountId int32required
Log Archive Account Id
featureMap object
Monitored account and bucket purpose details
property name* string[]
string
lastUpdatedTs int64
Last Updated Timestamp
Responses
- 200
- 400
- 401
- 404
Successfully saved bucket
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
bucketName stringrequired
S3 Bucket Name
bucketRegion stringrequired
S3 Bucket Region
bucketPathPrefixes string
Bucket Path Prefixes
keyArn string
CMS Key ARN
loggingAccountId int32required
Log Archive Account Id
featureMap object
Monitored account and bucket purpose details
property name* string[]
string
lastUpdatedTs int64
Last Updated Timestamp
{
"bucketName": "string",
"bucketRegion": "string",
"bucketPathPrefixes": "string",
"keyArn": "string",
"loggingAccountId": 0,
"featureMap": {},
"lastUpdatedTs": 0
}
Bad Request. Data validation failed.
Unauthorized Access
Account not found.
Loading...