-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from xiwhuang/stacksets
Add Stackset Resource
- Loading branch information
Showing
46 changed files
with
4,528 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,21 @@ | ||
language: java | ||
dist: bionic | ||
jdk: openjdk11 | ||
env: | ||
global: | ||
- PYENV_VERSION=3.7 | ||
- AWS_REGION="us-east-1" | ||
- AWS_DEFAULT_REGION=$AWS_REGION | ||
install: | ||
- pip3 install --user pre-commit cloudformation-cli-java-plugin | ||
script: | ||
- pre-commit run --all-files --verbose | ||
- cd "$TRAVIS_BUILD_DIR/aws-cloudformation-stackset" | ||
# from Maven 3.6.1+, should use `--no-transfer-progress` instead of Slf4jMavenTransferListener | ||
- > | ||
mvn | ||
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | ||
-B | ||
clean verify | ||
after_failure: | ||
- cat "$TRAVIS_BUILD_DIR/aws-cloudformation-stackset/rpdk.log" |
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,20 @@ | ||
# macOS | ||
.DS_Store | ||
._* | ||
|
||
# Maven outputs | ||
.classpath | ||
|
||
# IntelliJ | ||
*.iml | ||
.idea | ||
out.java | ||
out/ | ||
.settings | ||
.project | ||
|
||
# auto-generated files | ||
target/ | ||
|
||
# our logs | ||
rpdk.log |
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,16 @@ | ||
{ | ||
"typeName": "AWS::CloudFormation::StackSet", | ||
"language": "java", | ||
"runtime": "java8", | ||
"entrypoint": "software.amazon.cloudformation.stackset.HandlerWrapper::handleRequest", | ||
"testEntrypoint": "software.amazon.cloudformation.stackset.HandlerWrapper::testEntrypoint", | ||
"settings": { | ||
"namespace": [ | ||
"software", | ||
"amazon", | ||
"cloudformation", | ||
"stackset" | ||
], | ||
"codegen_template_path": "guided_aws" | ||
} | ||
} |
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,12 @@ | ||
# AWS::CloudFormation::StackSet | ||
|
||
Congratulations on starting development! Next steps: | ||
|
||
1. Write the JSON schema describing your resource, `aws-cloudformation-stackset.json` | ||
1. Implement your resource handlers. | ||
|
||
The RPDK will automatically generate the correct resource model from the schema whenever the project is built via Maven. You can also do this manually with the following command: `cfn generate`. | ||
|
||
> Please don't modify files under `target/generated-sources/rpdk`, as they will be automatically overwritten. | ||
The code uses [Lombok](https://projectlombok.org/), and [you may have to install IDE integrations](https://projectlombok.org/) to enable auto-complete for Lombok-annotated classes. |
Oops, something went wrong.