Service Catalog and Quotas

0

Hello, Is there any way to establish quotas in service catalog? I would need do some tricks with lambda function and events but would like to know if there is anything more pratical. I would like for example to limit how many provisioned products a user can have.

edipof
質問済み 2年前280ビュー
1回答
1

This pattern may provide some good ideas to implement something what you are looking for https://aws.amazon.com/blogs/mt/tracking-aws-service-catalog-products-provisioned-by-individual-saml-users/.

It has the following approach that can be extended for your case

  1. The user provisions a product after authenticating to AWS Service Catalog.
  2. AWS Service Catalog launches an AWS CloudFormation template in response to the user’s request.
  3. An AWS Lambda function is invoked based on the Amazon CloudWatch rule triggered by the CloudFormation CreateStack event.
  4. The Lambda function reads the User Name and CloudFormation stack ID from the event record and stores this information in an Amazon DynamoDB database.
  5. The CloudFormation template provisions a custom resource that invokes the AWS Lambda function.
  6. The Lambda function reads the user name from the Amazon DynamoDB record associated with the CloudFormation stack ID and returns this information back to the CloudFormation template.

You may need to add your own logic to this approach and do a POC to see if it works for your needs.

profile pictureAWS
エキスパート
回答済み 2年前
profile pictureAWS
エキスパート
レビュー済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ