AWS::Greengrass::ResourceDefinitionVersion ResourceDataContainer
A container for resource data, which defines the resource type. The container takes only
one of the following supported resource data types: LocalDeviceResourceData
,
LocalVolumeResourceData
,
SageMakerMachineLearningModelResourceData
,
S3MachineLearningModelResourceData
, or
SecretsManagerSecretResourceData
.
Note
Only one resource type can be defined for a ResourceDataContainer
instance.
In an Amazon CloudFormation template, ResourceDataContainer
is a property of
the ResourceInstance
property type.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "LocalDeviceResourceData" :
LocalDeviceResourceData
, "LocalVolumeResourceData" :LocalVolumeResourceData
, "S3MachineLearningModelResourceData" :S3MachineLearningModelResourceData
, "SageMakerMachineLearningModelResourceData" :SageMakerMachineLearningModelResourceData
, "SecretsManagerSecretResourceData" :SecretsManagerSecretResourceData
}
YAML
LocalDeviceResourceData:
LocalDeviceResourceData
LocalVolumeResourceData:LocalVolumeResourceData
S3MachineLearningModelResourceData:S3MachineLearningModelResourceData
SageMakerMachineLearningModelResourceData:SageMakerMachineLearningModelResourceData
SecretsManagerSecretResourceData:SecretsManagerSecretResourceData
Properties
LocalDeviceResourceData
-
Settings for a local device resource.
Required: No
Type: LocalDeviceResourceData
Update requires: Replacement
LocalVolumeResourceData
-
Settings for a local volume resource.
Required: No
Type: LocalVolumeResourceData
Update requires: Replacement
S3MachineLearningModelResourceData
-
Settings for a machine learning resource stored in Amazon S3.
Required: No
Type: S3MachineLearningModelResourceData
Update requires: Replacement
SageMakerMachineLearningModelResourceData
-
Settings for a machine learning resource saved as an SageMaker training job.
Required: No
Type: SageMakerMachineLearningModelResourceData
Update requires: Replacement
SecretsManagerSecretResourceData
-
Settings for a secret resource.
Required: No
Type: SecretsManagerSecretResourceData
Update requires: Replacement
See also
-
ResourceDataContainer in the Amazon IoT Greengrass Version 1 API Reference