-
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 (#1790) *Automated PR*
- Loading branch information
1 parent
7d38dfe
commit aa47ae6
Showing
72 changed files
with
3,630 additions
and
42 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 @@ | ||
c3970f25846f18fb21813d06908f1cc2845c62d6 | ||
f45dbad97046bef81fe1031e544675b3cc226f52 |
146 changes: 146 additions & 0 deletions
146
aws-cloudformation-schema/aws-appsync-channelnamespace.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,146 @@ | ||
{ | ||
"typeName" : "AWS::AppSync::ChannelNamespace", | ||
"description" : "Resource schema for AppSync ChannelNamespace", | ||
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", | ||
"definitions" : { | ||
"Namespace" : { | ||
"description" : "Namespace indentifier.", | ||
"type" : "string", | ||
"minLength" : 1, | ||
"maxLength" : 50, | ||
"pattern" : "([A-Za-z0-9](?:[A-Za-z0-9\\-]{0,48}[A-Za-z0-9])?)" | ||
}, | ||
"AuthMode" : { | ||
"description" : "An auth mode.", | ||
"type" : "object", | ||
"additionalProperties" : false, | ||
"properties" : { | ||
"AuthType" : { | ||
"$ref" : "#/definitions/AuthenticationType" | ||
} | ||
} | ||
}, | ||
"AuthModes" : { | ||
"type" : "array", | ||
"insertionOrder" : false, | ||
"items" : { | ||
"$ref" : "#/definitions/AuthMode" | ||
} | ||
}, | ||
"AuthenticationType" : { | ||
"description" : "Security configuration for your AppSync API.", | ||
"type" : "string", | ||
"enum" : [ "AMAZON_COGNITO_USER_POOLS", "AWS_IAM", "API_KEY", "OPENID_CONNECT", "AWS_LAMBDA" ] | ||
}, | ||
"Code" : { | ||
"description" : "String of APPSYNC_JS code to be used by the handlers.", | ||
"type" : "string", | ||
"minLength" : 1, | ||
"maxLength" : 32768 | ||
}, | ||
"ChannelNamespaceArn" : { | ||
"type" : "string", | ||
"description" : "The Amazon Resource Name (ARN) for the Channel Namespace." | ||
}, | ||
"Tag" : { | ||
"description" : "An arbitrary set of tags (key-value pairs) for this AppSync API.", | ||
"type" : "object", | ||
"properties" : { | ||
"Key" : { | ||
"description" : "A string used to identify this tag. You can specify a maximum of 128 characters for a tag key.", | ||
"type" : "string", | ||
"minLength" : 1, | ||
"maxLength" : 128, | ||
"pattern" : "^(?!aws:)[ a-zA-Z+-=._:/]+$" | ||
}, | ||
"Value" : { | ||
"description" : "A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.", | ||
"type" : "string", | ||
"minLength" : 0, | ||
"maxLength" : 256, | ||
"pattern" : "^[\\s\\w+-=\\.:/@]*$" | ||
} | ||
}, | ||
"required" : [ "Key", "Value" ], | ||
"additionalProperties" : false | ||
}, | ||
"Tags" : { | ||
"description" : "An arbitrary set of tags (key-value pairs) for this AppSync API.", | ||
"type" : "array", | ||
"uniqueItems" : true, | ||
"insertionOrder" : false, | ||
"items" : { | ||
"$ref" : "#/definitions/Tag" | ||
} | ||
} | ||
}, | ||
"properties" : { | ||
"ApiId" : { | ||
"description" : "AppSync Api Id that this Channel Namespace belongs to.", | ||
"type" : "string" | ||
}, | ||
"Name" : { | ||
"$ref" : "#/definitions/Namespace" | ||
}, | ||
"SubscribeAuthModes" : { | ||
"description" : "List of AuthModes supported for Subscribe operations.", | ||
"$ref" : "#/definitions/AuthModes" | ||
}, | ||
"PublishAuthModes" : { | ||
"description" : "List of AuthModes supported for Publish operations.", | ||
"$ref" : "#/definitions/AuthModes" | ||
}, | ||
"CodeHandlers" : { | ||
"$ref" : "#/definitions/Code" | ||
}, | ||
"CodeS3Location" : { | ||
"description" : "The Amazon S3 endpoint where the code is located.", | ||
"type" : "string" | ||
}, | ||
"ChannelNamespaceArn" : { | ||
"$ref" : "#/definitions/ChannelNamespaceArn" | ||
}, | ||
"Tags" : { | ||
"$ref" : "#/definitions/Tags" | ||
} | ||
}, | ||
"tagging" : { | ||
"taggable" : true, | ||
"tagOnCreate" : true, | ||
"tagUpdatable" : true, | ||
"cloudFormationSystemTags" : true, | ||
"tagProperty" : "/properties/Tags", | ||
"permissions" : [ "appsync:TagResource", "appsync:UntagResource" ] | ||
}, | ||
"additionalProperties" : false, | ||
"required" : [ "ApiId", "Name" ], | ||
"readOnlyProperties" : [ "/properties/ChannelNamespaceArn" ], | ||
"createOnlyProperties" : [ "/properties/ApiId", "/properties/Name" ], | ||
"primaryIdentifier" : [ "/properties/ChannelNamespaceArn" ], | ||
"writeOnlyProperties" : [ "/properties/CodeS3Location" ], | ||
"handlers" : { | ||
"create" : { | ||
"permissions" : [ "appsync:CreateChannelNamespace", "appsync:TagResource", "appsync:GetChannelNamespace", "s3:GetObject" ] | ||
}, | ||
"read" : { | ||
"permissions" : [ "appsync:GetChannelNamespace", "appsync:ListTagsForResource" ] | ||
}, | ||
"update" : { | ||
"permissions" : [ "appsync:UpdateChannelNamespace", "appsync:TagResource", "appsync:UntagResource", "appsync:GetChannelNamespace", "s3:GetObject" ] | ||
}, | ||
"delete" : { | ||
"permissions" : [ "appsync:DeleteChannelNamespace", "appsync:UntagResource" ] | ||
}, | ||
"list" : { | ||
"permissions" : [ "appsync:ListChannelNamespaces" ], | ||
"handlerSchema" : { | ||
"properties" : { | ||
"ApiId" : { | ||
"$ref" : "resource-schema.json#/properties/ApiId" | ||
} | ||
}, | ||
"required" : [ "ApiId" ] | ||
} | ||
} | ||
} | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,5 +100,8 @@ | |
"list" : { | ||
"permissions" : [ "rds:DescribeGlobalClusters" ] | ||
} | ||
}, | ||
"tagging" : { | ||
"taggable" : true | ||
} | ||
} |
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 @@ | ||
1.35.51 | ||
1.35.52 |
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.