public static interface CfnResourceDefinition.S3MachineLearningModelResourceDataProperty
For more information, see Perform Machine Learning Inference in the Developer Guide .
In an AWS 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 software.amazon.awscdk.services.greengrass.*; S3MachineLearningModelResourceDataProperty s3MachineLearningModelResourceDataProperty = S3MachineLearningModelResourceDataProperty.builder() .destinationPath("destinationPath") .s3Uri("s3Uri") // the properties below are optional .ownerSetting(ResourceDownloadOwnerSettingProperty.builder() .groupOwner("groupOwner") .groupPermission("groupPermission") .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnResourceDefinition.S3MachineLearningModelResourceDataProperty.Builder
|
static class |
CfnResourceDefinition.S3MachineLearningModelResourceDataProperty.Jsii$Proxy
An implementation for
CfnResourceDefinition.S3MachineLearningModelResourceDataProperty |
Modifier and Type | Method and Description |
---|---|
static CfnResourceDefinition.S3MachineLearningModelResourceDataProperty.Builder |
builder() |
java.lang.String |
getDestinationPath()
The absolute local path of the resource inside the Lambda environment.
|
default java.lang.Object |
getOwnerSetting()
The owner setting for the downloaded machine learning resource.
|
java.lang.String |
getS3Uri()
The URI of the source model in an Amazon S3 bucket.
|
java.lang.String getDestinationPath()
java.lang.String getS3Uri()
The model package must be in tar.gz
or .zip
format.
default java.lang.Object getOwnerSetting()
For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .