1. Registry
  2. Packages
  3. Cloudfoundry Provider
  4. API Docs
  5. App
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry

    Provides a Cloud Foundry resource to manage applications.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudfoundry from "@pulumi/cloudfoundry";
    import * as zipper from "@pulumi/zipper";
    
    const fixture = new zipper.File("fixture", {
        source: "https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git",
        outputPath: "cf-sample-app-nodejs.zip",
    });
    const gobis_server = new cloudfoundry.App("gobis-server", {
        name: "tf-test-do-not-delete-nodejs",
        spaceName: "tf-space-1",
        orgName: "PerformanceTeamBLR",
        path: fixture.outputPath,
        sourceCodeHash: fixture.outputSha,
        instances: 1,
        environment: {
            MY_ENV: "red",
        },
        strategy: "rolling",
        serviceBindings: [{
            serviceInstance: "xsuaa-tf",
            params: `{
      \\"xsappname\\": \\"tf-test-app\\",
      \\"tenant-mode\\": \\"dedicated\\",
      \\"description\\": \\"tf test123\\",
      \\"foreign-scope-references\\": [\\"user_attributes\\"],
      \\"scopes\\": [
        {
          \\"name\\": \\"uaa.user\\",
          \\"description\\": \\"UAA\\"
        }
      ],
      \\"role-templates\\": [
        {
          \\"name\\": \\"Token_Exchange\\",
          \\"description\\": \\"UAA\\",
          \\"scope-references\\": [\\"uaa.user\\"]
        }
      ]
    }
    `,
        }],
        routes: [{
            route: "tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com",
        }],
    });
    const http_bin_server = new cloudfoundry.App("http-bin-server", {
        name: "tf-test-do-not-delete-http-bin",
        spaceName: "tf-space-1",
        orgName: "PerformanceTeamBLR",
        dockerImage: "kennethreitz/httpbin",
        strategy: "blue-green",
        appDeployedRunningTimeout: 2,
        appDeployedRunningCheckInterval: 10,
        labels: {
            app: "backend",
            env: "production",
        },
        annotations: {
            "created-by": "me",
        },
        processes: [{
            type: "web",
            instances: 1,
            memory: "256M",
            diskQuota: "1024M",
            healthCheckType: "http",
            healthCheckHttpEndpoint: "/get",
            readinessHealthCheckType: "http",
            readinessHealthCheckHttpEndpoint: "/get",
        }],
        noRoute: true,
    });
    const http_bin_sidecar = new cloudfoundry.App("http-bin-sidecar", {
        name: "tf-test-do-not-delete-http-bin-sidecar",
        spaceName: "tf-space-1",
        orgName: "PerformanceTeamBLR",
        dockerImage: "kennethreitz/httpbin",
        sidecars: [{
            name: "sidecar-1",
            processTypes: ["worker"],
            command: "sleep 5200",
            memory: "256M",
        }],
        noRoute: true,
    });
    
    import pulumi
    import pulumi_cloudfoundry as cloudfoundry
    import pulumi_zipper as zipper
    
    fixture = zipper.File("fixture",
        source="https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git",
        output_path="cf-sample-app-nodejs.zip")
    gobis_server = cloudfoundry.App("gobis-server",
        name="tf-test-do-not-delete-nodejs",
        space_name="tf-space-1",
        org_name="PerformanceTeamBLR",
        path=fixture.output_path,
        source_code_hash=fixture.output_sha,
        instances=1,
        environment={
            "MY_ENV": "red",
        },
        strategy="rolling",
        service_bindings=[{
            "service_instance": "xsuaa-tf",
            "params": """{
      \"xsappname\": \"tf-test-app\",
      \"tenant-mode\": \"dedicated\",
      \"description\": \"tf test123\",
      \"foreign-scope-references\": [\"user_attributes\"],
      \"scopes\": [
        {
          \"name\": \"uaa.user\",
          \"description\": \"UAA\"
        }
      ],
      \"role-templates\": [
        {
          \"name\": \"Token_Exchange\",
          \"description\": \"UAA\",
          \"scope-references\": [\"uaa.user\"]
        }
      ]
    }
    """,
        }],
        routes=[{
            "route": "tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com",
        }])
    http_bin_server = cloudfoundry.App("http-bin-server",
        name="tf-test-do-not-delete-http-bin",
        space_name="tf-space-1",
        org_name="PerformanceTeamBLR",
        docker_image="kennethreitz/httpbin",
        strategy="blue-green",
        app_deployed_running_timeout=2,
        app_deployed_running_check_interval=10,
        labels={
            "app": "backend",
            "env": "production",
        },
        annotations={
            "created-by": "me",
        },
        processes=[{
            "type": "web",
            "instances": 1,
            "memory": "256M",
            "disk_quota": "1024M",
            "health_check_type": "http",
            "health_check_http_endpoint": "/get",
            "readiness_health_check_type": "http",
            "readiness_health_check_http_endpoint": "/get",
        }],
        no_route=True)
    http_bin_sidecar = cloudfoundry.App("http-bin-sidecar",
        name="tf-test-do-not-delete-http-bin-sidecar",
        space_name="tf-space-1",
        org_name="PerformanceTeamBLR",
        docker_image="kennethreitz/httpbin",
        sidecars=[{
            "name": "sidecar-1",
            "process_types": ["worker"],
            "command": "sleep 5200",
            "memory": "256M",
        }],
        no_route=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/cloudfoundry/cloudfoundry"
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/zipper/zipper"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fixture, err := zipper.NewFile(ctx, "fixture", &zipper.FileArgs{
    			Source:     pulumi.String("https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git"),
    			OutputPath: pulumi.String("cf-sample-app-nodejs.zip"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudfoundry.NewApp(ctx, "gobis-server", &cloudfoundry.AppArgs{
    			Name:           pulumi.String("tf-test-do-not-delete-nodejs"),
    			SpaceName:      pulumi.String("tf-space-1"),
    			OrgName:        pulumi.String("PerformanceTeamBLR"),
    			Path:           fixture.OutputPath,
    			SourceCodeHash: fixture.OutputSha,
    			Instances:      pulumi.Float64(1),
    			Environment: pulumi.StringMap{
    				"MY_ENV": pulumi.String("red"),
    			},
    			Strategy: pulumi.String("rolling"),
    			ServiceBindings: cloudfoundry.AppServiceBindingArray{
    				&cloudfoundry.AppServiceBindingArgs{
    					ServiceInstance: pulumi.String("xsuaa-tf"),
    					Params: pulumi.String(`{
      \"xsappname\": \"tf-test-app\",
      \"tenant-mode\": \"dedicated\",
      \"description\": \"tf test123\",
      \"foreign-scope-references\": [\"user_attributes\"],
      \"scopes\": [
        {
          \"name\": \"uaa.user\",
          \"description\": \"UAA\"
        }
      ],
      \"role-templates\": [
        {
          \"name\": \"Token_Exchange\",
          \"description\": \"UAA\",
          \"scope-references\": [\"uaa.user\"]
        }
      ]
    }
    `),
    				},
    			},
    			Routes: cloudfoundry.AppRouteArray{
    				&cloudfoundry.AppRouteArgs{
    					Route: pulumi.String("tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudfoundry.NewApp(ctx, "http-bin-server", &cloudfoundry.AppArgs{
    			Name:                            pulumi.String("tf-test-do-not-delete-http-bin"),
    			SpaceName:                       pulumi.String("tf-space-1"),
    			OrgName:                         pulumi.String("PerformanceTeamBLR"),
    			DockerImage:                     pulumi.String("kennethreitz/httpbin"),
    			Strategy:                        pulumi.String("blue-green"),
    			AppDeployedRunningTimeout:       pulumi.Float64(2),
    			AppDeployedRunningCheckInterval: pulumi.Float64(10),
    			Labels: pulumi.StringMap{
    				"app": pulumi.String("backend"),
    				"env": pulumi.String("production"),
    			},
    			Annotations: pulumi.StringMap{
    				"created-by": pulumi.String("me"),
    			},
    			Processes: cloudfoundry.AppProcessArray{
    				&cloudfoundry.AppProcessArgs{
    					Type:                             pulumi.String("web"),
    					Instances:                        pulumi.Float64(1),
    					Memory:                           pulumi.String("256M"),
    					DiskQuota:                        pulumi.String("1024M"),
    					HealthCheckType:                  pulumi.String("http"),
    					HealthCheckHttpEndpoint:          pulumi.String("/get"),
    					ReadinessHealthCheckType:         pulumi.String("http"),
    					ReadinessHealthCheckHttpEndpoint: pulumi.String("/get"),
    				},
    			},
    			NoRoute: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudfoundry.NewApp(ctx, "http-bin-sidecar", &cloudfoundry.AppArgs{
    			Name:        pulumi.String("tf-test-do-not-delete-http-bin-sidecar"),
    			SpaceName:   pulumi.String("tf-space-1"),
    			OrgName:     pulumi.String("PerformanceTeamBLR"),
    			DockerImage: pulumi.String("kennethreitz/httpbin"),
    			Sidecars: cloudfoundry.AppSidecarArray{
    				&cloudfoundry.AppSidecarArgs{
    					Name: pulumi.String("sidecar-1"),
    					ProcessTypes: pulumi.StringArray{
    						pulumi.String("worker"),
    					},
    					Command: pulumi.String("sleep 5200"),
    					Memory:  pulumi.String("256M"),
    				},
    			},
    			NoRoute: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudfoundry = Pulumi.Cloudfoundry;
    using Zipper = Pulumi.Zipper;
    
    return await Deployment.RunAsync(() => 
    {
        var fixture = new Zipper.File("fixture", new()
        {
            Source = "https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git",
            OutputPath = "cf-sample-app-nodejs.zip",
        });
    
        var gobis_server = new Cloudfoundry.App("gobis-server", new()
        {
            Name = "tf-test-do-not-delete-nodejs",
            SpaceName = "tf-space-1",
            OrgName = "PerformanceTeamBLR",
            Path = fixture.OutputPath,
            SourceCodeHash = fixture.OutputSha,
            Instances = 1,
            Environment = 
            {
                { "MY_ENV", "red" },
            },
            Strategy = "rolling",
            ServiceBindings = new[]
            {
                new Cloudfoundry.Inputs.AppServiceBindingArgs
                {
                    ServiceInstance = "xsuaa-tf",
                    Params = @"{
      \""xsappname\"": \""tf-test-app\"",
      \""tenant-mode\"": \""dedicated\"",
      \""description\"": \""tf test123\"",
      \""foreign-scope-references\"": [\""user_attributes\""],
      \""scopes\"": [
        {
          \""name\"": \""uaa.user\"",
          \""description\"": \""UAA\""
        }
      ],
      \""role-templates\"": [
        {
          \""name\"": \""Token_Exchange\"",
          \""description\"": \""UAA\"",
          \""scope-references\"": [\""uaa.user\""]
        }
      ]
    }
    ",
                },
            },
            Routes = new[]
            {
                new Cloudfoundry.Inputs.AppRouteArgs
                {
                    Route = "tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com",
                },
            },
        });
    
        var http_bin_server = new Cloudfoundry.App("http-bin-server", new()
        {
            Name = "tf-test-do-not-delete-http-bin",
            SpaceName = "tf-space-1",
            OrgName = "PerformanceTeamBLR",
            DockerImage = "kennethreitz/httpbin",
            Strategy = "blue-green",
            AppDeployedRunningTimeout = 2,
            AppDeployedRunningCheckInterval = 10,
            Labels = 
            {
                { "app", "backend" },
                { "env", "production" },
            },
            Annotations = 
            {
                { "created-by", "me" },
            },
            Processes = new[]
            {
                new Cloudfoundry.Inputs.AppProcessArgs
                {
                    Type = "web",
                    Instances = 1,
                    Memory = "256M",
                    DiskQuota = "1024M",
                    HealthCheckType = "http",
                    HealthCheckHttpEndpoint = "/get",
                    ReadinessHealthCheckType = "http",
                    ReadinessHealthCheckHttpEndpoint = "/get",
                },
            },
            NoRoute = true,
        });
    
        var http_bin_sidecar = new Cloudfoundry.App("http-bin-sidecar", new()
        {
            Name = "tf-test-do-not-delete-http-bin-sidecar",
            SpaceName = "tf-space-1",
            OrgName = "PerformanceTeamBLR",
            DockerImage = "kennethreitz/httpbin",
            Sidecars = new[]
            {
                new Cloudfoundry.Inputs.AppSidecarArgs
                {
                    Name = "sidecar-1",
                    ProcessTypes = new[]
                    {
                        "worker",
                    },
                    Command = "sleep 5200",
                    Memory = "256M",
                },
            },
            NoRoute = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zipper.File;
    import com.pulumi.zipper.FileArgs;
    import com.pulumi.cloudfoundry.App;
    import com.pulumi.cloudfoundry.AppArgs;
    import com.pulumi.cloudfoundry.inputs.AppServiceBindingArgs;
    import com.pulumi.cloudfoundry.inputs.AppRouteArgs;
    import com.pulumi.cloudfoundry.inputs.AppProcessArgs;
    import com.pulumi.cloudfoundry.inputs.AppSidecarArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var fixture = new File("fixture", FileArgs.builder()
                .source("https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git")
                .outputPath("cf-sample-app-nodejs.zip")
                .build());
    
            var gobis_server = new App("gobis-server", AppArgs.builder()
                .name("tf-test-do-not-delete-nodejs")
                .spaceName("tf-space-1")
                .orgName("PerformanceTeamBLR")
                .path(fixture.outputPath())
                .sourceCodeHash(fixture.outputSha())
                .instances(1.0)
                .environment(Map.of("MY_ENV", "red"))
                .strategy("rolling")
                .serviceBindings(AppServiceBindingArgs.builder()
                    .serviceInstance("xsuaa-tf")
                    .params("""
    {
      \"xsappname\": \"tf-test-app\",
      \"tenant-mode\": \"dedicated\",
      \"description\": \"tf test123\",
      \"foreign-scope-references\": [\"user_attributes\"],
      \"scopes\": [
        {
          \"name\": \"uaa.user\",
          \"description\": \"UAA\"
        }
      ],
      \"role-templates\": [
        {
          \"name\": \"Token_Exchange\",
          \"description\": \"UAA\",
          \"scope-references\": [\"uaa.user\"]
        }
      ]
    }
                    """)
                    .build())
                .routes(AppRouteArgs.builder()
                    .route("tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com")
                    .build())
                .build());
    
            var http_bin_server = new App("http-bin-server", AppArgs.builder()
                .name("tf-test-do-not-delete-http-bin")
                .spaceName("tf-space-1")
                .orgName("PerformanceTeamBLR")
                .dockerImage("kennethreitz/httpbin")
                .strategy("blue-green")
                .appDeployedRunningTimeout(2.0)
                .appDeployedRunningCheckInterval(10.0)
                .labels(Map.ofEntries(
                    Map.entry("app", "backend"),
                    Map.entry("env", "production")
                ))
                .annotations(Map.of("created-by", "me"))
                .processes(AppProcessArgs.builder()
                    .type("web")
                    .instances(1.0)
                    .memory("256M")
                    .diskQuota("1024M")
                    .healthCheckType("http")
                    .healthCheckHttpEndpoint("/get")
                    .readinessHealthCheckType("http")
                    .readinessHealthCheckHttpEndpoint("/get")
                    .build())
                .noRoute(true)
                .build());
    
            var http_bin_sidecar = new App("http-bin-sidecar", AppArgs.builder()
                .name("tf-test-do-not-delete-http-bin-sidecar")
                .spaceName("tf-space-1")
                .orgName("PerformanceTeamBLR")
                .dockerImage("kennethreitz/httpbin")
                .sidecars(AppSidecarArgs.builder()
                    .name("sidecar-1")
                    .processTypes("worker")
                    .command("sleep 5200")
                    .memory("256M")
                    .build())
                .noRoute(true)
                .build());
    
        }
    }
    
    resources:
      fixture:
        type: zipper:File
        properties:
          source: https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git
          outputPath: cf-sample-app-nodejs.zip
      gobis-server:
        type: cloudfoundry:App
        properties:
          name: tf-test-do-not-delete-nodejs
          spaceName: tf-space-1
          orgName: PerformanceTeamBLR
          path: ${fixture.outputPath}
          sourceCodeHash: ${fixture.outputSha}
          instances: 1
          environment:
            MY_ENV: red
          strategy: rolling
          serviceBindings:
            - serviceInstance: xsuaa-tf
              params: |
                {
                  \"xsappname\": \"tf-test-app\",
                  \"tenant-mode\": \"dedicated\",
                  \"description\": \"tf test123\",
                  \"foreign-scope-references\": [\"user_attributes\"],
                  \"scopes\": [
                    {
                      \"name\": \"uaa.user\",
                      \"description\": \"UAA\"
                    }
                  ],
                  \"role-templates\": [
                    {
                      \"name\": \"Token_Exchange\",
                      \"description\": \"UAA\",
                      \"scope-references\": [\"uaa.user\"]
                    }
                  ]
                }
          routes:
            - route: tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com
      http-bin-server:
        type: cloudfoundry:App
        properties:
          name: tf-test-do-not-delete-http-bin
          spaceName: tf-space-1
          orgName: PerformanceTeamBLR
          dockerImage: kennethreitz/httpbin
          strategy: blue-green
          appDeployedRunningTimeout: 2
          appDeployedRunningCheckInterval: 10
          labels:
            app: backend
            env: production
          annotations:
            created-by: me
          processes:
            - type: web
              instances: 1
              memory: 256M
              diskQuota: 1024M
              healthCheckType: http
              healthCheckHttpEndpoint: /get
              readinessHealthCheckType: http
              readinessHealthCheckHttpEndpoint: /get
          noRoute: true
      http-bin-sidecar:
        type: cloudfoundry:App
        properties:
          name: tf-test-do-not-delete-http-bin-sidecar
          spaceName: tf-space-1
          orgName: PerformanceTeamBLR
          dockerImage: kennethreitz/httpbin
          sidecars:
            - name: sidecar-1
              processTypes:
                - worker
              command: sleep 5200
              memory: 256M
          noRoute: true
    
    Example coming soon!
    

    Create App Resource

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

    Constructor syntax

    new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
    @overload
    def App(resource_name: str,
            args: AppArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def App(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            org_name: Optional[str] = None,
            space_name: Optional[str] = None,
            memory: Optional[str] = None,
            buildpacks: Optional[Sequence[str]] = None,
            command: Optional[str] = None,
            disk_quota: Optional[str] = None,
            docker_credentials: Optional[AppDockerCredentialsArgs] = None,
            docker_image: Optional[str] = None,
            enable_ssh: Optional[bool] = None,
            environment: Optional[Mapping[str, str]] = None,
            health_check_http_endpoint: Optional[str] = None,
            health_check_interval: Optional[float] = None,
            health_check_invocation_timeout: Optional[float] = None,
            health_check_type: Optional[str] = None,
            instances: Optional[float] = None,
            labels: Optional[Mapping[str, str]] = None,
            lifecycle_type: Optional[str] = None,
            log_rate_limit_per_second: Optional[str] = None,
            name: Optional[str] = None,
            annotations: Optional[Mapping[str, str]] = None,
            service_bindings: Optional[Sequence[AppServiceBindingArgs]] = None,
            app_deployed_running_timeout: Optional[float] = None,
            path: Optional[str] = None,
            processes: Optional[Sequence[AppProcessArgs]] = None,
            random_route: Optional[bool] = None,
            readiness_health_check_http_endpoint: Optional[str] = None,
            readiness_health_check_interval: Optional[float] = None,
            readiness_health_check_invocation_timeout: Optional[float] = None,
            readiness_health_check_type: Optional[str] = None,
            routes: Optional[Sequence[AppRouteArgs]] = None,
            no_route: Optional[bool] = None,
            sidecars: Optional[Sequence[AppSidecarArgs]] = None,
            source_code_hash: Optional[str] = None,
            app_deployed_running_check_interval: Optional[float] = None,
            stack: Optional[str] = None,
            stopped: Optional[bool] = None,
            strategy: Optional[str] = None,
            timeout: Optional[float] = None)
    func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)
    public App(string name, AppArgs args, CustomResourceOptions? opts = null)
    public App(String name, AppArgs args)
    public App(String name, AppArgs args, CustomResourceOptions options)
    
    type: cloudfoundry:App
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "cloudfoundry_app" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AppArgs
    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 AppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var appResource = new Cloudfoundry.App("appResource", new()
    {
        OrgName = "string",
        SpaceName = "string",
        Memory = "string",
        Buildpacks = new[]
        {
            "string",
        },
        Command = "string",
        DiskQuota = "string",
        DockerCredentials = new Cloudfoundry.Inputs.AppDockerCredentialsArgs
        {
            Username = "string",
            Password = "string",
        },
        DockerImage = "string",
        EnableSsh = false,
        Environment = 
        {
            { "string", "string" },
        },
        HealthCheckHttpEndpoint = "string",
        HealthCheckInterval = 0.0,
        HealthCheckInvocationTimeout = 0.0,
        HealthCheckType = "string",
        Instances = 0.0,
        Labels = 
        {
            { "string", "string" },
        },
        LifecycleType = "string",
        LogRateLimitPerSecond = "string",
        Name = "string",
        Annotations = 
        {
            { "string", "string" },
        },
        ServiceBindings = new[]
        {
            new Cloudfoundry.Inputs.AppServiceBindingArgs
            {
                Params = "string",
                ServiceInstance = "string",
            },
        },
        AppDeployedRunningTimeout = 0.0,
        Path = "string",
        Processes = new[]
        {
            new Cloudfoundry.Inputs.AppProcessArgs
            {
                Type = "string",
                Instances = 0.0,
                Memory = "string",
                HealthCheckInterval = 0.0,
                HealthCheckInvocationTimeout = 0.0,
                HealthCheckType = "string",
                Command = "string",
                LogRateLimitPerSecond = "string",
                HealthCheckHttpEndpoint = "string",
                ReadinessHealthCheckHttpEndpoint = "string",
                ReadinessHealthCheckInterval = 0.0,
                ReadinessHealthCheckInvocationTimeout = 0.0,
                ReadinessHealthCheckType = "string",
                Timeout = 0.0,
                DiskQuota = "string",
            },
        },
        RandomRoute = false,
        ReadinessHealthCheckHttpEndpoint = "string",
        ReadinessHealthCheckInterval = 0.0,
        ReadinessHealthCheckInvocationTimeout = 0.0,
        ReadinessHealthCheckType = "string",
        Routes = new[]
        {
            new Cloudfoundry.Inputs.AppRouteArgs
            {
                Protocol = "string",
                Route = "string",
            },
        },
        NoRoute = false,
        Sidecars = new[]
        {
            new Cloudfoundry.Inputs.AppSidecarArgs
            {
                Name = "string",
                Command = "string",
                Memory = "string",
                ProcessTypes = new[]
                {
                    "string",
                },
            },
        },
        SourceCodeHash = "string",
        AppDeployedRunningCheckInterval = 0.0,
        Stack = "string",
        Stopped = false,
        Strategy = "string",
        Timeout = 0.0,
    });
    
    example, err := cloudfoundry.NewApp(ctx, "appResource", &cloudfoundry.AppArgs{
    	OrgName:   pulumi.String("string"),
    	SpaceName: pulumi.String("string"),
    	Memory:    pulumi.String("string"),
    	Buildpacks: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Command:   pulumi.String("string"),
    	DiskQuota: pulumi.String("string"),
    	DockerCredentials: &cloudfoundry.AppDockerCredentialsArgs{
    		Username: pulumi.String("string"),
    		Password: pulumi.String("string"),
    	},
    	DockerImage: pulumi.String("string"),
    	EnableSsh:   pulumi.Bool(false),
    	Environment: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	HealthCheckHttpEndpoint:      pulumi.String("string"),
    	HealthCheckInterval:          pulumi.Float64(0),
    	HealthCheckInvocationTimeout: pulumi.Float64(0),
    	HealthCheckType:              pulumi.String("string"),
    	Instances:                    pulumi.Float64(0),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LifecycleType:         pulumi.String("string"),
    	LogRateLimitPerSecond: pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	Annotations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ServiceBindings: cloudfoundry.AppServiceBindingArray{
    		&cloudfoundry.AppServiceBindingArgs{
    			Params:          pulumi.String("string"),
    			ServiceInstance: pulumi.String("string"),
    		},
    	},
    	AppDeployedRunningTimeout: pulumi.Float64(0),
    	Path:                      pulumi.String("string"),
    	Processes: cloudfoundry.AppProcessArray{
    		&cloudfoundry.AppProcessArgs{
    			Type:                                  pulumi.String("string"),
    			Instances:                             pulumi.Float64(0),
    			Memory:                                pulumi.String("string"),
    			HealthCheckInterval:                   pulumi.Float64(0),
    			HealthCheckInvocationTimeout:          pulumi.Float64(0),
    			HealthCheckType:                       pulumi.String("string"),
    			Command:                               pulumi.String("string"),
    			LogRateLimitPerSecond:                 pulumi.String("string"),
    			HealthCheckHttpEndpoint:               pulumi.String("string"),
    			ReadinessHealthCheckHttpEndpoint:      pulumi.String("string"),
    			ReadinessHealthCheckInterval:          pulumi.Float64(0),
    			ReadinessHealthCheckInvocationTimeout: pulumi.Float64(0),
    			ReadinessHealthCheckType:              pulumi.String("string"),
    			Timeout:                               pulumi.Float64(0),
    			DiskQuota:                             pulumi.String("string"),
    		},
    	},
    	RandomRoute:                           pulumi.Bool(false),
    	ReadinessHealthCheckHttpEndpoint:      pulumi.String("string"),
    	ReadinessHealthCheckInterval:          pulumi.Float64(0),
    	ReadinessHealthCheckInvocationTimeout: pulumi.Float64(0),
    	ReadinessHealthCheckType:              pulumi.String("string"),
    	Routes: cloudfoundry.AppRouteArray{
    		&cloudfoundry.AppRouteArgs{
    			Protocol: pulumi.String("string"),
    			Route:    pulumi.String("string"),
    		},
    	},
    	NoRoute: pulumi.Bool(false),
    	Sidecars: cloudfoundry.AppSidecarArray{
    		&cloudfoundry.AppSidecarArgs{
    			Name:    pulumi.String("string"),
    			Command: pulumi.String("string"),
    			Memory:  pulumi.String("string"),
    			ProcessTypes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	SourceCodeHash:                  pulumi.String("string"),
    	AppDeployedRunningCheckInterval: pulumi.Float64(0),
    	Stack:                           pulumi.String("string"),
    	Stopped:                         pulumi.Bool(false),
    	Strategy:                        pulumi.String("string"),
    	Timeout:                         pulumi.Float64(0),
    })
    
    resource "cloudfoundry_app" "appResource" {
      lifecycle {
        create_before_destroy = true
      }
      org_name   = "string"
      space_name = "string"
      memory     = "string"
      buildpacks = ["string"]
      command    = "string"
      disk_quota = "string"
      docker_credentials = {
        username = "string"
        password = "string"
      }
      docker_image = "string"
      enable_ssh   = false
      environment = {
        "string" = "string"
      }
      health_check_http_endpoint      = "string"
      health_check_interval           = 0
      health_check_invocation_timeout = 0
      health_check_type               = "string"
      instances                       = 0
      labels = {
        "string" = "string"
      }
      lifecycle_type            = "string"
      log_rate_limit_per_second = "string"
      name                      = "string"
      annotations = {
        "string" = "string"
      }
      service_bindings {
        params           = "string"
        service_instance = "string"
      }
      app_deployed_running_timeout = 0
      path                         = "string"
      processes {
        type                                      = "string"
        instances                                 = 0
        memory                                    = "string"
        health_check_interval                     = 0
        health_check_invocation_timeout           = 0
        health_check_type                         = "string"
        command                                   = "string"
        log_rate_limit_per_second                 = "string"
        health_check_http_endpoint                = "string"
        readiness_health_check_http_endpoint      = "string"
        readiness_health_check_interval           = 0
        readiness_health_check_invocation_timeout = 0
        readiness_health_check_type               = "string"
        timeout                                   = 0
        disk_quota                                = "string"
      }
      random_route                              = false
      readiness_health_check_http_endpoint      = "string"
      readiness_health_check_interval           = 0
      readiness_health_check_invocation_timeout = 0
      readiness_health_check_type               = "string"
      routes {
        protocol = "string"
        route    = "string"
      }
      no_route = false
      sidecars {
        name          = "string"
        command       = "string"
        memory        = "string"
        process_types = ["string"]
      }
      source_code_hash                    = "string"
      app_deployed_running_check_interval = 0
      stack                               = "string"
      stopped                             = false
      strategy                            = "string"
      timeout                             = 0
    }
    
    var appResource = new App("appResource", AppArgs.builder()
        .orgName("string")
        .spaceName("string")
        .memory("string")
        .buildpacks("string")
        .command("string")
        .diskQuota("string")
        .dockerCredentials(AppDockerCredentialsArgs.builder()
            .username("string")
            .password("string")
            .build())
        .dockerImage("string")
        .enableSsh(false)
        .environment(Map.of("string", "string"))
        .healthCheckHttpEndpoint("string")
        .healthCheckInterval(0.0)
        .healthCheckInvocationTimeout(0.0)
        .healthCheckType("string")
        .instances(0.0)
        .labels(Map.of("string", "string"))
        .lifecycleType("string")
        .logRateLimitPerSecond("string")
        .name("string")
        .annotations(Map.of("string", "string"))
        .serviceBindings(AppServiceBindingArgs.builder()
            .params("string")
            .serviceInstance("string")
            .build())
        .appDeployedRunningTimeout(0.0)
        .path("string")
        .processes(AppProcessArgs.builder()
            .type("string")
            .instances(0.0)
            .memory("string")
            .healthCheckInterval(0.0)
            .healthCheckInvocationTimeout(0.0)
            .healthCheckType("string")
            .command("string")
            .logRateLimitPerSecond("string")
            .healthCheckHttpEndpoint("string")
            .readinessHealthCheckHttpEndpoint("string")
            .readinessHealthCheckInterval(0.0)
            .readinessHealthCheckInvocationTimeout(0.0)
            .readinessHealthCheckType("string")
            .timeout(0.0)
            .diskQuota("string")
            .build())
        .randomRoute(false)
        .readinessHealthCheckHttpEndpoint("string")
        .readinessHealthCheckInterval(0.0)
        .readinessHealthCheckInvocationTimeout(0.0)
        .readinessHealthCheckType("string")
        .routes(AppRouteArgs.builder()
            .protocol("string")
            .route("string")
            .build())
        .noRoute(false)
        .sidecars(AppSidecarArgs.builder()
            .name("string")
            .command("string")
            .memory("string")
            .processTypes("string")
            .build())
        .sourceCodeHash("string")
        .appDeployedRunningCheckInterval(0.0)
        .stack("string")
        .stopped(false)
        .strategy("string")
        .timeout(0.0)
        .build());
    
    app_resource = cloudfoundry.App("appResource",
        org_name="string",
        space_name="string",
        memory="string",
        buildpacks=["string"],
        command="string",
        disk_quota="string",
        docker_credentials={
            "username": "string",
            "password": "string",
        },
        docker_image="string",
        enable_ssh=False,
        environment={
            "string": "string",
        },
        health_check_http_endpoint="string",
        health_check_interval=float(0),
        health_check_invocation_timeout=float(0),
        health_check_type="string",
        instances=float(0),
        labels={
            "string": "string",
        },
        lifecycle_type="string",
        log_rate_limit_per_second="string",
        name="string",
        annotations={
            "string": "string",
        },
        service_bindings=[{
            "params": "string",
            "service_instance": "string",
        }],
        app_deployed_running_timeout=float(0),
        path="string",
        processes=[{
            "type": "string",
            "instances": float(0),
            "memory": "string",
            "health_check_interval": float(0),
            "health_check_invocation_timeout": float(0),
            "health_check_type": "string",
            "command": "string",
            "log_rate_limit_per_second": "string",
            "health_check_http_endpoint": "string",
            "readiness_health_check_http_endpoint": "string",
            "readiness_health_check_interval": float(0),
            "readiness_health_check_invocation_timeout": float(0),
            "readiness_health_check_type": "string",
            "timeout": float(0),
            "disk_quota": "string",
        }],
        random_route=False,
        readiness_health_check_http_endpoint="string",
        readiness_health_check_interval=float(0),
        readiness_health_check_invocation_timeout=float(0),
        readiness_health_check_type="string",
        routes=[{
            "protocol": "string",
            "route": "string",
        }],
        no_route=False,
        sidecars=[{
            "name": "string",
            "command": "string",
            "memory": "string",
            "process_types": ["string"],
        }],
        source_code_hash="string",
        app_deployed_running_check_interval=float(0),
        stack="string",
        stopped=False,
        strategy="string",
        timeout=float(0))
    
    const appResource = new cloudfoundry.App("appResource", {
        orgName: "string",
        spaceName: "string",
        memory: "string",
        buildpacks: ["string"],
        command: "string",
        diskQuota: "string",
        dockerCredentials: {
            username: "string",
            password: "string",
        },
        dockerImage: "string",
        enableSsh: false,
        environment: {
            string: "string",
        },
        healthCheckHttpEndpoint: "string",
        healthCheckInterval: 0,
        healthCheckInvocationTimeout: 0,
        healthCheckType: "string",
        instances: 0,
        labels: {
            string: "string",
        },
        lifecycleType: "string",
        logRateLimitPerSecond: "string",
        name: "string",
        annotations: {
            string: "string",
        },
        serviceBindings: [{
            params: "string",
            serviceInstance: "string",
        }],
        appDeployedRunningTimeout: 0,
        path: "string",
        processes: [{
            type: "string",
            instances: 0,
            memory: "string",
            healthCheckInterval: 0,
            healthCheckInvocationTimeout: 0,
            healthCheckType: "string",
            command: "string",
            logRateLimitPerSecond: "string",
            healthCheckHttpEndpoint: "string",
            readinessHealthCheckHttpEndpoint: "string",
            readinessHealthCheckInterval: 0,
            readinessHealthCheckInvocationTimeout: 0,
            readinessHealthCheckType: "string",
            timeout: 0,
            diskQuota: "string",
        }],
        randomRoute: false,
        readinessHealthCheckHttpEndpoint: "string",
        readinessHealthCheckInterval: 0,
        readinessHealthCheckInvocationTimeout: 0,
        readinessHealthCheckType: "string",
        routes: [{
            protocol: "string",
            route: "string",
        }],
        noRoute: false,
        sidecars: [{
            name: "string",
            command: "string",
            memory: "string",
            processTypes: ["string"],
        }],
        sourceCodeHash: "string",
        appDeployedRunningCheckInterval: 0,
        stack: "string",
        stopped: false,
        strategy: "string",
        timeout: 0,
    });
    
    type: cloudfoundry:App
    properties:
        annotations:
            string: string
        appDeployedRunningCheckInterval: 0
        appDeployedRunningTimeout: 0
        buildpacks:
            - string
        command: string
        diskQuota: string
        dockerCredentials:
            password: string
            username: string
        dockerImage: string
        enableSsh: false
        environment:
            string: string
        healthCheckHttpEndpoint: string
        healthCheckInterval: 0
        healthCheckInvocationTimeout: 0
        healthCheckType: string
        instances: 0
        labels:
            string: string
        lifecycleType: string
        logRateLimitPerSecond: string
        memory: string
        name: string
        noRoute: false
        orgName: string
        path: string
        processes:
            - command: string
              diskQuota: string
              healthCheckHttpEndpoint: string
              healthCheckInterval: 0
              healthCheckInvocationTimeout: 0
              healthCheckType: string
              instances: 0
              logRateLimitPerSecond: string
              memory: string
              readinessHealthCheckHttpEndpoint: string
              readinessHealthCheckInterval: 0
              readinessHealthCheckInvocationTimeout: 0
              readinessHealthCheckType: string
              timeout: 0
              type: string
        randomRoute: false
        readinessHealthCheckHttpEndpoint: string
        readinessHealthCheckInterval: 0
        readinessHealthCheckInvocationTimeout: 0
        readinessHealthCheckType: string
        routes:
            - protocol: string
              route: string
        serviceBindings:
            - params: string
              serviceInstance: string
        sidecars:
            - command: string
              memory: string
              name: string
              processTypes:
                - string
        sourceCodeHash: string
        spaceName: string
        stack: string
        stopped: false
        strategy: string
        timeout: 0
    

    App 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 App resource accepts the following input properties:

    OrgName string
    The name of the associated Cloud Foundry organization.
    SpaceName string
    The name of the associated Cloud Foundry space.
    Annotations Dictionary<string, string>
    The annotations associated with Cloud Foundry resources. Add as described here.
    AppDeployedRunningCheckInterval double
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    AppDeployedRunningTimeout double
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    Buildpacks List<string>
    Multiple buildpacks used to stage the application.
    Command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    DiskQuota string
    The disk space to be allocated for each application instance.
    DockerCredentials AppDockerCredentials
    Defines login credentials for private docker repositories
    DockerImage string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    EnableSsh bool
    Whether to enable or disable SSH access on an app level.
    Environment Dictionary<string, string>
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    HealthCheckHttpEndpoint string
    The endpoint for the http health check type.
    HealthCheckInterval double
    The interval in seconds between health checks.
    HealthCheckInvocationTimeout double
    The timeout in seconds for the health check requests for http and port health checks.
    HealthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    Instances double
    The number of app instances that you want to start. Defaults to 1.
    Labels Dictionary<string, string>
    The labels associated with Cloud Foundry resources. Add as described here.
    LifecycleType string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    LogRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    Memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    Name string
    The name of the application.
    NoRoute bool
    The attribute with a value of true to prevent a route from being created for your app.
    Path string
    The path to the zip file for the application.
    Processes List<AppProcess>
    List of configurations for individual process types.
    RandomRoute bool
    The random-route attribute to generate a unique route and avoid name collisions.
    ReadinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    ReadinessHealthCheckInterval double
    The interval in seconds between readiness health checks.
    ReadinessHealthCheckInvocationTimeout double
    The timeout in seconds for the readiness health check requests for http and port health checks.
    ReadinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    Routes List<AppRoute>
    The routes to map to the application to control its ingress traffic.
    ServiceBindings List<AppServiceBinding>
    Service instances to bind to the application.
    Sidecars List<AppSidecar>
    The attribute specifies additional processes to run in the same container as your app
    SourceCodeHash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    Stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    Stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    Strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    Timeout double
    Time in seconds at which the health-check will report failure.
    OrgName string
    The name of the associated Cloud Foundry organization.
    SpaceName string
    The name of the associated Cloud Foundry space.
    Annotations map[string]string
    The annotations associated with Cloud Foundry resources. Add as described here.
    AppDeployedRunningCheckInterval float64
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    AppDeployedRunningTimeout float64
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    Buildpacks []string
    Multiple buildpacks used to stage the application.
    Command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    DiskQuota string
    The disk space to be allocated for each application instance.
    DockerCredentials AppDockerCredentialsArgs
    Defines login credentials for private docker repositories
    DockerImage string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    EnableSsh bool
    Whether to enable or disable SSH access on an app level.
    Environment map[string]string
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    HealthCheckHttpEndpoint string
    The endpoint for the http health check type.
    HealthCheckInterval float64
    The interval in seconds between health checks.
    HealthCheckInvocationTimeout float64
    The timeout in seconds for the health check requests for http and port health checks.
    HealthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    Instances float64
    The number of app instances that you want to start. Defaults to 1.
    Labels map[string]string
    The labels associated with Cloud Foundry resources. Add as described here.
    LifecycleType string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    LogRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    Memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    Name string
    The name of the application.
    NoRoute bool
    The attribute with a value of true to prevent a route from being created for your app.
    Path string
    The path to the zip file for the application.
    Processes []AppProcessArgs
    List of configurations for individual process types.
    RandomRoute bool
    The random-route attribute to generate a unique route and avoid name collisions.
    ReadinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    ReadinessHealthCheckInterval float64
    The interval in seconds between readiness health checks.
    ReadinessHealthCheckInvocationTimeout float64
    The timeout in seconds for the readiness health check requests for http and port health checks.
    ReadinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    Routes []AppRouteArgs
    The routes to map to the application to control its ingress traffic.
    ServiceBindings []AppServiceBindingArgs
    Service instances to bind to the application.
    Sidecars []AppSidecarArgs
    The attribute specifies additional processes to run in the same container as your app
    SourceCodeHash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    Stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    Stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    Strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    Timeout float64
    Time in seconds at which the health-check will report failure.
    org_name string
    The name of the associated Cloud Foundry organization.
    space_name string
    The name of the associated Cloud Foundry space.
    annotations map(string)
    The annotations associated with Cloud Foundry resources. Add as described here.
    app_deployed_running_check_interval number
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    app_deployed_running_timeout number
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks list(string)
    Multiple buildpacks used to stage the application.
    command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    disk_quota string
    The disk space to be allocated for each application instance.
    docker_credentials object
    Defines login credentials for private docker repositories
    docker_image string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enable_ssh bool
    Whether to enable or disable SSH access on an app level.
    environment map(string)
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    health_check_http_endpoint string
    The endpoint for the http health check type.
    health_check_interval number
    The interval in seconds between health checks.
    health_check_invocation_timeout number
    The timeout in seconds for the health check requests for http and port health checks.
    health_check_type string
    The health check type which can be one of 'port', 'process', 'http'.
    instances number
    The number of app instances that you want to start. Defaults to 1.
    labels map(string)
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycle_type string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    log_rate_limit_per_second string
    The attribute specifies the log rate limit for all instances of an app.
    memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name string
    The name of the application.
    no_route bool
    The attribute with a value of true to prevent a route from being created for your app.
    path string
    The path to the zip file for the application.
    processes list(object)
    List of configurations for individual process types.
    random_route bool
    The random-route attribute to generate a unique route and avoid name collisions.
    readiness_health_check_http_endpoint string
    The endpoint for the http readiness health check type.
    readiness_health_check_interval number
    The interval in seconds between readiness health checks.
    readiness_health_check_invocation_timeout number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readiness_health_check_type string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes list(object)
    The routes to map to the application to control its ingress traffic.
    service_bindings list(object)
    Service instances to bind to the application.
    sidecars list(object)
    The attribute specifies additional processes to run in the same container as your app
    source_code_hash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout number
    Time in seconds at which the health-check will report failure.
    orgName String
    The name of the associated Cloud Foundry organization.
    spaceName String
    The name of the associated Cloud Foundry space.
    annotations Map<String,String>
    The annotations associated with Cloud Foundry resources. Add as described here.
    appDeployedRunningCheckInterval Double
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    appDeployedRunningTimeout Double
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks List<String>
    Multiple buildpacks used to stage the application.
    command String
    A custom start command for the application. This overrides the start command provided by the buildpack.
    diskQuota String
    The disk space to be allocated for each application instance.
    dockerCredentials AppDockerCredentials
    Defines login credentials for private docker repositories
    dockerImage String
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enableSsh Boolean
    Whether to enable or disable SSH access on an app level.
    environment Map<String,String>
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    healthCheckHttpEndpoint String
    The endpoint for the http health check type.
    healthCheckInterval Double
    The interval in seconds between health checks.
    healthCheckInvocationTimeout Double
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType String
    The health check type which can be one of 'port', 'process', 'http'.
    instances Double
    The number of app instances that you want to start. Defaults to 1.
    labels Map<String,String>
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycleType String
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    logRateLimitPerSecond String
    The attribute specifies the log rate limit for all instances of an app.
    memory String
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name String
    The name of the application.
    noRoute Boolean
    The attribute with a value of true to prevent a route from being created for your app.
    path String
    The path to the zip file for the application.
    processes List<AppProcess>
    List of configurations for individual process types.
    randomRoute Boolean
    The random-route attribute to generate a unique route and avoid name collisions.
    readinessHealthCheckHttpEndpoint String
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval Double
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout Double
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType String
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes List<AppRoute>
    The routes to map to the application to control its ingress traffic.
    serviceBindings List<AppServiceBinding>
    Service instances to bind to the application.
    sidecars List<AppSidecar>
    The attribute specifies additional processes to run in the same container as your app
    sourceCodeHash String
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    stack String
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped Boolean
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy String
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout Double
    Time in seconds at which the health-check will report failure.
    orgName string
    The name of the associated Cloud Foundry organization.
    spaceName string
    The name of the associated Cloud Foundry space.
    annotations {[key: string]: string}
    The annotations associated with Cloud Foundry resources. Add as described here.
    appDeployedRunningCheckInterval number
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    appDeployedRunningTimeout number
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks string[]
    Multiple buildpacks used to stage the application.
    command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    diskQuota string
    The disk space to be allocated for each application instance.
    dockerCredentials AppDockerCredentials
    Defines login credentials for private docker repositories
    dockerImage string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enableSsh boolean
    Whether to enable or disable SSH access on an app level.
    environment {[key: string]: string}
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    healthCheckHttpEndpoint string
    The endpoint for the http health check type.
    healthCheckInterval number
    The interval in seconds between health checks.
    healthCheckInvocationTimeout number
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    instances number
    The number of app instances that you want to start. Defaults to 1.
    labels {[key: string]: string}
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycleType string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    logRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name string
    The name of the application.
    noRoute boolean
    The attribute with a value of true to prevent a route from being created for your app.
    path string
    The path to the zip file for the application.
    processes AppProcess[]
    List of configurations for individual process types.
    randomRoute boolean
    The random-route attribute to generate a unique route and avoid name collisions.
    readinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval number
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes AppRoute[]
    The routes to map to the application to control its ingress traffic.
    serviceBindings AppServiceBinding[]
    Service instances to bind to the application.
    sidecars AppSidecar[]
    The attribute specifies additional processes to run in the same container as your app
    sourceCodeHash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped boolean
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout number
    Time in seconds at which the health-check will report failure.
    org_name str
    The name of the associated Cloud Foundry organization.
    space_name str
    The name of the associated Cloud Foundry space.
    annotations Mapping[str, str]
    The annotations associated with Cloud Foundry resources. Add as described here.
    app_deployed_running_check_interval float
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    app_deployed_running_timeout float
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks Sequence[str]
    Multiple buildpacks used to stage the application.
    command str
    A custom start command for the application. This overrides the start command provided by the buildpack.
    disk_quota str
    The disk space to be allocated for each application instance.
    docker_credentials AppDockerCredentialsArgs
    Defines login credentials for private docker repositories
    docker_image str
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enable_ssh bool
    Whether to enable or disable SSH access on an app level.
    environment Mapping[str, str]
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    health_check_http_endpoint str
    The endpoint for the http health check type.
    health_check_interval float
    The interval in seconds between health checks.
    health_check_invocation_timeout float
    The timeout in seconds for the health check requests for http and port health checks.
    health_check_type str
    The health check type which can be one of 'port', 'process', 'http'.
    instances float
    The number of app instances that you want to start. Defaults to 1.
    labels Mapping[str, str]
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycle_type str
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    log_rate_limit_per_second str
    The attribute specifies the log rate limit for all instances of an app.
    memory str
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name str
    The name of the application.
    no_route bool
    The attribute with a value of true to prevent a route from being created for your app.
    path str
    The path to the zip file for the application.
    processes Sequence[AppProcessArgs]
    List of configurations for individual process types.
    random_route bool
    The random-route attribute to generate a unique route and avoid name collisions.
    readiness_health_check_http_endpoint str
    The endpoint for the http readiness health check type.
    readiness_health_check_interval float
    The interval in seconds between readiness health checks.
    readiness_health_check_invocation_timeout float
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readiness_health_check_type str
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes Sequence[AppRouteArgs]
    The routes to map to the application to control its ingress traffic.
    service_bindings Sequence[AppServiceBindingArgs]
    Service instances to bind to the application.
    sidecars Sequence[AppSidecarArgs]
    The attribute specifies additional processes to run in the same container as your app
    source_code_hash str
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    stack str
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy str
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout float
    Time in seconds at which the health-check will report failure.
    orgName String
    The name of the associated Cloud Foundry organization.
    spaceName String
    The name of the associated Cloud Foundry space.
    annotations Map<String>
    The annotations associated with Cloud Foundry resources. Add as described here.
    appDeployedRunningCheckInterval Number
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    appDeployedRunningTimeout Number
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks List<String>
    Multiple buildpacks used to stage the application.
    command String
    A custom start command for the application. This overrides the start command provided by the buildpack.
    diskQuota String
    The disk space to be allocated for each application instance.
    dockerCredentials Property Map
    Defines login credentials for private docker repositories
    dockerImage String
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enableSsh Boolean
    Whether to enable or disable SSH access on an app level.
    environment Map<String>
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    healthCheckHttpEndpoint String
    The endpoint for the http health check type.
    healthCheckInterval Number
    The interval in seconds between health checks.
    healthCheckInvocationTimeout Number
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType String
    The health check type which can be one of 'port', 'process', 'http'.
    instances Number
    The number of app instances that you want to start. Defaults to 1.
    labels Map<String>
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycleType String
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    logRateLimitPerSecond String
    The attribute specifies the log rate limit for all instances of an app.
    memory String
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name String
    The name of the application.
    noRoute Boolean
    The attribute with a value of true to prevent a route from being created for your app.
    path String
    The path to the zip file for the application.
    processes List<Property Map>
    List of configurations for individual process types.
    randomRoute Boolean
    The random-route attribute to generate a unique route and avoid name collisions.
    readinessHealthCheckHttpEndpoint String
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval Number
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout Number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType String
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes List<Property Map>
    The routes to map to the application to control its ingress traffic.
    serviceBindings List<Property Map>
    Service instances to bind to the application.
    sidecars List<Property Map>
    The attribute specifies additional processes to run in the same container as your app
    sourceCodeHash String
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    stack String
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped Boolean
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy String
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout Number
    Time in seconds at which the health-check will report failure.

    Outputs

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

    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    created_at string
    The date and time when the resource was created in RFC3339 format.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    The date and time when the resource was updated in RFC3339 format.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.
    createdAt string
    The date and time when the resource was created in RFC3339 format.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    The date and time when the resource was updated in RFC3339 format.
    created_at str
    The date and time when the resource was created in RFC3339 format.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    The date and time when the resource was updated in RFC3339 format.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.

    Look up Existing App Resource

    Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Mapping[str, str]] = None,
            app_deployed_running_check_interval: Optional[float] = None,
            app_deployed_running_timeout: Optional[float] = None,
            buildpacks: Optional[Sequence[str]] = None,
            command: Optional[str] = None,
            created_at: Optional[str] = None,
            disk_quota: Optional[str] = None,
            docker_credentials: Optional[AppDockerCredentialsArgs] = None,
            docker_image: Optional[str] = None,
            enable_ssh: Optional[bool] = None,
            environment: Optional[Mapping[str, str]] = None,
            health_check_http_endpoint: Optional[str] = None,
            health_check_interval: Optional[float] = None,
            health_check_invocation_timeout: Optional[float] = None,
            health_check_type: Optional[str] = None,
            instances: Optional[float] = None,
            labels: Optional[Mapping[str, str]] = None,
            lifecycle_type: Optional[str] = None,
            log_rate_limit_per_second: Optional[str] = None,
            memory: Optional[str] = None,
            name: Optional[str] = None,
            no_route: Optional[bool] = None,
            org_name: Optional[str] = None,
            path: Optional[str] = None,
            processes: Optional[Sequence[AppProcessArgs]] = None,
            random_route: Optional[bool] = None,
            readiness_health_check_http_endpoint: Optional[str] = None,
            readiness_health_check_interval: Optional[float] = None,
            readiness_health_check_invocation_timeout: Optional[float] = None,
            readiness_health_check_type: Optional[str] = None,
            routes: Optional[Sequence[AppRouteArgs]] = None,
            service_bindings: Optional[Sequence[AppServiceBindingArgs]] = None,
            sidecars: Optional[Sequence[AppSidecarArgs]] = None,
            source_code_hash: Optional[str] = None,
            space_name: Optional[str] = None,
            stack: Optional[str] = None,
            stopped: Optional[bool] = None,
            strategy: Optional[str] = None,
            timeout: Optional[float] = None,
            updated_at: Optional[str] = None) -> App
    func GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)
    public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)
    public static App get(String name, Output<String> id, AppState state, CustomResourceOptions options)
    resources:  existingApp:    type: cloudfoundry:App    get:      id: ${id}
    import {
      to = cloudfoundry_app.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state AppState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AppState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state AppState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state AppState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Annotations Dictionary<string, string>
    The annotations associated with Cloud Foundry resources. Add as described here.
    AppDeployedRunningCheckInterval double
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    AppDeployedRunningTimeout double
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    Buildpacks List<string>
    Multiple buildpacks used to stage the application.
    Command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    DiskQuota string
    The disk space to be allocated for each application instance.
    DockerCredentials AppDockerCredentials
    Defines login credentials for private docker repositories
    DockerImage string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    EnableSsh bool
    Whether to enable or disable SSH access on an app level.
    Environment Dictionary<string, string>
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    HealthCheckHttpEndpoint string
    The endpoint for the http health check type.
    HealthCheckInterval double
    The interval in seconds between health checks.
    HealthCheckInvocationTimeout double
    The timeout in seconds for the health check requests for http and port health checks.
    HealthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    Instances double
    The number of app instances that you want to start. Defaults to 1.
    Labels Dictionary<string, string>
    The labels associated with Cloud Foundry resources. Add as described here.
    LifecycleType string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    LogRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    Memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    Name string
    The name of the application.
    NoRoute bool
    The attribute with a value of true to prevent a route from being created for your app.
    OrgName string
    The name of the associated Cloud Foundry organization.
    Path string
    The path to the zip file for the application.
    Processes List<AppProcess>
    List of configurations for individual process types.
    RandomRoute bool
    The random-route attribute to generate a unique route and avoid name collisions.
    ReadinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    ReadinessHealthCheckInterval double
    The interval in seconds between readiness health checks.
    ReadinessHealthCheckInvocationTimeout double
    The timeout in seconds for the readiness health check requests for http and port health checks.
    ReadinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    Routes List<AppRoute>
    The routes to map to the application to control its ingress traffic.
    ServiceBindings List<AppServiceBinding>
    Service instances to bind to the application.
    Sidecars List<AppSidecar>
    The attribute specifies additional processes to run in the same container as your app
    SourceCodeHash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    SpaceName string
    The name of the associated Cloud Foundry space.
    Stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    Stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    Strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    Timeout double
    Time in seconds at which the health-check will report failure.
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    Annotations map[string]string
    The annotations associated with Cloud Foundry resources. Add as described here.
    AppDeployedRunningCheckInterval float64
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    AppDeployedRunningTimeout float64
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    Buildpacks []string
    Multiple buildpacks used to stage the application.
    Command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    DiskQuota string
    The disk space to be allocated for each application instance.
    DockerCredentials AppDockerCredentialsArgs
    Defines login credentials for private docker repositories
    DockerImage string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    EnableSsh bool
    Whether to enable or disable SSH access on an app level.
    Environment map[string]string
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    HealthCheckHttpEndpoint string
    The endpoint for the http health check type.
    HealthCheckInterval float64
    The interval in seconds between health checks.
    HealthCheckInvocationTimeout float64
    The timeout in seconds for the health check requests for http and port health checks.
    HealthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    Instances float64
    The number of app instances that you want to start. Defaults to 1.
    Labels map[string]string
    The labels associated with Cloud Foundry resources. Add as described here.
    LifecycleType string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    LogRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    Memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    Name string
    The name of the application.
    NoRoute bool
    The attribute with a value of true to prevent a route from being created for your app.
    OrgName string
    The name of the associated Cloud Foundry organization.
    Path string
    The path to the zip file for the application.
    Processes []AppProcessArgs
    List of configurations for individual process types.
    RandomRoute bool
    The random-route attribute to generate a unique route and avoid name collisions.
    ReadinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    ReadinessHealthCheckInterval float64
    The interval in seconds between readiness health checks.
    ReadinessHealthCheckInvocationTimeout float64
    The timeout in seconds for the readiness health check requests for http and port health checks.
    ReadinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    Routes []AppRouteArgs
    The routes to map to the application to control its ingress traffic.
    ServiceBindings []AppServiceBindingArgs
    Service instances to bind to the application.
    Sidecars []AppSidecarArgs
    The attribute specifies additional processes to run in the same container as your app
    SourceCodeHash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    SpaceName string
    The name of the associated Cloud Foundry space.
    Stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    Stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    Strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    Timeout float64
    Time in seconds at which the health-check will report failure.
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    annotations map(string)
    The annotations associated with Cloud Foundry resources. Add as described here.
    app_deployed_running_check_interval number
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    app_deployed_running_timeout number
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks list(string)
    Multiple buildpacks used to stage the application.
    command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    created_at string
    The date and time when the resource was created in RFC3339 format.
    disk_quota string
    The disk space to be allocated for each application instance.
    docker_credentials object
    Defines login credentials for private docker repositories
    docker_image string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enable_ssh bool
    Whether to enable or disable SSH access on an app level.
    environment map(string)
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    health_check_http_endpoint string
    The endpoint for the http health check type.
    health_check_interval number
    The interval in seconds between health checks.
    health_check_invocation_timeout number
    The timeout in seconds for the health check requests for http and port health checks.
    health_check_type string
    The health check type which can be one of 'port', 'process', 'http'.
    instances number
    The number of app instances that you want to start. Defaults to 1.
    labels map(string)
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycle_type string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    log_rate_limit_per_second string
    The attribute specifies the log rate limit for all instances of an app.
    memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name string
    The name of the application.
    no_route bool
    The attribute with a value of true to prevent a route from being created for your app.
    org_name string
    The name of the associated Cloud Foundry organization.
    path string
    The path to the zip file for the application.
    processes list(object)
    List of configurations for individual process types.
    random_route bool
    The random-route attribute to generate a unique route and avoid name collisions.
    readiness_health_check_http_endpoint string
    The endpoint for the http readiness health check type.
    readiness_health_check_interval number
    The interval in seconds between readiness health checks.
    readiness_health_check_invocation_timeout number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readiness_health_check_type string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes list(object)
    The routes to map to the application to control its ingress traffic.
    service_bindings list(object)
    Service instances to bind to the application.
    sidecars list(object)
    The attribute specifies additional processes to run in the same container as your app
    source_code_hash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    space_name string
    The name of the associated Cloud Foundry space.
    stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout number
    Time in seconds at which the health-check will report failure.
    updated_at string
    The date and time when the resource was updated in RFC3339 format.
    annotations Map<String,String>
    The annotations associated with Cloud Foundry resources. Add as described here.
    appDeployedRunningCheckInterval Double
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    appDeployedRunningTimeout Double
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks List<String>
    Multiple buildpacks used to stage the application.
    command String
    A custom start command for the application. This overrides the start command provided by the buildpack.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    diskQuota String
    The disk space to be allocated for each application instance.
    dockerCredentials AppDockerCredentials
    Defines login credentials for private docker repositories
    dockerImage String
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enableSsh Boolean
    Whether to enable or disable SSH access on an app level.
    environment Map<String,String>
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    healthCheckHttpEndpoint String
    The endpoint for the http health check type.
    healthCheckInterval Double
    The interval in seconds between health checks.
    healthCheckInvocationTimeout Double
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType String
    The health check type which can be one of 'port', 'process', 'http'.
    instances Double
    The number of app instances that you want to start. Defaults to 1.
    labels Map<String,String>
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycleType String
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    logRateLimitPerSecond String
    The attribute specifies the log rate limit for all instances of an app.
    memory String
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name String
    The name of the application.
    noRoute Boolean
    The attribute with a value of true to prevent a route from being created for your app.
    orgName String
    The name of the associated Cloud Foundry organization.
    path String
    The path to the zip file for the application.
    processes List<AppProcess>
    List of configurations for individual process types.
    randomRoute Boolean
    The random-route attribute to generate a unique route and avoid name collisions.
    readinessHealthCheckHttpEndpoint String
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval Double
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout Double
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType String
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes List<AppRoute>
    The routes to map to the application to control its ingress traffic.
    serviceBindings List<AppServiceBinding>
    Service instances to bind to the application.
    sidecars List<AppSidecar>
    The attribute specifies additional processes to run in the same container as your app
    sourceCodeHash String
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    spaceName String
    The name of the associated Cloud Foundry space.
    stack String
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped Boolean
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy String
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout Double
    Time in seconds at which the health-check will report failure.
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.
    annotations {[key: string]: string}
    The annotations associated with Cloud Foundry resources. Add as described here.
    appDeployedRunningCheckInterval number
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    appDeployedRunningTimeout number
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks string[]
    Multiple buildpacks used to stage the application.
    command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    createdAt string
    The date and time when the resource was created in RFC3339 format.
    diskQuota string
    The disk space to be allocated for each application instance.
    dockerCredentials AppDockerCredentials
    Defines login credentials for private docker repositories
    dockerImage string
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enableSsh boolean
    Whether to enable or disable SSH access on an app level.
    environment {[key: string]: string}
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    healthCheckHttpEndpoint string
    The endpoint for the http health check type.
    healthCheckInterval number
    The interval in seconds between health checks.
    healthCheckInvocationTimeout number
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    instances number
    The number of app instances that you want to start. Defaults to 1.
    labels {[key: string]: string}
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycleType string
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    logRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name string
    The name of the application.
    noRoute boolean
    The attribute with a value of true to prevent a route from being created for your app.
    orgName string
    The name of the associated Cloud Foundry organization.
    path string
    The path to the zip file for the application.
    processes AppProcess[]
    List of configurations for individual process types.
    randomRoute boolean
    The random-route attribute to generate a unique route and avoid name collisions.
    readinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval number
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes AppRoute[]
    The routes to map to the application to control its ingress traffic.
    serviceBindings AppServiceBinding[]
    Service instances to bind to the application.
    sidecars AppSidecar[]
    The attribute specifies additional processes to run in the same container as your app
    sourceCodeHash string
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    spaceName string
    The name of the associated Cloud Foundry space.
    stack string
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped boolean
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy string
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout number
    Time in seconds at which the health-check will report failure.
    updatedAt string
    The date and time when the resource was updated in RFC3339 format.
    annotations Mapping[str, str]
    The annotations associated with Cloud Foundry resources. Add as described here.
    app_deployed_running_check_interval float
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    app_deployed_running_timeout float
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks Sequence[str]
    Multiple buildpacks used to stage the application.
    command str
    A custom start command for the application. This overrides the start command provided by the buildpack.
    created_at str
    The date and time when the resource was created in RFC3339 format.
    disk_quota str
    The disk space to be allocated for each application instance.
    docker_credentials AppDockerCredentialsArgs
    Defines login credentials for private docker repositories
    docker_image str
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enable_ssh bool
    Whether to enable or disable SSH access on an app level.
    environment Mapping[str, str]
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    health_check_http_endpoint str
    The endpoint for the http health check type.
    health_check_interval float
    The interval in seconds between health checks.
    health_check_invocation_timeout float
    The timeout in seconds for the health check requests for http and port health checks.
    health_check_type str
    The health check type which can be one of 'port', 'process', 'http'.
    instances float
    The number of app instances that you want to start. Defaults to 1.
    labels Mapping[str, str]
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycle_type str
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    log_rate_limit_per_second str
    The attribute specifies the log rate limit for all instances of an app.
    memory str
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name str
    The name of the application.
    no_route bool
    The attribute with a value of true to prevent a route from being created for your app.
    org_name str
    The name of the associated Cloud Foundry organization.
    path str
    The path to the zip file for the application.
    processes Sequence[AppProcessArgs]
    List of configurations for individual process types.
    random_route bool
    The random-route attribute to generate a unique route and avoid name collisions.
    readiness_health_check_http_endpoint str
    The endpoint for the http readiness health check type.
    readiness_health_check_interval float
    The interval in seconds between readiness health checks.
    readiness_health_check_invocation_timeout float
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readiness_health_check_type str
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes Sequence[AppRouteArgs]
    The routes to map to the application to control its ingress traffic.
    service_bindings Sequence[AppServiceBindingArgs]
    Service instances to bind to the application.
    sidecars Sequence[AppSidecarArgs]
    The attribute specifies additional processes to run in the same container as your app
    source_code_hash str
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    space_name str
    The name of the associated Cloud Foundry space.
    stack str
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped bool
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy str
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout float
    Time in seconds at which the health-check will report failure.
    updated_at str
    The date and time when the resource was updated in RFC3339 format.
    annotations Map<String>
    The annotations associated with Cloud Foundry resources. Add as described here.
    appDeployedRunningCheckInterval Number
    The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
    appDeployedRunningTimeout Number
    Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
    buildpacks List<String>
    Multiple buildpacks used to stage the application.
    command String
    A custom start command for the application. This overrides the start command provided by the buildpack.
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    diskQuota String
    The disk space to be allocated for each application instance.
    dockerCredentials Property Map
    Defines login credentials for private docker repositories
    dockerImage String
    The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
    enableSsh Boolean
    Whether to enable or disable SSH access on an app level.
    environment Map<String>
    Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
    healthCheckHttpEndpoint String
    The endpoint for the http health check type.
    healthCheckInterval Number
    The interval in seconds between health checks.
    healthCheckInvocationTimeout Number
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType String
    The health check type which can be one of 'port', 'process', 'http'.
    instances Number
    The number of app instances that you want to start. Defaults to 1.
    labels Map<String>
    The labels associated with Cloud Foundry resources. Add as described here.
    lifecycleType String
    The lifecycle type used to stage the application. Valid values are buildpack, docker, and cnb (Cloud Native Buildpacks). Defaults to docker when docker_image is set, otherwise buildpack.
    logRateLimitPerSecond String
    The attribute specifies the log rate limit for all instances of an app.
    memory String
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    name String
    The name of the application.
    noRoute Boolean
    The attribute with a value of true to prevent a route from being created for your app.
    orgName String
    The name of the associated Cloud Foundry organization.
    path String
    The path to the zip file for the application.
    processes List<Property Map>
    List of configurations for individual process types.
    randomRoute Boolean
    The random-route attribute to generate a unique route and avoid name collisions.
    readinessHealthCheckHttpEndpoint String
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval Number
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout Number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType String
    The readiness health check type which can be one of 'port', 'process', 'http'.
    routes List<Property Map>
    The routes to map to the application to control its ingress traffic.
    serviceBindings List<Property Map>
    Service instances to bind to the application.
    sidecars List<Property Map>
    The attribute specifies additional processes to run in the same container as your app
    sourceCodeHash String
    Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
    spaceName String
    The name of the associated Cloud Foundry space.
    stack String
    The base operating system and file system that your application will execute in. Please refer to the docs for more information
    stopped Boolean
    Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
    strategy String
    The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
    timeout Number
    Time in seconds at which the health-check will report failure.
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.

    Supporting Types

    AppDockerCredentials, AppDockerCredentialsArgs

    Username string
    The username for the private docker repository.
    Password string
    The password for the private docker repository.
    Username string
    The username for the private docker repository.
    Password string
    The password for the private docker repository.
    username string
    The username for the private docker repository.
    password string
    The password for the private docker repository.
    username String
    The username for the private docker repository.
    password String
    The password for the private docker repository.
    username string
    The username for the private docker repository.
    password string
    The password for the private docker repository.
    username str
    The username for the private docker repository.
    password str
    The password for the private docker repository.
    username String
    The username for the private docker repository.
    password String
    The password for the private docker repository.

    AppProcess, AppProcessArgs

    Type string
    The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
    Command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    DiskQuota string
    The disk space to be allocated for each application instance.
    HealthCheckHttpEndpoint string
    The endpoint for the http health check type.
    HealthCheckInterval double
    The interval in seconds between health checks.
    HealthCheckInvocationTimeout double
    The timeout in seconds for the health check requests for http and port health checks.
    HealthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    Instances double
    The number of app instances that you want to start. Defaults to 1.
    LogRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    Memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    ReadinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    ReadinessHealthCheckInterval double
    The interval in seconds between readiness health checks.
    ReadinessHealthCheckInvocationTimeout double
    The timeout in seconds for the readiness health check requests for http and port health checks.
    ReadinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    Timeout double
    Time in seconds at which the health-check will report failure.
    Type string
    The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
    Command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    DiskQuota string
    The disk space to be allocated for each application instance.
    HealthCheckHttpEndpoint string
    The endpoint for the http health check type.
    HealthCheckInterval float64
    The interval in seconds between health checks.
    HealthCheckInvocationTimeout float64
    The timeout in seconds for the health check requests for http and port health checks.
    HealthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    Instances float64
    The number of app instances that you want to start. Defaults to 1.
    LogRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    Memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    ReadinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    ReadinessHealthCheckInterval float64
    The interval in seconds between readiness health checks.
    ReadinessHealthCheckInvocationTimeout float64
    The timeout in seconds for the readiness health check requests for http and port health checks.
    ReadinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    Timeout float64
    Time in seconds at which the health-check will report failure.
    type string
    The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
    command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    disk_quota string
    The disk space to be allocated for each application instance.
    health_check_http_endpoint string
    The endpoint for the http health check type.
    health_check_interval number
    The interval in seconds between health checks.
    health_check_invocation_timeout number
    The timeout in seconds for the health check requests for http and port health checks.
    health_check_type string
    The health check type which can be one of 'port', 'process', 'http'.
    instances number
    The number of app instances that you want to start. Defaults to 1.
    log_rate_limit_per_second string
    The attribute specifies the log rate limit for all instances of an app.
    memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    readiness_health_check_http_endpoint string
    The endpoint for the http readiness health check type.
    readiness_health_check_interval number
    The interval in seconds between readiness health checks.
    readiness_health_check_invocation_timeout number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readiness_health_check_type string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    timeout number
    Time in seconds at which the health-check will report failure.
    type String
    The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
    command String
    A custom start command for the application. This overrides the start command provided by the buildpack.
    diskQuota String
    The disk space to be allocated for each application instance.
    healthCheckHttpEndpoint String
    The endpoint for the http health check type.
    healthCheckInterval Double
    The interval in seconds between health checks.
    healthCheckInvocationTimeout Double
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType String
    The health check type which can be one of 'port', 'process', 'http'.
    instances Double
    The number of app instances that you want to start. Defaults to 1.
    logRateLimitPerSecond String
    The attribute specifies the log rate limit for all instances of an app.
    memory String
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    readinessHealthCheckHttpEndpoint String
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval Double
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout Double
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType String
    The readiness health check type which can be one of 'port', 'process', 'http'.
    timeout Double
    Time in seconds at which the health-check will report failure.
    type string
    The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
    command string
    A custom start command for the application. This overrides the start command provided by the buildpack.
    diskQuota string
    The disk space to be allocated for each application instance.
    healthCheckHttpEndpoint string
    The endpoint for the http health check type.
    healthCheckInterval number
    The interval in seconds between health checks.
    healthCheckInvocationTimeout number
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType string
    The health check type which can be one of 'port', 'process', 'http'.
    instances number
    The number of app instances that you want to start. Defaults to 1.
    logRateLimitPerSecond string
    The attribute specifies the log rate limit for all instances of an app.
    memory string
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    readinessHealthCheckHttpEndpoint string
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval number
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType string
    The readiness health check type which can be one of 'port', 'process', 'http'.
    timeout number
    Time in seconds at which the health-check will report failure.
    type str
    The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
    command str
    A custom start command for the application. This overrides the start command provided by the buildpack.
    disk_quota str
    The disk space to be allocated for each application instance.
    health_check_http_endpoint str
    The endpoint for the http health check type.
    health_check_interval float
    The interval in seconds between health checks.
    health_check_invocation_timeout float
    The timeout in seconds for the health check requests for http and port health checks.
    health_check_type str
    The health check type which can be one of 'port', 'process', 'http'.
    instances float
    The number of app instances that you want to start. Defaults to 1.
    log_rate_limit_per_second str
    The attribute specifies the log rate limit for all instances of an app.
    memory str
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    readiness_health_check_http_endpoint str
    The endpoint for the http readiness health check type.
    readiness_health_check_interval float
    The interval in seconds between readiness health checks.
    readiness_health_check_invocation_timeout float
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readiness_health_check_type str
    The readiness health check type which can be one of 'port', 'process', 'http'.
    timeout float
    Time in seconds at which the health-check will report failure.
    type String
    The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
    command String
    A custom start command for the application. This overrides the start command provided by the buildpack.
    diskQuota String
    The disk space to be allocated for each application instance.
    healthCheckHttpEndpoint String
    The endpoint for the http health check type.
    healthCheckInterval Number
    The interval in seconds between health checks.
    healthCheckInvocationTimeout Number
    The timeout in seconds for the health check requests for http and port health checks.
    healthCheckType String
    The health check type which can be one of 'port', 'process', 'http'.
    instances Number
    The number of app instances that you want to start. Defaults to 1.
    logRateLimitPerSecond String
    The attribute specifies the log rate limit for all instances of an app.
    memory String
    The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
    readinessHealthCheckHttpEndpoint String
    The endpoint for the http readiness health check type.
    readinessHealthCheckInterval Number
    The interval in seconds between readiness health checks.
    readinessHealthCheckInvocationTimeout Number
    The timeout in seconds for the readiness health check requests for http and port health checks.
    readinessHealthCheckType String
    The readiness health check type which can be one of 'port', 'process', 'http'.
    timeout Number
    Time in seconds at which the health-check will report failure.

    AppRoute, AppRouteArgs

    Protocol string
    The protocol to use for the route. Valid values are http2, http1, and tcp.
    Route string
    The fully route qualified domain name which will be bound to app
    Protocol string
    The protocol to use for the route. Valid values are http2, http1, and tcp.
    Route string
    The fully route qualified domain name which will be bound to app
    protocol string
    The protocol to use for the route. Valid values are http2, http1, and tcp.
    route string
    The fully route qualified domain name which will be bound to app
    protocol String
    The protocol to use for the route. Valid values are http2, http1, and tcp.
    route String
    The fully route qualified domain name which will be bound to app
    protocol string
    The protocol to use for the route. Valid values are http2, http1, and tcp.
    route string
    The fully route qualified domain name which will be bound to app
    protocol str
    The protocol to use for the route. Valid values are http2, http1, and tcp.
    route str
    The fully route qualified domain name which will be bound to app
    protocol String
    The protocol to use for the route. Valid values are http2, http1, and tcp.
    route String
    The fully route qualified domain name which will be bound to app

    AppServiceBinding, AppServiceBindingArgs

    Params string
    A json object to send to the service broker during service binding.
    ServiceInstance string
    The service instance name.
    Params string
    A json object to send to the service broker during service binding.
    ServiceInstance string
    The service instance name.
    params string
    A json object to send to the service broker during service binding.
    service_instance string
    The service instance name.
    params String
    A json object to send to the service broker during service binding.
    serviceInstance String
    The service instance name.
    params string
    A json object to send to the service broker during service binding.
    serviceInstance string
    The service instance name.
    params str
    A json object to send to the service broker during service binding.
    service_instance str
    The service instance name.
    params String
    A json object to send to the service broker during service binding.
    serviceInstance String
    The service instance name.

    AppSidecar, AppSidecarArgs

    Name string
    Sidecar name. The identifier for the sidecars to be configured.
    Command string
    The command used to start the sidecar.
    Memory string
    The memory limit for the sidecar.
    ProcessTypes List<string>
    List of processes to associate sidecar with.
    Name string
    Sidecar name. The identifier for the sidecars to be configured.
    Command string
    The command used to start the sidecar.
    Memory string
    The memory limit for the sidecar.
    ProcessTypes []string
    List of processes to associate sidecar with.
    name string
    Sidecar name. The identifier for the sidecars to be configured.
    command string
    The command used to start the sidecar.
    memory string
    The memory limit for the sidecar.
    process_types list(string)
    List of processes to associate sidecar with.
    name String
    Sidecar name. The identifier for the sidecars to be configured.
    command String
    The command used to start the sidecar.
    memory String
    The memory limit for the sidecar.
    processTypes List<String>
    List of processes to associate sidecar with.
    name string
    Sidecar name. The identifier for the sidecars to be configured.
    command string
    The command used to start the sidecar.
    memory string
    The memory limit for the sidecar.
    processTypes string[]
    List of processes to associate sidecar with.
    name str
    Sidecar name. The identifier for the sidecars to be configured.
    command str
    The command used to start the sidecar.
    memory str
    The memory limit for the sidecar.
    process_types Sequence[str]
    List of processes to associate sidecar with.
    name String
    Sidecar name. The identifier for the sidecars to be configured.
    command String
    The command used to start the sidecar.
    memory String
    The memory limit for the sidecar.
    processTypes List<String>
    List of processes to associate sidecar with.

    Import

    terraform

    $ pulumi import cloudfoundry:index/app:App <resource_name> <app_guid>
    
    $ pulumi import cloudfoundry:index/app:App gobis-server' f71f4a6e-253c-4025-8e45-d2be1a0d9b15
    
    $ pulumi import cloudfoundry:index/app:App #using id attribute in import block
    

    import {

    to = cloudfoundry_app.<resource_name>

    id = “<app_guid>”

    }

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
    License
    Notes
    This Pulumi package is based on the cloudfoundry Terraform Provider.
    cloudfoundry
    Viewing docs for cloudfoundry 1.19.0
    published on Friday, Nov 13, 2026 by cloudfoundry

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial