--- RecipeFormatVersion: "2020-01-25" ComponentName: "aws.sagemaker.edgeManagerPythonClient" ComponentVersion: "0.1.0" ComponentType: "aws.greengrass.generic" ComponentDescription: "Deploys Sagemaker Edge Manager Python client and example application" ComponentPublisher: "Amazon Web Services, Inc." ComponentConfiguration: DefaultConfiguration: accessControl: aws.greengrass.ipc.mqttproxy: aws.sagemaker.edgemanagerPythonClient:pubsub:1: policyDescription: "Allows access to publish to em/inference" operations: - "aws.greengrass#PublishToIoTCore" resources: - "em/inference" modelComponentName: "SMEM-Image-Classification-Model" modelName: "mxnetclassifier" captureInference: "False" ComponentDependencies: aws.greengrass.SageMakerEdgeManager: VersionRequirement: ">=1.0.0" DependencyType: "HARD" Manifests: - Platform: os: "linux" architecture: "aarch64" Lifecycle: run: script: "sleep 5 && python3 -u {artifacts:path}/edge_manager_python_client.py -i {artifacts:path} -c '{configuration:/modelComponentName}' -m '{configuration:/modelName}' -a {configuration:/captureInference}" RequiresPrivilege: true Artifacts: - URI: s3:///artifacts/aws.sagemaker.edgeManagerPythonClient/0.1.0/edge_manager_python_client.py Permission: Execute: OWNER - URI: s3:///artifacts/aws.sagemaker.edgeManagerPythonClient/0.1.0/agent_pb2.py Permission: Execute: OWNER - URI: s3:///artifacts/aws.sagemaker.edgeManagerPythonClient/0.1.0/agent_pb2_grpc.py Permission: Execute: OWNER - URI: s3:///artifacts/aws.sagemaker.edgeManagerPythonClient/0.1.0/dog.jpeg Permission: Execute: OWNER - URI: s3:///artifacts/aws.sagemaker.edgeManagerPythonClient/0.1.0/frog.jpeg Permission: Execute: OWNER - URI: s3:///artifacts/aws.sagemaker.edgeManagerPythonClient/0.1.0/tomato.jpeg Permission: Execute: OWNER - URI: s3:///artifacts/aws.sagemaker.edgeManagerPythonClient/0.1.0/rainbow.jpeg Permission: Execute: OWNER