Skip to content

Commit

Permalink
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f20…
Browse files Browse the repository at this point in the history
…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
pulumi-bot authored Nov 22, 2024
1 parent 30a616b commit 763be99
Show file tree
Hide file tree
Showing 259 changed files with 23,589 additions and 683 deletions.
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
29eaaa79dfb7b0afd2f6a548371b1182aafe20c1
918af2f7c13bf2d949edb41408428fdb7ff32650
167 changes: 167 additions & 0 deletions aws-cloudformation-schema/aws-chatbot-customaction.json
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
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
"items" : {
"$ref" : "#/definitions/Tag"
}
},
"CustomizationResourceArns" : {
"description" : "ARNs of Custom Actions to associate with notifications in the provided chat channel.",
"type" : "array",
"insertionOrder" : false,
"items" : {
"type" : "string",
"pattern" : "^arn:aws:chatbot:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:custom-action/[a-zA-Z0-9_-]{1,64}$"
}
}
},
"required" : [ "TeamId", "TeamsChannelId", "TeamsTenantId", "ConfigurationName", "IamRoleArn" ],
Expand All @@ -102,26 +111,27 @@
"additionalProperties" : false,
"handlers" : {
"create" : {
"permissions" : [ "chatbot:CreateMicrosoftTeamsChannelConfiguration", "chatbot:TagResource", "iam:PassRole", "iam:CreateServiceLinkedRole" ]
"permissions" : [ "chatbot:CreateMicrosoftTeamsChannelConfiguration", "chatbot:TagResource", "chatbot:AssociateToConfiguration", "chatbot:ListAssociations", "iam:PassRole", "iam:CreateServiceLinkedRole" ]
},
"read" : {
"permissions" : [ "chatbot:GetMicrosoftTeamsChannelConfiguration" ]
"permissions" : [ "chatbot:GetMicrosoftTeamsChannelConfiguration", "chatbot:ListAssociations" ]
},
"update" : {
"permissions" : [ "chatbot:UpdateMicrosoftTeamsChannelConfiguration", "chatbot:TagResource", "chatbot:UntagResource", "chatbot:ListTagsForResource", "iam:PassRole" ]
"permissions" : [ "chatbot:UpdateMicrosoftTeamsChannelConfiguration", "chatbot:TagResource", "chatbot:UntagResource", "chatbot:ListTagsForResource", "chatbot:AssociateToConfiguration", "chatbot:DisassociateFromConfiguration", "chatbot:ListAssociations", "iam:PassRole" ]
},
"delete" : {
"permissions" : [ "chatbot:GetMicrosoftTeamsChannelConfiguration", "chatbot:DeleteMicrosoftTeamsChannelConfiguration" ]
"permissions" : [ "chatbot:GetMicrosoftTeamsChannelConfiguration", "chatbot:DeleteMicrosoftTeamsChannelConfiguration", "chatbot:DisassociateFromConfiguration", "chatbot:ListAssociations" ]
},
"list" : {
"permissions" : [ "chatbot:ListMicrosoftTeamsChannelConfigurations" ]
"permissions" : [ "chatbot:ListMicrosoftTeamsChannelConfigurations", "chatbot:ListAssociations" ]
}
},
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "chatbot:TagResource", "chatbot:ListTagsForResource", "chatbot:UntagResource" ]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@
"description" : "Enables use of a user role requirement in your chat configuration",
"type" : "boolean",
"default" : false
},
"CustomizationResourceArns" : {
"description" : "ARNs of Custom Actions to associate with notifications in the provided chat channel.",
"type" : "array",
"insertionOrder" : false,
"items" : {
"type" : "string",
"pattern" : "^arn:aws:chatbot:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:custom-action/[a-zA-Z0-9_-]{1,64}$"
}
}
},
"required" : [ "SlackWorkspaceId", "SlackChannelId", "ConfigurationName", "IamRoleArn" ],
Expand All @@ -95,26 +104,27 @@
"additionalProperties" : false,
"handlers" : {
"create" : {
"permissions" : [ "chatbot:CreateSlackChannelConfiguration", "chatbot:TagResource", "iam:PassRole", "iam:CreateServiceLinkedRole" ]
"permissions" : [ "chatbot:CreateSlackChannelConfiguration", "chatbot:TagResource", "chatbot:AssociateToConfiguration", "chatbot:ListAssociations", "iam:PassRole", "iam:CreateServiceLinkedRole" ]
},
"read" : {
"permissions" : [ "chatbot:DescribeSlackChannelConfigurations" ]
"permissions" : [ "chatbot:DescribeSlackChannelConfigurations", "chatbot:ListAssociations" ]
},
"update" : {
"permissions" : [ "chatbot:UpdateSlackChannelConfiguration", "chatbot:TagResource", "chatbot:UntagResource", "chatbot:ListTagsForResource", "iam:PassRole" ]
"permissions" : [ "chatbot:UpdateSlackChannelConfiguration", "chatbot:TagResource", "chatbot:UntagResource", "chatbot:ListTagsForResource", "chatbot:AssociateToConfiguration", "chatbot:DisassociateFromConfiguration", "chatbot:ListAssociations", "iam:PassRole" ]
},
"delete" : {
"permissions" : [ "chatbot:DeleteSlackChannelConfiguration" ]
"permissions" : [ "chatbot:DeleteSlackChannelConfiguration", "chatbot:DisassociateFromConfiguration", "chatbot:ListAssociations" ]
},
"list" : {
"permissions" : [ "chatbot:DescribeSlackChannelConfigurations" ]
"permissions" : [ "chatbot:DescribeSlackChannelConfigurations", "chatbot:ListAssociations" ]
}
},
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "chatbot:TagResource", "chatbot:ListTagsForResource", "chatbot:UntagResource" ]
}
}
Loading

0 comments on commit 763be99

Please sign in to comment.