CfnAppImageConfigProps

class aws_cdk.aws_sagemaker.CfnAppImageConfigProps(*, app_image_config_name, kernel_gateway_image_config=None, tags=None)

Bases: object

Properties for defining a CfnAppImageConfig.

Parameters:
  • app_image_config_name (str) – The name of the AppImageConfig. Must be unique to your account.

  • kernel_gateway_image_config (Union[IResolvable, KernelGatewayImageConfigProperty, Dict[str, Any], None]) – The configuration for the file system and kernels in the SageMaker image.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_sagemaker as sagemaker

cfn_app_image_config_props = sagemaker.CfnAppImageConfigProps(
    app_image_config_name="appImageConfigName",

    # the properties below are optional
    kernel_gateway_image_config=sagemaker.CfnAppImageConfig.KernelGatewayImageConfigProperty(
        kernel_specs=[sagemaker.CfnAppImageConfig.KernelSpecProperty(
            name="name",

            # the properties below are optional
            display_name="displayName"
        )],

        # the properties below are optional
        file_system_config=sagemaker.CfnAppImageConfig.FileSystemConfigProperty(
            default_gid=123,
            default_uid=123,
            mount_path="mountPath"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

app_image_config_name

The name of the AppImageConfig.

Must be unique to your account.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-appimageconfigname

kernel_gateway_image_config

The configuration for the file system and kernels in the SageMaker image.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-kernelgatewayimageconfig

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-tags