interface ResourceDataContainerProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnResourceDefinitionVersionPropsMixin.ResourceDataContainerProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnResourceDefinitionVersionPropsMixin_ResourceDataContainerProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnResourceDefinitionVersionPropsMixin.ResourceDataContainerProperty |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnResourceDefinitionVersionPropsMixin.ResourceDataContainerProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnResourceDefinitionVersionPropsMixin » ResourceDataContainerProperty |
A container for resource data, which defines the resource type.
The container takes only one of the following supported resource data types: LocalDeviceResourceData , LocalVolumeResourceData , SageMakerMachineLearningModelResourceData , S3MachineLearningModelResourceData , or SecretsManagerSecretResourceData .
Only one resource type can be defined for a
ResourceDataContainerinstance.
In an CloudFormation template, ResourceDataContainer is a property of the ResourceInstance property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
const resourceDataContainerProperty: greengrass_mixins.CfnResourceDefinitionVersionPropsMixin.ResourceDataContainerProperty = {
localDeviceResourceData: {
groupOwnerSetting: {
autoAddGroupOwner: false,
groupOwner: 'groupOwner',
},
sourcePath: 'sourcePath',
},
localVolumeResourceData: {
destinationPath: 'destinationPath',
groupOwnerSetting: {
autoAddGroupOwner: false,
groupOwner: 'groupOwner',
},
sourcePath: 'sourcePath',
},
s3MachineLearningModelResourceData: {
destinationPath: 'destinationPath',
ownerSetting: {
groupOwner: 'groupOwner',
groupPermission: 'groupPermission',
},
s3Uri: 's3Uri',
},
sageMakerMachineLearningModelResourceData: {
destinationPath: 'destinationPath',
ownerSetting: {
groupOwner: 'groupOwner',
groupPermission: 'groupPermission',
},
sageMakerJobArn: 'sageMakerJobArn',
},
secretsManagerSecretResourceData: {
additionalStagingLabelsToDownload: ['additionalStagingLabelsToDownload'],
arn: 'arn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| local | IResolvable | Local | Settings for a local device resource. |
| local | IResolvable | Local | Settings for a local volume resource. |
| s3 | IResolvable | S3 | Settings for a machine learning resource stored in Amazon S3 . |
| sage | IResolvable | Sage | Settings for a machine learning resource saved as an SageMaker AI training job. |
| secrets | IResolvable | Secrets | Settings for a secret resource. |
localDeviceResourceData?
Type:
IResolvable | Local
(optional)
Settings for a local device resource.
localVolumeResourceData?
Type:
IResolvable | Local
(optional)
Settings for a local volume resource.
s3MachineLearningModelResourceData?
Type:
IResolvable | S3
(optional)
Settings for a machine learning resource stored in Amazon S3 .
sageMakerMachineLearningModelResourceData?
Type:
IResolvable | Sage
(optional)
Settings for a machine learning resource saved as an SageMaker AI training job.
secretsManagerSecretResourceData?
Type:
IResolvable | Secrets
(optional)
Settings for a secret resource.

.NET
Go
Java
Python
TypeScript