1. Packages
  2. Ibm Provider
  3. API Docs
  4. CodeEngineDomainMapping
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.CodeEngineDomainMapping

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, and delete code_engine_domain_mappings with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEngineDomainMappingInstance = new ibm.CodeEngineDomainMapping("codeEngineDomainMappingInstance", {
        projectId: ibm_code_engine_project.code_engine_project_instance.project_id,
        tlsSecret: "my-tls-secret",
        component: {
            name: "my-app-1",
            resourceType: "app_v2",
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_domain_mapping_instance = ibm.CodeEngineDomainMapping("codeEngineDomainMappingInstance",
        project_id=ibm_code_engine_project["code_engine_project_instance"]["project_id"],
        tls_secret="my-tls-secret",
        component={
            "name": "my-app-1",
            "resource_type": "app_v2",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCodeEngineDomainMapping(ctx, "codeEngineDomainMappingInstance", &ibm.CodeEngineDomainMappingArgs{
    			ProjectId: pulumi.Any(ibm_code_engine_project.Code_engine_project_instance.Project_id),
    			TlsSecret: pulumi.String("my-tls-secret"),
    			Component: &ibm.CodeEngineDomainMappingComponentArgs{
    				Name:         pulumi.String("my-app-1"),
    				ResourceType: pulumi.String("app_v2"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeEngineDomainMappingInstance = new Ibm.CodeEngineDomainMapping("codeEngineDomainMappingInstance", new()
        {
            ProjectId = ibm_code_engine_project.Code_engine_project_instance.Project_id,
            TlsSecret = "my-tls-secret",
            Component = new Ibm.Inputs.CodeEngineDomainMappingComponentArgs
            {
                Name = "my-app-1",
                ResourceType = "app_v2",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CodeEngineDomainMapping;
    import com.pulumi.ibm.CodeEngineDomainMappingArgs;
    import com.pulumi.ibm.inputs.CodeEngineDomainMappingComponentArgs;
    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 codeEngineDomainMappingInstance = new CodeEngineDomainMapping("codeEngineDomainMappingInstance", CodeEngineDomainMappingArgs.builder()
                .projectId(ibm_code_engine_project.code_engine_project_instance().project_id())
                .tlsSecret("my-tls-secret")
                .component(CodeEngineDomainMappingComponentArgs.builder()
                    .name("my-app-1")
                    .resourceType("app_v2")
                    .build())
                .build());
    
        }
    }
    
    resources:
      codeEngineDomainMappingInstance:
        type: ibm:CodeEngineDomainMapping
        properties:
          projectId: ${ibm_code_engine_project.code_engine_project_instance.project_id}
          tlsSecret: my-tls-secret
          component:
            name: my-app-1
            resourceType: app_v2
    

    Create CodeEngineDomainMapping Resource

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

    Constructor syntax

    new CodeEngineDomainMapping(name: string, args: CodeEngineDomainMappingArgs, opts?: CustomResourceOptions);
    @overload
    def CodeEngineDomainMapping(resource_name: str,
                                args: CodeEngineDomainMappingArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeEngineDomainMapping(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                component: Optional[CodeEngineDomainMappingComponentArgs] = None,
                                project_id: Optional[str] = None,
                                tls_secret: Optional[str] = None,
                                code_engine_domain_mapping_id: Optional[str] = None,
                                name: Optional[str] = None,
                                timeouts: Optional[CodeEngineDomainMappingTimeoutsArgs] = None)
    func NewCodeEngineDomainMapping(ctx *Context, name string, args CodeEngineDomainMappingArgs, opts ...ResourceOption) (*CodeEngineDomainMapping, error)
    public CodeEngineDomainMapping(string name, CodeEngineDomainMappingArgs args, CustomResourceOptions? opts = null)
    public CodeEngineDomainMapping(String name, CodeEngineDomainMappingArgs args)
    public CodeEngineDomainMapping(String name, CodeEngineDomainMappingArgs args, CustomResourceOptions options)
    
    type: ibm:CodeEngineDomainMapping
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CodeEngineDomainMappingArgs
    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 CodeEngineDomainMappingArgs
    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 CodeEngineDomainMappingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeEngineDomainMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeEngineDomainMappingArgs
    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 codeEngineDomainMappingResource = new Ibm.CodeEngineDomainMapping("codeEngineDomainMappingResource", new()
    {
        Component = new Ibm.Inputs.CodeEngineDomainMappingComponentArgs
        {
            Name = "string",
            ResourceType = "string",
        },
        ProjectId = "string",
        TlsSecret = "string",
        CodeEngineDomainMappingId = "string",
        Name = "string",
        Timeouts = new Ibm.Inputs.CodeEngineDomainMappingTimeoutsArgs
        {
            Create = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewCodeEngineDomainMapping(ctx, "codeEngineDomainMappingResource", &ibm.CodeEngineDomainMappingArgs{
    	Component: &ibm.CodeEngineDomainMappingComponentArgs{
    		Name:         pulumi.String("string"),
    		ResourceType: pulumi.String("string"),
    	},
    	ProjectId:                 pulumi.String("string"),
    	TlsSecret:                 pulumi.String("string"),
    	CodeEngineDomainMappingId: pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	Timeouts: &ibm.CodeEngineDomainMappingTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var codeEngineDomainMappingResource = new CodeEngineDomainMapping("codeEngineDomainMappingResource", CodeEngineDomainMappingArgs.builder()
        .component(CodeEngineDomainMappingComponentArgs.builder()
            .name("string")
            .resourceType("string")
            .build())
        .projectId("string")
        .tlsSecret("string")
        .codeEngineDomainMappingId("string")
        .name("string")
        .timeouts(CodeEngineDomainMappingTimeoutsArgs.builder()
            .create("string")
            .update("string")
            .build())
        .build());
    
    code_engine_domain_mapping_resource = ibm.CodeEngineDomainMapping("codeEngineDomainMappingResource",
        component={
            "name": "string",
            "resource_type": "string",
        },
        project_id="string",
        tls_secret="string",
        code_engine_domain_mapping_id="string",
        name="string",
        timeouts={
            "create": "string",
            "update": "string",
        })
    
    const codeEngineDomainMappingResource = new ibm.CodeEngineDomainMapping("codeEngineDomainMappingResource", {
        component: {
            name: "string",
            resourceType: "string",
        },
        projectId: "string",
        tlsSecret: "string",
        codeEngineDomainMappingId: "string",
        name: "string",
        timeouts: {
            create: "string",
            update: "string",
        },
    });
    
    type: ibm:CodeEngineDomainMapping
    properties:
        codeEngineDomainMappingId: string
        component:
            name: string
            resourceType: string
        name: string
        projectId: string
        timeouts:
            create: string
            update: string
        tlsSecret: string
    

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

    Component CodeEngineDomainMappingComponent
    A reference to another component. Nested schema for component:
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    TlsSecret string
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    CodeEngineDomainMappingId string
    The unique identifier of the code_engine_domain_mapping.
    Name string
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    Timeouts CodeEngineDomainMappingTimeouts
    Component CodeEngineDomainMappingComponentArgs
    A reference to another component. Nested schema for component:
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    TlsSecret string
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    CodeEngineDomainMappingId string
    The unique identifier of the code_engine_domain_mapping.
    Name string
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    Timeouts CodeEngineDomainMappingTimeoutsArgs
    component CodeEngineDomainMappingComponent
    A reference to another component. Nested schema for component:
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    tlsSecret String
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    codeEngineDomainMappingId String
    The unique identifier of the code_engine_domain_mapping.
    name String
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    timeouts CodeEngineDomainMappingTimeouts
    component CodeEngineDomainMappingComponent
    A reference to another component. Nested schema for component:
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    tlsSecret string
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    codeEngineDomainMappingId string
    The unique identifier of the code_engine_domain_mapping.
    name string
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    timeouts CodeEngineDomainMappingTimeouts
    component CodeEngineDomainMappingComponentArgs
    A reference to another component. Nested schema for component:
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    tls_secret str
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    code_engine_domain_mapping_id str
    The unique identifier of the code_engine_domain_mapping.
    name str
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    timeouts CodeEngineDomainMappingTimeoutsArgs
    component Property Map
    A reference to another component. Nested schema for component:
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    tlsSecret String
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    codeEngineDomainMappingId String
    The unique identifier of the code_engine_domain_mapping.
    name String
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    timeouts Property Map

    Outputs

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

    CnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    CreatedAt string
    (String) The timestamp when the resource was created.
    DomainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    EntityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_domain_mapping.
    Href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    Status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails List<CodeEngineDomainMappingStatusDetail>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    UserManaged bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    Visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    CnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    CreatedAt string
    (String) The timestamp when the resource was created.
    DomainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    EntityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_domain_mapping.
    Href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    Status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails []CodeEngineDomainMappingStatusDetail
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    UserManaged bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    Visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget String
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    createdAt String
    (String) The timestamp when the resource was created.
    domainMappingId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag String
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_domain_mapping.
    href String
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status String
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<CodeEngineDomainMappingStatusDetail>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    userManaged Boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility String
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    createdAt string
    (String) The timestamp when the resource was created.
    domainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_domain_mapping.
    href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails CodeEngineDomainMappingStatusDetail[]
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    userManaged boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cname_target str
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    created_at str
    (String) The timestamp when the resource was created.
    domain_mapping_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entity_tag str
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag str
    ETag identifier for code_engine_domain_mapping.
    href str
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resource_type str
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status str
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    status_details Sequence[CodeEngineDomainMappingStatusDetail]
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    user_managed bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility str
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget String
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    createdAt String
    (String) The timestamp when the resource was created.
    domainMappingId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag String
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_domain_mapping.
    href String
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status String
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<Property Map>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    userManaged Boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility String
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.

    Look up Existing CodeEngineDomainMapping Resource

    Get an existing CodeEngineDomainMapping 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?: CodeEngineDomainMappingState, opts?: CustomResourceOptions): CodeEngineDomainMapping
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cname_target: Optional[str] = None,
            code_engine_domain_mapping_id: Optional[str] = None,
            component: Optional[CodeEngineDomainMappingComponentArgs] = None,
            created_at: Optional[str] = None,
            domain_mapping_id: Optional[str] = None,
            entity_tag: Optional[str] = None,
            etag: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            resource_type: Optional[str] = None,
            status: Optional[str] = None,
            status_details: Optional[Sequence[CodeEngineDomainMappingStatusDetailArgs]] = None,
            timeouts: Optional[CodeEngineDomainMappingTimeoutsArgs] = None,
            tls_secret: Optional[str] = None,
            user_managed: Optional[bool] = None,
            visibility: Optional[str] = None) -> CodeEngineDomainMapping
    func GetCodeEngineDomainMapping(ctx *Context, name string, id IDInput, state *CodeEngineDomainMappingState, opts ...ResourceOption) (*CodeEngineDomainMapping, error)
    public static CodeEngineDomainMapping Get(string name, Input<string> id, CodeEngineDomainMappingState? state, CustomResourceOptions? opts = null)
    public static CodeEngineDomainMapping get(String name, Output<String> id, CodeEngineDomainMappingState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CodeEngineDomainMapping    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    CodeEngineDomainMappingId string
    The unique identifier of the code_engine_domain_mapping.
    Component CodeEngineDomainMappingComponent
    A reference to another component. Nested schema for component:
    CreatedAt string
    (String) The timestamp when the resource was created.
    DomainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    EntityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_domain_mapping.
    Href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Name string
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    Status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails List<CodeEngineDomainMappingStatusDetail>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    Timeouts CodeEngineDomainMappingTimeouts
    TlsSecret string
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    UserManaged bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    Visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    CnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    CodeEngineDomainMappingId string
    The unique identifier of the code_engine_domain_mapping.
    Component CodeEngineDomainMappingComponentArgs
    A reference to another component. Nested schema for component:
    CreatedAt string
    (String) The timestamp when the resource was created.
    DomainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    EntityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_domain_mapping.
    Href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Name string
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    Status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails []CodeEngineDomainMappingStatusDetailArgs
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    Timeouts CodeEngineDomainMappingTimeoutsArgs
    TlsSecret string
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    UserManaged bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    Visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget String
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    codeEngineDomainMappingId String
    The unique identifier of the code_engine_domain_mapping.
    component CodeEngineDomainMappingComponent
    A reference to another component. Nested schema for component:
    createdAt String
    (String) The timestamp when the resource was created.
    domainMappingId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag String
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_domain_mapping.
    href String
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name String
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status String
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<CodeEngineDomainMappingStatusDetail>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    timeouts CodeEngineDomainMappingTimeouts
    tlsSecret String
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    userManaged Boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility String
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget string
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    codeEngineDomainMappingId string
    The unique identifier of the code_engine_domain_mapping.
    component CodeEngineDomainMappingComponent
    A reference to another component. Nested schema for component:
    createdAt string
    (String) The timestamp when the resource was created.
    domainMappingId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag string
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_domain_mapping.
    href string
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name string
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType string
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status string
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails CodeEngineDomainMappingStatusDetail[]
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    timeouts CodeEngineDomainMappingTimeouts
    tlsSecret string
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    userManaged boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility string
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cname_target str
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    code_engine_domain_mapping_id str
    The unique identifier of the code_engine_domain_mapping.
    component CodeEngineDomainMappingComponentArgs
    A reference to another component. Nested schema for component:
    created_at str
    (String) The timestamp when the resource was created.
    domain_mapping_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entity_tag str
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag str
    ETag identifier for code_engine_domain_mapping.
    href str
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name str
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resource_type str
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status str
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    status_details Sequence[CodeEngineDomainMappingStatusDetailArgs]
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    timeouts CodeEngineDomainMappingTimeoutsArgs
    tls_secret str
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    user_managed bool
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility str
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.
    cnameTarget String
    (String) The value of the CNAME record that must be configured in the DNS settings of the domain, to route traffic properly to the target Code Engine region.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    codeEngineDomainMappingId String
    The unique identifier of the code_engine_domain_mapping.
    component Property Map
    A reference to another component. Nested schema for component:
    createdAt String
    (String) The timestamp when the resource was created.
    domainMappingId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    entityTag String
    (String) The version of the domain mapping instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_domain_mapping.
    href String
    (String) When you provision a new domain mapping, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name String
    The name of the domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)+$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the Code Engine resource.

    • Constraints: Allowable values are: domain_mapping_v2.
    status String
    (String) The current status of the domain mapping.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<Property Map>
    (List) The detailed status of the domain mapping. Nested schema for status_details:
    timeouts Property Map
    tlsSecret String
    The name of the TLS secret that includes the certificate and private key of this domain mapping.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    userManaged Boolean
    (Boolean) Specifies whether the domain mapping is managed by the user or by Code Engine.
    visibility String
    (String) Specifies whether the domain mapping is reachable through the public internet, or private IBM network, or only through other components within the same Code Engine project.

    • Constraints: Allowable values are: custom, private, project, public.

    Supporting Types

    CodeEngineDomainMappingComponent, CodeEngineDomainMappingComponentArgs

    Name string
    The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    ResourceType string
    The type of the referenced resource.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /.+/.
    Name string
    The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    ResourceType string
    The type of the referenced resource.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /.+/.
    name String
    The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    resourceType String
    The type of the referenced resource.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /.+/.
    name string
    The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    resourceType string
    The type of the referenced resource.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /.+/.
    name str
    The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    resource_type str
    The type of the referenced resource.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /.+/.
    name String
    The name of the referenced component.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?$/.
    resourceType String
    The type of the referenced resource.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /.+/.

    CodeEngineDomainMappingStatusDetail, CodeEngineDomainMappingStatusDetailArgs

    Reason string
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    Reason string
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason String
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason string
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason str
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.
    reason String
    (String) Optional information to provide more context in case of a 'failed' or 'warning' status.

    • Constraints: Allowable values are: ready, domain_already_claimed, app_ref_failed, failed_reconcile_ingress, deploying, failed.

    CodeEngineDomainMappingTimeouts, CodeEngineDomainMappingTimeoutsArgs

    Create string
    Update string
    Create string
    Update string
    create String
    update String
    create string
    update string
    create str
    update str
    create String
    update String

    Import

    You can import the ibm_code_engine_domain_mapping resource by using name.

    The name property can be formed from project_id, and name in the following format:

    
    <project_id>/<name>
    
    
    • project_id: A string in the format 15314cc3-85b4-4338-903f-c28cdee6d005. The ID of the project.

    • name: A string in the format www.example.com. The name of the domain mapping.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/codeEngineDomainMapping:CodeEngineDomainMapping code_engine_domain_mapping <project_id>/<name>
    ```
    
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud