# CustomImageProperty

A custom SageMaker AI image.

For more information, see [Bring your own SageMaker AI image](https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html) .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 customImageProperty: sagemaker.CfnUserProfile.CustomImageProperty = {
  appImageConfigName: 'appImageConfigName',
  imageName: 'imageName',

  // the properties below are optional
  imageVersionNumber: 123,
};
```

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

custom_image_property = sagemaker.CfnUserProfile.CustomImageProperty(
    app_image_config_name="appImageConfigName",
    image_name="imageName",

    # the properties below are optional
    image_version_number=123
)
```

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

CustomImageProperty customImageProperty = CustomImageProperty.builder()
        .appImageConfigName("appImageConfigName")
        .imageName("imageName")

        // the properties below are optional
        .imageVersionNumber(123)
        .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 customImageProperty = new CustomImageProperty {
    AppImageConfigName = "appImageConfigName",
    ImageName = "imageName",

    // the properties below are optional
    ImageVersionNumber = 123
};
```

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"

customImageProperty := &CustomImageProperty{
	AppImageConfigName: jsii.String("appImageConfigName"),
	ImageName: jsii.String("imageName"),

	// the properties below are optional
	ImageVersionNumber: jsii.Number(123),
}
```

## Properties

- `appImageConfigName`: string (required) — The name of the AppImageConfig.

- `imageName`: string (required) — The name of the CustomImage.

  Must be unique to your account.

- `imageVersionNumber`: number — The version number of the CustomImage.
