aws-cdk-lib.aws_greengrass.CfnResourceDefinitionVersionProps

interface CfnResourceDefinitionVersionProps

LanguageType name
.NETAmazon.CDK.AWS.Greengrass.CfnResourceDefinitionVersionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnResourceDefinitionVersionProps
Javasoftware.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersionProps
Pythonaws_cdk.aws_greengrass.CfnResourceDefinitionVersionProps
TypeScript aws-cdk-lib » aws_greengrass » CfnResourceDefinitionVersionProps

Properties for defining a CfnResourceDefinitionVersion.

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-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

NameTypeDescription
resourceDefinitionIdstringThe ID of the resource definition associated with this version.
resourcesIResolvable | IResolvable | ResourceInstanceProperty[]The resources in this version.

resourceDefinitionId

Type: string

The ID of the resource definition associated with this version.

This value is a GUID.


resources

Type: IResolvable | IResolvable | ResourceInstanceProperty[]

The resources in this version.