Creating and configuring AWS managed domains (original) (raw)
You create a configurable endpoint on an AWS managed domain by using the CreateDomainConfiguration API. A domain configuration for an AWS managed domain consists of the following:
domainConfigurationName
A user-defined name that identifies the domain configuration and the value must be unique to your AWS Region. You can't use domain configuration names that start withIoT:
because they are reserved for default endpoints.defaultAuthorizerName
(optional)
The name of the custom authorizer to use on the endpoint.allowAuthorizerOverride
(optional)
A Boolean value that specifies whether devices can override the default authorizer by specifying a different authorizer in the HTTP header of the request. This value is required if a value fordefaultAuthorizerName
is specified.serviceType
(optional)
The service type that the endpoint delivers. AWS IoT Core only supports theDATA
service type. When you specifyDATA
, AWS IoT Core returns an endpoint with an endpoint type ofiot:Data-ATS
. You can't create a configurableiot:Data
(VeriSign) endpoint.TlsConfig
(optional)
An object that specifies the TLS configuration for a domain. For more information, see Configuring TLS settings in domain configurations.
The following example AWS CLI command creates a domain configuration for aData
endpoint.
aws iot create-domain-configuration --domain-configuration-name "myDomainConfigurationName" --service-type "DATA"
The output of the command can look like the following.
{
"domainConfigurationName": "myDomainConfigurationName",
"domainConfigurationArn": "arn:aws:iot:us-east-1:123456789012:domainconfiguration/myDomainConfigurationName/itihw"
}
What is a domain configuration?
Creating and configuring customer managed domains
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.