View source: R/workflow_airflow.R
deploy_config | R Documentation |
Export Airflow deploy config from a SageMaker model
deploy_config( model, initial_instance_count, instance_type, endpoint_name = NULL, tags = NULL )
model |
(sagemaker.model.Model): The SageMaker model to export the Airflow config from. |
initial_instance_count |
(int): The initial number of instances to run in the “Endpoint“ created from this “Model“. |
instance_type |
(str): The EC2 instance type to deploy this Model to. For example, 'ml.p2.xlarge'. |
endpoint_name |
(str): The name of the endpoint to create (default: None). If not specified, a unique endpoint name will be created. |
tags |
(list[dict]): List of tags for labeling a training job. For more, see https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html. |
dict: Deploy config that can be directly used by SageMakerEndpointOperator in Airflow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.