Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.appengine/v1alpha.DomainMapping
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. Auto-naming is currently not supported for this resource.
Create DomainMapping Resource
new DomainMapping(name: string, args: DomainMappingArgs, opts?: CustomResourceOptions);
@overload
def DomainMapping(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
id: Optional[str] = None,
no_managed_certificate: Optional[bool] = None,
override_strategy: Optional[str] = None,
ssl_settings: Optional[SslSettingsArgs] = None)
@overload
def DomainMapping(resource_name: str,
args: DomainMappingArgs,
opts: Optional[ResourceOptions] = 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: google-native:appengine/v1alpha:DomainMapping
properties: # The arguments to resource properties.
options: # 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.
- 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.
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:
- App
Id string - Id string
Relative name of the domain serving the application. Example: example.com.
- No
Managed boolCertificate Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
- Override
Strategy string Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- Ssl
Settings Pulumi.Google Native. App Engine. V1Alpha. Inputs. Ssl Settings SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
- App
Id string - Id string
Relative name of the domain serving the application. Example: example.com.
- No
Managed boolCertificate Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
- Override
Strategy string Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- Ssl
Settings SslSettings Args SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
- app
Id String - id String
Relative name of the domain serving the application. Example: example.com.
- no
Managed BooleanCertificate Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
- override
Strategy String Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- ssl
Settings SslSettings SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
- app
Id string - id string
Relative name of the domain serving the application. Example: example.com.
- no
Managed booleanCertificate Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
- override
Strategy string Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- ssl
Settings SslSettings SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
- app_
id str - id str
Relative name of the domain serving the application. Example: example.com.
- no_
managed_ boolcertificate Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
- override_
strategy str Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- ssl_
settings SslSettings Args SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
- app
Id String - id String
Relative name of the domain serving the application. Example: example.com.
- no
Managed BooleanCertificate Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
- override
Strategy String Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
- ssl
Settings Property Map SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
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<Pulumi.Google Native. App Engine. V1Alpha. Outputs. Resource Record Response> 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 []ResourceRecord Response 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 List<ResourceRecord Response> 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 ResourceRecord Response[] 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 Sequence[ResourceRecord Response] 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 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.
Supporting Types
ResourceRecordResponse, ResourceRecordResponseArgs
SslSettings, SslSettingsArgs
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
SslSettingsResponse, SslSettingsResponseArgs
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- Is
Managed boolCertificate Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- Is
Managed boolCertificate Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- is
Managed BooleanCertificate Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- is
Managed booleanCertificate Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- is_
managed_ boolcertificate Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.
- 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 no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
- is
Managed BooleanCertificate Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE request.
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.