# CoreDumpConfigProperty

Specifies where SageMaker writes core dumps from the model container when the process crashes, and how it encrypts them.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 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_sagemaker as sagemaker } from 'aws-cdk-lib';
const coreDumpConfigProperty: sagemaker.CfnEndpointConfig.CoreDumpConfigProperty = {
  destinationS3Uri: 'destinationS3Uri',

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
};
```

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_sagemaker as sagemaker

core_dump_config_property = sagemaker.CfnEndpointConfig.CoreDumpConfigProperty(
    destination_s3_uri="destinationS3Uri",

    # the properties below are optional
    kms_key_id="kmsKeyId"
)
```

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.sagemaker.*;

CoreDumpConfigProperty coreDumpConfigProperty = CoreDumpConfigProperty.builder()
        .destinationS3Uri("destinationS3Uri")

        // the properties below are optional
        .kmsKeyId("kmsKeyId")
        .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.Sagemaker;

var coreDumpConfigProperty = new CoreDumpConfigProperty {
    DestinationS3Uri = "destinationS3Uri",

    // the properties below are optional
    KmsKeyId = "kmsKeyId"
};
```

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"

coreDumpConfigProperty := &CoreDumpConfigProperty{
	DestinationS3Uri: jsii.String("destinationS3Uri"),

	// the properties below are optional
	KmsKeyId: jsii.String("kmsKeyId"),
}
```

## Properties

- `destinationS3Uri`: string (required) — The Amazon S3 bucket to send the core dump to.

- `kmsKeyId`: string — The AWS Key Management Service (AWS KMS) key that SageMaker uses to encrypt the core dump data at rest using Amazon S3 server-side encryption.

  If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt.
