@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.840Z") @Stability(value=Stable) public interface CfnResourceDefinitionProps 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.*;
Object tags;
CfnResourceDefinitionProps cfnResourceDefinitionProps = CfnResourceDefinitionProps.builder()
.name("name")
// the properties below are optional
.initialVersion(ResourceDefinitionVersionProperty.builder()
.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())
.tags(tags)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceDefinitionProps.Builder
A builder for
CfnResourceDefinitionProps |
static class |
CfnResourceDefinitionProps.Jsii$Proxy
An implementation for
CfnResourceDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceDefinitionProps.Builder |
builder() |
default Object |
getInitialVersion()
`AWS::Greengrass::ResourceDefinition.InitialVersion`.
|
String |
getName()
`AWS::Greengrass::ResourceDefinition.Name`.
|
default Object |
getTags()
`AWS::Greengrass::ResourceDefinition.Tags`.
|
@Stability(value=Stable) @Nullable default Object getInitialVersion()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) static CfnResourceDefinitionProps.Builder builder()
CfnResourceDefinitionProps.Builder of CfnResourceDefinitionPropsCopyright © 2021. All rights reserved.