Interface CfnResourceDefinition.S3MachineLearningModelResourceDataProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnResourceDefinition.S3MachineLearningModelResourceDataProperty.Jsii$Proxy
- Enclosing class:
- CfnResourceDefinition
@Stability(Stable)
public static interface CfnResourceDefinition.S3MachineLearningModelResourceDataProperty
extends software.amazon.jsii.JsiiSerializable
Settings for an Amazon S3 machine learning resource.
 
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();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnResourceDefinition.S3MachineLearningModelResourceDataProperty
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getDestinationPathThe absolute local path of the resource inside the Lambda environment.
- 
getS3UriThe URI of the source model in an Amazon S3 bucket.The model package must be in tar.gzor.zipformat.
- 
getOwnerSettingThe owner setting for the downloaded machine learning resource.For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide . 
- 
builder@Stability(Stable) static CfnResourceDefinition.S3MachineLearningModelResourceDataProperty.Builder builder()
 
-