-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add thing attribute variable support
- Loading branch information
1 parent
34b9a58
commit 3749ce4
Showing
25 changed files
with
722 additions
and
146 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
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
28 changes: 28 additions & 0 deletions
28
...ntests/resources/com/aws/greengrass/integrationtests/policy/thing-attribute-variable.yaml
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,28 @@ | ||
--- | ||
services: | ||
aws.greengrass.Nucleus: | ||
configuration: | ||
runWithDefault: | ||
posixUser: nobody | ||
windowsUser: integ-tester | ||
logging: | ||
level: "DEBUG" | ||
aws.greengrass.clientdevices.Auth: | ||
configuration: | ||
deviceGroups: | ||
formatVersion: "2021-03-05" | ||
definitions: | ||
myThing: | ||
selectionRule: "thingName: myThing" | ||
policyName: "publish" | ||
policies: | ||
publish: | ||
policyStatement: | ||
statementDescription: "publish" | ||
operations: | ||
- "mqtt:publish" | ||
resources: | ||
- "mqtt:topic:${iot:Connection.Thing.Attributes[myAttribute]}" | ||
main: | ||
dependencies: | ||
- aws.greengrass.clientdevices.Auth |
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
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
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
Oops, something went wrong.