1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. getCdnOriginGroups
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core

    CDN origin groups aggregate one or more origin servers with failover and load balancing for content delivery.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleCdnOriginGroups = gcore.getCdnOriginGroups({
        hasRelatedResources: true,
        name: "name",
        sources: "sources",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_cdn_origin_groups = gcore.get_cdn_origin_groups(has_related_resources=True,
        name="name",
        sources="sources")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.GetCdnOriginGroups(ctx, &gcore.GetCdnOriginGroupsArgs{
    			HasRelatedResources: pulumi.BoolRef(true),
    			Name:                pulumi.StringRef("name"),
    			Sources:             pulumi.StringRef("sources"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCdnOriginGroups = Gcore.GetCdnOriginGroups.Invoke(new()
        {
            HasRelatedResources = true,
            Name = "name",
            Sources = "sources",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetCdnOriginGroupsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleCdnOriginGroups = GcoreFunctions.getCdnOriginGroups(GetCdnOriginGroupsArgs.builder()
                .hasRelatedResources(true)
                .name("name")
                .sources("sources")
                .build());
    
        }
    }
    
    variables:
      exampleCdnOriginGroups:
        fn::invoke:
          function: gcore:getCdnOriginGroups
          arguments:
            hasRelatedResources: true
            name: name
            sources: sources
    
    Example coming soon!
    

    Using getCdnOriginGroups

    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 getCdnOriginGroups(args: GetCdnOriginGroupsArgs, opts?: InvokeOptions): Promise<GetCdnOriginGroupsResult>
    function getCdnOriginGroupsOutput(args: GetCdnOriginGroupsOutputArgs, opts?: InvokeOptions): Output<GetCdnOriginGroupsResult>
    def get_cdn_origin_groups(has_related_resources: Optional[bool] = None,
                              max_items: Optional[float] = None,
                              name: Optional[str] = None,
                              sources: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetCdnOriginGroupsResult
    def get_cdn_origin_groups_output(has_related_resources: pulumi.Input[Optional[bool]] = None,
                              max_items: pulumi.Input[Optional[float]] = None,
                              name: pulumi.Input[Optional[str]] = None,
                              sources: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetCdnOriginGroupsResult]
    func GetCdnOriginGroups(ctx *Context, args *GetCdnOriginGroupsArgs, opts ...InvokeOption) (*GetCdnOriginGroupsResult, error)
    func GetCdnOriginGroupsOutput(ctx *Context, args *GetCdnOriginGroupsOutputArgs, opts ...InvokeOption) GetCdnOriginGroupsResultOutput

    > Note: This function is named GetCdnOriginGroups in the Go SDK.

    public static class GetCdnOriginGroups 
    {
        public static Task<GetCdnOriginGroupsResult> InvokeAsync(GetCdnOriginGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetCdnOriginGroupsResult> Invoke(GetCdnOriginGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdnOriginGroupsResult> getCdnOriginGroups(GetCdnOriginGroupsArgs args, InvokeOptions options)
    public static Output<GetCdnOriginGroupsResult> getCdnOriginGroups(GetCdnOriginGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getCdnOriginGroups:getCdnOriginGroups
      arguments:
        # arguments dictionary
    data "gcore_get_cdn_origin_groups" "name" {
        # arguments
    }

    The following arguments are supported:

    HasRelatedResources bool
    Defines whether the origin group has related CDN resources.
    MaxItems double
    Name string
    Sources string
    HasRelatedResources bool
    Defines whether the origin group has related CDN resources.
    MaxItems float64
    Name string
    Sources string
    has_related_resources bool
    Defines whether the origin group has related CDN resources.
    max_items number
    name string
    sources string
    hasRelatedResources Boolean
    Defines whether the origin group has related CDN resources.
    maxItems Double
    name String
    sources String
    hasRelatedResources boolean
    Defines whether the origin group has related CDN resources.
    maxItems number
    name string
    sources string
    has_related_resources bool
    Defines whether the origin group has related CDN resources.
    max_items float
    name str
    sources str
    hasRelatedResources Boolean
    Defines whether the origin group has related CDN resources.
    maxItems Number
    name String
    sources String

    getCdnOriginGroups Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetCdnOriginGroupsItem>
    HasRelatedResources bool
    Defines whether the origin group has related CDN resources.
    MaxItems double
    Name string
    Sources string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetCdnOriginGroupsItem
    HasRelatedResources bool
    Defines whether the origin group has related CDN resources.
    MaxItems float64
    Name string
    Sources string
    id string
    The provider-assigned unique ID for this managed resource.
    items list(object)
    has_related_resources bool
    Defines whether the origin group has related CDN resources.
    max_items number
    name string
    sources string
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetCdnOriginGroupsItem>
    hasRelatedResources Boolean
    Defines whether the origin group has related CDN resources.
    maxItems Double
    name String
    sources String
    id string
    The provider-assigned unique ID for this managed resource.
    items GetCdnOriginGroupsItem[]
    hasRelatedResources boolean
    Defines whether the origin group has related CDN resources.
    maxItems number
    name string
    sources string
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetCdnOriginGroupsItem]
    has_related_resources bool
    Defines whether the origin group has related CDN resources.
    max_items float
    name str
    sources str
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    hasRelatedResources Boolean
    Defines whether the origin group has related CDN resources.
    maxItems Number
    name String
    sources String

    Supporting Types

    GetCdnOriginGroupsItem

    Auth GetCdnOriginGroupsItemAuth
    Deprecated. To create S3 origins, configure them directly in sources with origin_type and config instead.

    Deprecated: Deprecated

    AuthType string

    Deprecated. No longer necessary. Defaults to none.

    Origin authentication type.

    Possible values:

    • none - Used for public origins.
    • awsSignatureV4 - Used for S3 storage.

    Deprecated: Deprecated

    HasRelatedResources bool
    Defines whether the origin group has related CDN resources.
    Id double
    Origin group ID.
    Name string
    Origin group name.
    Path string

    Deprecated. No longer necessary. Omit this field and the default origin path behavior will be used.

    Origin path prefix.

    Deprecated: Deprecated

    ProxyNextUpstreams List<string>

    Defines cases when the request should be passed on to the next origin.

    Possible values:

    • error - an error occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • timeout - a timeout has occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • invalid_header - a origin returned an empty or invalid response
    • http_403 - a origin returned a response with the code 403
    • http_404 - a origin returned a response with the code 404
    • http_429 - a origin returned a response with the code 429
    • http_500 - a origin returned a response with the code 500
    • http_502 - a origin returned a response with the code 502
    • http_503 - a origin returned a response with the code 503
    • http_504 - a origin returned a response with the code 504
    Sources List<GetCdnOriginGroupsItemSource>

    List of origin sources in the origin group. Each entry can be a host origin or an S3 origin.

    Host origins have a source field with the hostname or IP. S3 origins have origin_type: s3 and a config object with S3 credentials. Both types can be mixed in the same origin group.

    UseNext bool

    Defines whether to use the next origin from the origin group if origin responds with the cases specified in proxy_next_upstream. If you enable it, you must specify cases in proxy_next_upstream.

    Possible values:

    • true - Option is enabled.
    • false - Option is disabled.
    Auth GetCdnOriginGroupsItemAuth
    Deprecated. To create S3 origins, configure them directly in sources with origin_type and config instead.

    Deprecated: Deprecated

    AuthType string

    Deprecated. No longer necessary. Defaults to none.

    Origin authentication type.

    Possible values:

    • none - Used for public origins.
    • awsSignatureV4 - Used for S3 storage.

    Deprecated: Deprecated

    HasRelatedResources bool
    Defines whether the origin group has related CDN resources.
    Id float64
    Origin group ID.
    Name string
    Origin group name.
    Path string

    Deprecated. No longer necessary. Omit this field and the default origin path behavior will be used.

    Origin path prefix.

    Deprecated: Deprecated

    ProxyNextUpstreams []string

    Defines cases when the request should be passed on to the next origin.

    Possible values:

    • error - an error occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • timeout - a timeout has occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • invalid_header - a origin returned an empty or invalid response
    • http_403 - a origin returned a response with the code 403
    • http_404 - a origin returned a response with the code 404
    • http_429 - a origin returned a response with the code 429
    • http_500 - a origin returned a response with the code 500
    • http_502 - a origin returned a response with the code 502
    • http_503 - a origin returned a response with the code 503
    • http_504 - a origin returned a response with the code 504
    Sources []GetCdnOriginGroupsItemSource

    List of origin sources in the origin group. Each entry can be a host origin or an S3 origin.

    Host origins have a source field with the hostname or IP. S3 origins have origin_type: s3 and a config object with S3 credentials. Both types can be mixed in the same origin group.

    UseNext bool

    Defines whether to use the next origin from the origin group if origin responds with the cases specified in proxy_next_upstream. If you enable it, you must specify cases in proxy_next_upstream.

    Possible values:

    • true - Option is enabled.
    • false - Option is disabled.
    auth object
    Deprecated. To create S3 origins, configure them directly in sources with origin_type and config instead.

    Deprecated: Deprecated

    auth_type string

    Deprecated. No longer necessary. Defaults to none.

    Origin authentication type.

    Possible values:

    • none - Used for public origins.
    • awsSignatureV4 - Used for S3 storage.

    Deprecated: Deprecated

    has_related_resources bool
    Defines whether the origin group has related CDN resources.
    id number
    Origin group ID.
    name string
    Origin group name.
    path string

    Deprecated. No longer necessary. Omit this field and the default origin path behavior will be used.

    Origin path prefix.

    Deprecated: Deprecated

    proxy_next_upstreams list(string)

    Defines cases when the request should be passed on to the next origin.

    Possible values:

    • error - an error occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • timeout - a timeout has occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • invalid_header - a origin returned an empty or invalid response
    • http_403 - a origin returned a response with the code 403
    • http_404 - a origin returned a response with the code 404
    • http_429 - a origin returned a response with the code 429
    • http_500 - a origin returned a response with the code 500
    • http_502 - a origin returned a response with the code 502
    • http_503 - a origin returned a response with the code 503
    • http_504 - a origin returned a response with the code 504
    sources list(object)

    List of origin sources in the origin group. Each entry can be a host origin or an S3 origin.

    Host origins have a source field with the hostname or IP. S3 origins have origin_type: s3 and a config object with S3 credentials. Both types can be mixed in the same origin group.

    use_next bool

    Defines whether to use the next origin from the origin group if origin responds with the cases specified in proxy_next_upstream. If you enable it, you must specify cases in proxy_next_upstream.

    Possible values:

    • true - Option is enabled.
    • false - Option is disabled.
    auth GetCdnOriginGroupsItemAuth
    Deprecated. To create S3 origins, configure them directly in sources with origin_type and config instead.

    Deprecated: Deprecated

    authType String

    Deprecated. No longer necessary. Defaults to none.

    Origin authentication type.

    Possible values:

    • none - Used for public origins.
    • awsSignatureV4 - Used for S3 storage.

    Deprecated: Deprecated

    hasRelatedResources Boolean
    Defines whether the origin group has related CDN resources.
    id Double
    Origin group ID.
    name String
    Origin group name.
    path String

    Deprecated. No longer necessary. Omit this field and the default origin path behavior will be used.

    Origin path prefix.

    Deprecated: Deprecated

    proxyNextUpstreams List<String>

    Defines cases when the request should be passed on to the next origin.

    Possible values:

    • error - an error occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • timeout - a timeout has occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • invalid_header - a origin returned an empty or invalid response
    • http_403 - a origin returned a response with the code 403
    • http_404 - a origin returned a response with the code 404
    • http_429 - a origin returned a response with the code 429
    • http_500 - a origin returned a response with the code 500
    • http_502 - a origin returned a response with the code 502
    • http_503 - a origin returned a response with the code 503
    • http_504 - a origin returned a response with the code 504
    sources List<GetCdnOriginGroupsItemSource>

    List of origin sources in the origin group. Each entry can be a host origin or an S3 origin.

    Host origins have a source field with the hostname or IP. S3 origins have origin_type: s3 and a config object with S3 credentials. Both types can be mixed in the same origin group.

    useNext Boolean

    Defines whether to use the next origin from the origin group if origin responds with the cases specified in proxy_next_upstream. If you enable it, you must specify cases in proxy_next_upstream.

    Possible values:

    • true - Option is enabled.
    • false - Option is disabled.
    auth GetCdnOriginGroupsItemAuth
    Deprecated. To create S3 origins, configure them directly in sources with origin_type and config instead.

    Deprecated: Deprecated

    authType string

    Deprecated. No longer necessary. Defaults to none.

    Origin authentication type.

    Possible values:

    • none - Used for public origins.
    • awsSignatureV4 - Used for S3 storage.

    Deprecated: Deprecated

    hasRelatedResources boolean
    Defines whether the origin group has related CDN resources.
    id number
    Origin group ID.
    name string
    Origin group name.
    path string

    Deprecated. No longer necessary. Omit this field and the default origin path behavior will be used.

    Origin path prefix.

    Deprecated: Deprecated

    proxyNextUpstreams string[]

    Defines cases when the request should be passed on to the next origin.

    Possible values:

    • error - an error occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • timeout - a timeout has occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • invalid_header - a origin returned an empty or invalid response
    • http_403 - a origin returned a response with the code 403
    • http_404 - a origin returned a response with the code 404
    • http_429 - a origin returned a response with the code 429
    • http_500 - a origin returned a response with the code 500
    • http_502 - a origin returned a response with the code 502
    • http_503 - a origin returned a response with the code 503
    • http_504 - a origin returned a response with the code 504
    sources GetCdnOriginGroupsItemSource[]

    List of origin sources in the origin group. Each entry can be a host origin or an S3 origin.

    Host origins have a source field with the hostname or IP. S3 origins have origin_type: s3 and a config object with S3 credentials. Both types can be mixed in the same origin group.

    useNext boolean

    Defines whether to use the next origin from the origin group if origin responds with the cases specified in proxy_next_upstream. If you enable it, you must specify cases in proxy_next_upstream.

    Possible values:

    • true - Option is enabled.
    • false - Option is disabled.
    auth GetCdnOriginGroupsItemAuth
    Deprecated. To create S3 origins, configure them directly in sources with origin_type and config instead.

    Deprecated: Deprecated

    auth_type str

    Deprecated. No longer necessary. Defaults to none.

    Origin authentication type.

    Possible values:

    • none - Used for public origins.
    • awsSignatureV4 - Used for S3 storage.

    Deprecated: Deprecated

    has_related_resources bool
    Defines whether the origin group has related CDN resources.
    id float
    Origin group ID.
    name str
    Origin group name.
    path str

    Deprecated. No longer necessary. Omit this field and the default origin path behavior will be used.

    Origin path prefix.

    Deprecated: Deprecated

    proxy_next_upstreams Sequence[str]

    Defines cases when the request should be passed on to the next origin.

    Possible values:

    • error - an error occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • timeout - a timeout has occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • invalid_header - a origin returned an empty or invalid response
    • http_403 - a origin returned a response with the code 403
    • http_404 - a origin returned a response with the code 404
    • http_429 - a origin returned a response with the code 429
    • http_500 - a origin returned a response with the code 500
    • http_502 - a origin returned a response with the code 502
    • http_503 - a origin returned a response with the code 503
    • http_504 - a origin returned a response with the code 504
    sources Sequence[GetCdnOriginGroupsItemSource]

    List of origin sources in the origin group. Each entry can be a host origin or an S3 origin.

    Host origins have a source field with the hostname or IP. S3 origins have origin_type: s3 and a config object with S3 credentials. Both types can be mixed in the same origin group.

    use_next bool

    Defines whether to use the next origin from the origin group if origin responds with the cases specified in proxy_next_upstream. If you enable it, you must specify cases in proxy_next_upstream.

    Possible values:

    • true - Option is enabled.
    • false - Option is disabled.
    auth Property Map
    Deprecated. To create S3 origins, configure them directly in sources with origin_type and config instead.

    Deprecated: Deprecated

    authType String

    Deprecated. No longer necessary. Defaults to none.

    Origin authentication type.

    Possible values:

    • none - Used for public origins.
    • awsSignatureV4 - Used for S3 storage.

    Deprecated: Deprecated

    hasRelatedResources Boolean
    Defines whether the origin group has related CDN resources.
    id Number
    Origin group ID.
    name String
    Origin group name.
    path String

    Deprecated. No longer necessary. Omit this field and the default origin path behavior will be used.

    Origin path prefix.

    Deprecated: Deprecated

    proxyNextUpstreams List<String>

    Defines cases when the request should be passed on to the next origin.

    Possible values:

    • error - an error occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • timeout - a timeout has occurred while establishing a connection with the origin, passing a request to it, or reading the response header
    • invalid_header - a origin returned an empty or invalid response
    • http_403 - a origin returned a response with the code 403
    • http_404 - a origin returned a response with the code 404
    • http_429 - a origin returned a response with the code 429
    • http_500 - a origin returned a response with the code 500
    • http_502 - a origin returned a response with the code 502
    • http_503 - a origin returned a response with the code 503
    • http_504 - a origin returned a response with the code 504
    sources List<Property Map>

    List of origin sources in the origin group. Each entry can be a host origin or an S3 origin.

    Host origins have a source field with the hostname or IP. S3 origins have origin_type: s3 and a config object with S3 credentials. Both types can be mixed in the same origin group.

    useNext Boolean

    Defines whether to use the next origin from the origin group if origin responds with the cases specified in proxy_next_upstream. If you enable it, you must specify cases in proxy_next_upstream.

    Possible values:

    • true - Option is enabled.
    • false - Option is disabled.

    GetCdnOriginGroupsItemAuth

    S3AccessKeyId string
    Access key ID for the S3 account.
    S3BucketName string
    S3 bucket name.
    S3Region string

    S3 storage region.

    The parameter is required, if "s3_type": amazon.

    S3SecretAccessKey string

    Secret access key for the S3 account.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • If "s3_type": amazon, length should be 40 characters.
    • If "s3_type": other, length should be from 16 to 255 characters.
    S3StorageHostname string

    S3 storage hostname.

    The parameter is required, if "s3_type": other.

    S3Type string

    Storage type compatible with S3.

    Possible values:

    • amazon – AWS S3 storage.
    • other – Other (not AWS) S3 compatible storage.
    S3AccessKeyId string
    Access key ID for the S3 account.
    S3BucketName string
    S3 bucket name.
    S3Region string

    S3 storage region.

    The parameter is required, if "s3_type": amazon.

    S3SecretAccessKey string

    Secret access key for the S3 account.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • If "s3_type": amazon, length should be 40 characters.
    • If "s3_type": other, length should be from 16 to 255 characters.
    S3StorageHostname string

    S3 storage hostname.

    The parameter is required, if "s3_type": other.

    S3Type string

    Storage type compatible with S3.

    Possible values:

    • amazon – AWS S3 storage.
    • other – Other (not AWS) S3 compatible storage.
    s3_access_key_id string
    Access key ID for the S3 account.
    s3_bucket_name string
    S3 bucket name.
    s3_region string

    S3 storage region.

    The parameter is required, if "s3_type": amazon.

    s3_secret_access_key string

    Secret access key for the S3 account.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • If "s3_type": amazon, length should be 40 characters.
    • If "s3_type": other, length should be from 16 to 255 characters.
    s3_storage_hostname string

    S3 storage hostname.

    The parameter is required, if "s3_type": other.

    s3_type string

    Storage type compatible with S3.

    Possible values:

    • amazon – AWS S3 storage.
    • other – Other (not AWS) S3 compatible storage.
    s3AccessKeyId String
    Access key ID for the S3 account.
    s3BucketName String
    S3 bucket name.
    s3Region String

    S3 storage region.

    The parameter is required, if "s3_type": amazon.

    s3SecretAccessKey String

    Secret access key for the S3 account.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • If "s3_type": amazon, length should be 40 characters.
    • If "s3_type": other, length should be from 16 to 255 characters.
    s3StorageHostname String

    S3 storage hostname.

    The parameter is required, if "s3_type": other.

    s3Type String

    Storage type compatible with S3.

    Possible values:

    • amazon – AWS S3 storage.
    • other – Other (not AWS) S3 compatible storage.
    s3AccessKeyId string
    Access key ID for the S3 account.
    s3BucketName string
    S3 bucket name.
    s3Region string

    S3 storage region.

    The parameter is required, if "s3_type": amazon.

    s3SecretAccessKey string

    Secret access key for the S3 account.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • If "s3_type": amazon, length should be 40 characters.
    • If "s3_type": other, length should be from 16 to 255 characters.
    s3StorageHostname string

    S3 storage hostname.

    The parameter is required, if "s3_type": other.

    s3Type string

    Storage type compatible with S3.

    Possible values:

    • amazon – AWS S3 storage.
    • other – Other (not AWS) S3 compatible storage.
    s3_access_key_id str
    Access key ID for the S3 account.
    s3_bucket_name str
    S3 bucket name.
    s3_region str

    S3 storage region.

    The parameter is required, if "s3_type": amazon.

    s3_secret_access_key str

    Secret access key for the S3 account.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • If "s3_type": amazon, length should be 40 characters.
    • If "s3_type": other, length should be from 16 to 255 characters.
    s3_storage_hostname str

    S3 storage hostname.

    The parameter is required, if "s3_type": other.

    s3_type str

    Storage type compatible with S3.

    Possible values:

    • amazon – AWS S3 storage.
    • other – Other (not AWS) S3 compatible storage.
    s3AccessKeyId String
    Access key ID for the S3 account.
    s3BucketName String
    S3 bucket name.
    s3Region String

    S3 storage region.

    The parameter is required, if "s3_type": amazon.

    s3SecretAccessKey String

    Secret access key for the S3 account.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • If "s3_type": amazon, length should be 40 characters.
    • If "s3_type": other, length should be from 16 to 255 characters.
    s3StorageHostname String

    S3 storage hostname.

    The parameter is required, if "s3_type": other.

    s3Type String

    Storage type compatible with S3.

    Possible values:

    • amazon – AWS S3 storage.
    • other – Other (not AWS) S3 compatible storage.

    GetCdnOriginGroupsItemSource

    Backup bool
    Defines whether the origin is a backup, meaning that it will not be used until one of active origins become unavailable.
    Config GetCdnOriginGroupsItemSourceConfig
    S3 storage configuration. Required when origin_type is s3.
    Enabled bool

    Enables or disables an origin source in the origin group.

    Possible values:

    • true - Origin is enabled and the CDN uses it to pull content.
    • false - Origin is disabled and the CDN does not use it to pull content.

    Origin group must contain at least one enabled origin.

    HostHeaderOverride string
    Per-origin Host header override. When set, the CDN sends this value as the Host header when requesting content from this origin instead of the default.
    OriginType string

    Origin type. Present in responses for S3 and FastEdge sources.

    Possible values:

    • host - A source server or endpoint from which content is fetched.
    • s3 - S3 storage with either AWS v4 authentication or public access.
    • fastedge - A FastEdge application served directly from the local FastEdge runtime on the edge node, identified by app_id. Available values: "host", "s3", "fastedge".
    Source string
    IP address or domain name of the origin and the port, if custom port is used.
    Backup bool
    Defines whether the origin is a backup, meaning that it will not be used until one of active origins become unavailable.
    Config GetCdnOriginGroupsItemSourceConfig
    S3 storage configuration. Required when origin_type is s3.
    Enabled bool

    Enables or disables an origin source in the origin group.

    Possible values:

    • true - Origin is enabled and the CDN uses it to pull content.
    • false - Origin is disabled and the CDN does not use it to pull content.

    Origin group must contain at least one enabled origin.

    HostHeaderOverride string
    Per-origin Host header override. When set, the CDN sends this value as the Host header when requesting content from this origin instead of the default.
    OriginType string

    Origin type. Present in responses for S3 and FastEdge sources.

    Possible values:

    • host - A source server or endpoint from which content is fetched.
    • s3 - S3 storage with either AWS v4 authentication or public access.
    • fastedge - A FastEdge application served directly from the local FastEdge runtime on the edge node, identified by app_id. Available values: "host", "s3", "fastedge".
    Source string
    IP address or domain name of the origin and the port, if custom port is used.
    backup bool
    Defines whether the origin is a backup, meaning that it will not be used until one of active origins become unavailable.
    config object
    S3 storage configuration. Required when origin_type is s3.
    enabled bool

    Enables or disables an origin source in the origin group.

    Possible values:

    • true - Origin is enabled and the CDN uses it to pull content.
    • false - Origin is disabled and the CDN does not use it to pull content.

    Origin group must contain at least one enabled origin.

    host_header_override string
    Per-origin Host header override. When set, the CDN sends this value as the Host header when requesting content from this origin instead of the default.
    origin_type string

    Origin type. Present in responses for S3 and FastEdge sources.

    Possible values:

    • host - A source server or endpoint from which content is fetched.
    • s3 - S3 storage with either AWS v4 authentication or public access.
    • fastedge - A FastEdge application served directly from the local FastEdge runtime on the edge node, identified by app_id. Available values: "host", "s3", "fastedge".
    source string
    IP address or domain name of the origin and the port, if custom port is used.
    backup Boolean
    Defines whether the origin is a backup, meaning that it will not be used until one of active origins become unavailable.
    config GetCdnOriginGroupsItemSourceConfig
    S3 storage configuration. Required when origin_type is s3.
    enabled Boolean

    Enables or disables an origin source in the origin group.

    Possible values:

    • true - Origin is enabled and the CDN uses it to pull content.
    • false - Origin is disabled and the CDN does not use it to pull content.

    Origin group must contain at least one enabled origin.

    hostHeaderOverride String
    Per-origin Host header override. When set, the CDN sends this value as the Host header when requesting content from this origin instead of the default.
    originType String

    Origin type. Present in responses for S3 and FastEdge sources.

    Possible values:

    • host - A source server or endpoint from which content is fetched.
    • s3 - S3 storage with either AWS v4 authentication or public access.
    • fastedge - A FastEdge application served directly from the local FastEdge runtime on the edge node, identified by app_id. Available values: "host", "s3", "fastedge".
    source String
    IP address or domain name of the origin and the port, if custom port is used.
    backup boolean
    Defines whether the origin is a backup, meaning that it will not be used until one of active origins become unavailable.
    config GetCdnOriginGroupsItemSourceConfig
    S3 storage configuration. Required when origin_type is s3.
    enabled boolean

    Enables or disables an origin source in the origin group.

    Possible values:

    • true - Origin is enabled and the CDN uses it to pull content.
    • false - Origin is disabled and the CDN does not use it to pull content.

    Origin group must contain at least one enabled origin.

    hostHeaderOverride string
    Per-origin Host header override. When set, the CDN sends this value as the Host header when requesting content from this origin instead of the default.
    originType string

    Origin type. Present in responses for S3 and FastEdge sources.

    Possible values:

    • host - A source server or endpoint from which content is fetched.
    • s3 - S3 storage with either AWS v4 authentication or public access.
    • fastedge - A FastEdge application served directly from the local FastEdge runtime on the edge node, identified by app_id. Available values: "host", "s3", "fastedge".
    source string
    IP address or domain name of the origin and the port, if custom port is used.
    backup bool
    Defines whether the origin is a backup, meaning that it will not be used until one of active origins become unavailable.
    config GetCdnOriginGroupsItemSourceConfig
    S3 storage configuration. Required when origin_type is s3.
    enabled bool

    Enables or disables an origin source in the origin group.

    Possible values:

    • true - Origin is enabled and the CDN uses it to pull content.
    • false - Origin is disabled and the CDN does not use it to pull content.

    Origin group must contain at least one enabled origin.

    host_header_override str
    Per-origin Host header override. When set, the CDN sends this value as the Host header when requesting content from this origin instead of the default.
    origin_type str

    Origin type. Present in responses for S3 and FastEdge sources.

    Possible values:

    • host - A source server or endpoint from which content is fetched.
    • s3 - S3 storage with either AWS v4 authentication or public access.
    • fastedge - A FastEdge application served directly from the local FastEdge runtime on the edge node, identified by app_id. Available values: "host", "s3", "fastedge".
    source str
    IP address or domain name of the origin and the port, if custom port is used.
    backup Boolean
    Defines whether the origin is a backup, meaning that it will not be used until one of active origins become unavailable.
    config Property Map
    S3 storage configuration. Required when origin_type is s3.
    enabled Boolean

    Enables or disables an origin source in the origin group.

    Possible values:

    • true - Origin is enabled and the CDN uses it to pull content.
    • false - Origin is disabled and the CDN does not use it to pull content.

    Origin group must contain at least one enabled origin.

    hostHeaderOverride String
    Per-origin Host header override. When set, the CDN sends this value as the Host header when requesting content from this origin instead of the default.
    originType String

    Origin type. Present in responses for S3 and FastEdge sources.

    Possible values:

    • host - A source server or endpoint from which content is fetched.
    • s3 - S3 storage with either AWS v4 authentication or public access.
    • fastedge - A FastEdge application served directly from the local FastEdge runtime on the edge node, identified by app_id. Available values: "host", "s3", "fastedge".
    source String
    IP address or domain name of the origin and the port, if custom port is used.

    GetCdnOriginGroupsItemSourceConfig

    AppId string
    ID of the FastEdge application served as origin (string, matching the existing fastedge option's convention). The CDN dispatches requests to the local FastEdge runtime on the edge node using this identifier. The application must belong to the requesting client, be enabled, and have wasi-http API type.
    S3AccessKeyId string
    Access key ID for the S3 account. Masked as SECRET_VALUE in responses.
    S3AuthType string
    S3 authentication type.
    S3BucketName string
    S3 bucket name.
    S3Region string

    S3 storage region.

    The parameter is required if s3_type is amazon.

    S3SecretAccessKey string

    Secret access key for the S3 account. Masked as SECRET_VALUE in responses.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • From 16 to 255 characters.
    S3StorageHostname string

    S3 storage hostname.

    The parameter is required if s3_type is other.

    S3Type string

    Storage type compatible with S3.

    Possible values:

    • amazon - AWS S3 storage.
    • other - Other (not AWS) S3 compatible storage. Available values: "amazon", "other".
    AppId string
    ID of the FastEdge application served as origin (string, matching the existing fastedge option's convention). The CDN dispatches requests to the local FastEdge runtime on the edge node using this identifier. The application must belong to the requesting client, be enabled, and have wasi-http API type.
    S3AccessKeyId string
    Access key ID for the S3 account. Masked as SECRET_VALUE in responses.
    S3AuthType string
    S3 authentication type.
    S3BucketName string
    S3 bucket name.
    S3Region string

    S3 storage region.

    The parameter is required if s3_type is amazon.

    S3SecretAccessKey string

    Secret access key for the S3 account. Masked as SECRET_VALUE in responses.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • From 16 to 255 characters.
    S3StorageHostname string

    S3 storage hostname.

    The parameter is required if s3_type is other.

    S3Type string

    Storage type compatible with S3.

    Possible values:

    • amazon - AWS S3 storage.
    • other - Other (not AWS) S3 compatible storage. Available values: "amazon", "other".
    app_id string
    ID of the FastEdge application served as origin (string, matching the existing fastedge option's convention). The CDN dispatches requests to the local FastEdge runtime on the edge node using this identifier. The application must belong to the requesting client, be enabled, and have wasi-http API type.
    s3_access_key_id string
    Access key ID for the S3 account. Masked as SECRET_VALUE in responses.
    s3_auth_type string
    S3 authentication type.
    s3_bucket_name string
    S3 bucket name.
    s3_region string

    S3 storage region.

    The parameter is required if s3_type is amazon.

    s3_secret_access_key string

    Secret access key for the S3 account. Masked as SECRET_VALUE in responses.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • From 16 to 255 characters.
    s3_storage_hostname string

    S3 storage hostname.

    The parameter is required if s3_type is other.

    s3_type string

    Storage type compatible with S3.

    Possible values:

    • amazon - AWS S3 storage.
    • other - Other (not AWS) S3 compatible storage. Available values: "amazon", "other".
    appId String
    ID of the FastEdge application served as origin (string, matching the existing fastedge option's convention). The CDN dispatches requests to the local FastEdge runtime on the edge node using this identifier. The application must belong to the requesting client, be enabled, and have wasi-http API type.
    s3AccessKeyId String
    Access key ID for the S3 account. Masked as SECRET_VALUE in responses.
    s3AuthType String
    S3 authentication type.
    s3BucketName String
    S3 bucket name.
    s3Region String

    S3 storage region.

    The parameter is required if s3_type is amazon.

    s3SecretAccessKey String

    Secret access key for the S3 account. Masked as SECRET_VALUE in responses.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • From 16 to 255 characters.
    s3StorageHostname String

    S3 storage hostname.

    The parameter is required if s3_type is other.

    s3Type String

    Storage type compatible with S3.

    Possible values:

    • amazon - AWS S3 storage.
    • other - Other (not AWS) S3 compatible storage. Available values: "amazon", "other".
    appId string
    ID of the FastEdge application served as origin (string, matching the existing fastedge option's convention). The CDN dispatches requests to the local FastEdge runtime on the edge node using this identifier. The application must belong to the requesting client, be enabled, and have wasi-http API type.
    s3AccessKeyId string
    Access key ID for the S3 account. Masked as SECRET_VALUE in responses.
    s3AuthType string
    S3 authentication type.
    s3BucketName string
    S3 bucket name.
    s3Region string

    S3 storage region.

    The parameter is required if s3_type is amazon.

    s3SecretAccessKey string

    Secret access key for the S3 account. Masked as SECRET_VALUE in responses.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • From 16 to 255 characters.
    s3StorageHostname string

    S3 storage hostname.

    The parameter is required if s3_type is other.

    s3Type string

    Storage type compatible with S3.

    Possible values:

    • amazon - AWS S3 storage.
    • other - Other (not AWS) S3 compatible storage. Available values: "amazon", "other".
    app_id str
    ID of the FastEdge application served as origin (string, matching the existing fastedge option's convention). The CDN dispatches requests to the local FastEdge runtime on the edge node using this identifier. The application must belong to the requesting client, be enabled, and have wasi-http API type.
    s3_access_key_id str
    Access key ID for the S3 account. Masked as SECRET_VALUE in responses.
    s3_auth_type str
    S3 authentication type.
    s3_bucket_name str
    S3 bucket name.
    s3_region str

    S3 storage region.

    The parameter is required if s3_type is amazon.

    s3_secret_access_key str

    Secret access key for the S3 account. Masked as SECRET_VALUE in responses.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • From 16 to 255 characters.
    s3_storage_hostname str

    S3 storage hostname.

    The parameter is required if s3_type is other.

    s3_type str

    Storage type compatible with S3.

    Possible values:

    • amazon - AWS S3 storage.
    • other - Other (not AWS) S3 compatible storage. Available values: "amazon", "other".
    appId String
    ID of the FastEdge application served as origin (string, matching the existing fastedge option's convention). The CDN dispatches requests to the local FastEdge runtime on the edge node using this identifier. The application must belong to the requesting client, be enabled, and have wasi-http API type.
    s3AccessKeyId String
    Access key ID for the S3 account. Masked as SECRET_VALUE in responses.
    s3AuthType String
    S3 authentication type.
    s3BucketName String
    S3 bucket name.
    s3Region String

    S3 storage region.

    The parameter is required if s3_type is amazon.

    s3SecretAccessKey String

    Secret access key for the S3 account. Masked as SECRET_VALUE in responses.

    Restrictions:

    • Latin letters (A-Z, a-z), numbers (0-9), pluses, slashes, dashes, colons and underscores.
    • From 16 to 255 characters.
    s3StorageHostname String

    S3 storage hostname.

    The parameter is required if s3_type is other.

    s3Type String

    Storage type compatible with S3.

    Possible values:

    • amazon - AWS S3 storage.
    • other - Other (not AWS) S3 compatible storage. Available values: "amazon", "other".

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.15
    published on Thursday, Aug 6, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial