aws.iot.DomainConfiguration
Explore with Pulumi AI
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={
"allow_authorizer_override": False,
"default_authorizer_name": "string",
},
domain_name="string",
name="string",
server_certificate_arns=["string"],
service_type="string",
status="string",
tags={
"string": "string",
},
tls_config={
"security_policy": "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DomainConfiguration resource accepts the following input properties:
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - Domain
Name string - Fully-qualified domain name.
- Name string
- The name of the domain configuration. This value must be unique to a region.
- Server
Certificate List<string>Arns - 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 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
andDISABLED
. - 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. - Tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - Validation
Certificate stringArn - 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.
- Domain
Configuration Authorizer Config Args - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - Domain
Name string - Fully-qualified domain name.
- Name string
- The name of the domain configuration. This value must be unique to a region.
- Server
Certificate []stringArns - 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 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
andDISABLED
. - 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. - Tls
Config DomainConfiguration Tls Config Args - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - Validation
Certificate stringArn - 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.
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - domain
Name String - Fully-qualified domain name.
- name String
- The name of the domain configuration. This value must be unique to a region.
- server
Certificate List<String>Arns - 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 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
andDISABLED
. - 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. - tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation
Certificate StringArn - 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.
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - domain
Name string - Fully-qualified domain name.
- name string
- The name of the domain configuration. This value must be unique to a region.
- server
Certificate string[]Arns - 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 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
andDISABLED
. - {[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. - tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation
Certificate stringArn - 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.
- Domain
Configuration Authorizer Config Args - 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_ Sequence[str]arns - 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
andDISABLED
. - 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 DomainConfiguration Tls Config Args - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation_
certificate_ strarn - 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.
- Property Map
- An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - domain
Name String - Fully-qualified domain name.
- name String
- The name of the domain configuration. This value must be unique to a region.
- server
Certificate List<String>Arns - 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 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
andDISABLED
. - 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. - tls
Config Property Map - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation
Certificate StringArn - 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.
- Domain
Type string - The type of the domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- The ARN of the domain configuration.
- Domain
Type string - The type of the domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- The ARN of the domain configuration.
- domain
Type String - The type of the domain.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- The ARN of the domain configuration.
- domain
Type string - The type of the domain.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- 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.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- The ARN of the domain configuration.
- domain
Type String - The type of the domain.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
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.
- Arn string
- The ARN of the domain configuration.
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - Domain
Name string - Fully-qualified domain name.
- Domain
Type string - The type of the domain.
- Name string
- The name of the domain configuration. This value must be unique to a region.
- Server
Certificate List<string>Arns - 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 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
andDISABLED
. - 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. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - Validation
Certificate stringArn - 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.
- Domain
Configuration Authorizer Config Args - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - Domain
Name string - Fully-qualified domain name.
- Domain
Type string - The type of the domain.
- Name string
- The name of the domain configuration. This value must be unique to a region.
- Server
Certificate []stringArns - 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 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
andDISABLED
. - 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. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Tls
Config DomainConfiguration Tls Config Args - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - Validation
Certificate stringArn - 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.
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - domain
Name String - Fully-qualified domain name.
- domain
Type String - The type of the domain.
- name String
- The name of the domain configuration. This value must be unique to a region.
- server
Certificate List<String>Arns - 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 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
andDISABLED
. - 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. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation
Certificate StringArn - 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.
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - domain
Name string - Fully-qualified domain name.
- domain
Type string - The type of the domain.
- name string
- The name of the domain configuration. This value must be unique to a region.
- server
Certificate string[]Arns - 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 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
andDISABLED
. - {[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. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation
Certificate stringArn - 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.
- Domain
Configuration Authorizer Config Args - 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_ Sequence[str]arns - 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
andDISABLED
. - 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. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tls_
config DomainConfiguration Tls Config Args - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation_
certificate_ strarn - 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.
- Property Map
- An object that specifies the authorization service for a domain. See the
authorizer_config
Block below for details. - domain
Name String - Fully-qualified domain name.
- domain
Type String - The type of the domain.
- name String
- The name of the domain configuration. This value must be unique to a region.
- server
Certificate List<String>Arns - 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 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
andDISABLED
. - 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. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tls
Config Property Map - An object that specifies the TLS configuration for a domain. See the
tls_config
Block below for details. - validation
Certificate StringArn - 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
- bool
- A Boolean that specifies whether the domain configuration's authorization service can be overridden.
- string
- The name of the authorization service for a domain configuration.
- bool
- A Boolean that specifies whether the domain configuration's authorization service can be overridden.
- string
- The name of the authorization service for a domain configuration.
- Boolean
- A Boolean that specifies whether the domain configuration's authorization service can be overridden.
- String
- The name of the authorization service for a domain configuration.
- boolean
- A Boolean that specifies whether the domain configuration's authorization service can be overridden.
- string
- The name of the authorization service for a domain configuration.
- bool
- A Boolean that specifies whether the domain configuration's authorization service can be overridden.
- str
- The name of the authorization service for a domain configuration.
- Boolean
- A Boolean that specifies whether the domain configuration's authorization service can be overridden.
- String
- The name of the authorization service for a domain configuration.
DomainConfigurationTlsConfig, DomainConfigurationTlsConfigArgs
- Security
Policy string - The security policy for a domain configuration.
- Security
Policy string - The security policy for a domain configuration.
- security
Policy String - The security policy for a domain configuration.
- security
Policy string - The security policy for a domain configuration.
- security_
policy str - The security policy for a domain configuration.
- security
Policy 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.