-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for AWS::IoT::SecurityProfile (#19)
* Add support for AWS::IoT::SecurityProfile * Add a rate limiter for attach&detach calls * Remove the deprecated AdditionalMetrics (V1) field * Fix typo in list handler permissions * Remove accidental requirement for name in json schema * Use ProgressEvents instead of Cfn exceptions * Fix accidentally commented out test * Add minor improvements
- Loading branch information
Showing
28 changed files
with
3,220 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# macOS | ||
.DS_Store | ||
._* | ||
|
||
# Maven outputs | ||
.classpath | ||
|
||
# IntelliJ | ||
*.iml | ||
.idea | ||
out.java | ||
out/ | ||
.settings | ||
.project | ||
|
||
# auto-generated files | ||
target/ | ||
|
||
# our logs | ||
rpdk.log | ||
|
||
# contains credentials | ||
sam-tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"typeName": "AWS::IoT::SecurityProfile", | ||
"language": "java", | ||
"runtime": "java8", | ||
"entrypoint": "com.amazonaws.iot.securityprofile.HandlerWrapper::handleRequest", | ||
"testEntrypoint": "com.amazonaws.iot.securityprofile.HandlerWrapper::testEntrypoint", | ||
"settings": { | ||
"version": false, | ||
"subparser_name": null, | ||
"verbose": 0, | ||
"force": false, | ||
"type_name": null, | ||
"namespace": [ | ||
"com", | ||
"amazonaws", | ||
"iot", | ||
"securityprofile" | ||
], | ||
"codegen_template_path": "guided_aws", | ||
"protocolVersion": "2.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# AWS::IoT::SecurityProfile | ||
|
||
## Running Contract Tests | ||
|
||
You can execute the following commands to run the tests. | ||
You will need to have docker installed and running. | ||
|
||
```bash | ||
# Package the code with Maven | ||
mvn package | ||
# Start SAM which will execute lambdas in Docker | ||
sam local start-lambda | ||
|
||
# In a separate terminal, run the contract tests | ||
cfn test --enforce-timeout 240 | ||
|
||
# Execute a single test | ||
cfn test --enforce-timeout 240 -- -k <testname> | ||
``` |
Oops, something went wrong.