@Stability(value=Stable)
public static interface CfnResourceDefinition.ResourceInstanceProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
ResourceInstanceProperty resourceInstanceProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceDefinition.ResourceInstanceProperty.Builder
A builder for
CfnResourceDefinition.ResourceInstanceProperty |
static class |
CfnResourceDefinition.ResourceInstanceProperty.Jsii$Proxy
An implementation for
CfnResourceDefinition.ResourceInstanceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceDefinition.ResourceInstanceProperty.Builder |
builder() |
String |
getId()
`CfnResourceDefinition.ResourceInstanceProperty.Id`.
|
String |
getName()
`CfnResourceDefinition.ResourceInstanceProperty.Name`.
|
Object |
getResourceDataContainer()
`CfnResourceDefinition.ResourceInstanceProperty.ResourceDataContainer`.
|
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Object getResourceDataContainer()
@Stability(value=Stable) static CfnResourceDefinition.ResourceInstanceProperty.Builder builder()
Copyright © 2021. All rights reserved.