Sample SNS message for an S3 Instance
This is a sample JSON response from AWS Config, sent via SNS. This message will be stored in an AWS Config Staging record before being processed by the Create CI automation process to add a Cloud Services - Storage record to your CMDB. You can use this sample JSON to test the Create AWS Config Staging webhook.
Copy
{
"recordVersion": "1.3",
"messageType": "ConfigurationItemChangeNotification",
"configurationItemDiff": {
"changedProperties": {},
"changeType": "CREATE"
},
"notificationCreationTime": "2020-06-28T21:20:41.065Z",
"configurationItem": {
"relatedEvents": [],
"relationships": [],
"configuration": {
"name": "sc-123456789-pp-z7123456-bucket-p3qxc9174zfa",
"owner": {
"id": "8a95ee125c3ea8f3b300e97daaf77effb5c5dcf427ff164bc3fb5abc3e8f528e"
},
"creationDate": "2020-06-28T21:18:36.000Z"
},
"supplementaryConfiguration": {
"AccessControlList": "{\"grantSet\":null,\"grantList\":[{\"grantee\":{\"id\":\"8a95ee125c3ea8f3b300e97daaf77effb5c5dcf427ff164bc3fb5abc3e8f528e\",\"displayName\":null},\"permission\":\"FullControl\"}],\"owner\":{\"displayName\":null,\"id\":\"8a95ee125c3ea8f3b300e97daaf77effb5c5dcf427ff164bc3fb5abc3e8f528e\"},\"isRequesterCharged\":false}",
"BucketAccelerateConfiguration": {},
"BucketLoggingConfiguration": {},
"BucketNotificationConfiguration": {
"configurations": {}
},
"BucketPolicy": {},
"BucketTaggingConfiguration": {
"tagSets": [{
"tags": {
"aws:servicecatalog:productArn": "arn:aws:catalog:us-east-1:123456789:product/prod-kr1234567",
"aws:cloudformation:stack-name": "SC-123456789-pp-z7123456",
"aws:servicecatalog:provisioningPrincipalArn": "arn:aws:iam::123456789:user/Henri.bryce",
"aws:cloudformation:stack-id": "arn:aws:cloudformation:us-east-1:123456789:stack/SC-123456789-pp-z7123456/e931d440-b984-11ea-b140-0e167b726915",
"aws:cloudformation:logical-id": "Bucket",
"aws:servicecatalog:provisioningArtifactIdentifier": "pa-6p123456",
"aws:servicecatalog:portfolioArn": "arn:aws:catalog:us-east-1:123456789:portfolio/port-cf1234567",
"aws:servicecatalog:provisionedProductArn": "arn:aws:servicecatalog:us-east-1:123456789:stack/teal-marmot/pp-z7123456"
}
}]
},
"BucketVersioningConfiguration": {
"status": "Off"
},
"IsRequesterPaysEnabled": false
},
"tags": {
"aws:servicecatalog:productArn": "arn:aws:catalog:us-east-1:123456789:product/prod-kr1234567",
"aws:cloudformation:stack-name": "SC-123456789-pp-z7123456",
"aws:servicecatalog:provisioningPrincipalArn": "arn:aws:iam::123456789:user/Henri.bryce",
"aws:cloudformation:stack-id": "arn:aws:cloudformation:us-east-1:123456789:stack/SC-123456789-pp-z7123456/e931d440-b984-11ea-b140-0e167b726915",
"aws:cloudformation:logical-id": "Bucket",
"aws:servicecatalog:provisioningArtifactIdentifier": "pa-6p123456",
"aws:servicecatalog:portfolioArn": "arn:aws:catalog:us-east-1:123456789:portfolio/port-cf1234567",
"aws:servicecatalog:provisionedProductArn": "arn:aws:servicecatalog:us-east-1:123456789:stack/teal-marmot/pp-z7123456"
},
"configurationItemVersion": "1.3",
"configurationItemCaptureTime": "2020-06-28T21:20:41.003Z",
"configurationStateId": 1593379241003,
"awsAccountId": "123456789",
"configurationItemStatus": "ResourceDiscovered",
"resourceType": "AWS::S3::Bucket",
"resourceId": "sc-123456789-pp-z7123456-bucket-p3qxc9174zfa",
"resourceName": "sc-123456789-pp-z7123456-bucket-p3qxc9174zfa",
"ARN": "arn:aws:s3:::sc-123456789-pp-z7123456-bucket-p3qxc9174zfa",
"awsRegion": "us-east-1",
"availabilityZone": "Regional",
"configurationStateMd5Hash": "",
"resourceCreationTime": "2020-06-28T21:18:36.000Z"
}
}