DomainConfigurationArgs

data class DomainConfigurationArgs(val authorizerConfig: Output<DomainConfigurationAuthorizerConfigArgs>? = null, val domainName: Output<String>? = null, val name: Output<String>? = null, val serverCertificateArns: Output<List<String>>? = null, val serviceType: Output<String>? = null, val status: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tlsConfig: Output<DomainConfigurationTlsConfigArgs>? = null, val validationCertificateArn: Output<String>? = null) : ConvertibleToJava<DomainConfigurationArgs>

Creates and manages an AWS IoT domain configuration.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iot.DomainConfiguration;
import com.pulumi.aws.iot.DomainConfigurationArgs;
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 iot = new DomainConfiguration("iot", DomainConfigurationArgs.builder()
.domainName("iot.example.com")
.serviceType("DATA")
.serverCertificateArns(aws_acm_certificate.cert().arn())
.build());
}
}

Import

Using pulumi import, import domain configurations using the name. For example:

$ pulumi import aws:iot/domainConfiguration:DomainConfiguration example example

Constructors

Link copied to clipboard
fun DomainConfigurationArgs(authorizerConfig: Output<DomainConfigurationAuthorizerConfigArgs>? = null, domainName: Output<String>? = null, name: Output<String>? = null, serverCertificateArns: Output<List<String>>? = null, serviceType: Output<String>? = null, status: Output<String>? = null, tags: Output<Map<String, String>>? = null, tlsConfig: Output<DomainConfigurationTlsConfigArgs>? = null, validationCertificateArn: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): DomainConfigurationArgs

Properties

Link copied to clipboard

An object that specifies the authorization service for a domain. See below.

Link copied to clipboard
val domainName: Output<String>? = null

Fully-qualified domain name.

Link copied to clipboard
val name: Output<String>? = null

The name of the domain configuration. This value must be unique to a region.

Link copied to clipboard
val serverCertificateArns: Output<List<String>>? = null

The ARNs of the certificates that IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for Amazon Web Services-managed domains. When using a custom domain_name, the cert must include it.

Link copied to clipboard
val serviceType: Output<String>? = null

The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.

Link copied to clipboard
val status: Output<String>? = null
Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Map of tags to assign to this resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard

An object that specifies the TLS configuration for a domain. See below.

Link copied to clipboard
val validationCertificateArn: Output<String>? = null

The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for Amazon Web Services-managed domains.