Skip to main content

domain_configurations

Creates, updates, deletes or gets a domain_configuration resource or lists domain_configurations in a region

Overview

Namedomain_configurations
TypeResource
DescriptionCreate and manage a Domain Configuration
Idaws.iot.domain_configurations

Fields

NameDatatypeDescription
domain_configuration_namestring
authorizer_configobject
domain_namestring
server_certificate_arnsarray
service_typestring
validation_certificate_arnstring
arnstring
domain_configuration_statusstring
domain_typestring
server_certificate_configobject
server_certificatesarray
tls_configobject
tagsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERT, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all domain_configurations in a region.

SELECT
region,
domain_configuration_name,
authorizer_config,
domain_name,
server_certificate_arns,
service_type,
validation_certificate_arn,
arn,
domain_configuration_status,
domain_type,
server_certificate_config,
server_certificates,
tls_config,
tags
FROM aws.iot.domain_configurations
WHERE region = 'us-east-1';

Gets all properties from an individual domain_configuration.

SELECT
region,
domain_configuration_name,
authorizer_config,
domain_name,
server_certificate_arns,
service_type,
validation_certificate_arn,
arn,
domain_configuration_status,
domain_type,
server_certificate_config,
server_certificates,
tls_config,
tags
FROM aws.iot.domain_configurations
WHERE region = 'us-east-1' AND data__Identifier = '<DomainConfigurationName>';

INSERT example

Use the following StackQL query and manifest file to create a new domain_configuration resource, using stack-deploy.

/*+ create */
INSERT INTO aws.iot.domain_configurations (
,
region
)
SELECT
'{{ }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.iot.domain_configurations
WHERE data__Identifier = '<DomainConfigurationName>'
AND region = 'us-east-1';

Permissions

To operate on the domain_configurations resource, the following permissions are required:

Create

iot:CreateDomainConfiguration,
iot:UpdateDomainConfiguration,
iot:DescribeDomainConfiguration,
iot:TagResource,
iot:ListTagsForResource,
acm:GetCertificate

Read

iot:DescribeDomainConfiguration,
iot:ListTagsForResource

Update

iot:UpdateDomainConfiguration,
iot:DescribeDomainConfiguration,
iot:ListTagsForResource,
iot:TagResource,
iot:UntagResource

Delete

iot:DescribeDomainConfiguration,
iot:DeleteDomainConfiguration,
iot:UpdateDomainConfiguration

List

iot:ListDomainConfigurations