@Stability(value=Stable)
public static interface CfnResourceDefinition.S3MachineLearningModelResourceDataProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getDestinationPath()
The absolute local path of the resource inside the Lambda environment.
|
default Object |
getOwnerSetting()
The owner setting for the downloaded machine learning resource.
|
String |
getS3Uri()
The URI of the source model in an Amazon S3 bucket.
|
@Stability(value=Stable) @NotNull String getDestinationPath()
@Stability(value=Stable) @NotNull String getS3Uri()
The model package must be in tar.gz or .zip format.
@Stability(value=Stable) @Nullable default Object getOwnerSetting()
For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .
@Stability(value=Stable) static CfnResourceDefinition.S3MachineLearningModelResourceDataProperty.Builder builder()
Copyright © 2022. All rights reserved.