1. Packages
  2. AWS Classic
  3. API Docs
  4. iot
  5. DomainConfiguration

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.iot.DomainConfiguration

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Creates and manages an AWS IoT domain configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const iot = new aws.iot.DomainConfiguration("iot", {
        name: "iot-",
        domainName: "iot.example.com",
        serviceType: "DATA",
        serverCertificateArns: [cert.arn],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    iot = aws.iot.DomainConfiguration("iot",
        name="iot-",
        domain_name="iot.example.com",
        service_type="DATA",
        server_certificate_arns=[cert["arn"]])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iot"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iot.NewDomainConfiguration(ctx, "iot", &iot.DomainConfigurationArgs{
    			Name:        pulumi.String("iot-"),
    			DomainName:  pulumi.String("iot.example.com"),
    			ServiceType: pulumi.String("DATA"),
    			ServerCertificateArns: pulumi.StringArray{
    				cert.Arn,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var iot = new Aws.Iot.DomainConfiguration("iot", new()
        {
            Name = "iot-",
            DomainName = "iot.example.com",
            ServiceType = "DATA",
            ServerCertificateArns = new[]
            {
                cert.Arn,
            },
        });
    
    });
    
    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()
                .name("iot-")
                .domainName("iot.example.com")
                .serviceType("DATA")
                .serverCertificateArns(cert.arn())
                .build());
    
        }
    }
    
    resources:
      iot:
        type: aws:iot:DomainConfiguration
        properties:
          name: iot-
          domainName: iot.example.com
          serviceType: DATA
          serverCertificateArns:
            - ${cert.arn}
    

    Create DomainConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DomainConfiguration(name: string, args?: DomainConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def DomainConfiguration(resource_name: str,
                            args: Optional[DomainConfigurationArgs] = None,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DomainConfiguration(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            authorizer_config: Optional[DomainConfigurationAuthorizerConfigArgs] = None,
                            domain_name: Optional[str] = None,
                            name: Optional[str] = None,
                            server_certificate_arns: Optional[Sequence[str]] = None,
                            service_type: Optional[str] = None,
                            status: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            tls_config: Optional[DomainConfigurationTlsConfigArgs] = None,
                            validation_certificate_arn: Optional[str] = None)
    func NewDomainConfiguration(ctx *Context, name string, args *DomainConfigurationArgs, opts ...ResourceOption) (*DomainConfiguration, error)
    public DomainConfiguration(string name, DomainConfigurationArgs? args = null, CustomResourceOptions? opts = null)
    public DomainConfiguration(String name, DomainConfigurationArgs args)
    public DomainConfiguration(String name, DomainConfigurationArgs args, CustomResourceOptions options)
    
    type: aws:iot:DomainConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DomainConfigurationArgs
    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 DomainConfigurationArgs
    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 DomainConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DomainConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DomainConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var domainConfigurationResource = new Aws.Iot.DomainConfiguration("domainConfigurationResource", new()
    {
        AuthorizerConfig = new Aws.Iot.Inputs.DomainConfigurationAuthorizerConfigArgs
        {
            AllowAuthorizerOverride = false,
            DefaultAuthorizerName = "string",
        },
        DomainName = "string",
        Name = "string",
        ServerCertificateArns = new[]
        {
            "string",
        },
        ServiceType = "string",
        Status = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TlsConfig = new Aws.Iot.Inputs.DomainConfigurationTlsConfigArgs
        {
            SecurityPolicy = "string",
        },
        ValidationCertificateArn = "string",
    });
    
    example, err := iot.NewDomainConfiguration(ctx, "domainConfigurationResource", &iot.DomainConfigurationArgs{
    	AuthorizerConfig: &iot.DomainConfigurationAuthorizerConfigArgs{
    		AllowAuthorizerOverride: pulumi.Bool(false),
    		DefaultAuthorizerName:   pulumi.String("string"),
    	},
    	DomainName: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	ServerCertificateArns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServiceType: pulumi.String("string"),
    	Status:      pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TlsConfig: &iot.DomainConfigurationTlsConfigArgs{
    		SecurityPolicy: pulumi.String("string"),
    	},
    	ValidationCertificateArn: pulumi.String("string"),
    })
    
    var domainConfigurationResource = new DomainConfiguration("domainConfigurationResource", DomainConfigurationArgs.builder()
        .authorizerConfig(DomainConfigurationAuthorizerConfigArgs.builder()
            .allowAuthorizerOverride(false)
            .defaultAuthorizerName("string")
            .build())
        .domainName("string")
        .name("string")
        .serverCertificateArns("string")
        .serviceType("string")
        .status("string")
        .tags(Map.of("string", "string"))
        .tlsConfig(DomainConfigurationTlsConfigArgs.builder()
            .securityPolicy("string")
            .build())
        .validationCertificateArn("string")
        .build());
    
    domain_configuration_resource = aws.iot.DomainConfiguration("domainConfigurationResource",
        authorizer_config={
            "allowAuthorizerOverride": False,
            "defaultAuthorizerName": "string",
        },
        domain_name="string",
        name="string",
        server_certificate_arns=["string"],
        service_type="string",
        status="string",
        tags={
            "string": "string",
        },
        tls_config={
            "securityPolicy": "string",
        },
        validation_certificate_arn="string")
    
    const domainConfigurationResource = new aws.iot.DomainConfiguration("domainConfigurationResource", {
        authorizerConfig: {
            allowAuthorizerOverride: false,
            defaultAuthorizerName: "string",
        },
        domainName: "string",
        name: "string",
        serverCertificateArns: ["string"],
        serviceType: "string",
        status: "string",
        tags: {
            string: "string",
        },
        tlsConfig: {
            securityPolicy: "string",
        },
        validationCertificateArn: "string",
    });
    
    type: aws:iot:DomainConfiguration
    properties:
        authorizerConfig:
            allowAuthorizerOverride: false
            defaultAuthorizerName: string
        domainName: string
        name: string
        serverCertificateArns:
            - string
        serviceType: string
        status: string
        tags:
            string: string
        tlsConfig:
            securityPolicy: string
        validationCertificateArn: string
    

    DomainConfiguration 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 DomainConfiguration resource accepts the following input properties:

    AuthorizerConfig DomainConfigurationAuthorizerConfig
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    DomainName string
    Fully-qualified domain name.
    Name string
    The name of the domain configuration. This value must be unique to a region.
    ServerCertificateArns List<string>
    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.
    ServiceType string
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    Status string
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    Tags Dictionary<string, string>
    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.
    TlsConfig DomainConfigurationTlsConfig
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    ValidationCertificateArn string
    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.
    AuthorizerConfig DomainConfigurationAuthorizerConfigArgs
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    DomainName string
    Fully-qualified domain name.
    Name string
    The name of the domain configuration. This value must be unique to a region.
    ServerCertificateArns []string
    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.
    ServiceType string
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    Status string
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    Tags map[string]string
    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.
    TlsConfig DomainConfigurationTlsConfigArgs
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    ValidationCertificateArn string
    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.
    authorizerConfig DomainConfigurationAuthorizerConfig
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domainName String
    Fully-qualified domain name.
    name String
    The name of the domain configuration. This value must be unique to a region.
    serverCertificateArns List<String>
    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.
    serviceType String
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status String
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags Map<String,String>
    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.
    tlsConfig DomainConfigurationTlsConfig
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validationCertificateArn String
    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.
    authorizerConfig DomainConfigurationAuthorizerConfig
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domainName string
    Fully-qualified domain name.
    name string
    The name of the domain configuration. This value must be unique to a region.
    serverCertificateArns string[]
    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.
    serviceType string
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status string
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags {[key: string]: string}
    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.
    tlsConfig DomainConfigurationTlsConfig
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validationCertificateArn string
    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.
    authorizer_config DomainConfigurationAuthorizerConfigArgs
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domain_name str
    Fully-qualified domain name.
    name str
    The name of the domain configuration. This value must be unique to a region.
    server_certificate_arns Sequence[str]
    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.
    service_type str
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status str
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags Mapping[str, str]
    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.
    tls_config DomainConfigurationTlsConfigArgs
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validation_certificate_arn str
    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.
    authorizerConfig Property Map
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domainName String
    Fully-qualified domain name.
    name String
    The name of the domain configuration. This value must be unique to a region.
    serverCertificateArns List<String>
    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.
    serviceType String
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status String
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags Map<String>
    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.
    tlsConfig Property Map
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validationCertificateArn String
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DomainConfiguration resource produces the following output properties:

    Arn string
    The ARN of the domain configuration.
    DomainType string
    The type of the domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    The ARN of the domain configuration.
    DomainType string
    The type of the domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The ARN of the domain configuration.
    domainType String
    The type of the domain.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    The ARN of the domain configuration.
    domainType string
    The type of the domain.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    The ARN of the domain configuration.
    domain_type str
    The type of the domain.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The ARN of the domain configuration.
    domainType String
    The type of the domain.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing DomainConfiguration Resource

    Get an existing DomainConfiguration 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?: DomainConfigurationState, opts?: CustomResourceOptions): DomainConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            authorizer_config: Optional[DomainConfigurationAuthorizerConfigArgs] = None,
            domain_name: Optional[str] = None,
            domain_type: Optional[str] = None,
            name: Optional[str] = None,
            server_certificate_arns: Optional[Sequence[str]] = None,
            service_type: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            tls_config: Optional[DomainConfigurationTlsConfigArgs] = None,
            validation_certificate_arn: Optional[str] = None) -> DomainConfiguration
    func GetDomainConfiguration(ctx *Context, name string, id IDInput, state *DomainConfigurationState, opts ...ResourceOption) (*DomainConfiguration, error)
    public static DomainConfiguration Get(string name, Input<string> id, DomainConfigurationState? state, CustomResourceOptions? opts = null)
    public static DomainConfiguration get(String name, Output<String> id, DomainConfigurationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    Arn string
    The ARN of the domain configuration.
    AuthorizerConfig DomainConfigurationAuthorizerConfig
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    DomainName string
    Fully-qualified domain name.
    DomainType string
    The type of the domain.
    Name string
    The name of the domain configuration. This value must be unique to a region.
    ServerCertificateArns List<string>
    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.
    ServiceType string
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    Status string
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    Tags Dictionary<string, string>
    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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    TlsConfig DomainConfigurationTlsConfig
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    ValidationCertificateArn string
    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.
    Arn string
    The ARN of the domain configuration.
    AuthorizerConfig DomainConfigurationAuthorizerConfigArgs
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    DomainName string
    Fully-qualified domain name.
    DomainType string
    The type of the domain.
    Name string
    The name of the domain configuration. This value must be unique to a region.
    ServerCertificateArns []string
    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.
    ServiceType string
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    Status string
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    Tags map[string]string
    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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    TlsConfig DomainConfigurationTlsConfigArgs
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    ValidationCertificateArn string
    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.
    arn String
    The ARN of the domain configuration.
    authorizerConfig DomainConfigurationAuthorizerConfig
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domainName String
    Fully-qualified domain name.
    domainType String
    The type of the domain.
    name String
    The name of the domain configuration. This value must be unique to a region.
    serverCertificateArns List<String>
    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.
    serviceType String
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status String
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags Map<String,String>
    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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tlsConfig DomainConfigurationTlsConfig
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validationCertificateArn String
    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.
    arn string
    The ARN of the domain configuration.
    authorizerConfig DomainConfigurationAuthorizerConfig
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domainName string
    Fully-qualified domain name.
    domainType string
    The type of the domain.
    name string
    The name of the domain configuration. This value must be unique to a region.
    serverCertificateArns string[]
    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.
    serviceType string
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status string
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags {[key: string]: string}
    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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tlsConfig DomainConfigurationTlsConfig
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validationCertificateArn string
    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.
    arn str
    The ARN of the domain configuration.
    authorizer_config DomainConfigurationAuthorizerConfigArgs
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domain_name str
    Fully-qualified domain name.
    domain_type str
    The type of the domain.
    name str
    The name of the domain configuration. This value must be unique to a region.
    server_certificate_arns Sequence[str]
    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.
    service_type str
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status str
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags Mapping[str, str]
    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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tls_config DomainConfigurationTlsConfigArgs
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validation_certificate_arn str
    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.
    arn String
    The ARN of the domain configuration.
    authorizerConfig Property Map
    An object that specifies the authorization service for a domain. See the authorizer_config Block below for details.
    domainName String
    Fully-qualified domain name.
    domainType String
    The type of the domain.
    name String
    The name of the domain configuration. This value must be unique to a region.
    serverCertificateArns List<String>
    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.
    serviceType String
    The type of service delivered by the endpoint. Note: Amazon Web Services IoT Core currently supports only the DATA service type.
    status String
    The status to which the domain configuration should be set. Valid values are ENABLED and DISABLED.
    tags Map<String>
    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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tlsConfig Property Map
    An object that specifies the TLS configuration for a domain. See the tls_config Block below for details.
    validationCertificateArn String
    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.

    Supporting Types

    DomainConfigurationAuthorizerConfig, DomainConfigurationAuthorizerConfigArgs

    AllowAuthorizerOverride bool
    A Boolean that specifies whether the domain configuration's authorization service can be overridden.
    DefaultAuthorizerName string
    The name of the authorization service for a domain configuration.
    AllowAuthorizerOverride bool
    A Boolean that specifies whether the domain configuration's authorization service can be overridden.
    DefaultAuthorizerName string
    The name of the authorization service for a domain configuration.
    allowAuthorizerOverride Boolean
    A Boolean that specifies whether the domain configuration's authorization service can be overridden.
    defaultAuthorizerName String
    The name of the authorization service for a domain configuration.
    allowAuthorizerOverride boolean
    A Boolean that specifies whether the domain configuration's authorization service can be overridden.
    defaultAuthorizerName string
    The name of the authorization service for a domain configuration.
    allow_authorizer_override bool
    A Boolean that specifies whether the domain configuration's authorization service can be overridden.
    default_authorizer_name str
    The name of the authorization service for a domain configuration.
    allowAuthorizerOverride Boolean
    A Boolean that specifies whether the domain configuration's authorization service can be overridden.
    defaultAuthorizerName String
    The name of the authorization service for a domain configuration.

    DomainConfigurationTlsConfig, DomainConfigurationTlsConfigArgs

    SecurityPolicy string
    The security policy for a domain configuration.
    SecurityPolicy string
    The security policy for a domain configuration.
    securityPolicy String
    The security policy for a domain configuration.
    securityPolicy string
    The security policy for a domain configuration.
    security_policy str
    The security policy for a domain configuration.
    securityPolicy String
    The security policy for a domain configuration.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi