interface CfnResourceDefinitionVersionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Greengrass.CfnResourceDefinitionVersionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsgreengrass#CfnResourceDefinitionVersionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnResourceDefinitionVersionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_greengrass.CfnResourceDefinitionVersionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_greengrass » CfnResourceDefinitionVersionMixinProps |
Properties for CfnResourceDefinitionVersionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from '@aws-cdk/cfn-property-mixins';
const cfnResourceDefinitionVersionMixinProps: greengrass.CfnResourceDefinitionVersionMixinProps = {
resourceDefinitionId: 'resourceDefinitionId',
resources: [{
id: 'id',
name: 'name',
resourceDataContainer: {
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 |
|---|---|---|
| resource | string | The ID of the resource definition associated with this version. |
| resources? | IResolvable | (IResolvable | Resource)[] | The resources in this version. |
resourceDefinitionId?
Type:
string
(optional)
The ID of the resource definition associated with this version.
This value is a GUID.
resources?
Type:
IResolvable | (IResolvable | Resource)[]
(optional)
The resources in this version.

.NET
Go
Java
Python
TypeScript