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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CertificateMapEntry resource accepts the following input properties:
- CertificateMap stringEntry Id 
- Required. A user-provided name of the certificate map entry.
- CertificateMap 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
- CertificateMap stringEntry Id 
- Required. A user-provided name of the certificate map entry.
- CertificateMap 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
CertificateMap 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
- certificateMap StringEntry Id 
- Required. A user-provided name of the certificate map entry.
- certificateMap 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
CertificateMap 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
- certificateMap stringEntry Id 
- Required. A user-provided name of the certificate map entry.
- certificateMap 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
CertificateMap 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
CertificateMap 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
- certificateMap StringEntry Id 
- Required. A user-provided name of the certificate map entry.
- certificateMap 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:
- CreateTime 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.
- UpdateTime string
- The update timestamp of a Certificate Map Entry.
- CreateTime 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.
- UpdateTime string
- The update timestamp of a Certificate Map Entry.
- createTime 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.
- updateTime String
- The update timestamp of a Certificate Map Entry.
- createTime 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.
- updateTime 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.
- createTime 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.
- updateTime String
- The update timestamp of a Certificate Map Entry.
Supporting Types
CertificateMapEntryMatcher, CertificateMapEntryMatcherArgs        
- MatcherUnspecified 
- 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.
- CertificateMap Entry Matcher Matcher Unspecified 
- MATCHER_UNSPECIFIEDA matcher has't been recognized.
- CertificateMap 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.
- MatcherUnspecified 
- 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.
- MatcherUnspecified 
- 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.