Sample SNS message for a LAMP Stack RDS 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 - Database record to your CMDB. This record would be one of three for a sample LAMP stack. 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:53:59.121Z",
"configurationItem": {
"relatedEvents": [],
"relationships": [{
"resourceId": "default",
"resourceType": "AWS::RDS::DBSubnetGroup",
"name": "Is associated with DBSubnetGroup"
},
{
"resourceId": "sg-0766c123456789",
"resourceType": "AWS::EC2::SecurityGroup",
"name": "Is associated with SecurityGroup"
}
],
"configuration": {
"dBInstanceIdentifier": "smfg123456798",
"dBInstanceClass": "db.t2.small",
"engine": "mysql",
"dBInstanceStatus": "creating",
"masterUsername": "myfavusername",
"dBName": "myDatabase",
"allocatedStorage": 5,
"preferredBackupWindow": "04:01-04:31",
"backupRetentionPeriod": 1,
"dBSecurityGroups": [],
"vpcSecurityGroups": [{
"vpcSecurityGroupId": "sg-0766c123456789",
"status": "active"
}],
"dBParameterGroups": [{
"dBParameterGroupName": "default.mysql5.7",
"parameterApplyStatus": "in-sync"
}],
"availabilityZone": "us-east-1c",
"dBSubnetGroup": {
"dBSubnetGroupName": "default",
"dBSubnetGroupDescription": "default",
"vpcId": "vpc-ba848ec0",
"subnetGroupStatus": "Complete",
"subnets": [{
"subnetIdentifier": "subnet-89d76487",
"subnetAvailabilityZone": {
"name": "us-east-1f"
},
"subnetStatus": "Active"
},
{
"subnetIdentifier": "subnet-a0ccc19e",
"subnetAvailabilityZone": {
"name": "us-east-1e"
},
"subnetStatus": "Active"
},
{
"subnetIdentifier": "subnet-91758bf7",
"subnetAvailabilityZone": {
"name": "us-east-1b"
},
"subnetStatus": "Active"
},
{
"subnetIdentifier": "subnet-119b125c",
"subnetAvailabilityZone": {
"name": "us-east-1d"
},
"subnetStatus": "Active"
},
{
"subnetIdentifier": "subnet-76f20829",
"subnetAvailabilityZone": {
"name": "us-east-1a"
},
"subnetStatus": "Active"
},
{
"subnetIdentifier": "subnet-e9f83cc8",
"subnetAvailabilityZone": {
"name": "us-east-1c"
},
"subnetStatus": "Active"
}
]
},
"preferredMaintenanceWindow": "fri:05:22-fri:05:52",
"pendingModifiedValues": {
"masterUserPassword": "****",
"processorFeatures": []
},
"multiAZ": true,
"engineVersion": "5.7.22",
"autoMinorVersionUpgrade": true,
"readReplicaDBInstanceIdentifiers": [],
"readReplicaDBClusterIdentifiers": [],
"licenseModel": "general-public-license",
"optionGroupMemberships": [{
"optionGroupName": "default:mysql-5-7",
"status": "in-sync"
}],
"publiclyAccessible": true,
"statusInfos": [],
"storageType": "standard",
"dbInstancePort": 0,
"storageEncrypted": false,
"dbiResourceId": "db-NRZ123456789",
"cACertificateIdentifier": "rds-ca-2019",
"domainMemberships": [],
"copyTagsToSnapshot": false,
"monitoringInterval": 0,
"dBInstanceArn": "arn:aws:rds:us-east-1:123456789:db:smfg123456798",
"iAMDatabaseAuthenticationEnabled": false,
"performanceInsightsEnabled": false,
"enabledCloudwatchLogsExports": [],
"processorFeatures": [],
"deletionProtection": false,
"associatedRoles": []
},
"supplementaryConfiguration": {
"Tags": [{
"key": "aws:servicecatalog:productArn",
"value": "arn:aws:catalog:us-east-1:123456789:product/prod-mv123456789"
},
{
"key": "aws:cloudformation:stack-name",
"value": "SC-123456789-pp-yqf123456789"
},
{
"key": "aws:servicecatalog:provisioningPrincipalArn",
"value": "arn:aws:iam::123456789:user/Henri.Bryce"
},
{
"key": "aws:cloudformation:stack-id",
"value": "arn:aws:cloudformation:us-east-1:123456789:stack/SC-123456789-pp-yqf123456789/0d913660-b989-11ea-abae-0a029b5a039d"
},
{
"key": "aws:cloudformation:logical-id",
"value": "MySQLDatabase"
},
{
"key": "aws:servicecatalog:provisioningArtifactIdentifier",
"value": "pa-z123456789"
},
{
"key": "aws:servicecatalog:portfolioArn",
"value": "arn:aws:catalog:us-east-1:123456789:portfolio/port-cfy123456789+"
},
{
"key": "aws:servicecatalog:provisionedProductArn",
"value": "arn:aws:servicecatalog:us-east-1:123456789:stack/plum-bumblebee/pp-yqf123456789"
}
]
},
"tags": {
"aws:servicecatalog:productArn": "arn:aws:catalog:us-east-1:123456789:product/prod-mv123456789",
"aws:cloudformation:stack-name": "SC-123456789-pp-yqf123456789",
"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-yqf123456789/0d913660-b989-11ea-abae-0a029b5a039d",
"aws:cloudformation:logical-id": "MySQLDatabase",
"aws:servicecatalog:provisioningArtifactIdentifier": "pa-z123456789",
"aws:servicecatalog:portfolioArn": "arn:aws:catalog:us-east-1:123456789:portfolio/port-cfy123456789+",
"aws:servicecatalog:provisionedProductArn": "arn:aws:servicecatalog:us-east-1:123456789:stack/plum-bumblebee/pp-yqf123456789"
},
"configurationItemVersion": "1.3",
"configurationItemCaptureTime": "2020-06-28T21:53:58.555Z",
"configurationStateId": 1593381238555,
"awsAccountId": "123456789",
"configurationItemStatus": "ResourceDiscovered",
"resourceType": "AWS::RDS::DBInstance",
"resourceId": "db-NRZ123456789",
"resourceName": "smfg123456798",
"ARN": "arn:aws:rds:us-east-1:123456789:db:smfg123456798",
"awsRegion": "us-east-1",
"availabilityZone": "Multiple Availability Zones",
"configurationStateMd5Hash": "",
"resourceCreationTime": "2020-06-28T21:53:58.707Z"
}
}