aws-amplify-alpha - how to specify platform: WEB_COMPUTE? #31123
Unanswered
FeroHriadel
asked this question in
Q&A
Replies: 1 comment
-
Hi @FeroHriadel , the Platform type is available in CDK docs and I can deploy it with this code below -
const amplifyapp = new amplify.App(this, 'amplifyapp', {
platform: amplify.Platform.WEB_COMPUTE,
});
new cdk.CfnOutput(this, 'amplifyappurl', {
value: amplifyapp.appId,
}); Synthesized template - "amplifyapp996AC4E0": {
"Type": "AWS::Amplify::App",
"Properties": {
"BasicAuthConfig": {
"EnableBasicAuth": false
},
"IAMServiceRole": {
"Fn::GetAtt": [
"amplifyappRole19C50DA6",
"Arn"
]
},
"Name": "amplifyapp",
"Platform": "WEB_COMPUTE"
},
"Metadata": {
"aws:cdk:path": "AmplifyIssueStack/amplifyapp/Resource"
} and the deployment succeeds - ![]() Hope this would be helpful. Let me know if this does not work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just installed @aws-cdk/aws-amplify-alpha@2.39.1-alpha.0. I want to deploy a nextjs app with SSR. I need to specify:
It's also in the docs. But it says it's an unknown property. What should I do now?
Beta Was this translation helpful? Give feedback.
All reactions