1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I think that get_aggregate_resource_config does what you need
The field resourceType (possible values truncated below) is what you're looking
Response Syntax:
{
'ConfigurationItem': {
'version': 'string',
'accountId': 'string',
'configurationItemCaptureTime': datetime(2015, 1, 1),
'configurationItemStatus': 'OK'|'ResourceDiscovered'|'ResourceNotRecorded'|'ResourceDeleted'|'ResourceDeletedNotRecorded',
'configurationStateId': 'string',
'configurationItemMD5Hash': 'string',
'arn': 'string',
'resourceType': 'AWS::EC2::CustomerGateway'|'AWS::EC2::EIP'|'AWS::EC2::Host'|'AWS::EC2::Instance'|'AWS::EC2::InternetGateway'|' <tec.>
'resourceId': 'string',
'resourceName': 'string',
'awsRegion': 'string',
'availabilityZone': 'string',
'resourceCreationTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
},
'relatedEvents': [
'string',
],
'relationships': [
{
'resourceType': 'AWS::EC2::CustomerGateway'|'AWS::EC2::EIP'|'AWS::EC2::Host'|'AWS::EC2::Instance'|'AWS::EC2::InternetGateway' <etc>
'resourceId': 'string',
'resourceName': 'string',
'relationshipName': 'string'
},
],
'configuration': 'string',
'supplementaryConfiguration': {
'string': 'string'
},
'recordingFrequency': 'CONTINUOUS'|'DAILY',
'configurationItemDeliveryTime': datetime(2015, 1, 1)
}
}
Best,
Didier
Relevant content
asked 5 years ago

Thank you for your answer, Didier. We're not using any aggregators at the moment, and also this function requires a resource identifier as a parameter. We're looking to retrieve the list of supported resource types as is, without having to input resource identifiers or aggregators.