-
Notifications
You must be signed in to change notification settings - Fork 8
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 resource types #2
Conversation
- "sagemaker:ListProjects" | ||
- "sagemaker:ListTags" | ||
- "servicecatalog:DescribeProduct" | ||
- "servicecatalog:DescribeProvisioningArtifact" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does not contain the latest changes ; minor diff with https://code.amazon.com/packages/AWSCloudFormationResourceProvidersSageMaker/trees/heads/repositoryservice-github-backup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fxied
@@ -0,0 +1,132 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor diff from the latest - Updated repositoryservice-github-backup; Please take the latest from https://code.amazon.com/packages/AWSCloudFormationResourceProvidersSageMaker/logs/repositoryservice-github-backup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -0,0 +1,136 @@ | |||
{ | |||
"typeName": "AWS::SageMaker::Pipeline", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fxied
aws-sagemaker-modelqualityjobdefinition/aws-sagemaker-modelqualityjobdefinition.json
Show resolved
Hide resolved
...gemaker-modelexplainabilityjobdefinition/aws-sagemaker-modelexplainabilityjobdefinition.json
Show resolved
Hide resolved
aws-sagemaker-modelbiasjobdefinition/aws-sagemaker-modelbiasjobdefinition.json
Show resolved
Hide resolved
aws-sagemaker-dataqualityjobdefinition/aws-sagemaker-dataqualityjobdefinition.json
Show resolved
Hide resolved
project, model-pacakge-group, and pipeline needs to sync up the mainline branch and the github-backup-branch. |
"permissions": [ | ||
"sagemaker:DescribeModelPackageGroup", | ||
"sagemaker:GetModelPackageGroupPolicy", | ||
"sagemaker:PutModelPackageGroupPolicy", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PutModelPackageGroupPolicy may not be required here in read block.
} | ||
|
||
/** | ||
* This is used to ensure model package group resource has moved from Pending to Scheduled/Failed state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is Scheduled a valid state here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think so, this probably is copied from monitoring schedule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a couple of minor comments.
I'll squash and merge, and open another PR to address that bad comments |
"type" : "string", | ||
"minimum" : 1, | ||
"maximum" : 2048 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/string.html#length
"type" : "string", | |
"minimum" : 1, | |
"maximum" : 2048 | |
"type" : "string", | |
"minLength" : 1, | |
"maxLength" : 2048 |
"type" : "string", | ||
"minimum" : 1, | ||
"maximum" : 2048 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/string.html#length
"type" : "string", | |
"minimum" : 1, | |
"maximum" : 2048 | |
"type" : "string", | |
"minLength" : 1, | |
"maxLength" : 2048 |
...gemaker-modelexplainabilityjobdefinition/aws-sagemaker-modelexplainabilityjobdefinition.json
Show resolved
Hide resolved
"type" : "string", | ||
"minimum" : 1, | ||
"maximum" : 2048 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/string.html#length
"type" : "string", | |
"minimum" : 1, | |
"maximum" : 2048 | |
"type" : "string", | |
"minLength" : 1, | |
"maxLength" : 2048 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for catching this up, will fix in a new PR
"type" : "string", | ||
"minimum" : 1, | ||
"maximum" : 2048 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/string.html#length
"type" : "string", | |
"minimum" : 1, | |
"maximum" : 2048 | |
"type" : "string", | |
"minLength" : 1, | |
"maxLength" : 2048 |
"type" : "array", | ||
"description" : "Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.", | ||
"minLength" : 1, | ||
"maxLength" : 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think minLength
/maxLength
can be applied to array
types:
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/array.html#length
"type" : "array", | ||
"description" : "Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.", | ||
"minLength" : 1, | ||
"maxLength" : 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think minLength
/maxLength
can be applied to array
types:
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/array.html#length
"type" : "array", | ||
"description" : "Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.", | ||
"minLength" : 1, | ||
"maxLength" : 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think minLength
/maxLength
can be applied to array
types:
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/array.html#length
"type" : "array", | ||
"description" : "Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.", | ||
"minLength" : 1, | ||
"maxLength" : 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think minLength
/maxLength
can be applied to array
types:
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/array.html#length
"type" : "array", | ||
"description" : "Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.", | ||
"minLength" : 1, | ||
"maxLength" : 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think minLength
/maxLength
can be applied to array
types:
aws-cloudformation/cloudformation-cli#414
https://json-schema.org/understanding-json-schema/reference/array.html#length
}, | ||
"list": { | ||
"permissions": [ | ||
"sagemaker:ListMonitoringSchedule" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"sagemaker:ListMonitoringSchedule" | |
"sagemaker:ListMonitoringSchedules" |
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsagemaker.html
Issue #, if available:
Description of changes:
add aws-sagemaker-pipeline resource type.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.