Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.certificatemanager/v1.CertificateMapEntry
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new CertificateMapEntry in a given project and location.
Create CertificateMapEntry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertificateMapEntry(name: string, args: CertificateMapEntryArgs, opts?: CustomResourceOptions);
@overload
def CertificateMapEntry(resource_name: str,
args: CertificateMapEntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CertificateMapEntry(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate_map_entry_id: Optional[str] = None,
certificate_map_id: Optional[str] = None,
certificates: Optional[Sequence[str]] = None,
description: Optional[str] = None,
hostname: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
matcher: Optional[CertificateMapEntryMatcher] = None,
name: Optional[str] = None,
project: Optional[str] = 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: google-native:certificatemanager/v1:CertificateMapEntry
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 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var certificateMapEntryResource = new GoogleNative.CertificateManager.V1.CertificateMapEntry("certificateMapEntryResource", new()
{
CertificateMapEntryId = "string",
CertificateMapId = "string",
Certificates = new[]
{
"string",
},
Description = "string",
Hostname = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Matcher = GoogleNative.CertificateManager.V1.CertificateMapEntryMatcher.MatcherUnspecified,
Name = "string",
Project = "string",
});
example, err := certificatemanager.NewCertificateMapEntry(ctx, "certificateMapEntryResource", &certificatemanager.CertificateMapEntryArgs{
CertificateMapEntryId: pulumi.String("string"),
CertificateMapId: pulumi.String("string"),
Certificates: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Hostname: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Matcher: certificatemanager.CertificateMapEntryMatcherMatcherUnspecified,
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var certificateMapEntryResource = new CertificateMapEntry("certificateMapEntryResource", CertificateMapEntryArgs.builder()
.certificateMapEntryId("string")
.certificateMapId("string")
.certificates("string")
.description("string")
.hostname("string")
.labels(Map.of("string", "string"))
.location("string")
.matcher("MATCHER_UNSPECIFIED")
.name("string")
.project("string")
.build());
certificate_map_entry_resource = google_native.certificatemanager.v1.CertificateMapEntry("certificateMapEntryResource",
certificate_map_entry_id="string",
certificate_map_id="string",
certificates=["string"],
description="string",
hostname="string",
labels={
"string": "string",
},
location="string",
matcher=google_native.certificatemanager.v1.CertificateMapEntryMatcher.MATCHER_UNSPECIFIED,
name="string",
project="string")
const certificateMapEntryResource = new google_native.certificatemanager.v1.CertificateMapEntry("certificateMapEntryResource", {
certificateMapEntryId: "string",
certificateMapId: "string",
certificates: ["string"],
description: "string",
hostname: "string",
labels: {
string: "string",
},
location: "string",
matcher: google_native.certificatemanager.v1.CertificateMapEntryMatcher.MatcherUnspecified,
name: "string",
project: "string",
});
type: google-native:certificatemanager/v1:CertificateMapEntry
properties:
certificateMapEntryId: string
certificateMapId: string
certificates:
- string
description: string
hostname: string
labels:
string: string
location: string
matcher: MATCHER_UNSPECIFIED
name: string
project: string
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:
- Certificate
Map stringEntry Id - Required. A user-provided name of the certificate map entry.
- Certificate
Map stringId - Certificates List<string>
- A set of Certificates defines for the given
hostname
. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match patternprojects/*/locations/*/certificates/*
. - Description string
- One or more paragraphs of text description of a certificate map entry.
- 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.
- Location string
- Matcher
Pulumi.
Google Native. Certificate Manager. V1. Certificate Map Entry Matcher - 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
- Certificate
Map stringEntry Id - Required. A user-provided name of the certificate map entry.
- Certificate
Map stringId - Certificates []string
- A set of Certificates defines for the given
hostname
. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match patternprojects/*/locations/*/certificates/*
. - Description string
- One or more paragraphs of text description of a certificate map entry.
- 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.
- Location string
- Matcher
Certificate
Map Entry Matcher - 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
- certificate
Map StringEntry Id - Required. A user-provided name of the certificate map entry.
- certificate
Map StringId - certificates List<String>
- A set of Certificates defines for the given
hostname
. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match patternprojects/*/locations/*/certificates/*
. - description String
- One or more paragraphs of text description of a certificate map entry.
- 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.
- location String
- matcher
Certificate
Map Entry Matcher - 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
- certificate
Map stringEntry Id - Required. A user-provided name of the certificate map entry.
- certificate
Map stringId - certificates string[]
- A set of Certificates defines for the given
hostname
. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match patternprojects/*/locations/*/certificates/*
. - description string
- One or more paragraphs of text description of a certificate map entry.
- 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.
- location string
- matcher
Certificate
Map Entry Matcher - 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
- certificate_
map_ strentry_ id - Required. A user-provided name of the certificate map entry.
- certificate_
map_ strid - certificates Sequence[str]
- A set of Certificates defines for the given
hostname
. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match patternprojects/*/locations/*/certificates/*
. - description str
- One or more paragraphs of text description of a certificate map entry.
- 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.
- location str
- matcher
Certificate
Map Entry Matcher - 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
- certificate
Map StringEntry Id - Required. A user-provided name of the certificate map entry.
- certificate
Map StringId - certificates List<String>
- A set of Certificates defines for the given
hostname
. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match patternprojects/*/locations/*/certificates/*
. - description String
- One or more paragraphs of text description of a certificate map entry.
- 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.
- location String
- matcher "MATCHER_UNSPECIFIED" | "PRIMARY"
- 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
Outputs
All input properties are implicitly available as output properties. Additionally, the CertificateMapEntry resource produces the following output properties:
- Create
Time string - The creation timestamp of a Certificate Map Entry.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- A serving state of this Certificate Map Entry.
- Update
Time string - The update timestamp of a Certificate Map Entry.
- Create
Time string - The creation timestamp of a Certificate Map Entry.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- A serving state of this Certificate Map Entry.
- Update
Time string - The update timestamp of a Certificate Map Entry.
- create
Time String - The creation timestamp of a Certificate Map Entry.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- A serving state of this Certificate Map Entry.
- update
Time String - The update timestamp of a Certificate Map Entry.
- create
Time string - The creation timestamp of a Certificate Map Entry.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- A serving state of this Certificate Map Entry.
- update
Time string - The update timestamp of a Certificate Map Entry.
- create_
time str - The creation timestamp of a Certificate Map Entry.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- A serving state of this Certificate Map Entry.
- update_
time str - The update timestamp of a Certificate Map Entry.
- create
Time String - The creation timestamp of a Certificate Map Entry.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- A serving state of this Certificate Map Entry.
- update
Time String - The update timestamp of a Certificate Map Entry.
Supporting Types
CertificateMapEntryMatcher, CertificateMapEntryMatcherArgs
- Matcher
Unspecified - MATCHER_UNSPECIFIEDA matcher has't been recognized.
- Primary
- PRIMARYA primary certificate that is served when SNI wasn't specified in the request or SNI couldn't be found in the map.
- Certificate
Map Entry Matcher Matcher Unspecified - MATCHER_UNSPECIFIEDA matcher has't been recognized.
- Certificate
Map Entry Matcher Primary - PRIMARYA primary certificate that is served when SNI wasn't specified in the request or SNI couldn't be found in the map.
- Matcher
Unspecified - MATCHER_UNSPECIFIEDA matcher has't been recognized.
- Primary
- PRIMARYA primary certificate that is served when SNI wasn't specified in the request or SNI couldn't be found in the map.
- Matcher
Unspecified - MATCHER_UNSPECIFIEDA matcher has't been recognized.
- Primary
- PRIMARYA primary certificate that is served when SNI wasn't specified in the request or SNI couldn't be found in the map.
- MATCHER_UNSPECIFIED
- MATCHER_UNSPECIFIEDA matcher has't been recognized.
- PRIMARY
- PRIMARYA primary certificate that is served when SNI wasn't specified in the request or SNI couldn't be found in the map.
- "MATCHER_UNSPECIFIED"
- MATCHER_UNSPECIFIEDA matcher has't been recognized.
- "PRIMARY"
- PRIMARYA primary certificate that is served when SNI wasn't specified in the request or SNI couldn't be found in the map.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.