Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SageMaker Domain, UserProfile, App and AppImageConfig resources #7

Merged
merged 1 commit into from
Mar 12, 2021
Merged

Add SageMaker Domain, UserProfile, App and AppImageConfig resources #7

merged 1 commit into from
Mar 12, 2021

Conversation

ChoiByungWook
Copy link
Contributor

@ChoiByungWook ChoiByungWook commented Mar 11, 2021

Issue #, if available:

Description of changes:

  • add AWS::SageMaker::Domain CloudFormation resource type
  • add AWS::SageMaker::UserProfile CloudFormation resource type
  • add AWS::SageMaker::App CloudFormation resource type
  • add AWS::SageMaker::AppImageConfig CloudFormation resource type
  • update repo README to reflect new resource types

References:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- add AWS::SageMaker::Domain CloudFormation resource type
- add AWS::SageMaker::UserProfile CloudFormation resource type
- add AWS::SageMaker::App CloudFormation resource type
- add AWS::SageMaker::AppImageConfig CloudFormation resource type
- update repo README to reflect new resource types
@ChoiByungWook ChoiByungWook marked this pull request as ready for review March 11, 2021 20:34
Comment on lines +61 to +64
"InstanceType": {
"type": "string",
"description": "The instance type that the image version runs on.",
"enum": [

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider not manually maintaining large constantly evolving enums like instance types that get outdated quickly:
https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-gamelift/pull/6#discussion_r416176707
(caught by running cfn validate)


only leaving one comment but applies to all these files:
aws-sagemaker-app.json
aws-sagemaker-domain.json
aws-sagemaker-userprofile.json

Copy link
Contributor Author

@ChoiByungWook ChoiByungWook Mar 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @PatMyron, good suggestion. I think for now, I've followed the corresponding API values: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceSpec.html#sagemaker-Type-ResourceSpec-InstanceType.

However it is a good idea to use regex instead of an enum. Will keep track of this internally. LL-5330

@ChoiByungWook ChoiByungWook merged commit 4b05df4 into aws-cloudformation:main Mar 12, 2021
@ChoiByungWook ChoiByungWook deleted the studio_resources branch March 12, 2021 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants