pipelines/components/aws/sagemaker/delete_simulation_app
Leonard O' Sullivan 4aa11c3c7f
feat(components) Adds RoboMaker and SageMaker RLEstimator components (#4813)
* Adds RoboMaker and SageMaker RLEstimator components

* Genericise samples

* Genericise samples

* Adds better logging and updates shim component in samples

* Adds fixes for PR comments. Updates tests accordingly

* Adds docker image reference for integration tests. Allows for setting job_name for RLEstimator training jobs

* Separate RM and SM execution roles

* Remove README reference to VPC config items

* Adds more reliable integration test for RoboMaker Simulation Job

* Simplifies integration tests

* Reverted test container entrypoints

* Update black formatting

* Update components for redbackthomson repo

* Prefix RLEstimator job name

* Add RoboMakerFullAccess to generated roles

* Update version to official 1.1.0

* Formatting int test file

* Add PassRole IAM permission to OIDC

* Adds ROBOMAKER_EXECUTION_ROLE_ARN to build vars

Co-authored-by: Nicholas Thomson <nithomso@amazon.com>
2020-12-11 13:27:27 -08:00
..
src feat(components) Adds RoboMaker and SageMaker RLEstimator components (#4813) 2020-12-11 13:27:27 -08:00
README.md feat(components) Adds RoboMaker and SageMaker RLEstimator components (#4813) 2020-12-11 13:27:27 -08:00
component.yaml feat(components) Adds RoboMaker and SageMaker RLEstimator components (#4813) 2020-12-11 13:27:27 -08:00

README.md

RoboMaker Delete Simulation Application Kubeflow Pipelines component

Summary

Component to delete RoboMaker Simulation Application's from a Kubeflow Pipelines workflow. https://docs.aws.amazon.com/robomaker/latest/dg/API_DeleteSimulationApplication.html

Intended Use

For running your simulation workloads using AWS RoboMaker.

Runtime Arguments

Argument Description Optional Data type Accepted values Default
region The region where the cluster launches No String
endpoint_url The endpoint URL for the private link VPC endpoint Yes String
assume_role The ARN of an IAM role to assume when connecting to SageMaker Yes String
app_name The name of the simulation application. Must be unique within the same AWS account and AWS region Yes String SimulationApplication-[datetime]-[random id]
role The Amazon Resource Name (ARN) that Amazon RoboMaker assumes to perform tasks on your behalf No String
arn The Amazon Resource Name (ARN) of the simulation application No String
version The version of the simulation application Yes String

Notes:

  • This component can be used to clean up any simulation apps that were created by other components such as the Create Simulation App component.
  • This component should to be ran as after the RoboMaker Simulation Job component
  • The format for the sources field is:

Output

The ARN of the deleted Simulation Application.

Example code

Example of creating a Sim app, then a Sim job and finally deleting the Sim app : robomaker_simulation_job_app

Resources