import * as core from "@terrascript/core"; export interface FileSystemConfigArgs extends core.SchemaArgs { defaultGid?: number | core.NumberOut; defaultUid?: number | core.NumberOut; mountPath?: string | core.StringOut; } export class FileSystemConfig extends core.Schema { @core.attr(Number) public defaultGid?: number | core.NumberOut; @core.attr(Number) public defaultUid?: number | core.NumberOut; @core.attr(String) public mountPath?: string | core.StringOut; } export interface KernelSpecArgs extends core.SchemaArgs { displayName?: string | core.StringOut; name: string | core.StringOut; } export class KernelSpec extends core.Schema { @core.attr(String) public displayName?: string | core.StringOut; @core.attr(String) public name!: string | core.StringOut; } export interface KernelGatewayImageConfigArgs extends core.SchemaArgs { fileSystemConfig?: FileSystemConfig; kernelSpec: KernelSpec; } export class KernelGatewayImageConfig extends core.Schema { @core.attr(FileSystemConfig) public fileSystemConfig?: FileSystemConfig; @core.attr(KernelSpec) public kernelSpec!: KernelSpec; } export interface AppImageConfigArgs extends core.ResourceArgs { /** * (Required) The name of the App Image Config. */ appImageConfigName: string | core.StringOut; /** * (Optional) The configuration for the file system and kernels in a SageMaker image running as a Kerne * lGateway app. See [Kernel Gateway Image Config](#kernel-gateway-image-config) details below. */ kernelGatewayImageConfig?: KernelGatewayImageConfig; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class AppImageConfig extends core.Resource { /** * (Required) The name of the App Image Config. */ @core.attr(String) public appImageConfigName!: string | core.StringOut; /** * The Amazon Resource Name (ARN) assigned by AWS to this App Image Config. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The name of the App Image Config. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The configuration for the file system and kernels in a SageMaker image running as a Kerne * lGateway app. See [Kernel Gateway Image Config](#kernel-gateway-image-config) details below. */ @core.attr(KernelGatewayImageConfig) public kernelGatewayImageConfig?: KernelGatewayImageConfig; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: AppImageConfigArgs) { super(name, "aws_sagemaker_app_image_config", args); } public override getNamespace(): string { return "aws_sagemaker"; } }