You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>Describes the cache configuration for an Amplify app.</p>
130
+
* <p>For more
131
+
* information about how Amplify applies an optimal cache configuration for
132
+
* your app based on the type of content that is being served, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/managing-cache-configuration">Managing cache configuration</a> in the <i>Amplify User
133
+
* guide</i>.</p>
134
+
* @public
135
+
*/
136
+
exportinterfaceCacheConfig{
137
+
/**
138
+
* <p>The type of cache configuration to use for an Amplify app.</p>
139
+
* <p>The <code>AMPLIFY_MANAGED</code> cache configuration automatically applies an
140
+
* optimized cache configuration for your app based on its platform, routing rules, and
141
+
* rewrite rules. This is the default setting.</p>
142
+
* <p>The <code>AMPLIFY_MANAGED_NO_COOKIES</code> cache configuration type is the same as <code>AMPLIFY_MANAGED</code>, except that it excludes all cookies from the cache key.</p>
143
+
* @public
144
+
*/
145
+
type: CacheConfigType|undefined;
146
+
}
147
+
114
148
/**
115
149
* <p>Describes a custom rewrite or redirect rule. </p>
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/amplify.json
+51-1
Original file line number
Diff line number
Diff line change
@@ -1204,6 +1204,12 @@
1204
1204
"traits": {
1205
1205
"smithy.api#documentation": "<note>\n <p>This is for internal use.</p>\n </note>\n <p>The Amplify service uses this parameter to specify the authentication protocol to use\n to access the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code>\n for a GitHub repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit\n repository, and <code>SSH</code> for GitLab and Bitbucket repositories.</p>"
1206
1206
}
1207
+
},
1208
+
"cacheConfig": {
1209
+
"target": "com.amazonaws.amplify#CacheConfig",
1210
+
"traits": {
1211
+
"smithy.api#documentation": "<p>The cache configuration for the Amplify app. If you don't specify the\n cache configuration <code>type</code>, Amplify uses the default\n <code>AMPLIFY_MANAGED</code> setting.</p>"
"smithy.api#documentation": "<p>The type of cache configuration to use for an Amplify app.</p>\n <p>The <code>AMPLIFY_MANAGED</code> cache configuration automatically applies an\n optimized cache configuration for your app based on its platform, routing rules, and\n rewrite rules. This is the default setting.</p>\n <p>The <code>AMPLIFY_MANAGED_NO_COOKIES</code> cache configuration type is the same as <code>AMPLIFY_MANAGED</code>, except that it excludes all cookies from the cache key.</p>",
1777
+
"smithy.api#required": {}
1778
+
}
1779
+
}
1780
+
},
1781
+
"traits": {
1782
+
"smithy.api#documentation": "<p>Describes the cache configuration for an Amplify app.</p>\n <p>For more\n information about how Amplify applies an optimal cache configuration for\n your app based on the type of content that is being served, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/managing-cache-configuration\">Managing cache configuration</a> in the <i>Amplify User\n guide</i>.</p>"
"smithy.api#documentation": "<p>The type of SSL/TLS certificate that you want to use.</p>\n <p>Specify <code>AMPLIFY_MANAGED</code> to use the default certificate that Amplify\n provisions for you.</p>\n <p>Specify <code>CUSTOM</code> to use your own certificate that you have already added to\n Certificate Manager in your Amazon Web Services account. Make sure you request (or\n import) the certificate in the US East (N. Virginia) Region (us-east-1). For more\n information about using ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing certificates into\n Certificate Manager</a> in the <i>ACM User\n guide</i>.</p>",
1808
+
"smithy.api#documentation": "<p>The type of SSL/TLS certificate that you want to use.</p>\n <p>Specify <code>AMPLIFY_MANAGED</code> to use the default certificate that Amplify\n provisions for you.</p>\n <p>Specify <code>CUSTOM</code> to use your own certificate that you have already added to\n Certificate Manager in your Amazon Web Services account. Make sure you request (or\n import) the certificate in the US East (N. Virginia) Region (us-east-1). For more\n information about using ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing certificates into\n Certificate Manager</a> in the <i>ACM User\n guide</i>.</p>",
1771
1809
"smithy.api#required": {}
1772
1810
}
1773
1811
},
@@ -2035,6 +2073,12 @@
2035
2073
"traits": {
2036
2074
"smithy.api#documentation": "<p>The automated branch creation configuration for an Amplify app. </p>"
2037
2075
}
2076
+
},
2077
+
"cacheConfig": {
2078
+
"target": "com.amazonaws.amplify#CacheConfig",
2079
+
"traits": {
2080
+
"smithy.api#documentation": "<p>The cache configuration for the Amplify app.</p>"
2081
+
}
2038
2082
}
2039
2083
},
2040
2084
"traits": {
@@ -6161,6 +6205,12 @@
6161
6205
"traits": {
6162
6206
"smithy.api#documentation": "<p>The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.</p>\n <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>\n <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you\n update an app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth\">Migrating an existing OAuth app to the Amplify GitHub App</a> in the\n <i>Amplify User Guide</i> .</p>"
6163
6207
}
6208
+
},
6209
+
"cacheConfig": {
6210
+
"target": "com.amazonaws.amplify#CacheConfig",
6211
+
"traits": {
6212
+
"smithy.api#documentation": "<p>The cache configuration for the Amplify app.</p>"
0 commit comments