Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
CDN distribution data source schema.
This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.
Example Usage
data "stackit_cdn_custom_domain" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
distribution_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "https://xxx.xxx"
}
Using getCdnCustomDomain
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCdnCustomDomain(args: GetCdnCustomDomainArgs, opts?: InvokeOptions): Promise<GetCdnCustomDomainResult>
function getCdnCustomDomainOutput(args: GetCdnCustomDomainOutputArgs, opts?: InvokeOptions): Output<GetCdnCustomDomainResult>def get_cdn_custom_domain(certificate: Optional[GetCdnCustomDomainCertificate] = None,
distribution_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnCustomDomainResult
def get_cdn_custom_domain_output(certificate: Optional[pulumi.Input[GetCdnCustomDomainCertificateArgs]] = None,
distribution_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdnCustomDomainResult]func LookupCdnCustomDomain(ctx *Context, args *LookupCdnCustomDomainArgs, opts ...InvokeOption) (*LookupCdnCustomDomainResult, error)
func LookupCdnCustomDomainOutput(ctx *Context, args *LookupCdnCustomDomainOutputArgs, opts ...InvokeOption) LookupCdnCustomDomainResultOutput> Note: This function is named LookupCdnCustomDomain in the Go SDK.
public static class GetCdnCustomDomain
{
public static Task<GetCdnCustomDomainResult> InvokeAsync(GetCdnCustomDomainArgs args, InvokeOptions? opts = null)
public static Output<GetCdnCustomDomainResult> Invoke(GetCdnCustomDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdnCustomDomainResult> getCdnCustomDomain(GetCdnCustomDomainArgs args, InvokeOptions options)
public static Output<GetCdnCustomDomainResult> getCdnCustomDomain(GetCdnCustomDomainArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getCdnCustomDomain:getCdnCustomDomain
arguments:
# arguments dictionaryThe following arguments are supported:
- Distribution
Id string - CDN distribution ID
- Name string
- Project
Id string - STACKIT project ID associated with the distribution
- Certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- Distribution
Id string - CDN distribution ID
- Name string
- Project
Id string - STACKIT project ID associated with the distribution
- Certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution
Id String - CDN distribution ID
- name String
- project
Id String - STACKIT project ID associated with the distribution
- certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution
Id string - CDN distribution ID
- name string
- project
Id string - STACKIT project ID associated with the distribution
- certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution_
id str - CDN distribution ID
- name str
- project_
id str - STACKIT project ID associated with the distribution
- certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution
Id String - CDN distribution ID
- name String
- project
Id String - STACKIT project ID associated with the distribution
- certificate Property Map
- The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
getCdnCustomDomain Result
The following output properties are available:
- Distribution
Id string - CDN distribution ID
- Errors List<string>
- List of distribution errors
- Id string
- Name string
- Project
Id string - STACKIT project ID associated with the distribution
- Status string
- Status of the distribution
- Certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- Distribution
Id string - CDN distribution ID
- Errors []string
- List of distribution errors
- Id string
- Name string
- Project
Id string - STACKIT project ID associated with the distribution
- Status string
- Status of the distribution
- Certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution
Id String - CDN distribution ID
- errors List<String>
- List of distribution errors
- id String
- name String
- project
Id String - STACKIT project ID associated with the distribution
- status String
- Status of the distribution
- certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution
Id string - CDN distribution ID
- errors string[]
- List of distribution errors
- id string
- name string
- project
Id string - STACKIT project ID associated with the distribution
- status string
- Status of the distribution
- certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution_
id str - CDN distribution ID
- errors Sequence[str]
- List of distribution errors
- id str
- name str
- project_
id str - STACKIT project ID associated with the distribution
- status str
- Status of the distribution
- certificate
Get
Cdn Custom Domain Certificate - The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
- distribution
Id String - CDN distribution ID
- errors List<String>
- List of distribution errors
- id String
- name String
- project
Id String - STACKIT project ID associated with the distribution
- status String
- Status of the distribution
- certificate Property Map
- The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.
Supporting Types
GetCdnCustomDomainCertificate
- Version int
- A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
- Version int
- A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
- version Integer
- A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
- version number
- A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
- version int
- A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
- version Number
- A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
