1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. certificatemanager
  5. CertificateMap
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

gcp.certificatemanager.CertificateMap

Explore with Pulumi AI

CertificateMap defines a collection of certificate configurations, which are usable by any associated target proxies

Example Usage

Certificate Manager Certificate Map Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const _default = new gcp.certificatemanager.CertificateMap("default", {
    name: "cert-map",
    description: "My acceptance test certificate map",
    labels: {
        terraform: "true",
        "acc-test": "true",
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

default = gcp.certificatemanager.CertificateMap("default",
    name="cert-map",
    description="My acceptance test certificate map",
    labels={
        "terraform": "true",
        "acc-test": "true",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.NewCertificateMap(ctx, "default", &certificatemanager.CertificateMapArgs{
			Name:        pulumi.String("cert-map"),
			Description: pulumi.String("My acceptance test certificate map"),
			Labels: pulumi.StringMap{
				"terraform": pulumi.String("true"),
				"acc-test":  pulumi.String("true"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.CertificateManager.CertificateMap("default", new()
    {
        Name = "cert-map",
        Description = "My acceptance test certificate map",
        Labels = 
        {
            { "terraform", "true" },
            { "acc-test", "true" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.certificatemanager.CertificateMap;
import com.pulumi.gcp.certificatemanager.CertificateMapArgs;
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 default_ = new CertificateMap("default", CertificateMapArgs.builder()
            .name("cert-map")
            .description("My acceptance test certificate map")
            .labels(Map.ofEntries(
                Map.entry("terraform", "true"),
                Map.entry("acc-test", "true")
            ))
            .build());

    }
}
Copy
resources:
  default:
    type: gcp:certificatemanager:CertificateMap
    properties:
      name: cert-map
      description: My acceptance test certificate map
      labels:
        terraform: true
        acc-test: true
Copy

Create CertificateMap Resource

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

Constructor syntax

new CertificateMap(name: string, args?: CertificateMapArgs, opts?: CustomResourceOptions);
@overload
def CertificateMap(resource_name: str,
                   args: Optional[CertificateMapArgs] = None,
                   opts: Optional[ResourceOptions] = None)

@overload
def CertificateMap(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   description: Optional[str] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None)
func NewCertificateMap(ctx *Context, name string, args *CertificateMapArgs, opts ...ResourceOption) (*CertificateMap, error)
public CertificateMap(string name, CertificateMapArgs? args = null, CustomResourceOptions? opts = null)
public CertificateMap(String name, CertificateMapArgs args)
public CertificateMap(String name, CertificateMapArgs args, CustomResourceOptions options)
type: gcp:certificatemanager:CertificateMap
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args CertificateMapArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args CertificateMapArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args CertificateMapArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args CertificateMapArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CertificateMapArgs
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 certificateMapResource = new Gcp.CertificateManager.CertificateMap("certificateMapResource", new()
{
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    Project = "string",
});
Copy
example, err := certificatemanager.NewCertificateMap(ctx, "certificateMapResource", &certificatemanager.CertificateMapArgs{
	Description: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name:    pulumi.String("string"),
	Project: pulumi.String("string"),
})
Copy
var certificateMapResource = new CertificateMap("certificateMapResource", CertificateMapArgs.builder()
    .description("string")
    .labels(Map.of("string", "string"))
    .name("string")
    .project("string")
    .build());
Copy
certificate_map_resource = gcp.certificatemanager.CertificateMap("certificateMapResource",
    description="string",
    labels={
        "string": "string",
    },
    name="string",
    project="string")
Copy
const certificateMapResource = new gcp.certificatemanager.CertificateMap("certificateMapResource", {
    description: "string",
    labels: {
        string: "string",
    },
    name: "string",
    project: "string",
});
Copy
type: gcp:certificatemanager:CertificateMap
properties:
    description: string
    labels:
        string: string
    name: string
    project: string
Copy

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

Description string
A human-readable description of the resource.
Labels Dictionary<string, string>

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Name Changes to this property will trigger replacement. string
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Description string
A human-readable description of the resource.
Labels map[string]string

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Name Changes to this property will trigger replacement. string
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
description String
A human-readable description of the resource.
labels Map<String,String>

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. String
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
description string
A human-readable description of the resource.
labels {[key: string]: string}

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. string
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
description str
A human-readable description of the resource.
labels Mapping[str, str]

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. str
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
description String
A human-readable description of the resource.
labels Map<String>

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. String
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Outputs

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

CreateTime string
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
EffectiveLabels Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
GclbTargets List<CertificateMapGclbTarget>
A list of target proxies that use this Certificate Map Structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
CreateTime string
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
EffectiveLabels map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
GclbTargets []CertificateMapGclbTarget
A list of target proxies that use this Certificate Map Structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
createTime String
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
effectiveLabels Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclbTargets List<CertificateMapGclbTarget>
A list of target proxies that use this Certificate Map Structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
createTime string
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
effectiveLabels {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclbTargets CertificateMapGclbTarget[]
A list of target proxies that use this Certificate Map Structure is documented below.
id string
The provider-assigned unique ID for this managed resource.
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime string
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
create_time str
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
effective_labels Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclb_targets Sequence[CertificateMapGclbTarget]
A list of target proxies that use this Certificate Map Structure is documented below.
id str
The provider-assigned unique ID for this managed resource.
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
update_time str
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
createTime String
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
effectiveLabels Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclbTargets List<Property Map>
A list of target proxies that use this Certificate Map Structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Look up Existing CertificateMap Resource

Get an existing CertificateMap 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?: CertificateMapState, opts?: CustomResourceOptions): CertificateMap
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        gclb_targets: Optional[Sequence[CertificateMapGclbTargetArgs]] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        update_time: Optional[str] = None) -> CertificateMap
func GetCertificateMap(ctx *Context, name string, id IDInput, state *CertificateMapState, opts ...ResourceOption) (*CertificateMap, error)
public static CertificateMap Get(string name, Input<string> id, CertificateMapState? state, CustomResourceOptions? opts = null)
public static CertificateMap get(String name, Output<String> id, CertificateMapState state, CustomResourceOptions options)
resources:  _:    type: gcp:certificatemanager:CertificateMap    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreateTime string
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Description string
A human-readable description of the resource.
EffectiveLabels Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
GclbTargets List<CertificateMapGclbTarget>
A list of target proxies that use this Certificate Map Structure is documented below.
Labels Dictionary<string, string>

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Name Changes to this property will trigger replacement. string
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
CreateTime string
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Description string
A human-readable description of the resource.
EffectiveLabels map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
GclbTargets []CertificateMapGclbTargetArgs
A list of target proxies that use this Certificate Map Structure is documented below.
Labels map[string]string

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Name Changes to this property will trigger replacement. string
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
createTime String
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
description String
A human-readable description of the resource.
effectiveLabels Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclbTargets List<CertificateMapGclbTarget>
A list of target proxies that use this Certificate Map Structure is documented below.
labels Map<String,String>

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. String
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
createTime string
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
description string
A human-readable description of the resource.
effectiveLabels {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclbTargets CertificateMapGclbTarget[]
A list of target proxies that use this Certificate Map Structure is documented below.
labels {[key: string]: string}

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. string
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime string
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
create_time str
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
description str
A human-readable description of the resource.
effective_labels Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclb_targets Sequence[CertificateMapGclbTargetArgs]
A list of target proxies that use this Certificate Map Structure is documented below.
labels Mapping[str, str]

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. str
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
update_time str
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
createTime String
Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
description String
A human-readable description of the resource.
effectiveLabels Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gclbTargets List<Property Map>
A list of target proxies that use this Certificate Map Structure is documented below.
labels Map<String>

Set of labels associated with a Certificate Map resource.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

name Changes to this property will trigger replacement. String
A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.


project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Supporting Types

CertificateMapGclbTarget
, CertificateMapGclbTargetArgs

IpConfigs List<CertificateMapGclbTargetIpConfig>
An IP configuration where this Certificate Map is serving Structure is documented below.
TargetHttpsProxy string
Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
TargetSslProxy string
Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
IpConfigs []CertificateMapGclbTargetIpConfig
An IP configuration where this Certificate Map is serving Structure is documented below.
TargetHttpsProxy string
Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
TargetSslProxy string
Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
ipConfigs List<CertificateMapGclbTargetIpConfig>
An IP configuration where this Certificate Map is serving Structure is documented below.
targetHttpsProxy String
Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
targetSslProxy String
Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
ipConfigs CertificateMapGclbTargetIpConfig[]
An IP configuration where this Certificate Map is serving Structure is documented below.
targetHttpsProxy string
Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
targetSslProxy string
Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
ip_configs Sequence[CertificateMapGclbTargetIpConfig]
An IP configuration where this Certificate Map is serving Structure is documented below.
target_https_proxy str
Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
target_ssl_proxy str
Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
ipConfigs List<Property Map>
An IP configuration where this Certificate Map is serving Structure is documented below.
targetHttpsProxy String
Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.
targetSslProxy String
Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field target_proxy: Only one of targetHttpsProxy or targetSslProxy may be set.

CertificateMapGclbTargetIpConfig
, CertificateMapGclbTargetIpConfigArgs

IpAddress string
An external IP address
Ports List<int>
A list of ports
IpAddress string
An external IP address
Ports []int
A list of ports
ipAddress String
An external IP address
ports List<Integer>
A list of ports
ipAddress string
An external IP address
ports number[]
A list of ports
ip_address str
An external IP address
ports Sequence[int]
A list of ports
ipAddress String
An external IP address
ports List<Number>
A list of ports

Import

CertificateMap can be imported using any of these accepted formats:

  • projects/{{project}}/locations/global/certificateMaps/{{name}}

  • {{project}}/{{name}}

  • {{name}}

When using the pulumi import command, CertificateMap can be imported using one of the formats above. For example:

$ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default projects/{{project}}/locations/global/certificateMaps/{{name}}
Copy
$ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{project}}/{{name}}
Copy
$ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{name}}
Copy

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

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.