https://github.com/awslabs/aws-config-resource-schema
AWS Config resource schema define the properties and types of AWS Config resource configuration items (CIs). Resource CI schema are used by developers when performing advanced resource queries and when processing CI data.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
AWS Config resource schema define the properties and types of AWS Config resource configuration items (CIs). Resource CI schema are used by developers when performing advanced resource queries and when processing CI data.
Basic Info
- Host: GitHub
- Owner: awslabs
- License: apache-2.0
- Default Branch: master
- Size: 278 KB
Statistics
- Stars: 246
- Watchers: 26
- Forks: 64
- Open Issues: 30
- Releases: 0
Metadata Files
README.md
AWS Config Resource Schema
AWS Config resource property files define the properties and types of the AWS Config resource configuration items (CIs) that are searchable using the SelectResources API. These files ease discovery of searchable properties and allow API users to more accurately craft queries suited for specific resource types.
Documentation for the SelectResources API can be found here: Querying the Current Configuration State of AWS Resources
This repository has the following directory structure:
└── config
├── properties
│ ├── AWS.properties.json
│ └── resource-types
│ ├── AWS::ACM::Certificate.properties.json
│ ├── AWS::AutoScaling::AutoScalingGroup.properties.json
... ...
Resource Properties
Resource property (.properties.json) files are JSON-encoded and have the following shape:
json
{
"...": "...",
"sample.property.name": "string",
"...": "...",
}
Here sample.property.name is the name of a property and string is its type. Currently, the following types are supported:
boolean: a Boolean valuecidr_block: a CIDR block (e.g.,192.168.1.0/24)date: a date/time instancefloat: a floating point valueinteger: an integer valueip: an IP address (e.g.,192.168.1.1)string: a character sequence
Resource property files exist for each resource type Config supports; they are located in the config/properties/resource-types directory; they are named according to the corresponding Config resource type name (e.g., the properties file for resource type AWS::EC2::Instance is AWS::EC2::Instance.properties.json). A merged property file containing resource properties for all AWS resource types is located in config/properties/AWS.properties.json.
Example Usage 1
Assume we want to search for all S3 buckets having tag key CostCenter, and tag value 12345 in region ap-northeast-1 with a name starting with quicksilver. To find the corresponding properties, first open the resource properties file for the resource type AWS::S3::Bucket. Therein, find the relevant properties:
json
{
"...": "...",
"awsRegion": "string",
"...": "...",
"resourceName": "string",
"resourceType": "string",
"...": "...",
"tags.tag": "string",
"...": "...",
}
Then use them to craft the query:
sql
SELECT resourceId WHERE resourceType='AWS::S3::Bucket' AND awsRegion='ap-northeast-1' AND resourceName LIKE 'quicksilver%' AND tags.tag='CostCenter=12345'
(Note that the tags.tag property is a concatenation of the tags.key and tags.value properties and makes it possible to search using both tag key and value components simultaneously. For instance, if tags.key has the value Stage and tags.value has the value Production, tags.tag will have the value Stage=Production (concatenated with an = sign).)
Example Usage 2
Assume we want to count the number of EC2 instances having tag key Stage (and any tag value), in availability zone us-east-1a running AMI image ID ami-12345. To find the corresponding properties, first open the resource properties file for the resource type AWS::EC2::Instance. Therein, find the relevant properties:
json
{
"...": "...",
"availabilityZone": "string",
"...": "...",
"configuration.imageId": "string",
"...": "...",
"resourceType": "string",
"...": "...",
"tags.key": "string",
"...": "...",
}
Then use them to craft the query:
sql
SELECT COUNT(resourceId) WHERE resourceType='AWS::EC2::Instance' AND availabilityZone='us-east-1a' AND configuration.imageId='ami-12345' AND tags.key='Stage'
(Note that, as mentioned above the tags.key property refers only to the key or "name" of the tag.)
License
This library is licensed under the Apache 2.0 License.
Owner
- Name: Amazon Web Services - Labs
- Login: awslabs
- Kind: organization
- Location: Seattle, WA
- Website: http://amazon.com/aws/
- Repositories: 914
- Profile: https://github.com/awslabs
AWS Labs
GitHub Events
Total
- Issues event: 2
- Watch event: 16
- Member event: 1
- Issue comment event: 8
- Push event: 1
- Fork event: 7
Last Year
- Issues event: 2
- Watch event: 16
- Member event: 1
- Issue comment event: 8
- Push event: 1
- Fork event: 7
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 36
- Total pull requests: 18
- Average time to close issues: 12 months
- Average time to close pull requests: 23 days
- Total issue authors: 31
- Total pull request authors: 8
- Average comments per issue: 1.47
- Average comments per pull request: 0.17
- Merged pull requests: 14
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 7
- Pull requests: 1
- Average time to close issues: 4 months
- Average time to close pull requests: 1 minute
- Issue authors: 6
- Pull request authors: 1
- Average comments per issue: 1.57
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- iainelder (3)
- avatarworf (2)
- Wenzil (2)
- r-heimann (1)
- jantman (1)
- benglerHIG (1)
- julienmourgues (1)
- emirot (1)
- chrisvbrown (1)
- K-Stefan (1)
- nannany (1)
- mhebrard-bigid (1)
- HarryCaveMan (1)
- cdsnaps (1)
- her83 (1)
Pull Request Authors
- zhuoruiy (6)
- tjdasso (4)
- anishd1 (3)
- whsinma (1)
- her83 (1)
- charitha0798 (1)
- dhruvshe (1)
- watany-dev (1)
- toubar (1)