tencentcloud_api_gateway_custom_domain

Nivis Nix constructor for the tencentcloud_api_gateway_custom_domain resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  default_domain,
  net_type,
  protocol,
  service_id,
  sub_domain,
  certificate_id ? null,
  id ? null,
  is_default_mapping ? null,
  is_forced_https ? null,
  path_mappings ? null,
  overrides ? {}
}
Required arguments
  • default_domain
  • net_type
  • protocol
  • service_id
  • sub_domain
Optional arguments
  • certificate_id (defaults to null)
  • id (defaults to null)
  • is_default_mapping (defaults to null)
  • is_forced_https (defaults to null)
  • path_mappings (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • status
Example
tencentcloud_api_gateway_custom_domain {
  name = "api_gateway_custom_domain";
  default_domain = …;  # required
  net_type = …;  # required
  protocol = …;  # required
  service_id = …;  # required
  sub_domain = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.