We recommend new projects start with resources from the AWS provider.
aws-native.iot.DomainConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Create and manage a Domain Configuration
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_configuration_name: Optional[str] = None,
domain_configuration_status: Optional[DomainConfigurationStatus] = None,
domain_name: Optional[str] = None,
server_certificate_arns: Optional[Sequence[str]] = None,
server_certificate_config: Optional[DomainConfigurationServerCertificateConfigArgs] = None,
service_type: Optional[DomainConfigurationServiceType] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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-native: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.
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:
- Pulumi.
Aws Native. Io T. Inputs. Domain Configuration Authorizer Config - An object that specifies the authorization service for a domain.
- Domain
Configuration stringName - The name of the domain configuration. This value must be unique to a region.
- Domain
Configuration Pulumi.Status Aws Native. Io T. Domain Configuration Status The status to which the domain configuration should be updated.
Valid values:
ENABLED
|DISABLED
- Domain
Name string - The name of the domain.
- Server
Certificate List<string>Arns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- Server
Certificate Pulumi.Config Aws Native. Io T. Inputs. Domain Configuration Server Certificate Config The server certificate configuration.
For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- Service
Type Pulumi.Aws Native. Io T. Domain Configuration Service Type The type of service delivered by the endpoint.
AWS IoT Core currently supports only the
DATA
service type.- List<Pulumi.
Aws Native. Inputs. Tag> Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Tls
Config Pulumi.Aws Native. Io T. Inputs. Domain Configuration Tls Config - An object that specifies the TLS configuration for a domain.
- 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 AWS -managed domains.
- Domain
Configuration Authorizer Config Args - An object that specifies the authorization service for a domain.
- Domain
Configuration stringName - The name of the domain configuration. This value must be unique to a region.
- Domain
Configuration DomainStatus Configuration Status The status to which the domain configuration should be updated.
Valid values:
ENABLED
|DISABLED
- Domain
Name string - The name of the domain.
- Server
Certificate []stringArns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- Server
Certificate DomainConfig Configuration Server Certificate Config Args The server certificate configuration.
For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- Service
Type DomainConfiguration Service Type The type of service delivered by the endpoint.
AWS IoT Core currently supports only the
DATA
service type.- Tag
Args Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Tls
Config DomainConfiguration Tls Config Args - An object that specifies the TLS configuration for a domain.
- 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 AWS -managed domains.
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain.
- domain
Configuration StringName - The name of the domain configuration. This value must be unique to a region.
- domain
Configuration DomainStatus Configuration Status The status to which the domain configuration should be updated.
Valid values:
ENABLED
|DISABLED
- domain
Name String - The name of the domain.
- server
Certificate List<String>Arns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- server
Certificate DomainConfig Configuration Server Certificate Config The server certificate configuration.
For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- service
Type DomainConfiguration Service Type The type of service delivered by the endpoint.
AWS IoT Core currently supports only the
DATA
service type.- List<Tag>
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain.
- 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 AWS -managed domains.
- Domain
Configuration Authorizer Config - An object that specifies the authorization service for a domain.
- domain
Configuration stringName - The name of the domain configuration. This value must be unique to a region.
- domain
Configuration DomainStatus Configuration Status The status to which the domain configuration should be updated.
Valid values:
ENABLED
|DISABLED
- domain
Name string - The name of the domain.
- server
Certificate string[]Arns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- server
Certificate DomainConfig Configuration Server Certificate Config The server certificate configuration.
For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- service
Type DomainConfiguration Service Type The type of service delivered by the endpoint.
AWS IoT Core currently supports only the
DATA
service type.- Tag[]
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- tls
Config DomainConfiguration Tls Config - An object that specifies the TLS configuration for a domain.
- 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 AWS -managed domains.
- Domain
Configuration Authorizer Config Args - An object that specifies the authorization service for a domain.
- domain_
configuration_ strname - The name of the domain configuration. This value must be unique to a region.
- domain_
configuration_ Domainstatus Configuration Status The status to which the domain configuration should be updated.
Valid values:
ENABLED
|DISABLED
- domain_
name str - The name of the domain.
- server_
certificate_ Sequence[str]arns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- server_
certificate_ Domainconfig Configuration Server Certificate Config Args The server certificate configuration.
For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- service_
type DomainConfiguration Service Type The type of service delivered by the endpoint.
AWS IoT Core currently supports only the
DATA
service type.- Sequence[Tag
Args] Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- tls_
config DomainConfiguration Tls Config Args - An object that specifies the TLS configuration for a domain.
- 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 AWS -managed domains.
- Property Map
- An object that specifies the authorization service for a domain.
- domain
Configuration StringName - The name of the domain configuration. This value must be unique to a region.
- domain
Configuration "ENABLED" | "DISABLED"Status The status to which the domain configuration should be updated.
Valid values:
ENABLED
|DISABLED
- domain
Name String - The name of the domain.
- server
Certificate List<String>Arns - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- server
Certificate Property MapConfig The server certificate configuration.
For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- service
Type "DATA" | "CREDENTIAL_PROVIDER" | "JOBS" The type of service delivered by the endpoint.
AWS IoT Core currently supports only the
DATA
service type.- List<Property Map>
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- tls
Config Property Map - An object that specifies the TLS configuration for a domain.
- 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 AWS -managed domains.
Outputs
All input properties are implicitly available as output properties. Additionally, the DomainConfiguration resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the domain configuration.
- Domain
Type Pulumi.Aws Native. Io T. Domain Configuration Domain Type - The type of service delivered by the domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Certificates List<Pulumi.Aws Native. Io T. Outputs. Domain Configuration Server Certificate Summary> - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- Arn string
- The Amazon Resource Name (ARN) of the domain configuration.
- Domain
Type DomainConfiguration Domain Type - The type of service delivered by the domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Certificates []DomainConfiguration Server Certificate Summary - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- arn String
- The Amazon Resource Name (ARN) of the domain configuration.
- domain
Type DomainConfiguration Domain Type - The type of service delivered by the domain.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Certificates List<DomainConfiguration Server Certificate Summary> - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- arn string
- The Amazon Resource Name (ARN) of the domain configuration.
- domain
Type DomainConfiguration Domain Type - The type of service delivered by the domain.
- id string
- The provider-assigned unique ID for this managed resource.
- server
Certificates DomainConfiguration Server Certificate Summary[] - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- arn str
- The Amazon Resource Name (ARN) of the domain configuration.
- domain_
type DomainConfiguration Domain Type - The type of service delivered by the domain.
- id str
- The provider-assigned unique ID for this managed resource.
- server_
certificates Sequence[DomainConfiguration Server Certificate Summary] - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- arn String
- The Amazon Resource Name (ARN) of the domain configuration.
- domain
Type "ENDPOINT" | "AWS_MANAGED" | "CUSTOMER_MANAGED" - The type of service delivered by the domain.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Certificates List<Property Map> - The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -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.
DomainConfigurationDomainType, DomainConfigurationDomainTypeArgs
- Endpoint
- ENDPOINT
- Aws
Managed - AWS_MANAGED
- Customer
Managed - CUSTOMER_MANAGED
- Domain
Configuration Domain Type Endpoint - ENDPOINT
- Domain
Configuration Domain Type Aws Managed - AWS_MANAGED
- Domain
Configuration Domain Type Customer Managed - CUSTOMER_MANAGED
- Endpoint
- ENDPOINT
- Aws
Managed - AWS_MANAGED
- Customer
Managed - CUSTOMER_MANAGED
- Endpoint
- ENDPOINT
- Aws
Managed - AWS_MANAGED
- Customer
Managed - CUSTOMER_MANAGED
- ENDPOINT
- ENDPOINT
- AWS_MANAGED
- AWS_MANAGED
- CUSTOMER_MANAGED
- CUSTOMER_MANAGED
- "ENDPOINT"
- ENDPOINT
- "AWS_MANAGED"
- AWS_MANAGED
- "CUSTOMER_MANAGED"
- CUSTOMER_MANAGED
DomainConfigurationServerCertificateConfig, DomainConfigurationServerCertificateConfigArgs
- Enable
Ocsp boolCheck - A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- Enable
Ocsp boolCheck - A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- enable
Ocsp BooleanCheck - A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- enable
Ocsp booleanCheck - A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- enable_
ocsp_ boolcheck - A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- enable
Ocsp BooleanCheck - A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
DomainConfigurationServerCertificateSummary, DomainConfigurationServerCertificateSummaryArgs
- Server
Certificate stringArn - The ARN of the server certificate.
- Server
Certificate Pulumi.Status Aws Native. Io T. Domain Configuration Server Certificate Summary Server Certificate Status - The status of the server certificate.
- Server
Certificate stringStatus Detail - Details that explain the status of the server certificate.
- Server
Certificate stringArn - The ARN of the server certificate.
- Server
Certificate DomainStatus Configuration Server Certificate Summary Server Certificate Status - The status of the server certificate.
- Server
Certificate stringStatus Detail - Details that explain the status of the server certificate.
- server
Certificate StringArn - The ARN of the server certificate.
- server
Certificate DomainStatus Configuration Server Certificate Summary Server Certificate Status - The status of the server certificate.
- server
Certificate StringStatus Detail - Details that explain the status of the server certificate.
- server
Certificate stringArn - The ARN of the server certificate.
- server
Certificate DomainStatus Configuration Server Certificate Summary Server Certificate Status - The status of the server certificate.
- server
Certificate stringStatus Detail - Details that explain the status of the server certificate.
- server_
certificate_ strarn - The ARN of the server certificate.
- server_
certificate_ Domainstatus Configuration Server Certificate Summary Server Certificate Status - The status of the server certificate.
- server_
certificate_ strstatus_ detail - Details that explain the status of the server certificate.
- server
Certificate StringArn - The ARN of the server certificate.
- server
Certificate "INVALID" | "VALID"Status - The status of the server certificate.
- server
Certificate StringStatus Detail - Details that explain the status of the server certificate.
DomainConfigurationServerCertificateSummaryServerCertificateStatus, DomainConfigurationServerCertificateSummaryServerCertificateStatusArgs
- Invalid
- INVALID
- Valid
- VALID
- Domain
Configuration Server Certificate Summary Server Certificate Status Invalid - INVALID
- Domain
Configuration Server Certificate Summary Server Certificate Status Valid - VALID
- Invalid
- INVALID
- Valid
- VALID
- Invalid
- INVALID
- Valid
- VALID
- INVALID
- INVALID
- VALID
- VALID
- "INVALID"
- INVALID
- "VALID"
- VALID
DomainConfigurationServiceType, DomainConfigurationServiceTypeArgs
- Data
- DATA
- Credential
Provider - CREDENTIAL_PROVIDER
- Jobs
- JOBS
- Domain
Configuration Service Type Data - DATA
- Domain
Configuration Service Type Credential Provider - CREDENTIAL_PROVIDER
- Domain
Configuration Service Type Jobs - JOBS
- Data
- DATA
- Credential
Provider - CREDENTIAL_PROVIDER
- Jobs
- JOBS
- Data
- DATA
- Credential
Provider - CREDENTIAL_PROVIDER
- Jobs
- JOBS
- DATA
- DATA
- CREDENTIAL_PROVIDER
- CREDENTIAL_PROVIDER
- JOBS
- JOBS
- "DATA"
- DATA
- "CREDENTIAL_PROVIDER"
- CREDENTIAL_PROVIDER
- "JOBS"
- JOBS
DomainConfigurationStatus, DomainConfigurationStatusArgs
- Enabled
- ENABLED
- Disabled
- DISABLED
- Domain
Configuration Status Enabled - ENABLED
- Domain
Configuration Status Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
DomainConfigurationTlsConfig, DomainConfigurationTlsConfigArgs
- Security
Policy string - The security policy for a domain configuration. For more information, see Security policies in the AWS IoT Core developer guide .
- Security
Policy string - The security policy for a domain configuration. For more information, see Security policies in the AWS IoT Core developer guide .
- security
Policy String - The security policy for a domain configuration. For more information, see Security policies in the AWS IoT Core developer guide .
- security
Policy string - The security policy for a domain configuration. For more information, see Security policies in the AWS IoT Core developer guide .
- security_
policy str - The security policy for a domain configuration. For more information, see Security policies in the AWS IoT Core developer guide .
- security
Policy String - The security policy for a domain configuration. For more information, see Security policies in the AWS IoT Core developer guide .
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.