# CustomCodeSigningProperty

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```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 customCodeSigningProperty: iot.CfnOTAUpdate.CustomCodeSigningProperty = {
  certificateChain: {
    certificateName: 'certificateName',
    inlineDocument: 'inlineDocument',
  },
  hashAlgorithm: 'hashAlgorithm',
  signature: {
    inlineDocument: 'inlineDocument',
  },
  signatureAlgorithm: 'signatureAlgorithm',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot

custom_code_signing_property = iot.CfnOTAUpdate.CustomCodeSigningProperty(
    certificate_chain=iot.CfnOTAUpdate.CodeSigningCertificateChainProperty(
        certificate_name="certificateName",
        inline_document="inlineDocument"
    ),
    hash_algorithm="hashAlgorithm",
    signature=iot.CfnOTAUpdate.CodeSigningSignatureProperty(
        inline_document="inlineDocument"
    ),
    signature_algorithm="signatureAlgorithm"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;

CustomCodeSigningProperty customCodeSigningProperty = CustomCodeSigningProperty.builder()
        .certificateChain(CodeSigningCertificateChainProperty.builder()
                .certificateName("certificateName")
                .inlineDocument("inlineDocument")
                .build())
        .hashAlgorithm("hashAlgorithm")
        .signature(CodeSigningSignatureProperty.builder()
                .inlineDocument("inlineDocument")
                .build())
        .signatureAlgorithm("signatureAlgorithm")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;

var customCodeSigningProperty = new CustomCodeSigningProperty {
    CertificateChain = new CodeSigningCertificateChainProperty {
        CertificateName = "certificateName",
        InlineDocument = "inlineDocument"
    },
    HashAlgorithm = "hashAlgorithm",
    Signature = new CodeSigningSignatureProperty {
        InlineDocument = "inlineDocument"
    },
    SignatureAlgorithm = "signatureAlgorithm"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

customCodeSigningProperty := &CustomCodeSigningProperty{
	CertificateChain: &CodeSigningCertificateChainProperty{
		CertificateName: jsii.String("certificateName"),
		InlineDocument: jsii.String("inlineDocument"),
	},
	HashAlgorithm: jsii.String("hashAlgorithm"),
	Signature: &CodeSigningSignatureProperty{
		InlineDocument: jsii.String("inlineDocument"),
	},
	SignatureAlgorithm: jsii.String("signatureAlgorithm"),
}
```

## Properties

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

- `hashAlgorithm`: string — The hash algorithm used to code sign the file.

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

- `signatureAlgorithm`: string — The signature algorithm used to code sign the file.
