@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:35.246Z") @Stability(value=Stable) public interface CfnResourceDefinitionVersionProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnResourceDefinitionVersionProps cfnResourceDefinitionVersionProps = CfnResourceDefinitionVersionProps.builder()
.resourceDefinitionId("resourceDefinitionId")
.resources(List.of(ResourceInstanceProperty.builder()
.id("id")
.name("name")
.resourceDataContainer(ResourceDataContainerProperty.builder()
.localDeviceResourceData(LocalDeviceResourceDataProperty.builder()
.sourcePath("sourcePath")
// the properties below are optional
.groupOwnerSetting(GroupOwnerSettingProperty.builder()
.autoAddGroupOwner(false)
// the properties below are optional
.groupOwner("groupOwner")
.build())
.build())
.localVolumeResourceData(LocalVolumeResourceDataProperty.builder()
.destinationPath("destinationPath")
.sourcePath("sourcePath")
// the properties below are optional
.groupOwnerSetting(GroupOwnerSettingProperty.builder()
.autoAddGroupOwner(false)
// the properties below are optional
.groupOwner("groupOwner")
.build())
.build())
.s3MachineLearningModelResourceData(S3MachineLearningModelResourceDataProperty.builder()
.destinationPath("destinationPath")
.s3Uri("s3Uri")
// the properties below are optional
.ownerSetting(ResourceDownloadOwnerSettingProperty.builder()
.groupOwner("groupOwner")
.groupPermission("groupPermission")
.build())
.build())
.sageMakerMachineLearningModelResourceData(SageMakerMachineLearningModelResourceDataProperty.builder()
.destinationPath("destinationPath")
.sageMakerJobArn("sageMakerJobArn")
// the properties below are optional
.ownerSetting(ResourceDownloadOwnerSettingProperty.builder()
.groupOwner("groupOwner")
.groupPermission("groupPermission")
.build())
.build())
.secretsManagerSecretResourceData(SecretsManagerSecretResourceDataProperty.builder()
.arn("arn")
// the properties below are optional
.additionalStagingLabelsToDownload(List.of("additionalStagingLabelsToDownload"))
.build())
.build())
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceDefinitionVersionProps.Builder
A builder for
CfnResourceDefinitionVersionProps |
static class |
CfnResourceDefinitionVersionProps.Jsii$Proxy
An implementation for
CfnResourceDefinitionVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceDefinitionVersionProps.Builder |
builder() |
String |
getResourceDefinitionId()
The ID of the resource definition associated with this version.
|
Object |
getResources()
The resources in this version.
|
@Stability(value=Stable) @NotNull String getResourceDefinitionId()
This value is a GUID.
@Stability(value=Stable) @NotNull Object getResources()
@Stability(value=Stable) static CfnResourceDefinitionVersionProps.Builder builder()
Copyright © 2022. All rights reserved.