gcp.appengine.DomainMapping
Explore with Pulumi AI
A domain serving an App Engine application.
To get more information about DomainMapping, see:
- API documentation
- How-to Guides
Example Usage
App Engine Domain Mapping Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const domainMapping = new gcp.appengine.DomainMapping("domain_mapping", {
domainName: "verified-domain.com",
sslSettings: {
sslManagementType: "AUTOMATIC",
},
});
import pulumi
import pulumi_gcp as gcp
domain_mapping = gcp.appengine.DomainMapping("domain_mapping",
domain_name="verified-domain.com",
ssl_settings=gcp.appengine.DomainMappingSslSettingsArgs(
ssl_management_type="AUTOMATIC",
))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/appengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appengine.NewDomainMapping(ctx, "domain_mapping", &appengine.DomainMappingArgs{
DomainName: pulumi.String("verified-domain.com"),
SslSettings: &appengine.DomainMappingSslSettingsArgs{
SslManagementType: pulumi.String("AUTOMATIC"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var domainMapping = new Gcp.AppEngine.DomainMapping("domain_mapping", new()
{
DomainName = "verified-domain.com",
SslSettings = new Gcp.AppEngine.Inputs.DomainMappingSslSettingsArgs
{
SslManagementType = "AUTOMATIC",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.appengine.DomainMapping;
import com.pulumi.gcp.appengine.DomainMappingArgs;
import com.pulumi.gcp.appengine.inputs.DomainMappingSslSettingsArgs;
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 domainMapping = new DomainMapping("domainMapping", DomainMappingArgs.builder()
.domainName("verified-domain.com")
.sslSettings(DomainMappingSslSettingsArgs.builder()
.sslManagementType("AUTOMATIC")
.build())
.build());
}
}
resources:
domainMapping:
type: gcp:appengine:DomainMapping
name: domain_mapping
properties:
domainName: verified-domain.com
sslSettings:
sslManagementType: AUTOMATIC
Create DomainMapping Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DomainMapping(name: string, args: DomainMappingArgs, opts?: CustomResourceOptions);
@overload
def DomainMapping(resource_name: str,
args: DomainMappingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DomainMapping(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
override_strategy: Optional[str] = None,
project: Optional[str] = None,
ssl_settings: Optional[DomainMappingSslSettingsArgs] = None)
func NewDomainMapping(ctx *Context, name string, args DomainMappingArgs, opts ...ResourceOption) (*DomainMapping, error)
public DomainMapping(string name, DomainMappingArgs args, CustomResourceOptions? opts = null)
public DomainMapping(String name, DomainMappingArgs args)
public DomainMapping(String name, DomainMappingArgs args, CustomResourceOptions options)
type: gcp:appengine:DomainMapping
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 DomainMappingArgs
- 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 DomainMappingArgs
- 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 DomainMappingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainMappingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DomainMappingArgs
- 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 domainMappingResource = new Gcp.AppEngine.DomainMapping("domainMappingResource", new()
{
DomainName = "string",
OverrideStrategy = "string",
Project = "string",
SslSettings = new Gcp.AppEngine.Inputs.DomainMappingSslSettingsArgs
{
SslManagementType = "string",
CertificateId = "string",
PendingManagedCertificateId = "string",
},
});
example, err := appengine.NewDomainMapping(ctx, "domainMappingResource", &appengine.DomainMappingArgs{
DomainName: pulumi.String("string"),
OverrideStrategy: pulumi.String("string"),
Project: pulumi.String("string"),
SslSettings: &appengine.DomainMappingSslSettingsArgs{
SslManagementType: pulumi.String("string"),
CertificateId: pulumi.String("string"),
PendingManagedCertificateId: pulumi.String("string"),
},
})
var domainMappingResource = new DomainMapping("domainMappingResource", DomainMappingArgs.builder()
.domainName("string")
.overrideStrategy("string")
.project("string")
.sslSettings(DomainMappingSslSettingsArgs.builder()
.sslManagementType("string")
.certificateId("string")
.pendingManagedCertificateId("string")
.build())
.build());
domain_mapping_resource = gcp.appengine.DomainMapping("domainMappingResource",
domain_name="string",
override_strategy="string",
project="string",
ssl_settings=gcp.appengine.DomainMappingSslSettingsArgs(
ssl_management_type="string",
certificate_id="string",
pending_managed_certificate_id="string",
))
const domainMappingResource = new gcp.appengine.DomainMapping("domainMappingResource", {
domainName: "string",
overrideStrategy: "string",
project: "string",
sslSettings: {
sslManagementType: "string",
certificateId: "string",
pendingManagedCertificateId: "string",
},
});
type: gcp:appengine:DomainMapping
properties:
domainName: string
overrideStrategy: string
project: string
sslSettings:
certificateId: string
pendingManagedCertificateId: string
sslManagementType: string
DomainMapping 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 DomainMapping resource accepts the following input properties:
- Domain
Name string - Relative name of the domain serving the application. Example: example.com.
- Override
Strategy string - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ssl
Settings DomainMapping Ssl Settings - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- Domain
Name string - Relative name of the domain serving the application. Example: example.com.
- Override
Strategy string - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ssl
Settings DomainMapping Ssl Settings Args - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain
Name String - Relative name of the domain serving the application. Example: example.com.
- override
Strategy String - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ssl
Settings DomainMapping Ssl Settings - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain
Name string - Relative name of the domain serving the application. Example: example.com.
- override
Strategy string - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ssl
Settings DomainMapping Ssl Settings - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain_
name str - Relative name of the domain serving the application. Example: example.com.
- override_
strategy str - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ssl_
settings DomainMapping Ssl Settings Args - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain
Name String - Relative name of the domain serving the application. Example: example.com.
- override
Strategy String - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ssl
Settings Property Map - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the DomainMapping resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- Resource
Records List<DomainMapping Resource Record> - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- Resource
Records []DomainMapping Resource Record - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- resource
Records List<DomainMapping Resource Record> - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- resource
Records DomainMapping Resource Record[] - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- resource_
records Sequence[DomainMapping Resource Record] - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- resource
Records List<Property Map> - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
Look up Existing DomainMapping Resource
Get an existing DomainMapping 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?: DomainMappingState, opts?: CustomResourceOptions): DomainMapping
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
name: Optional[str] = None,
override_strategy: Optional[str] = None,
project: Optional[str] = None,
resource_records: Optional[Sequence[DomainMappingResourceRecordArgs]] = None,
ssl_settings: Optional[DomainMappingSslSettingsArgs] = None) -> DomainMapping
func GetDomainMapping(ctx *Context, name string, id IDInput, state *DomainMappingState, opts ...ResourceOption) (*DomainMapping, error)
public static DomainMapping Get(string name, Input<string> id, DomainMappingState? state, CustomResourceOptions? opts = null)
public static DomainMapping get(String name, Output<String> id, DomainMappingState 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.
- Domain
Name string - Relative name of the domain serving the application. Example: example.com.
- Name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- Override
Strategy string - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Resource
Records List<DomainMapping Resource Record> - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- Ssl
Settings DomainMapping Ssl Settings - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- Domain
Name string - Relative name of the domain serving the application. Example: example.com.
- Name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- Override
Strategy string - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Resource
Records []DomainMapping Resource Record Args - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- Ssl
Settings DomainMapping Ssl Settings Args - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain
Name String - Relative name of the domain serving the application. Example: example.com.
- name String
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- override
Strategy String - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource
Records List<DomainMapping Resource Record> - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- ssl
Settings DomainMapping Ssl Settings - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain
Name string - Relative name of the domain serving the application. Example: example.com.
- name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- override
Strategy string - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource
Records DomainMapping Resource Record[] - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- ssl
Settings DomainMapping Ssl Settings - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain_
name str - Relative name of the domain serving the application. Example: example.com.
- name str
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- override_
strategy str - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource_
records Sequence[DomainMapping Resource Record Args] - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- ssl_
settings DomainMapping Ssl Settings Args - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
- domain
Name String - Relative name of the domain serving the application. Example: example.com.
- name String
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- override
Strategy String - Whether the domain creation should override any existing mappings for this domain.
By default, overrides are rejected.
Default value is
STRICT
. Possible values are:STRICT
,OVERRIDE
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource
Records List<Property Map> - The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Structure is documented below.
- ssl
Settings Property Map - SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
Supporting Types
DomainMappingResourceRecord, DomainMappingResourceRecordArgs
- Name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- Rrdata string
- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
- Type string
- Resource record type. Example:
AAAA
. Possible values are:A
,AAAA
,CNAME
.
- Name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- Rrdata string
- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
- Type string
- Resource record type. Example:
AAAA
. Possible values are:A
,AAAA
,CNAME
.
- name String
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- rrdata String
- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
- type String
- Resource record type. Example:
AAAA
. Possible values are:A
,AAAA
,CNAME
.
- name string
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- rrdata string
- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
- type string
- Resource record type. Example:
AAAA
. Possible values are:A
,AAAA
,CNAME
.
- name str
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- rrdata str
- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
- type str
- Resource record type. Example:
AAAA
. Possible values are:A
,AAAA
,CNAME
.
- name String
- Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.
- rrdata String
- Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
- type String
- Resource record type. Example:
AAAA
. Possible values are:A
,AAAA
,CNAME
.
DomainMappingSslSettings, DomainMappingSslSettingsArgs
- Ssl
Management stringType - SSL management type for this domain. If
AUTOMATIC
, a managed certificate is automatically provisioned. IfMANUAL
,certificateId
must be manually specified in order to configure SSL for this domain. Possible values are:AUTOMATIC
,MANUAL
. - Certificate
Id string - ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will
remove SSL support.
By default, a managed certificate is automatically created for every domain mapping. To omit SSL support
or to configure SSL manually, specify
SslManagementType.MANUAL
on aCREATE
orUPDATE
request. You must be authorized to administer theAuthorizedCertificate
resource to manually map it to a DomainMapping resource. Example: 12345. - Pending
Managed stringCertificate Id - (Output)
ID of the managed
AuthorizedCertificate
resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, thecertificateId
field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear thecertificateId
field with an update request.
- Ssl
Management stringType - SSL management type for this domain. If
AUTOMATIC
, a managed certificate is automatically provisioned. IfMANUAL
,certificateId
must be manually specified in order to configure SSL for this domain. Possible values are:AUTOMATIC
,MANUAL
. - Certificate
Id string - ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will
remove SSL support.
By default, a managed certificate is automatically created for every domain mapping. To omit SSL support
or to configure SSL manually, specify
SslManagementType.MANUAL
on aCREATE
orUPDATE
request. You must be authorized to administer theAuthorizedCertificate
resource to manually map it to a DomainMapping resource. Example: 12345. - Pending
Managed stringCertificate Id - (Output)
ID of the managed
AuthorizedCertificate
resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, thecertificateId
field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear thecertificateId
field with an update request.
- ssl
Management StringType - SSL management type for this domain. If
AUTOMATIC
, a managed certificate is automatically provisioned. IfMANUAL
,certificateId
must be manually specified in order to configure SSL for this domain. Possible values are:AUTOMATIC
,MANUAL
. - certificate
Id String - ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will
remove SSL support.
By default, a managed certificate is automatically created for every domain mapping. To omit SSL support
or to configure SSL manually, specify
SslManagementType.MANUAL
on aCREATE
orUPDATE
request. You must be authorized to administer theAuthorizedCertificate
resource to manually map it to a DomainMapping resource. Example: 12345. - pending
Managed StringCertificate Id - (Output)
ID of the managed
AuthorizedCertificate
resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, thecertificateId
field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear thecertificateId
field with an update request.
- ssl
Management stringType - SSL management type for this domain. If
AUTOMATIC
, a managed certificate is automatically provisioned. IfMANUAL
,certificateId
must be manually specified in order to configure SSL for this domain. Possible values are:AUTOMATIC
,MANUAL
. - certificate
Id string - ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will
remove SSL support.
By default, a managed certificate is automatically created for every domain mapping. To omit SSL support
or to configure SSL manually, specify
SslManagementType.MANUAL
on aCREATE
orUPDATE
request. You must be authorized to administer theAuthorizedCertificate
resource to manually map it to a DomainMapping resource. Example: 12345. - pending
Managed stringCertificate Id - (Output)
ID of the managed
AuthorizedCertificate
resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, thecertificateId
field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear thecertificateId
field with an update request.
- ssl_
management_ strtype - SSL management type for this domain. If
AUTOMATIC
, a managed certificate is automatically provisioned. IfMANUAL
,certificateId
must be manually specified in order to configure SSL for this domain. Possible values are:AUTOMATIC
,MANUAL
. - certificate_
id str - ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will
remove SSL support.
By default, a managed certificate is automatically created for every domain mapping. To omit SSL support
or to configure SSL manually, specify
SslManagementType.MANUAL
on aCREATE
orUPDATE
request. You must be authorized to administer theAuthorizedCertificate
resource to manually map it to a DomainMapping resource. Example: 12345. - pending_
managed_ strcertificate_ id - (Output)
ID of the managed
AuthorizedCertificate
resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, thecertificateId
field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear thecertificateId
field with an update request.
- ssl
Management StringType - SSL management type for this domain. If
AUTOMATIC
, a managed certificate is automatically provisioned. IfMANUAL
,certificateId
must be manually specified in order to configure SSL for this domain. Possible values are:AUTOMATIC
,MANUAL
. - certificate
Id String - ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will
remove SSL support.
By default, a managed certificate is automatically created for every domain mapping. To omit SSL support
or to configure SSL manually, specify
SslManagementType.MANUAL
on aCREATE
orUPDATE
request. You must be authorized to administer theAuthorizedCertificate
resource to manually map it to a DomainMapping resource. Example: 12345. - pending
Managed StringCertificate Id - (Output)
ID of the managed
AuthorizedCertificate
resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, thecertificateId
field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear thecertificateId
field with an update request.
Import
DomainMapping can be imported using any of these accepted formats:
apps/{{project}}/domainMappings/{{domain_name}}
{{project}}/{{domain_name}}
{{domain_name}}
When using the pulumi import
command, DomainMapping can be imported using one of the formats above. For example:
$ pulumi import gcp:appengine/domainMapping:DomainMapping default apps/{{project}}/domainMappings/{{domain_name}}
$ pulumi import gcp:appengine/domainMapping:DomainMapping default {{project}}/{{domain_name}}
$ pulumi import gcp:appengine/domainMapping:DomainMapping default {{domain_name}}
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.