You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/README.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ _Parameters_
76
76
| existingLambdaObj? |[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)| An optional, existing Lambda function to be used instead of the default function. If an existing function is provided, the `lambdaFunctionProps` property will be ignored. |
77
77
| lambdaFunctionProps? |[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.FunctionProps.html)| Optional user-provided properties to override the default properties for the Lambda function. Ignored if an `existingLambdaObj` is provided. ||
78
78
| existingSagemakerEndpointObj? |[`sagemaker.CfnEndpoint`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sagemaker.CfnEndpoint.html)| An optional, existing Sagemaker Enpoint to be used. if this is set then the `modelProps?`, `endpointConfigProps?`, and `endpointProps?` are ignored |
79
-
| modelProps? |[`sagemaker.CfnModelProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sagemaker.CfnModelProps.html)| Optional user-provided properties to override the default properties for the Sagemaker Model. Ignored if `existingSagemakerEndpointObj?` is provided. |
79
+
| modelProps? |[`sagemaker.CfnModelProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sagemaker.CfnModelProps.html)\|`any`| User-provided properties to override the default properties for the Sagemaker Model. At least `modelProps?.primaryContainer` must be provided to create a model. By default, the pattern will create a role with the minimum required permissions, but the client can provide a custom role with additional capabilities using `modelProps?.executionRoleArn`. `modelProps?` is ignored if `existingSagemakerEndpointObj?` is provided.|
80
80
| endpointConfigProps? |[`sagemaker.CfnEndpointConfigProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sagemaker.CfnEndpointConfigProps.html)| Optional user-provided properties to override the default properties for the Sagemaker Endpoint Config. Ignored if `existingSagemakerEndpointObj?` is provided. |
81
81
| endpointProps? |[`sagemaker.CfnEndpointProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sagemaker.CfnEndpointProps.html)| Optional user-provided properties to override the default properties for the Sagemaker Endpoint Config. Ignored if `existingSagemakerEndpointObj?` is provided. |
82
82
| existingVpc? |`ec2.IVpc`| An optional, existing VPC into which this construct should be deployed. When deployed in a VPC, the Lambda function and Sagemaker Endpoint will use ENIs in the VPC to access network resources. An Interface Endpoint will be created in the VPC for Amazon Sagemaker Runtime, and Amazon S3 VPC Endpoint. If an existing VPC is provided, the `deployVpc?` property cannot be `true`. |
@@ -111,11 +111,10 @@ Out of the box implementation of the Construct without any override will set the
111
111
112
112
### Amazon Sagemaker Endpoint
113
113
114
+
- Configure limited privilege to create Sagemaker resources.
114
115
- Deploy Sagemaker model, endpointConfig, and endpoint.
115
-
- Enable server-side encryption for Sagemaker Endpoint using customer managed AWS KMS Key.
116
116
- Configure the Sagemaker endpoint to be deployed in a VPC.
117
117
- Deploy S3 VPC Endpoint and Sagemaker Runtime VPC Interface.
0 commit comments