Class: Aws::Greengrass::Types::ResourceDataContainer

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass ResourceDataContainer data as a hash:

{
  local_device_resource_data: {
    group_owner_setting: {
      auto_add_group_owner: false,
      group_owner: "__string",
    },
    source_path: "__string",
  },
  local_volume_resource_data: {
    destination_path: "__string",
    group_owner_setting: {
      auto_add_group_owner: false,
      group_owner: "__string",
    },
    source_path: "__string",
  },
  s3_machine_learning_model_resource_data: {
    destination_path: "__string",
    owner_setting: {
      group_owner: "__string", # required
      group_permission: "ro", # required, accepts ro, rw
    },
    s3_uri: "__string",
  },
  sage_maker_machine_learning_model_resource_data: {
    destination_path: "__string",
    owner_setting: {
      group_owner: "__string", # required
      group_permission: "ro", # required, accepts ro, rw
    },
    sage_maker_job_arn: "__string",
  },
  secrets_manager_secret_resource_data: {
    arn: "__string",
    additional_staging_labels_to_download: ["__string"],
  },
}

A container for resource data. The container takes only one of the following supported resource data types: ''LocalDeviceResourceData'', ''LocalVolumeResourceData'', ''SageMakerMachineLearningModelResourceData'', ''S3MachineLearningModelResourceData'', ''SecretsManagerSecretResourceData''.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#local_device_resource_dataTypes::LocalDeviceResourceData

Attributes that define the local device resource.



5451
5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5451

class ResourceDataContainer < Struct.new(
  :local_device_resource_data,
  :local_volume_resource_data,
  :s3_machine_learning_model_resource_data,
  :sage_maker_machine_learning_model_resource_data,
  :secrets_manager_secret_resource_data)
  SENSITIVE = []
  include Aws::Structure
end

#local_volume_resource_dataTypes::LocalVolumeResourceData

Attributes that define the local volume resource.



5451
5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5451

class ResourceDataContainer < Struct.new(
  :local_device_resource_data,
  :local_volume_resource_data,
  :s3_machine_learning_model_resource_data,
  :sage_maker_machine_learning_model_resource_data,
  :secrets_manager_secret_resource_data)
  SENSITIVE = []
  include Aws::Structure
end

#s3_machine_learning_model_resource_dataTypes::S3MachineLearningModelResourceData

Attributes that define an Amazon S3 machine learning resource.



5451
5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5451

class ResourceDataContainer < Struct.new(
  :local_device_resource_data,
  :local_volume_resource_data,
  :s3_machine_learning_model_resource_data,
  :sage_maker_machine_learning_model_resource_data,
  :secrets_manager_secret_resource_data)
  SENSITIVE = []
  include Aws::Structure
end

#sage_maker_machine_learning_model_resource_dataTypes::SageMakerMachineLearningModelResourceData

Attributes that define an Amazon SageMaker machine learning resource.



5451
5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5451

class ResourceDataContainer < Struct.new(
  :local_device_resource_data,
  :local_volume_resource_data,
  :s3_machine_learning_model_resource_data,
  :sage_maker_machine_learning_model_resource_data,
  :secrets_manager_secret_resource_data)
  SENSITIVE = []
  include Aws::Structure
end

#secrets_manager_secret_resource_dataTypes::SecretsManagerSecretResourceData

Attributes that define a secret resource, which references a secret from AWS Secrets Manager.



5451
5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5451

class ResourceDataContainer < Struct.new(
  :local_device_resource_data,
  :local_volume_resource_data,
  :s3_machine_learning_model_resource_data,
  :sage_maker_machine_learning_model_resource_data,
  :secrets_manager_secret_resource_data)
  SENSITIVE = []
  include Aws::Structure
end