Class: Aws::Greengrass::Types::Resource
- Inherits:
-
Struct
- Object
- Struct
- Aws::Greengrass::Types::Resource
- Defined in:
- gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb
Overview
Note:
When making an API call, you may pass Resource data as a hash:
{
id: "__string", # required
name: "__string", # required
resource_data_container: { # required
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"],
},
},
}
Information about a resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#id ⇒ String
The resource ID, used to refer to a resource in the Lambda function configuration.
-
#name ⇒ String
The descriptive resource name, which is displayed on the AWS IoT Greengrass console.
-
#resource_data_container ⇒ Types::ResourceDataContainer
A container of data for all resource types.
Instance Attribute Details
#id ⇒ String
The resource ID, used to refer to a resource in the Lambda function configuration. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
5342 5343 5344 5345 5346 5347 5348 |
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5342 class Resource < Struct.new( :id, :name, :resource_data_container) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The descriptive resource name, which is displayed on the AWS IoT Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
5342 5343 5344 5345 5346 5347 5348 |
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5342 class Resource < Struct.new( :id, :name, :resource_data_container) SENSITIVE = [] include Aws::Structure end |
#resource_data_container ⇒ Types::ResourceDataContainer
A container of data for all resource types.
5342 5343 5344 5345 5346 5347 5348 |
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 5342 class Resource < Struct.new( :id, :name, :resource_data_container) SENSITIVE = [] include Aws::Structure end |