Skip to content
v2.278.0

CoreDumpConfigProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

destinationS3Uristringdestination_s3_uristrdestinationS3UriStringDestinationS3UristringDestinationS3Uri*string required #
The Amazon S3 bucket to send the core dump to.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*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.