Show / Hide Table of Contents

Class DomainMapping

A domain serving an App Engine application.

To get more information about DomainMapping, see:

  • API documentation
  • How-to Guides
  • Official Documentation

Example Usage - App Engine Domain Mapping Basic

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var domainMapping = new Gcp.AppEngine.DomainMapping("domainMapping", new Gcp.AppEngine.DomainMappingArgs
    {
        DomainName = "verified-domain.com",
        SslSettings = new Gcp.AppEngine.Inputs.DomainMappingSslSettingsArgs
        {
            SslManagementType = "AUTOMATIC",
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
DomainMapping
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.AppEngine
Assembly: Pulumi.Gcp.dll
Syntax
public class DomainMapping : CustomResource

Constructors

View Source

DomainMapping(String, DomainMappingArgs, CustomResourceOptions)

Create a DomainMapping resource with the given unique name, arguments, and options.

Declaration
public DomainMapping(string name, DomainMappingArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

DomainMappingArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

DomainName

Relative name of the domain serving the application. Example: example.com.

Declaration
public Output<string> DomainName { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

OverrideStrategy

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

Declaration
public Output<string> OverrideStrategy { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceRecords

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.

Declaration
public Output<ImmutableArray<DomainMappingResourceRecord>> ResourceRecords { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<DomainMappingResourceRecord>>
View Source

SslSettings

SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. Structure is documented below.

Declaration
public Output<DomainMappingSslSettings> SslSettings { get; }
Property Value
Type Description
Output<DomainMappingSslSettings>

Methods

View Source

Get(String, Input<String>, DomainMappingState, CustomResourceOptions)

Get an existing DomainMapping resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static DomainMapping Get(string name, Input<string> id, DomainMappingState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

DomainMappingState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
DomainMapping
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.