interface S3MachineLearningModelResourceDataProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnResourceDefinitionPropsMixin.S3MachineLearningModelResourceDataProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnResourceDefinitionPropsMixin_S3MachineLearningModelResourceDataProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnResourceDefinitionPropsMixin.S3MachineLearningModelResourceDataProperty |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnResourceDefinitionPropsMixin.S3MachineLearningModelResourceDataProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnResourceDefinitionPropsMixin » S3MachineLearningModelResourceDataProperty |
Settings for an Amazon S3 machine learning resource.
For more information, see Perform Machine Learning Inference in the Developer Guide .
In an CloudFormation template, S3MachineLearningModelResourceData can be used in the ResourceDataContainer property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
const s3MachineLearningModelResourceDataProperty: greengrass_mixins.CfnResourceDefinitionPropsMixin.S3MachineLearningModelResourceDataProperty = {
destinationPath: 'destinationPath',
ownerSetting: {
groupOwner: 'groupOwner',
groupPermission: 'groupPermission',
},
s3Uri: 's3Uri',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | The absolute local path of the resource inside the Lambda environment. |
| owner | IResolvable | Resource | The owner setting for the downloaded machine learning resource. |
| s3 | string | The URI of the source model in an Amazon S3 bucket. |
destinationPath?
Type:
string
(optional)
The absolute local path of the resource inside the Lambda environment.
ownerSetting?
Type:
IResolvable | Resource
(optional)
The owner setting for the downloaded machine learning resource.
For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .
s3Uri?
Type:
string
(optional)
The URI of the source model in an Amazon S3 bucket.
The model package must be in tar.gz or .zip format.

.NET
Go
Java
Python
TypeScript