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

feat(stepfunctions-tasks): add enableNetworkIsolation property to SageMakerCreateTrainingJobProps #16792

Merged
merged 11 commits into from
Oct 18, 2021

Conversation

TakaakiFuruse
Copy link
Contributor

@TakaakiFuruse TakaakiFuruse commented Oct 5, 2021

Closes #16779.

This PR adds an option of EnableNetworkIsolation to SageMakerCreateTrainingJob class and enables a user to use AWS Marketplace.

Doc says a user must turn the option to True when they attempt to use a machine learning model from AWS Marketplace.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Oct 5, 2021

@kaizencc kaizencc self-assigned this Oct 12, 2021
@kaizencc kaizencc self-requested a review October 12, 2021 15:02
@kaizencc kaizencc changed the title fix(SageMakerCreateTrainingJob): added enableNetworkIsolation option feat(stepfunctions-tasks): add enableNetworkIsolation property to SageMakerCreateTrainingJobProps Oct 12, 2021
Copy link
Contributor

@kaizencc kaizencc left a comment

Choose a reason for hiding this comment

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

The code looks great! In addition to the doc comment, can you update the README? I think it will be valuable to provide a sentence or two under the 'Sagemaker' headline that explains that AWS Marketplace resources require enableNetworkIsolation=true, plus a link to a doc.

Can you also update the PR blurb to describe the implementation (without the other stuff). It will be part of the commit message when the PR is merged so people can use it for reference.

@TakaakiFuruse
Copy link
Contributor Author

TakaakiFuruse commented Oct 13, 2021

  • update PR blurb
  • update Readme
  • accept suggestion

@mergify mergify bot dismissed kaizencc’s stale review October 13, 2021 06:21

Pull request has been modified.

@TakaakiFuruse TakaakiFuruse force-pushed the fix-sagemaker-create-trainingjob branch from 4f3cb8f to a263562 Compare October 13, 2021 06:23
TakaakiFuruse and others added 2 commits October 13, 2021 15:25
Co-authored-by: kaizen3031593 <36202692+kaizen3031593@users.noreply.github.com>
@TakaakiFuruse
Copy link
Contributor Author

@kaizen3031593
I have made modification based on your suggestion. Ready for your review!

@kaizencc kaizencc self-requested a review October 13, 2021 13:43
kaizencc
kaizencc previously approved these changes Oct 13, 2021
Copy link
Contributor

@kaizencc kaizencc left a comment

Choose a reason for hiding this comment

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

Great job @TakaakiFuruse! This looks awesome. Thanks for the contribution!

@mergify mergify bot dismissed kaizencc’s stale review October 13, 2021 13:53

Pull request has been modified.

kaizencc
kaizencc previously approved these changes Oct 18, 2021
@mergify mergify bot dismissed kaizencc’s stale review October 18, 2021 13:10

Pull request has been modified.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 4e76162
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 69ac520 into aws:master Oct 18, 2021
@mergify
Copy link
Contributor

mergify bot commented Oct 18, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…SageMakerCreateTrainingJobProps` (aws#16792)

Closes aws#16779.

This PR adds an option of `EnableNetworkIsolation` to `SageMakerCreateTrainingJob` class and enables a user to use AWS Marketplace.

[Doc](https://docs.aws.amazon.com/sagemaker/latest/dg/mkt-algo-model-internet-free.html) says a user must turn the option to True when they attempt to use a machine learning model from AWS Marketplace. 

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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.

SageMakerCreateTrainingJob: lacks EnableNetworkIsolation option
3 participants