|
| 1 | +{ |
| 2 | + "additionalProperties": false, |
| 3 | + "definitions": { |
| 4 | + "CognitoIdentityProvider": { |
| 5 | + "additionalProperties": false, |
| 6 | + "properties": { |
| 7 | + "ClientId": { |
| 8 | + "type": "string" |
| 9 | + }, |
| 10 | + "ProviderName": { |
| 11 | + "type": "string" |
| 12 | + }, |
| 13 | + "ServerSideTokenCheck": { |
| 14 | + "type": "boolean" |
| 15 | + } |
| 16 | + }, |
| 17 | + "required": [ |
| 18 | + "ProviderName", |
| 19 | + "ClientId" |
| 20 | + ], |
| 21 | + "type": "object" |
| 22 | + }, |
| 23 | + "CognitoStreams": { |
| 24 | + "additionalProperties": false, |
| 25 | + "properties": { |
| 26 | + "RoleArn": { |
| 27 | + "type": "string" |
| 28 | + }, |
| 29 | + "StreamName": { |
| 30 | + "type": "string" |
| 31 | + }, |
| 32 | + "StreamingStatus": { |
| 33 | + "type": "string" |
| 34 | + } |
| 35 | + }, |
| 36 | + "type": "object" |
| 37 | + }, |
| 38 | + "PushSync": { |
| 39 | + "additionalProperties": false, |
| 40 | + "properties": { |
| 41 | + "ApplicationArns": { |
| 42 | + "insertionOrder": false, |
| 43 | + "items": { |
| 44 | + "type": "string" |
| 45 | + }, |
| 46 | + "type": "array", |
| 47 | + "uniqueItems": false |
| 48 | + }, |
| 49 | + "RoleArn": { |
| 50 | + "type": "string" |
| 51 | + } |
| 52 | + }, |
| 53 | + "type": "object" |
| 54 | + }, |
| 55 | + "Tag": { |
| 56 | + "additionalProperties": false, |
| 57 | + "properties": { |
| 58 | + "Key": { |
| 59 | + "maxLength": 128, |
| 60 | + "minLength": 1, |
| 61 | + "type": "string" |
| 62 | + }, |
| 63 | + "Value": { |
| 64 | + "maxLength": 256, |
| 65 | + "minLength": 0, |
| 66 | + "type": "string" |
| 67 | + } |
| 68 | + }, |
| 69 | + "required": [ |
| 70 | + "Key", |
| 71 | + "Value" |
| 72 | + ], |
| 73 | + "type": "object" |
| 74 | + } |
| 75 | + }, |
| 76 | + "handlers": { |
| 77 | + "create": { |
| 78 | + "permissions": [ |
| 79 | + "cognito-identity:CreateIdentityPool", |
| 80 | + "cognito-sync:SetIdentityPoolConfiguration", |
| 81 | + "cognito-sync:SetCognitoEvents", |
| 82 | + "cognito-identity:TagResource", |
| 83 | + "iam:PassRole" |
| 84 | + ] |
| 85 | + }, |
| 86 | + "delete": { |
| 87 | + "permissions": [ |
| 88 | + "cognito-identity:DeleteIdentityPool" |
| 89 | + ] |
| 90 | + }, |
| 91 | + "list": { |
| 92 | + "permissions": [ |
| 93 | + "cognito-identity:ListIdentityPools" |
| 94 | + ] |
| 95 | + }, |
| 96 | + "read": { |
| 97 | + "permissions": [ |
| 98 | + "cognito-identity:DescribeIdentityPool" |
| 99 | + ] |
| 100 | + }, |
| 101 | + "update": { |
| 102 | + "permissions": [ |
| 103 | + "cognito-identity:UpdateIdentityPool", |
| 104 | + "cognito-identity:DescribeIdentityPool", |
| 105 | + "cognito-sync:SetIdentityPoolConfiguration", |
| 106 | + "cognito-sync:SetCognitoEvents", |
| 107 | + "cognito-identity:TagResource", |
| 108 | + "cognito-identity:UntagResource", |
| 109 | + "iam:PassRole" |
| 110 | + ] |
| 111 | + } |
| 112 | + }, |
| 113 | + "primaryIdentifier": [ |
| 114 | + "/properties/Id" |
| 115 | + ], |
| 116 | + "properties": { |
| 117 | + "AllowClassicFlow": { |
| 118 | + "type": "boolean" |
| 119 | + }, |
| 120 | + "AllowUnauthenticatedIdentities": { |
| 121 | + "type": "boolean" |
| 122 | + }, |
| 123 | + "CognitoEvents": { |
| 124 | + "format": "json", |
| 125 | + "type": [ |
| 126 | + "object", |
| 127 | + "string" |
| 128 | + ] |
| 129 | + }, |
| 130 | + "CognitoIdentityProviders": { |
| 131 | + "insertionOrder": false, |
| 132 | + "items": { |
| 133 | + "$ref": "#/definitions/CognitoIdentityProvider" |
| 134 | + }, |
| 135 | + "type": "array", |
| 136 | + "uniqueItems": false |
| 137 | + }, |
| 138 | + "CognitoStreams": { |
| 139 | + "$ref": "#/definitions/CognitoStreams" |
| 140 | + }, |
| 141 | + "DeveloperProviderName": { |
| 142 | + "type": "string" |
| 143 | + }, |
| 144 | + "Id": { |
| 145 | + "type": "string" |
| 146 | + }, |
| 147 | + "IdentityPoolName": { |
| 148 | + "type": "string" |
| 149 | + }, |
| 150 | + "IdentityPoolTags": { |
| 151 | + "insertionOrder": false, |
| 152 | + "items": { |
| 153 | + "$ref": "#/definitions/Tag" |
| 154 | + }, |
| 155 | + "type": "array", |
| 156 | + "uniqueItems": true |
| 157 | + }, |
| 158 | + "Name": { |
| 159 | + "type": "string" |
| 160 | + }, |
| 161 | + "OpenIdConnectProviderARNs": { |
| 162 | + "insertionOrder": false, |
| 163 | + "items": { |
| 164 | + "type": "string" |
| 165 | + }, |
| 166 | + "type": "array", |
| 167 | + "uniqueItems": false |
| 168 | + }, |
| 169 | + "PushSync": { |
| 170 | + "$ref": "#/definitions/PushSync" |
| 171 | + }, |
| 172 | + "SamlProviderARNs": { |
| 173 | + "insertionOrder": false, |
| 174 | + "items": { |
| 175 | + "type": "string" |
| 176 | + }, |
| 177 | + "type": "array", |
| 178 | + "uniqueItems": false |
| 179 | + }, |
| 180 | + "SupportedLoginProviders": { |
| 181 | + "format": "json", |
| 182 | + "type": [ |
| 183 | + "object", |
| 184 | + "string" |
| 185 | + ] |
| 186 | + } |
| 187 | + }, |
| 188 | + "readOnlyProperties": [ |
| 189 | + "/properties/Id", |
| 190 | + "/properties/Name" |
| 191 | + ], |
| 192 | + "required": [ |
| 193 | + "AllowUnauthenticatedIdentities" |
| 194 | + ], |
| 195 | + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", |
| 196 | + "tagging": { |
| 197 | + "cloudFormationSystemTags": false, |
| 198 | + "permissions": [ |
| 199 | + "cognito-identity:TagResource", |
| 200 | + "cognito-identity:UntagResource" |
| 201 | + ], |
| 202 | + "tagOnCreate": true, |
| 203 | + "tagProperty": "/properties/IdentityPoolTags", |
| 204 | + "tagUpdatable": true, |
| 205 | + "taggable": true |
| 206 | + }, |
| 207 | + "typeName": "AWS::Cognito::IdentityPool", |
| 208 | + "writeOnlyProperties": [ |
| 209 | + "/properties/PushSync", |
| 210 | + "/properties/CognitoStreams", |
| 211 | + "/properties/CognitoEvents" |
| 212 | + ] |
| 213 | +} |
0 commit comments