-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f20…
…07d6d268b65b739ffb5ebf8c1e76 (#1845) *Automated PR* #### New resources: - `chatbot.CustomAction` - `cloudtrail.Dashboard` - `resourcegroups.TagSyncTask` - `wisdom.MessageTemplate` - `wisdom.MessageTemplateVersion` #### New functions: - `chatbot.getCustomAction` - `cloudtrail.getDashboard` - `resourcegroups.getTagSyncTask` - `wisdom.getMessageTemplate` - `wisdom.getMessageTemplateVersion`
- Loading branch information
1 parent
30a616b
commit 763be99
Showing
259 changed files
with
23,589 additions
and
683 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 |
---|---|---|
@@ -1 +1 @@ | ||
29eaaa79dfb7b0afd2f6a548371b1182aafe20c1 | ||
918af2f7c13bf2d949edb41408428fdb7ff32650 |
167 changes: 167 additions & 0 deletions
167
aws-cloudformation-schema/aws-chatbot-customaction.json
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,167 @@ | ||
{ | ||
"typeName" : "AWS::Chatbot::CustomAction", | ||
"description" : "Definition of AWS::Chatbot::CustomAction Resource Type", | ||
"definitions" : { | ||
"CustomActionAttachment" : { | ||
"type" : "object", | ||
"properties" : { | ||
"NotificationType" : { | ||
"type" : "string", | ||
"maxLength" : 100, | ||
"minLength" : 1, | ||
"pattern" : "^[a-zA-Z0-9-]+$" | ||
}, | ||
"ButtonText" : { | ||
"type" : "string", | ||
"maxLength" : 50, | ||
"minLength" : 1, | ||
"pattern" : "^[\\S\\s]+$" | ||
}, | ||
"Criteria" : { | ||
"type" : "array", | ||
"insertionOrder" : false, | ||
"items" : { | ||
"$ref" : "#/definitions/CustomActionAttachmentCriteria" | ||
}, | ||
"maxItems" : 5, | ||
"minItems" : 1 | ||
}, | ||
"Variables" : { | ||
"$ref" : "#/definitions/CustomActionAttachmentVariables" | ||
} | ||
}, | ||
"additionalProperties" : false | ||
}, | ||
"CustomActionAttachmentCriteria" : { | ||
"type" : "object", | ||
"properties" : { | ||
"Operator" : { | ||
"$ref" : "#/definitions/CustomActionAttachmentCriteriaOperator" | ||
}, | ||
"VariableName" : { | ||
"type" : "string" | ||
}, | ||
"Value" : { | ||
"type" : "string", | ||
"maxLength" : 50, | ||
"minLength" : 0 | ||
} | ||
}, | ||
"required" : [ "Operator", "VariableName" ], | ||
"additionalProperties" : false | ||
}, | ||
"CustomActionAttachmentCriteriaOperator" : { | ||
"type" : "string", | ||
"enum" : [ "HAS_VALUE", "EQUALS" ] | ||
}, | ||
"CustomActionAttachmentVariables" : { | ||
"type" : "object", | ||
"maxProperties" : 5, | ||
"minProperties" : 1, | ||
"patternProperties" : { | ||
".+" : { | ||
"type" : "string" | ||
} | ||
}, | ||
"additionalProperties" : false | ||
}, | ||
"CustomActionDefinition" : { | ||
"type" : "object", | ||
"properties" : { | ||
"CommandText" : { | ||
"type" : "string", | ||
"maxLength" : 100, | ||
"minLength" : 1 | ||
} | ||
}, | ||
"required" : [ "CommandText" ], | ||
"additionalProperties" : false | ||
}, | ||
"Tag" : { | ||
"type" : "object", | ||
"properties" : { | ||
"Key" : { | ||
"type" : "string", | ||
"maxLength" : 128, | ||
"minLength" : 1 | ||
}, | ||
"Value" : { | ||
"type" : "string", | ||
"maxLength" : 256, | ||
"minLength" : 0 | ||
} | ||
}, | ||
"required" : [ "Key", "Value" ], | ||
"additionalProperties" : false | ||
} | ||
}, | ||
"properties" : { | ||
"ActionName" : { | ||
"type" : "string", | ||
"maxLength" : 64, | ||
"minLength" : 1, | ||
"pattern" : "^[a-zA-Z0-9_-]{1,64}$" | ||
}, | ||
"AliasName" : { | ||
"type" : "string", | ||
"maxLength" : 30, | ||
"minLength" : 1, | ||
"pattern" : "^[A-Za-z0-9-_]+$" | ||
}, | ||
"Attachments" : { | ||
"type" : "array", | ||
"insertionOrder" : false, | ||
"items" : { | ||
"$ref" : "#/definitions/CustomActionAttachment" | ||
} | ||
}, | ||
"CustomActionArn" : { | ||
"type" : "string", | ||
"maxLength" : 1011, | ||
"minLength" : 1, | ||
"pattern" : "^arn:(aws[a-zA-Z-]*)?:chatbot:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:custom-action/[a-zA-Z0-9_-]{1,64}$" | ||
}, | ||
"Definition" : { | ||
"$ref" : "#/definitions/CustomActionDefinition" | ||
}, | ||
"Tags" : { | ||
"type" : "array", | ||
"insertionOrder" : false, | ||
"items" : { | ||
"$ref" : "#/definitions/Tag" | ||
}, | ||
"maxItems" : 200, | ||
"minItems" : 0 | ||
} | ||
}, | ||
"required" : [ "ActionName", "Definition" ], | ||
"readOnlyProperties" : [ "/properties/CustomActionArn" ], | ||
"createOnlyProperties" : [ "/properties/ActionName" ], | ||
"primaryIdentifier" : [ "/properties/CustomActionArn" ], | ||
"handlers" : { | ||
"create" : { | ||
"permissions" : [ "chatbot:CreateCustomAction", "chatbot:GetCustomAction", "chatbot:TagResource", "chatbot:ListTagsForResource" ] | ||
}, | ||
"read" : { | ||
"permissions" : [ "chatbot:GetCustomAction", "chatbot:ListTagsForResource" ] | ||
}, | ||
"update" : { | ||
"permissions" : [ "chatbot:UpdateCustomAction", "chatbot:GetCustomAction", "chatbot:TagResource", "chatbot:UntagResource", "chatbot:ListTagsForResource" ] | ||
}, | ||
"delete" : { | ||
"permissions" : [ "chatbot:DeleteCustomAction" ] | ||
}, | ||
"list" : { | ||
"permissions" : [ "chatbot:ListCustomActions" ] | ||
} | ||
}, | ||
"tagging" : { | ||
"taggable" : true, | ||
"tagOnCreate" : true, | ||
"tagUpdatable" : true, | ||
"cloudFormationSystemTags" : true, | ||
"tagProperty" : "/properties/Tags", | ||
"permissions" : [ "chatbot:TagResource", "chatbot:ListTagsForResource", "chatbot:UntagResource" ] | ||
}, | ||
"additionalProperties" : false | ||
} |
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.