DomainMapping
A domain serving an App Engine application.
To get more information about DomainMapping, see:
- API documentation
- How-to Guides
Create a DomainMapping Resource
new DomainMapping(name: string, args: DomainMappingArgs, opts?: CustomResourceOptions);def DomainMapping(resource_name, opts=None, domain_name=None, override_strategy=None, project=None, ssl_settings=None, __props__=None);func NewDomainMapping(ctx *Context, name string, args DomainMappingArgs, opts ...ResourceOption) (*DomainMapping, error)public DomainMapping(string name, DomainMappingArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
DomainMapping Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model 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.
- 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.
- 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.
- 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.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ssl_
settings Dict[DomainMapping Ssl Settings] 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
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- 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.
Look up an 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): DomainMappingstatic get(resource_name, id, opts=None, domain_name=None, name=None, override_strategy=None, project=None, resource_records=None, ssl_settings=None, __props__=None);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)- 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.
The following state arguments are supported:
- Domain
Name string Relative name of the domain serving the application. Example: example.com.
- Name string
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- Override
Strategy string Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- 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 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.
- 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
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- Override
Strategy string Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- 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.
- 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
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- override
Strategy string Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- 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.
- 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
Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.
- override_
strategy str Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- project str
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.
- ssl_
settings Dict[DomainMapping Ssl Settings] SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.
Supporting Types
DomainMappingResourceRecord
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
DomainMappingSslSettings
- Ssl
Management stringType SSL management type for this domain. If
AUTOMATIC, a managed certificate is automatically provisioned. IfMANUAL,certificateIdmust be manually specified in order to configure SSL for this domain.- 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.MANUALon aCREATEorUPDATErequest. You must be authorized to administer theAuthorizedCertificateresource to manually map it to a DomainMapping resource. Example: 12345.- Pending
Managed stringCertificate Id - ID of the managed
AuthorizedCertificateresource 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, thecertificateIdfield 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 thecertificateIdfield with an update request.
- Ssl
Management stringType SSL management type for this domain. If
AUTOMATIC, a managed certificate is automatically provisioned. IfMANUAL,certificateIdmust be manually specified in order to configure SSL for this domain.- 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.MANUALon aCREATEorUPDATErequest. You must be authorized to administer theAuthorizedCertificateresource to manually map it to a DomainMapping resource. Example: 12345.- Pending
Managed stringCertificate Id - ID of the managed
AuthorizedCertificateresource 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, thecertificateIdfield 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 thecertificateIdfield with an update request.
- ssl
Management stringType SSL management type for this domain. If
AUTOMATIC, a managed certificate is automatically provisioned. IfMANUAL,certificateIdmust be manually specified in order to configure SSL for this domain.- 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.MANUALon aCREATEorUPDATErequest. You must be authorized to administer theAuthorizedCertificateresource to manually map it to a DomainMapping resource. Example: 12345.- pending
Managed stringCertificate Id - ID of the managed
AuthorizedCertificateresource 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, thecertificateIdfield 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 thecertificateIdfield with an update request.
- ssl
Management strType SSL management type for this domain. If
AUTOMATIC, a managed certificate is automatically provisioned. IfMANUAL,certificateIdmust be manually specified in order to configure SSL for this domain.- 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.MANUALon aCREATEorUPDATErequest. You must be authorized to administer theAuthorizedCertificateresource to manually map it to a DomainMapping resource. Example: 12345.- pending
Managed strCertificate Id - ID of the managed
AuthorizedCertificateresource 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, thecertificateIdfield 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 thecertificateIdfield with an update request.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.