1. Registry
  2. Packages
  3. Defang Providers
  4. API Docs
  5. Project
Viewing docs for defang-scaleway v2.12.2
published on Tuesday, Nov 17, 2026 by Defang
defang-scaleway logo defang-scaleway
Viewing docs for defang-scaleway v2.12.2
published on Tuesday, Nov 17, 2026 by Defang

    Create Project Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Project(name: string, args: ProjectArgs, opts?: ComponentResourceOptions);
    @overload
    def Project(resource_name: str,
                args: ProjectArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Project(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                services: Optional[Mapping[str, _compose.ServiceConfigArgs]] = None,
                etag: Optional[str] = None,
                models: Optional[Mapping[str, _compose.ModelConfigArgs]] = None,
                networks: Optional[Mapping[str, _compose.NetworkConfigArgs]] = None)
    func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
    public Project(string name, ProjectArgs args, ComponentResourceOptions? opts = null)
    public Project(String name, ProjectArgs args)
    public Project(String name, ProjectArgs args, ComponentResourceOptions options)
    
    type: defang-scaleway:Project
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "defang-scaleway_project" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    options ComponentResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var projectResource = new DefangScaleway.Project("projectResource", new()
    {
        Services = 
        {
            { "string", new DefangScaleway.Compose.Inputs.ServiceConfigArgs
            {
                Aliases = 
                {
                    { "string", "string" },
                },
                Autoscaling = false,
                Build = new DefangScaleway.Compose.Inputs.BuildConfigArgs
                {
                    Context = "string",
                    Args = 
                    {
                        { "string", "string" },
                    },
                    CacheFrom = new[]
                    {
                        "string",
                    },
                    CacheTo = new[]
                    {
                        "string",
                    },
                    Dockerfile = "string",
                    Platforms = new[]
                    {
                        "string",
                    },
                    ShmSize = "string",
                    Target = "string",
                },
                Command = new[]
                {
                    "string",
                },
                ContainerName = "string",
                DependsOn = 
                {
                    { "string", new DefangScaleway.Compose.Inputs.ServiceDependencyArgs
                    {
                        Condition = "string",
                        Required = false,
                    } },
                },
                Deploy = new DefangScaleway.Compose.Inputs.DeployConfigArgs
                {
                    Replicas = 0,
                    Resources = new DefangScaleway.Compose.Inputs.ResourcesArgs
                    {
                        Reservations = new DefangScaleway.Compose.Inputs.ResourceConfigArgs
                        {
                            Cpus = 0.0,
                            Memory = "string",
                        },
                    },
                },
                DomainName = "string",
                Entrypoint = new[]
                {
                    "string",
                },
                Environment = 
                {
                    { "string", "string" },
                },
                HealthCheck = new DefangScaleway.Compose.Inputs.HealthCheckConfigArgs
                {
                    IntervalSeconds = 0,
                    Retries = 0,
                    StartPeriodSeconds = 0,
                    Test = new[]
                    {
                        "string",
                    },
                    TimeoutSeconds = 0,
                },
                Image = "string",
                Llm = null,
                Models = 
                {
                    { "string", new DefangScaleway.Compose.Inputs.ServiceModelConfigArgs
                    {
                        EndpointVar = "string",
                        ModelVar = "string",
                    } },
                },
                NetworkMode = "string",
                Networks = 
                {
                    { "string", new DefangScaleway.Compose.Inputs.ServiceNetworkConfigArgs
                    {
                        Aliases = new[]
                        {
                            "string",
                        },
                    } },
                },
                ObjectStore = new DefangScaleway.Compose.Inputs.ObjectStoreConfigArgs
                {
                    Bucket = "string",
                },
                Platform = "string",
                Policies = new[]
                {
                    "string",
                },
                Ports = new[]
                {
                    new DefangScaleway.Compose.Inputs.ServicePortConfigArgs
                    {
                        Target = 0,
                        AppProtocol = "string",
                        Listener = "string",
                        Mode = "string",
                        Protocol = "string",
                    },
                },
                Postgres = new DefangScaleway.Compose.Inputs.PostgresConfigArgs
                {
                    AllowDowntime = false,
                    FromSnapshot = "string",
                },
                Redis = new DefangScaleway.Compose.Inputs.RedisConfigArgs
                {
                    AllowDowntime = false,
                    FromSnapshot = "string",
                },
                Restart = "string",
                StopGracePeriod = "string",
                Volumes = new[]
                {
                    new DefangScaleway.Compose.Inputs.ServiceVolumeConfigArgs
                    {
                        Source = "string",
                        Target = "string",
                        ReadOnly = false,
                    },
                },
                VolumesFrom = new[]
                {
                    "string",
                },
                WorkingDir = "string",
            } },
        },
        Etag = "string",
        Models = 
        {
            { "string", new DefangScaleway.Compose.Inputs.ModelConfigArgs
            {
                Model = "string",
                Seed = new DefangScaleway.Compose.Inputs.ModelTargetArgs
                {
                    Existed = false,
                    Format = "string",
                    Location = "string",
                    Model = "string",
                    Sku = "string",
                    Version = "string",
                },
            } },
        },
        Networks = 
        {
            { "string", new DefangScaleway.Compose.Inputs.NetworkConfigArgs
            {
                Internal = false,
            } },
        },
    });
    
    example, err := defangscaleway.NewProject(ctx, "projectResource", &defangscaleway.ProjectArgs{
    	Services: compose.ServiceConfigMap{
    		"string": &compose.ServiceConfigArgs{
    			Aliases: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Autoscaling: pulumi.Bool(false),
    			Build: &compose.BuildConfigArgs{
    				Context: pulumi.String("string"),
    				Args: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				CacheFrom: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				CacheTo: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Dockerfile: pulumi.String("string"),
    				Platforms: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ShmSize: pulumi.String("string"),
    				Target:  pulumi.String("string"),
    			},
    			Command: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ContainerName: pulumi.String("string"),
    			DependsOn: compose.ServiceDependencyMap{
    				"string": &compose.ServiceDependencyArgs{
    					Condition: pulumi.String("string"),
    					Required:  pulumi.Bool(false),
    				},
    			},
    			Deploy: &compose.DeployConfigArgs{
    				Replicas: pulumi.Int(0),
    				Resources: &compose.ResourcesArgs{
    					Reservations: &compose.ResourceConfigArgs{
    						Cpus:   pulumi.Float64(0),
    						Memory: pulumi.String("string"),
    					},
    				},
    			},
    			DomainName: pulumi.String("string"),
    			Entrypoint: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Environment: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			HealthCheck: &compose.HealthCheckConfigArgs{
    				IntervalSeconds:    pulumi.Int(0),
    				Retries:            pulumi.Int(0),
    				StartPeriodSeconds: pulumi.Int(0),
    				Test: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				TimeoutSeconds: pulumi.Int(0),
    			},
    			Image: pulumi.String("string"),
    			Llm:   &compose.LlmConfigArgs{},
    			Models: compose.ServiceModelConfigMap{
    				"string": &compose.ServiceModelConfigArgs{
    					EndpointVar: pulumi.String("string"),
    					ModelVar:    pulumi.String("string"),
    				},
    			},
    			NetworkMode: pulumi.String("string"),
    			Networks: compose.ServiceNetworkConfigMap{
    				"string": &compose.ServiceNetworkConfigArgs{
    					Aliases: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			ObjectStore: &compose.ObjectStoreConfigArgs{
    				Bucket: pulumi.String("string"),
    			},
    			Platform: pulumi.String("string"),
    			Policies: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Ports: compose.ServicePortConfigArray{
    				&compose.ServicePortConfigArgs{
    					Target:      pulumi.Int(0),
    					AppProtocol: pulumi.String("string"),
    					Listener:    pulumi.String("string"),
    					Mode:        pulumi.String("string"),
    					Protocol:    pulumi.String("string"),
    				},
    			},
    			Postgres: &compose.PostgresConfigArgs{
    				AllowDowntime: pulumi.Bool(false),
    				FromSnapshot:  pulumi.String("string"),
    			},
    			Redis: &compose.RedisConfigArgs{
    				AllowDowntime: pulumi.Bool(false),
    				FromSnapshot:  pulumi.String("string"),
    			},
    			Restart:         pulumi.String("string"),
    			StopGracePeriod: pulumi.String("string"),
    			Volumes: compose.ServiceVolumeConfigArray{
    				&compose.ServiceVolumeConfigArgs{
    					Source:   pulumi.String("string"),
    					Target:   pulumi.String("string"),
    					ReadOnly: pulumi.Bool(false),
    				},
    			},
    			VolumesFrom: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			WorkingDir: pulumi.String("string"),
    		},
    	},
    	Etag: "string",
    	Models: compose.ModelConfigMap{
    		"string": &compose.ModelConfigArgs{
    			Model: pulumi.String("string"),
    			Seed: &compose.ModelTargetArgs{
    				Existed:  pulumi.Bool(false),
    				Format:   pulumi.String("string"),
    				Location: pulumi.String("string"),
    				Model:    pulumi.String("string"),
    				Sku:      pulumi.String("string"),
    				Version:  pulumi.String("string"),
    			},
    		},
    	},
    	Networks: compose.NetworkConfigMap{
    		"string": &compose.NetworkConfigArgs{
    			Internal: pulumi.Bool(false),
    		},
    	},
    })
    
    resource "defang-scaleway_project" "projectResource" {
      lifecycle {
        create_before_destroy = true
      }
      services = {
        "string" = {
          aliases = {
            "string" = "string"
          }
          autoscaling = false
          build = {
            context = "string"
            args = {
              "string" = "string"
            }
            cache_from = ["string"]
            cache_to   = ["string"]
            dockerfile = "string"
            platforms  = ["string"]
            shm_size   = "string"
            target     = "string"
          }
          command        = ["string"]
          container_name = "string"
          depends_on = {
            "string" = {
              condition = "string"
              required  = false
            }
          }
          deploy = {
            replicas = 0
            resources = {
              reservations = {
                cpus   = 0
                memory = "string"
              }
            }
          }
          domain_name = "string"
          entrypoint  = ["string"]
          environment = {
            "string" = "string"
          }
          health_check = {
            interval_seconds     = 0
            retries              = 0
            start_period_seconds = 0
            test                 = ["string"]
            timeout_seconds      = 0
          }
          image = "string"
          llm   = {}
          models = {
            "string" = {
              endpoint_var = "string"
              model_var    = "string"
            }
          }
          network_mode = "string"
          networks = {
            "string" = {
              aliases = ["string"]
            }
          }
          object_store = {
            bucket = "string"
          }
          platform = "string"
          policies = ["string"]
          ports = [{
            target       = 0
            app_protocol = "string"
            listener     = "string"
            mode         = "string"
            protocol     = "string"
          }]
          postgres = {
            allow_downtime = false
            from_snapshot  = "string"
          }
          redis = {
            allow_downtime = false
            from_snapshot  = "string"
          }
          restart           = "string"
          stop_grace_period = "string"
          volumes = [{
            source    = "string"
            target    = "string"
            read_only = false
          }]
          volumes_from = ["string"]
          working_dir  = "string"
        }
      }
      etag = "string"
      models = {
        "string" = {
          model = "string"
          seed = {
            existed  = false
            format   = "string"
            location = "string"
            model    = "string"
            sku      = "string"
            version  = "string"
          }
        }
      }
      networks = {
        "string" = {
          internal = false
        }
      }
    }
    
    var projectResource = new Project("projectResource", ProjectArgs.builder()
        .services(Map.of("string", ServiceConfigArgs.builder()
            .aliases(Map.of("string", "string"))
            .autoscaling(false)
            .build(BuildConfigArgs.builder()
                .context("string")
                .args(Map.of("string", "string"))
                .cacheFrom("string")
                .cacheTo("string")
                .dockerfile("string")
                .platforms("string")
                .shmSize("string")
                .target("string")
                .build())
            .command("string")
            .containerName("string")
            .dependsOn(Map.of("string", ServiceDependencyArgs.builder()
                .condition("string")
                .required(false)
                .build()))
            .deploy(DeployConfigArgs.builder()
                .replicas(0)
                .resources(ResourcesArgs.builder()
                    .reservations(ResourceConfigArgs.builder()
                        .cpus(0.0)
                        .memory("string")
                        .build())
                    .build())
                .build())
            .domainName("string")
            .entrypoint("string")
            .environment(Map.of("string", "string"))
            .healthCheck(HealthCheckConfigArgs.builder()
                .intervalSeconds(0)
                .retries(0)
                .startPeriodSeconds(0)
                .test("string")
                .timeoutSeconds(0)
                .build())
            .image("string")
            .llm(LlmConfigArgs.builder()
                .build())
            .models(Map.of("string", ServiceModelConfigArgs.builder()
                .endpointVar("string")
                .modelVar("string")
                .build()))
            .networkMode("string")
            .networks(Map.of("string", ServiceNetworkConfigArgs.builder()
                .aliases("string")
                .build()))
            .objectStore(ObjectStoreConfigArgs.builder()
                .bucket("string")
                .build())
            .platform("string")
            .policies("string")
            .ports(ServicePortConfigArgs.builder()
                .target(0)
                .appProtocol("string")
                .listener("string")
                .mode("string")
                .protocol("string")
                .build())
            .postgres(PostgresConfigArgs.builder()
                .allowDowntime(false)
                .fromSnapshot("string")
                .build())
            .redis(RedisConfigArgs.builder()
                .allowDowntime(false)
                .fromSnapshot("string")
                .build())
            .restart("string")
            .stopGracePeriod("string")
            .volumes(ServiceVolumeConfigArgs.builder()
                .source("string")
                .target("string")
                .readOnly(false)
                .build())
            .volumesFrom("string")
            .workingDir("string")
            .build()))
        .etag("string")
        .models(Map.of("string", ModelConfigArgs.builder()
            .model("string")
            .seed(ModelTargetArgs.builder()
                .existed(false)
                .format("string")
                .location("string")
                .model("string")
                .sku("string")
                .version("string")
                .build())
            .build()))
        .networks(Map.of("string", NetworkConfigArgs.builder()
            .internal(false)
            .build()))
        .build());
    
    project_resource = defang_scaleway.Project("projectResource",
        services={
            "string": {
                "aliases": {
                    "string": "string",
                },
                "autoscaling": False,
                "build": {
                    "context": "string",
                    "args": {
                        "string": "string",
                    },
                    "cache_from": ["string"],
                    "cache_to": ["string"],
                    "dockerfile": "string",
                    "platforms": ["string"],
                    "shm_size": "string",
                    "target": "string",
                },
                "command": ["string"],
                "container_name": "string",
                "depends_on": {
                    "string": {
                        "condition": "string",
                        "required": False,
                    },
                },
                "deploy": {
                    "replicas": 0,
                    "resources": {
                        "reservations": {
                            "cpus": float(0),
                            "memory": "string",
                        },
                    },
                },
                "domain_name": "string",
                "entrypoint": ["string"],
                "environment": {
                    "string": "string",
                },
                "health_check": {
                    "interval_seconds": 0,
                    "retries": 0,
                    "start_period_seconds": 0,
                    "test": ["string"],
                    "timeout_seconds": 0,
                },
                "image": "string",
                "llm": {},
                "models": {
                    "string": {
                        "endpoint_var": "string",
                        "model_var": "string",
                    },
                },
                "network_mode": "string",
                "networks": {
                    "string": {
                        "aliases": ["string"],
                    },
                },
                "object_store": {
                    "bucket": "string",
                },
                "platform": "string",
                "policies": ["string"],
                "ports": [{
                    "target": 0,
                    "app_protocol": "string",
                    "listener": "string",
                    "mode": "string",
                    "protocol": "string",
                }],
                "postgres": {
                    "allow_downtime": False,
                    "from_snapshot": "string",
                },
                "redis": {
                    "allow_downtime": False,
                    "from_snapshot": "string",
                },
                "restart": "string",
                "stop_grace_period": "string",
                "volumes": [{
                    "source": "string",
                    "target": "string",
                    "read_only": False,
                }],
                "volumes_from": ["string"],
                "working_dir": "string",
            },
        },
        etag="string",
        models={
            "string": {
                "model": "string",
                "seed": {
                    "existed": False,
                    "format": "string",
                    "location": "string",
                    "model": "string",
                    "sku": "string",
                    "version": "string",
                },
            },
        },
        networks={
            "string": {
                "internal": False,
            },
        })
    
    const projectResource = new defang_scaleway.Project("projectResource", {
        services: {
            string: {
                aliases: {
                    string: "string",
                },
                autoscaling: false,
                build: {
                    context: "string",
                    args: {
                        string: "string",
                    },
                    cacheFrom: ["string"],
                    cacheTo: ["string"],
                    dockerfile: "string",
                    platforms: ["string"],
                    shmSize: "string",
                    target: "string",
                },
                command: ["string"],
                containerName: "string",
                dependsOn: {
                    string: {
                        condition: "string",
                        required: false,
                    },
                },
                deploy: {
                    replicas: 0,
                    resources: {
                        reservations: {
                            cpus: 0,
                            memory: "string",
                        },
                    },
                },
                domainName: "string",
                entrypoint: ["string"],
                environment: {
                    string: "string",
                },
                healthCheck: {
                    intervalSeconds: 0,
                    retries: 0,
                    startPeriodSeconds: 0,
                    test: ["string"],
                    timeoutSeconds: 0,
                },
                image: "string",
                llm: {},
                models: {
                    string: {
                        endpointVar: "string",
                        modelVar: "string",
                    },
                },
                networkMode: "string",
                networks: {
                    string: {
                        aliases: ["string"],
                    },
                },
                objectStore: {
                    bucket: "string",
                },
                platform: "string",
                policies: ["string"],
                ports: [{
                    target: 0,
                    appProtocol: "string",
                    listener: "string",
                    mode: "string",
                    protocol: "string",
                }],
                postgres: {
                    allowDowntime: false,
                    fromSnapshot: "string",
                },
                redis: {
                    allowDowntime: false,
                    fromSnapshot: "string",
                },
                restart: "string",
                stopGracePeriod: "string",
                volumes: [{
                    source: "string",
                    target: "string",
                    readOnly: false,
                }],
                volumesFrom: ["string"],
                workingDir: "string",
            },
        },
        etag: "string",
        models: {
            string: {
                model: "string",
                seed: {
                    existed: false,
                    format: "string",
                    location: "string",
                    model: "string",
                    sku: "string",
                    version: "string",
                },
            },
        },
        networks: {
            string: {
                internal: false,
            },
        },
    });
    
    type: defang-scaleway:Project
    properties:
        etag: string
        models:
            string:
                model: string
                seed:
                    existed: false
                    format: string
                    location: string
                    model: string
                    sku: string
                    version: string
        networks:
            string:
                internal: false
        services:
            string:
                aliases:
                    string: string
                autoscaling: false
                build:
                    args:
                        string: string
                    cacheFrom:
                        - string
                    cacheTo:
                        - string
                    context: string
                    dockerfile: string
                    platforms:
                        - string
                    shmSize: string
                    target: string
                command:
                    - string
                containerName: string
                dependsOn:
                    string:
                        condition: string
                        required: false
                deploy:
                    replicas: 0
                    resources:
                        reservations:
                            cpus: 0
                            memory: string
                domainName: string
                entrypoint:
                    - string
                environment:
                    string: string
                healthCheck:
                    intervalSeconds: 0
                    retries: 0
                    startPeriodSeconds: 0
                    test:
                        - string
                    timeoutSeconds: 0
                image: string
                llm: {}
                models:
                    string:
                        endpointVar: string
                        modelVar: string
                networkMode: string
                networks:
                    string:
                        aliases:
                            - string
                objectStore:
                    bucket: string
                platform: string
                policies:
                    - string
                ports:
                    - appProtocol: string
                      listener: string
                      mode: string
                      protocol: string
                      target: 0
                postgres:
                    allowDowntime: false
                    fromSnapshot: string
                redis:
                    allowDowntime: false
                    fromSnapshot: string
                restart: string
                stopGracePeriod: string
                volumes:
                    - readOnly: false
                      source: string
                      target: string
                volumesFrom:
                    - string
                workingDir: string
    

    Project Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Project resource accepts the following input properties:

    Services Dictionary<string, DefangLabs.DefangScaleway.Compose.Inputs.ServiceConfigArgs>
    Etag string
    Models Dictionary<string, DefangLabs.DefangScaleway.Compose.Inputs.ModelConfigArgs>
    Networks Dictionary<string, DefangLabs.DefangScaleway.Compose.Inputs.NetworkConfigArgs>
    Services ServiceConfigArgs
    Etag string
    Models ModelConfigArgs
    Networks NetworkConfigArgs
    services map(object)
    etag string
    models map(object)
    networks map(object)
    services Map<String,ServiceConfigArgs>
    etag String
    models Map<String,ModelConfigArgs>
    networks Map<String,NetworkConfigArgs>
    services {[key: string]: composeServiceConfigArgs}
    etag string
    models {[key: string]: composeModelConfigArgs}
    networks {[key: string]: composeNetworkConfigArgs}
    services Mapping[str, compose.ServiceConfigArgs]
    etag str
    models Mapping[str, compose.ModelConfigArgs]
    networks Mapping[str, compose.NetworkConfigArgs]
    services Map<Property Map>
    etag String
    models Map<Property Map>
    networks Map<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

    DefangDeployment string
    Endpoints Dictionary<string, string>
    LoadBalancerDns string
    DefangDeployment string
    Endpoints map[string]string
    LoadBalancerDns string
    defangDeployment String
    endpoints Map<String,String>
    loadBalancerDns String
    defangDeployment string
    endpoints {[key: string]: string}
    loadBalancerDns string

    Supporting Types

    BuildConfig, BuildConfigArgs

    Context string
    Args Dictionary<string, string>
    CacheFrom List<string>
    CacheTo List<string>
    Dockerfile string
    Platforms List<string>
    ShmSize string
    Target string
    Context string
    Args map[string]string
    CacheFrom []string
    CacheTo []string
    Dockerfile string
    Platforms []string
    ShmSize string
    Target string
    context string
    args map(string)
    cache_from list(string)
    cache_to list(string)
    dockerfile string
    platforms list(string)
    shm_size string
    target string
    context String
    args Map<String,String>
    cacheFrom List<String>
    cacheTo List<String>
    dockerfile String
    platforms List<String>
    shmSize String
    target String
    context string
    args {[key: string]: string}
    cacheFrom string[]
    cacheTo string[]
    dockerfile string
    platforms string[]
    shmSize string
    target string
    context str
    args Mapping[str, str]
    cache_from Sequence[str]
    cache_to Sequence[str]
    dockerfile str
    platforms Sequence[str]
    shm_size str
    target str
    context String
    args Map<String>
    cacheFrom List<String>
    cacheTo List<String>
    dockerfile String
    platforms List<String>
    shmSize String
    target String

    DeployConfig, DeployConfigArgs

    HealthCheckConfig, HealthCheckConfigArgs

    intervalSeconds Integer
    retries Integer
    startPeriodSeconds Integer
    test List<String>
    timeoutSeconds Integer
    intervalSeconds Number
    retries Number
    startPeriodSeconds Number
    test List<String>
    timeoutSeconds Number

    ModelConfig, ModelConfigArgs

    ModelTarget, ModelTargetArgs

    Existed bool
    Format string
    Location string
    Model string
    Sku string
    Version string
    Existed bool
    Format string
    Location string
    Model string
    Sku string
    Version string
    existed bool
    format string
    location string
    model string
    sku string
    version string
    existed Boolean
    format String
    location String
    model String
    sku String
    version String
    existed boolean
    format string
    location string
    model string
    sku string
    version string
    existed bool
    format str
    location str
    model str
    sku str
    version str
    existed Boolean
    format String
    location String
    model String
    sku String
    version String

    NetworkConfig, NetworkConfigArgs

    internal Boolean
    internal boolean
    internal Boolean

    ObjectStoreConfig, ObjectStoreConfigArgs

    Bucket string
    Bucket string
    bucket string
    bucket String
    bucket string
    bucket str
    bucket String

    PostgresConfig, PostgresConfigArgs

    RedisConfig, RedisConfigArgs

    ResourceConfig, ResourceConfigArgs

    Cpus double
    Memory string
    Cpus float64
    Memory string
    cpus number
    memory string
    cpus Double
    memory String
    cpus number
    memory string
    cpus float
    memory str
    cpus Number
    memory String

    Resources, ResourcesArgs

    ServiceConfig, ServiceConfigArgs

    Aliases Dictionary<string, string>
    Autoscaling bool
    Build DefangLabs.DefangScaleway.Compose.Inputs.BuildConfig
    Command List<string>
    ContainerName string
    DependsOn Dictionary<string, DefangLabs.DefangScaleway.Compose.Inputs.ServiceDependency>
    Deploy DefangLabs.DefangScaleway.Compose.Inputs.DeployConfig
    DomainName string
    Entrypoint List<string>
    Environment Dictionary<string, string>
    HealthCheck DefangLabs.DefangScaleway.Compose.Inputs.HealthCheckConfig
    Image string
    Llm DefangLabs.DefangScaleway.Compose.Inputs.LlmConfig
    Models Dictionary<string, DefangLabs.DefangScaleway.Compose.Inputs.ServiceModelConfig>
    NetworkMode string
    Networks Dictionary<string, DefangLabs.DefangScaleway.Compose.Inputs.ServiceNetworkConfig>
    ObjectStore DefangLabs.DefangScaleway.Compose.Inputs.ObjectStoreConfig
    Platform string
    Policies List<string>
    Ports List<DefangLabs.DefangScaleway.Compose.Inputs.ServicePortConfig>
    Postgres DefangLabs.DefangScaleway.Compose.Inputs.PostgresConfig
    Redis DefangLabs.DefangScaleway.Compose.Inputs.RedisConfig
    Restart string
    StopGracePeriod string
    Volumes List<DefangLabs.DefangScaleway.Compose.Inputs.ServiceVolumeConfig>
    VolumesFrom List<string>
    WorkingDir string
    aliases Map<String,String>
    autoscaling Boolean
    build BuildConfig
    command List<String>
    containerName String
    dependsOn Map<String,ServiceDependency>
    deploy DeployConfig
    domainName String
    entrypoint List<String>
    environment Map<String,String>
    healthCheck HealthCheckConfig
    image String
    llm LlmConfig
    models Map<String,ServiceModelConfig>
    networkMode String
    networks Map<String,ServiceNetworkConfig>
    objectStore ObjectStoreConfig
    platform String
    policies List<String>
    ports List<ServicePortConfig>
    postgres PostgresConfig
    redis RedisConfig
    restart String
    stopGracePeriod String
    volumes List<ServiceVolumeConfig>
    volumesFrom List<String>
    workingDir String
    aliases {[key: string]: string}
    autoscaling boolean
    build composeBuildConfig
    command string[]
    containerName string
    dependsOn {[key: string]: composeServiceDependency}
    deploy composeDeployConfig
    domainName string
    entrypoint string[]
    environment {[key: string]: string}
    healthCheck composeHealthCheckConfig
    image string
    llm composeLlmConfig
    models {[key: string]: composeServiceModelConfig}
    networkMode string
    networks {[key: string]: composeServiceNetworkConfig}
    objectStore composeObjectStoreConfig
    platform string
    policies string[]
    ports composeServicePortConfig[]
    postgres composePostgresConfig
    redis composeRedisConfig
    restart string
    stopGracePeriod string
    volumes composeServiceVolumeConfig[]
    volumesFrom string[]
    workingDir string

    ServiceDependency, ServiceDependencyArgs

    Condition string
    Required bool
    Condition string
    Required bool
    condition string
    required bool
    condition String
    required Boolean
    condition string
    required boolean
    condition String
    required Boolean

    ServiceModelConfig, ServiceModelConfigArgs

    EndpointVar string
    ModelVar string
    EndpointVar string
    ModelVar string
    endpoint_var string
    model_var string
    endpointVar String
    modelVar String
    endpointVar string
    modelVar string
    endpointVar String
    modelVar String

    ServiceNetworkConfig, ServiceNetworkConfigArgs

    Aliases List<string>
    Aliases []string
    aliases list(string)
    aliases List<String>
    aliases string[]
    aliases Sequence[str]
    aliases List<String>

    ServicePortConfig, ServicePortConfigArgs

    Target int
    AppProtocol string
    Listener string
    Mode string
    Protocol string
    Target int
    AppProtocol string
    Listener string
    Mode string
    Protocol string
    target number
    app_protocol string
    listener string
    mode string
    protocol string
    target Integer
    appProtocol String
    listener String
    mode String
    protocol String
    target number
    appProtocol string
    listener string
    mode string
    protocol string
    target Number
    appProtocol String
    listener String
    mode String
    protocol String

    ServiceVolumeConfig, ServiceVolumeConfigArgs

    Source string
    Target string
    ReadOnly bool
    Source string
    Target string
    ReadOnly bool
    source string
    target string
    read_only bool
    source String
    target String
    readOnly Boolean
    source string
    target string
    readOnly boolean
    source String
    target String
    readOnly Boolean

    Package Details

    Repository
    defang-scaleway DefangLabs/pulumi-defang
    License
    Apache-2.0
    defang-scaleway logo defang-scaleway
    Viewing docs for defang-scaleway v2.12.2
    published on Tuesday, Nov 17, 2026 by Defang

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial