Skip to content

(aws-amplify-alpha): Amplify SSR compute role support #33882

Open
@Lezzio

Description

@Lezzio

Describe the feature

Hi,

The Amplify CDK is missing some capabilities specified in the documentation and API. I'd like to add a IAM SSR Compute role to my Amplify app (Amplify IAM roles documentation)

The API supports it:
https://docs.aws.amazon.com/cli/latest/reference/amplify/update-app.html

--compute-role-arn (string)

The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources based on the role's permissions. For more information about the SSR Compute role, see Adding an SSR Compute role in the Amplify User Guide.

Would it be possible to expose such a property to support it in using the cdk library ?

In the mean time I'll try using an AwsCustomResource as a workaround, open to any alternative

Use Case

Simple capabilities gap, use case is setting the Amplify IAM compute role natively using the cdk

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.39.1-alpha.0

Environment details (OS name and version, etc.)

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-amplifyRelated to AWS Amplifyeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions