gcp.certificatemanager.CertificateMapEntry
Explore with Pulumi AI
CertificateMapEntry is a list of certificate configurations, that have been issued for a particular hostname
Example Usage
Certificate Manager Certificate Map Entry Full
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var certificateMap = new Gcp.CertificateManager.CertificateMap("certificateMap", new()
{
Description = "My acceptance test certificate map",
Labels =
{
{ "terraform", "true" },
{ "acc-test", "true" },
},
});
var instance = new Gcp.CertificateManager.DnsAuthorization("instance", new()
{
Description = "The default dnss",
Domain = "subdomain.hashicorptest.com",
});
var instance2 = new Gcp.CertificateManager.DnsAuthorization("instance2", new()
{
Description = "The default dnss",
Domain = "subdomain2.hashicorptest.com",
});
var certificate = new Gcp.CertificateManager.Certificate("certificate", new()
{
Description = "The default cert",
Scope = "DEFAULT",
Managed = new Gcp.CertificateManager.Inputs.CertificateManagedArgs
{
Domains = new[]
{
instance.Domain,
instance2.Domain,
},
DnsAuthorizations = new[]
{
instance.Id,
instance2.Id,
},
},
});
var @default = new Gcp.CertificateManager.CertificateMapEntry("default", new()
{
Description = "My acceptance test certificate map entry",
Map = certificateMap.Name,
Labels =
{
{ "terraform", "true" },
{ "acc-test", "true" },
},
Certificates = new[]
{
certificate.Id,
},
Matcher = "PRIMARY",
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
certificateMap, err := certificatemanager.NewCertificateMap(ctx, "certificateMap", &certificatemanager.CertificateMapArgs{
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
}
instance, err := certificatemanager.NewDnsAuthorization(ctx, "instance", &certificatemanager.DnsAuthorizationArgs{
Description: pulumi.String("The default dnss"),
Domain: pulumi.String("subdomain.hashicorptest.com"),
})
if err != nil {
return err
}
instance2, err := certificatemanager.NewDnsAuthorization(ctx, "instance2", &certificatemanager.DnsAuthorizationArgs{
Description: pulumi.String("The default dnss"),
Domain: pulumi.String("subdomain2.hashicorptest.com"),
})
if err != nil {
return err
}
certificate, err := certificatemanager.NewCertificate(ctx, "certificate", &certificatemanager.CertificateArgs{
Description: pulumi.String("The default cert"),
Scope: pulumi.String("DEFAULT"),
Managed: &certificatemanager.CertificateManagedArgs{
Domains: pulumi.StringArray{
instance.Domain,
instance2.Domain,
},
DnsAuthorizations: pulumi.StringArray{
instance.ID(),
instance2.ID(),
},
},
})
if err != nil {
return err
}
_, err = certificatemanager.NewCertificateMapEntry(ctx, "default", &certificatemanager.CertificateMapEntryArgs{
Description: pulumi.String("My acceptance test certificate map entry"),
Map: certificateMap.Name,
Labels: pulumi.StringMap{
"terraform": pulumi.String("true"),
"acc-test": pulumi.String("true"),
},
Certificates: pulumi.StringArray{
certificate.ID(),
},
Matcher: pulumi.String("PRIMARY"),
})
if err != nil {
return err
}
return nil
})
}
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 com.pulumi.gcp.certificatemanager.DnsAuthorization;
import com.pulumi.gcp.certificatemanager.DnsAuthorizationArgs;
import com.pulumi.gcp.certificatemanager.Certificate;
import com.pulumi.gcp.certificatemanager.CertificateArgs;
import com.pulumi.gcp.certificatemanager.inputs.CertificateManagedArgs;
import com.pulumi.gcp.certificatemanager.CertificateMapEntry;
import com.pulumi.gcp.certificatemanager.CertificateMapEntryArgs;
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 certificateMap = new CertificateMap("certificateMap", CertificateMapArgs.builder()
.description("My acceptance test certificate map")
.labels(Map.ofEntries(
Map.entry("terraform", true),
Map.entry("acc-test", true)
))
.build());
var instance = new DnsAuthorization("instance", DnsAuthorizationArgs.builder()
.description("The default dnss")
.domain("subdomain.hashicorptest.com")
.build());
var instance2 = new DnsAuthorization("instance2", DnsAuthorizationArgs.builder()
.description("The default dnss")
.domain("subdomain2.hashicorptest.com")
.build());
var certificate = new Certificate("certificate", CertificateArgs.builder()
.description("The default cert")
.scope("DEFAULT")
.managed(CertificateManagedArgs.builder()
.domains(
instance.domain(),
instance2.domain())
.dnsAuthorizations(
instance.id(),
instance2.id())
.build())
.build());
var default_ = new CertificateMapEntry("default", CertificateMapEntryArgs.builder()
.description("My acceptance test certificate map entry")
.map(certificateMap.name())
.labels(Map.ofEntries(
Map.entry("terraform", true),
Map.entry("acc-test", true)
))
.certificates(certificate.id())
.matcher("PRIMARY")
.build());
}
}
import pulumi
import pulumi_gcp as gcp
certificate_map = gcp.certificatemanager.CertificateMap("certificateMap",
description="My acceptance test certificate map",
labels={
"terraform": "true",
"acc-test": "true",
})
instance = gcp.certificatemanager.DnsAuthorization("instance",
description="The default dnss",
domain="subdomain.hashicorptest.com")
instance2 = gcp.certificatemanager.DnsAuthorization("instance2",
description="The default dnss",
domain="subdomain2.hashicorptest.com")
certificate = gcp.certificatemanager.Certificate("certificate",
description="The default cert",
scope="DEFAULT",
managed=gcp.certificatemanager.CertificateManagedArgs(
domains=[
instance.domain,
instance2.domain,
],
dns_authorizations=[
instance.id,
instance2.id,
],
))
default = gcp.certificatemanager.CertificateMapEntry("default",
description="My acceptance test certificate map entry",
map=certificate_map.name,
labels={
"terraform": "true",
"acc-test": "true",
},
certificates=[certificate.id],
matcher="PRIMARY")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const certificateMap = new gcp.certificatemanager.CertificateMap("certificateMap", {
description: "My acceptance test certificate map",
labels: {
terraform: "true",
"acc-test": "true",
},
});
const instance = new gcp.certificatemanager.DnsAuthorization("instance", {
description: "The default dnss",
domain: "subdomain.hashicorptest.com",
});
const instance2 = new gcp.certificatemanager.DnsAuthorization("instance2", {
description: "The default dnss",
domain: "subdomain2.hashicorptest.com",
});
const certificate = new gcp.certificatemanager.Certificate("certificate", {
description: "The default cert",
scope: "DEFAULT",
managed: {
domains: [
instance.domain,
instance2.domain,
],
dnsAuthorizations: [
instance.id,
instance2.id,
],
},
});
const _default = new gcp.certificatemanager.CertificateMapEntry("default", {
description: "My acceptance test certificate map entry",
map: certificateMap.name,
labels: {
terraform: "true",
"acc-test": "true",
},
certificates: [certificate.id],
matcher: "PRIMARY",
});
resources:
certificateMap:
type: gcp:certificatemanager:CertificateMap
properties:
description: My acceptance test certificate map
labels:
terraform: true
acc-test: true
default:
type: gcp:certificatemanager:CertificateMapEntry
properties:
description: My acceptance test certificate map entry
map: ${certificateMap.name}
labels:
terraform: true
acc-test: true
certificates:
- ${certificate.id}
matcher: PRIMARY
certificate:
type: gcp:certificatemanager:Certificate
properties:
description: The default cert
scope: DEFAULT
managed:
domains:
- ${instance.domain}
- ${instance2.domain}
dnsAuthorizations:
- ${instance.id}
- ${instance2.id}
instance:
type: gcp:certificatemanager:DnsAuthorization
properties:
description: The default dnss
domain: subdomain.hashicorptest.com
instance2:
type: gcp:certificatemanager:DnsAuthorization
properties:
description: The default dnss
domain: subdomain2.hashicorptest.com
Create CertificateMapEntry Resource
new CertificateMapEntry(name: string, args: CertificateMapEntryArgs, opts?: CustomResourceOptions);
@overload
def CertificateMapEntry(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificates: Optional[Sequence[str]] = None,
description: Optional[str] = None,
hostname: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
map: Optional[str] = None,
matcher: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
@overload
def CertificateMapEntry(resource_name: str,
args: CertificateMapEntryArgs,
opts: Optional[ResourceOptions] = None)
func NewCertificateMapEntry(ctx *Context, name string, args CertificateMapEntryArgs, opts ...ResourceOption) (*CertificateMapEntry, error)
public CertificateMapEntry(string name, CertificateMapEntryArgs args, CustomResourceOptions? opts = null)
public CertificateMapEntry(String name, CertificateMapEntryArgs args)
public CertificateMapEntry(String name, CertificateMapEntryArgs args, CustomResourceOptions options)
type: gcp:certificatemanager:CertificateMapEntry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateMapEntryArgs
- 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 CertificateMapEntryArgs
- 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 CertificateMapEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateMapEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateMapEntryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CertificateMapEntry Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CertificateMapEntry resource accepts the following input properties:
- Certificates List<string>
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- Map string
A map entry that is inputted into the cetrificate map
- Description string
A human-readable description of the resource.
- Hostname string
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- Labels Dictionary<string, string>
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Matcher string
A predefined matcher for particular cases, other than SNI selection
- Name string
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Certificates []string
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- Map string
A map entry that is inputted into the cetrificate map
- Description string
A human-readable description of the resource.
- Hostname string
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- Labels map[string]string
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Matcher string
A predefined matcher for particular cases, other than SNI selection
- Name string
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- certificates List<String>
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- map String
A map entry that is inputted into the cetrificate map
- description String
A human-readable description of the resource.
- hostname String
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels Map<String,String>
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- matcher String
A predefined matcher for particular cases, other than SNI selection
- name String
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- certificates string[]
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- map string
A map entry that is inputted into the cetrificate map
- description string
A human-readable description of the resource.
- hostname string
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels {[key: string]: string}
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- matcher string
A predefined matcher for particular cases, other than SNI selection
- name string
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- certificates Sequence[str]
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- map str
A map entry that is inputted into the cetrificate map
- description str
A human-readable description of the resource.
- hostname str
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels Mapping[str, str]
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- matcher str
A predefined matcher for particular cases, other than SNI selection
- name str
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- certificates List<String>
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- map String
A map entry that is inputted into the cetrificate map
- description String
A human-readable description of the resource.
- hostname String
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels Map<String>
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- matcher String
A predefined matcher for particular cases, other than SNI selection
- name String
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project 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 CertificateMapEntry resource produces the following output properties:
- Create
Time string Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Id string
The provider-assigned unique ID for this managed resource.
- State string
A serving state of this Certificate Map Entry.
- Update
Time string Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Create
Time string Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Id string
The provider-assigned unique ID for this managed resource.
- State string
A serving state of this Certificate Map Entry.
- Update
Time string Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time String Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id String
The provider-assigned unique ID for this managed resource.
- state String
A serving state of this Certificate Map Entry.
- update
Time String Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time string Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id string
The provider-assigned unique ID for this managed resource.
- state string
A serving state of this Certificate Map Entry.
- update
Time string Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and 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 Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id str
The provider-assigned unique ID for this managed resource.
- state str
A serving state of this Certificate Map Entry.
- update_
time str Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time String Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id String
The provider-assigned unique ID for this managed resource.
- state String
A serving state of this Certificate Map Entry.
- update
Time String Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Look up Existing CertificateMapEntry Resource
Get an existing CertificateMapEntry 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?: CertificateMapEntryState, opts?: CustomResourceOptions): CertificateMapEntry
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificates: Optional[Sequence[str]] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
hostname: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
map: Optional[str] = None,
matcher: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
state: Optional[str] = None,
update_time: Optional[str] = None) -> CertificateMapEntry
func GetCertificateMapEntry(ctx *Context, name string, id IDInput, state *CertificateMapEntryState, opts ...ResourceOption) (*CertificateMapEntry, error)
public static CertificateMapEntry Get(string name, Input<string> id, CertificateMapEntryState? state, CustomResourceOptions? opts = null)
public static CertificateMapEntry get(String name, Output<String> id, CertificateMapEntryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Certificates List<string>
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- Create
Time string Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and 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.
- Hostname string
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- Labels Dictionary<string, string>
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Map string
A map entry that is inputted into the cetrificate map
- Matcher string
A predefined matcher for particular cases, other than SNI selection
- Name string
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- State string
A serving state of this Certificate Map Entry.
- Update
Time string Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Certificates []string
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- Create
Time string Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and 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.
- Hostname string
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- Labels map[string]string
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Map string
A map entry that is inputted into the cetrificate map
- Matcher string
A predefined matcher for particular cases, other than SNI selection
- Name string
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- State string
A serving state of this Certificate Map Entry.
- Update
Time string Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- certificates List<String>
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- create
Time String Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and 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.
- hostname String
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels Map<String,String>
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- map String
A map entry that is inputted into the cetrificate map
- matcher String
A predefined matcher for particular cases, other than SNI selection
- name String
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- state String
A serving state of this Certificate Map Entry.
- update
Time String Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- certificates string[]
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- create
Time string Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and 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.
- hostname string
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels {[key: string]: string}
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- map string
A map entry that is inputted into the cetrificate map
- matcher string
A predefined matcher for particular cases, other than SNI selection
- name string
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- state string
A serving state of this Certificate Map Entry.
- update
Time string Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- certificates Sequence[str]
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- create_
time str Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and 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.
- hostname str
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels Mapping[str, str]
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- map str
A map entry that is inputted into the cetrificate map
- matcher str
A predefined matcher for particular cases, other than SNI selection
- name str
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- state str
A serving state of this Certificate Map Entry.
- update_
time str Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- certificates List<String>
A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects//locations//certificates/*.
- create
Time String Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and 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.
- hostname String
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
- labels Map<String>
Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- map String
A map entry that is inputted into the cetrificate map
- matcher String
A predefined matcher for particular cases, other than SNI selection
- name String
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects//locations//certificateMaps//certificateMapEntries/'
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- state String
A serving state of this Certificate Map Entry.
- update
Time String Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Import
CertificateMapEntry can be imported using any of these accepted formats
$ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default projects/{{project}}/locations/global/certificateMaps/{{map}}/certificateMapEntries/{{name}}
$ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{project}}/{{map}}/{{name}}
$ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{map}}/{{name}}
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.