--- RecipeFormatVersion: "2020-01-25" ComponentName: "$component_name" ComponentVersion: "$component_version_number" ComponentDescription: Creates a data acquisition plugin used for executing ML inference actions on Spot CORE AI. ComponentPublisher: Amazon Web Services, Inc. ComponentConfiguration: DefaultConfiguration: accessControl: aws.greengrass.SecretManager: "$component_name:secrets:1": policyDescription: Allows access to Secret Manager values operations: - "aws.greengrass#GetSecretValue" resources: - "*" Manifests: - Platform: os: linux Lifecycle: Run: RequiresPrivilege: true Setenv: PYTHONPATH: "{artifacts:decompressedPath}/$component_name/artifacts" Script: | python3 {artifacts:decompressedPath}/$component_name/artifacts/app.py --on-spot-core --port 50052 --worker-name sagemaker-server 192.168.50.3 Artifacts: - URI: $s3_path/$component_name/$component_version_number/$artifacts_zip_file_name.zip Unarchive: ZIP