# CfnResourceDefinitionVersionProps

Properties for defining a `CfnResourceDefinitionVersion`.

Extends: CfnResourceDefinitionVersionProps
Used as props by: CfnResourceDefinitionVersion

- Source: Generated code

## Example

```ts
// 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-lib';
const cfnResourceDefinitionVersionProps: greengrass.CfnResourceDefinitionVersionProps = {
  resourceDefinitionId: 'resourceDefinitionId',
  resources: [{
    id: 'id',
    name: 'name',
    resourceDataContainer: {
      localDeviceResourceData: {
        sourcePath: 'sourcePath',

        // the properties below are optional
        groupOwnerSetting: {
          autoAddGroupOwner: false,

          // the properties below are optional
          groupOwner: 'groupOwner',
        },
      },
      localVolumeResourceData: {
        destinationPath: 'destinationPath',
        sourcePath: 'sourcePath',

        // the properties below are optional
        groupOwnerSetting: {
          autoAddGroupOwner: false,

          // the properties below are optional
          groupOwner: 'groupOwner',
        },
      },
      s3MachineLearningModelResourceData: {
        destinationPath: 'destinationPath',
        s3Uri: 's3Uri',

        // the properties below are optional
        ownerSetting: {
          groupOwner: 'groupOwner',
          groupPermission: 'groupPermission',
        },
      },
      sageMakerMachineLearningModelResourceData: {
        destinationPath: 'destinationPath',
        sageMakerJobArn: 'sageMakerJobArn',

        // the properties below are optional
        ownerSetting: {
          groupOwner: 'groupOwner',
          groupPermission: 'groupPermission',
        },
      },
      secretsManagerSecretResourceData: {
        arn: 'arn',

        // the properties below are optional
        additionalStagingLabelsToDownload: ['additionalStagingLabelsToDownload'],
      },
    },
  }],
};
```

## Properties

- `resourceDefinitionId`: string (required) — The ID of the resource definition associated with this version.

  This value is a GUID.

- `resources`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnResourceDefinitionVersion.ResourceInstanceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_greengrass.CfnResourceDefinitionVersion.ResourceInstanceProperty.html)[] (required) — The resources in this version.
