1. Packages
  2. Google Cloud Native
  3. API Docs
  4. certificatemanager
  5. certificatemanager/v1
  6. CertificateMapEntry

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.certificatemanager/v1.CertificateMapEntry

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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.

    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:

    CertificateMapEntryId string
    Required. A user-provided name of the certificate map entry.
    CertificateMapId string
    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 pattern projects/*/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.GoogleNative.CertificateManager.V1.CertificateMapEntryMatcher
    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
    CertificateMapEntryId string
    Required. A user-provided name of the certificate map entry.
    CertificateMapId string
    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 pattern projects/*/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 CertificateMapEntryMatcher
    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
    certificateMapEntryId String
    Required. A user-provided name of the certificate map entry.
    certificateMapId String
    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 pattern projects/*/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 CertificateMapEntryMatcher
    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
    certificateMapEntryId string
    Required. A user-provided name of the certificate map entry.
    certificateMapId string
    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 pattern projects/*/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 CertificateMapEntryMatcher
    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_entry_id str
    Required. A user-provided name of the certificate map entry.
    certificate_map_id str
    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 pattern projects/*/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 CertificateMapEntryMatcher
    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
    certificateMapEntryId String
    Required. A user-provided name of the certificate map entry.
    certificateMapId String
    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 pattern projects/*/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.
    CertificateMapEntryMatcherMatcherUnspecified
    MATCHER_UNSPECIFIEDA matcher has't been recognized.
    CertificateMapEntryMatcherPrimary
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi