# OTAUpdateFileProperty

- Source: Generated code
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const oTAUpdateFileProperty: iot.CfnOTAUpdate.OTAUpdateFileProperty = {
  attributes: {
    attributesKey: 'attributes',
  },
  codeSigning: {
    awsSignerJobId: 'awsSignerJobId',
    customCodeSigning: {
      certificateChain: {
        certificateName: 'certificateName',
        inlineDocument: 'inlineDocument',
      },
      hashAlgorithm: 'hashAlgorithm',
      signature: {
        inlineDocument: 'inlineDocument',
      },
      signatureAlgorithm: 'signatureAlgorithm',
    },
    startSigningJobParameter: {
      destination: {
        s3Destination: {
          bucket: 'bucket',
          prefix: 'prefix',
        },
      },
      signingProfileName: 'signingProfileName',
      signingProfileParameter: {
        certificateArn: 'certificateArn',
        certificatePathOnDevice: 'certificatePathOnDevice',
        platform: 'platform',
      },
    },
  },
  fileLocation: {
    s3Location: {
      bucket: 'bucket',
      key: 'key',
      version: 'version',
    },
    stream: {
      fileId: 123,
      streamId: 'streamId',
    },
  },
  fileName: 'fileName',
  fileType: 123,
  fileVersion: 'fileVersion',
};
```

## Properties

- `attributes`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — A list of name-attribute pairs.

- `codeSigning`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOTAUpdate.CodeSigningProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnOTAUpdate.CodeSigningProperty.html)

- `fileLocation`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOTAUpdate.FileLocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnOTAUpdate.FileLocationProperty.html)

- `fileName`: string — The name of the file.

- `fileType`: number — An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.

- `fileVersion`: string — The file version.
