DomainName

class DomainName : KotlinCustomResource

Provides an AppSync Domain Name.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appsync.DomainName;
import com.pulumi.aws.appsync.DomainNameArgs;
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 example = new DomainName("example", DomainNameArgs.builder()
.domainName("api.example.com")
.certificateArn(aws_acm_certificate.example().arn())
.build());
}
}

Import

aws_appsync_domain_name can be imported using the AppSync domain name, e.g.,

$ pulumi import aws:appsync/domainName:DomainName example example.com

Properties

Link copied to clipboard

Domain name that AppSync provides.

Link copied to clipboard
val certificateArn: Output<String>

ARN of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must reside in us-east-1.

Link copied to clipboard
val description: Output<String>?

A description of the Domain Name.

Link copied to clipboard
val domainName: Output<String>

Domain name.

Link copied to clipboard
val hostedZoneId: Output<String>

ID of your Amazon Route 53 hosted zone.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>