gcore.CdnOrigingroup
Explore with Pulumi AI
Represent origin group
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const originGroup1 = new gcore.CdnOrigingroup("originGroup1", {
origins: [
{
enabled: true,
source: "example.com",
},
{
backup: true,
enabled: true,
source: "mirror.example.com",
},
],
useNext: true,
});
const amazonS3OriginGroup = new gcore.CdnOrigingroup("amazonS3OriginGroup", {auth: {
s3AccessKeyId: "123*******************",
s3BucketName: "bucket-name",
s3Region: "eu-south-2",
s3SecretAccessKey: "123*******************",
s3Type: "amazon",
}});
const otherS3OriginGroup = new gcore.CdnOrigingroup("otherS3OriginGroup", {auth: {
s3AccessKeyId: "123*******************",
s3BucketName: "bucket-name",
s3SecretAccessKey: "123*******************",
s3StorageHostname: "s3.example.com",
s3Type: "other",
}});
import pulumi
import pulumi_gcore as gcore
origin_group1 = gcore.CdnOrigingroup("originGroup1",
origins=[
{
"enabled": True,
"source": "example.com",
},
{
"backup": True,
"enabled": True,
"source": "mirror.example.com",
},
],
use_next=True)
amazon_s3_origin_group = gcore.CdnOrigingroup("amazonS3OriginGroup", auth={
"s3_access_key_id": "123*******************",
"s3_bucket_name": "bucket-name",
"s3_region": "eu-south-2",
"s3_secret_access_key": "123*******************",
"s3_type": "amazon",
})
other_s3_origin_group = gcore.CdnOrigingroup("otherS3OriginGroup", auth={
"s3_access_key_id": "123*******************",
"s3_bucket_name": "bucket-name",
"s3_secret_access_key": "123*******************",
"s3_storage_hostname": "s3.example.com",
"s3_type": "other",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.NewCdnOrigingroup(ctx, "originGroup1", &gcore.CdnOrigingroupArgs{
Origins: gcore.CdnOrigingroupOriginArray{
&gcore.CdnOrigingroupOriginArgs{
Enabled: pulumi.Bool(true),
Source: pulumi.String("example.com"),
},
&gcore.CdnOrigingroupOriginArgs{
Backup: pulumi.Bool(true),
Enabled: pulumi.Bool(true),
Source: pulumi.String("mirror.example.com"),
},
},
UseNext: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = gcore.NewCdnOrigingroup(ctx, "amazonS3OriginGroup", &gcore.CdnOrigingroupArgs{
Auth: &gcore.CdnOrigingroupAuthArgs{
S3AccessKeyId: pulumi.String("123*******************"),
S3BucketName: pulumi.String("bucket-name"),
S3Region: pulumi.String("eu-south-2"),
S3SecretAccessKey: pulumi.String("123*******************"),
S3Type: pulumi.String("amazon"),
},
})
if err != nil {
return err
}
_, err = gcore.NewCdnOrigingroup(ctx, "otherS3OriginGroup", &gcore.CdnOrigingroupArgs{
Auth: &gcore.CdnOrigingroupAuthArgs{
S3AccessKeyId: pulumi.String("123*******************"),
S3BucketName: pulumi.String("bucket-name"),
S3SecretAccessKey: pulumi.String("123*******************"),
S3StorageHostname: pulumi.String("s3.example.com"),
S3Type: pulumi.String("other"),
},
})
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 originGroup1 = new Gcore.CdnOrigingroup("originGroup1", new()
{
Origins = new[]
{
new Gcore.Inputs.CdnOrigingroupOriginArgs
{
Enabled = true,
Source = "example.com",
},
new Gcore.Inputs.CdnOrigingroupOriginArgs
{
Backup = true,
Enabled = true,
Source = "mirror.example.com",
},
},
UseNext = true,
});
var amazonS3OriginGroup = new Gcore.CdnOrigingroup("amazonS3OriginGroup", new()
{
Auth = new Gcore.Inputs.CdnOrigingroupAuthArgs
{
S3AccessKeyId = "123*******************",
S3BucketName = "bucket-name",
S3Region = "eu-south-2",
S3SecretAccessKey = "123*******************",
S3Type = "amazon",
},
});
var otherS3OriginGroup = new Gcore.CdnOrigingroup("otherS3OriginGroup", new()
{
Auth = new Gcore.Inputs.CdnOrigingroupAuthArgs
{
S3AccessKeyId = "123*******************",
S3BucketName = "bucket-name",
S3SecretAccessKey = "123*******************",
S3StorageHostname = "s3.example.com",
S3Type = "other",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.CdnOrigingroup;
import com.pulumi.gcore.CdnOrigingroupArgs;
import com.pulumi.gcore.inputs.CdnOrigingroupOriginArgs;
import com.pulumi.gcore.inputs.CdnOrigingroupAuthArgs;
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) {
var originGroup1 = new CdnOrigingroup("originGroup1", CdnOrigingroupArgs.builder()
.origins(
CdnOrigingroupOriginArgs.builder()
.enabled(true)
.source("example.com")
.build(),
CdnOrigingroupOriginArgs.builder()
.backup(true)
.enabled(true)
.source("mirror.example.com")
.build())
.useNext(true)
.build());
var amazonS3OriginGroup = new CdnOrigingroup("amazonS3OriginGroup", CdnOrigingroupArgs.builder()
.auth(CdnOrigingroupAuthArgs.builder()
.s3AccessKeyId("123*******************")
.s3BucketName("bucket-name")
.s3Region("eu-south-2")
.s3SecretAccessKey("123*******************")
.s3Type("amazon")
.build())
.build());
var otherS3OriginGroup = new CdnOrigingroup("otherS3OriginGroup", CdnOrigingroupArgs.builder()
.auth(CdnOrigingroupAuthArgs.builder()
.s3AccessKeyId("123*******************")
.s3BucketName("bucket-name")
.s3SecretAccessKey("123*******************")
.s3StorageHostname("s3.example.com")
.s3Type("other")
.build())
.build());
}
}
resources:
originGroup1:
type: gcore:CdnOrigingroup
properties:
origins:
- enabled: true
source: example.com
- backup: true
enabled: true
source: mirror.example.com
useNext: true
amazonS3OriginGroup:
type: gcore:CdnOrigingroup
properties:
auth:
s3AccessKeyId: 123*******************
s3BucketName: bucket-name
s3Region: eu-south-2
s3SecretAccessKey: 123*******************
s3Type: amazon
otherS3OriginGroup:
type: gcore:CdnOrigingroup
properties:
auth:
s3AccessKeyId: 123*******************
s3BucketName: bucket-name
s3SecretAccessKey: 123*******************
s3StorageHostname: s3.example.com
s3Type: other
Create CdnOrigingroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdnOrigingroup(name: string, args?: CdnOrigingroupArgs, opts?: CustomResourceOptions);
@overload
def CdnOrigingroup(resource_name: str,
args: Optional[CdnOrigingroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CdnOrigingroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth: Optional[CdnOrigingroupAuthArgs] = None,
cdn_origingroup_id: Optional[str] = None,
name: Optional[str] = None,
origins: Optional[Sequence[CdnOrigingroupOriginArgs]] = None,
proxy_next_upstreams: Optional[Sequence[str]] = None,
use_next: Optional[bool] = None)
func NewCdnOrigingroup(ctx *Context, name string, args *CdnOrigingroupArgs, opts ...ResourceOption) (*CdnOrigingroup, error)
public CdnOrigingroup(string name, CdnOrigingroupArgs? args = null, CustomResourceOptions? opts = null)
public CdnOrigingroup(String name, CdnOrigingroupArgs args)
public CdnOrigingroup(String name, CdnOrigingroupArgs args, CustomResourceOptions options)
type: gcore:CdnOrigingroup
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 CdnOrigingroupArgs
- 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 CdnOrigingroupArgs
- 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 CdnOrigingroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdnOrigingroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdnOrigingroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cdnOrigingroupResource = new Gcore.CdnOrigingroup("cdnOrigingroupResource", new()
{
Auth = new Gcore.Inputs.CdnOrigingroupAuthArgs
{
S3AccessKeyId = "string",
S3BucketName = "string",
S3SecretAccessKey = "string",
S3Type = "string",
S3Region = "string",
S3StorageHostname = "string",
},
CdnOrigingroupId = "string",
Name = "string",
Origins = new[]
{
new Gcore.Inputs.CdnOrigingroupOriginArgs
{
Source = "string",
Backup = false,
Enabled = false,
},
},
ProxyNextUpstreams = new[]
{
"string",
},
UseNext = false,
});
example, err := gcore.NewCdnOrigingroup(ctx, "cdnOrigingroupResource", &gcore.CdnOrigingroupArgs{
Auth: &gcore.CdnOrigingroupAuthArgs{
S3AccessKeyId: pulumi.String("string"),
S3BucketName: pulumi.String("string"),
S3SecretAccessKey: pulumi.String("string"),
S3Type: pulumi.String("string"),
S3Region: pulumi.String("string"),
S3StorageHostname: pulumi.String("string"),
},
CdnOrigingroupId: pulumi.String("string"),
Name: pulumi.String("string"),
Origins: gcore.CdnOrigingroupOriginArray{
&gcore.CdnOrigingroupOriginArgs{
Source: pulumi.String("string"),
Backup: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
},
ProxyNextUpstreams: pulumi.StringArray{
pulumi.String("string"),
},
UseNext: pulumi.Bool(false),
})
var cdnOrigingroupResource = new CdnOrigingroup("cdnOrigingroupResource", CdnOrigingroupArgs.builder()
.auth(CdnOrigingroupAuthArgs.builder()
.s3AccessKeyId("string")
.s3BucketName("string")
.s3SecretAccessKey("string")
.s3Type("string")
.s3Region("string")
.s3StorageHostname("string")
.build())
.cdnOrigingroupId("string")
.name("string")
.origins(CdnOrigingroupOriginArgs.builder()
.source("string")
.backup(false)
.enabled(false)
.build())
.proxyNextUpstreams("string")
.useNext(false)
.build());
cdn_origingroup_resource = gcore.CdnOrigingroup("cdnOrigingroupResource",
auth={
"s3_access_key_id": "string",
"s3_bucket_name": "string",
"s3_secret_access_key": "string",
"s3_type": "string",
"s3_region": "string",
"s3_storage_hostname": "string",
},
cdn_origingroup_id="string",
name="string",
origins=[{
"source": "string",
"backup": False,
"enabled": False,
}],
proxy_next_upstreams=["string"],
use_next=False)
const cdnOrigingroupResource = new gcore.CdnOrigingroup("cdnOrigingroupResource", {
auth: {
s3AccessKeyId: "string",
s3BucketName: "string",
s3SecretAccessKey: "string",
s3Type: "string",
s3Region: "string",
s3StorageHostname: "string",
},
cdnOrigingroupId: "string",
name: "string",
origins: [{
source: "string",
backup: false,
enabled: false,
}],
proxyNextUpstreams: ["string"],
useNext: false,
});
type: gcore:CdnOrigingroup
properties:
auth:
s3AccessKeyId: string
s3BucketName: string
s3Region: string
s3SecretAccessKey: string
s3StorageHostname: string
s3Type: string
cdnOrigingroupId: string
name: string
origins:
- backup: false
enabled: false
source: string
proxyNextUpstreams:
- string
useNext: false
CdnOrigingroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CdnOrigingroup resource accepts the following input properties:
- Auth
Cdn
Origingroup Auth - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - Cdn
Origingroup stringId - The ID of this resource.
- Name string
- Name of the origin group
- Origins
List<Cdn
Origingroup Origin> - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - Proxy
Next List<string>Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- Use
Next bool - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- Auth
Cdn
Origingroup Auth Args - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - Cdn
Origingroup stringId - The ID of this resource.
- Name string
- Name of the origin group
- Origins
[]Cdn
Origingroup Origin Args - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - Proxy
Next []stringUpstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- Use
Next bool - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth
Cdn
Origingroup Auth - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn
Origingroup StringId - The ID of this resource.
- name String
- Name of the origin group
- origins
List<Cdn
Origingroup Origin> - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy
Next List<String>Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use
Next Boolean - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth
Cdn
Origingroup Auth - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn
Origingroup stringId - The ID of this resource.
- name string
- Name of the origin group
- origins
Cdn
Origingroup Origin[] - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy
Next string[]Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use
Next boolean - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth
Cdn
Origingroup Auth Args - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn_
origingroup_ strid - The ID of this resource.
- name str
- Name of the origin group
- origins
Sequence[Cdn
Origingroup Origin Args] - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy_
next_ Sequence[str]upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use_
next bool - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth Property Map
- Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn
Origingroup StringId - The ID of this resource.
- name String
- Name of the origin group
- origins List<Property Map>
- Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy
Next List<String>Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use
Next Boolean - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the CdnOrigingroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CdnOrigingroup Resource
Get an existing CdnOrigingroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CdnOrigingroupState, opts?: CustomResourceOptions): CdnOrigingroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth: Optional[CdnOrigingroupAuthArgs] = None,
cdn_origingroup_id: Optional[str] = None,
name: Optional[str] = None,
origins: Optional[Sequence[CdnOrigingroupOriginArgs]] = None,
proxy_next_upstreams: Optional[Sequence[str]] = None,
use_next: Optional[bool] = None) -> CdnOrigingroup
func GetCdnOrigingroup(ctx *Context, name string, id IDInput, state *CdnOrigingroupState, opts ...ResourceOption) (*CdnOrigingroup, error)
public static CdnOrigingroup Get(string name, Input<string> id, CdnOrigingroupState? state, CustomResourceOptions? opts = null)
public static CdnOrigingroup get(String name, Output<String> id, CdnOrigingroupState state, CustomResourceOptions options)
resources: _: type: gcore:CdnOrigingroup get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auth
Cdn
Origingroup Auth - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - Cdn
Origingroup stringId - The ID of this resource.
- Name string
- Name of the origin group
- Origins
List<Cdn
Origingroup Origin> - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - Proxy
Next List<string>Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- Use
Next bool - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- Auth
Cdn
Origingroup Auth Args - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - Cdn
Origingroup stringId - The ID of this resource.
- Name string
- Name of the origin group
- Origins
[]Cdn
Origingroup Origin Args - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - Proxy
Next []stringUpstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- Use
Next bool - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth
Cdn
Origingroup Auth - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn
Origingroup StringId - The ID of this resource.
- name String
- Name of the origin group
- origins
List<Cdn
Origingroup Origin> - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy
Next List<String>Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use
Next Boolean - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth
Cdn
Origingroup Auth - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn
Origingroup stringId - The ID of this resource.
- name string
- Name of the origin group
- origins
Cdn
Origingroup Origin[] - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy
Next string[]Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use
Next boolean - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth
Cdn
Origingroup Auth Args - Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn_
origingroup_ strid - The ID of this resource.
- name str
- Name of the origin group
- origins
Sequence[Cdn
Origingroup Origin Args] - Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy_
next_ Sequence[str]upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use_
next bool - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
- auth Property Map
- Authentication configuration for S3 storage. This field is required unless
origin
is specified.auth
andorigin
cannot both be specified simultaneously. - cdn
Origingroup StringId - The ID of this resource.
- name String
- Name of the origin group
- origins List<Property Map>
- Contains information about all IP address or Domain names of your origin and the port if custom. This field is required unless
auth
is specified.origin
andauth
cannot both be specified simultaneously. - proxy
Next List<String>Upstreams - Available values: error, timeout, invalidheader, http403, http404, http429, http500, http502, http503, http504.
- use
Next Boolean - This options have two possible values: true — The option is active. In case the origin responds with 4XX or 5XX codes, use the next origin from the list. false — The option is disabled.
Supporting Types
CdnOrigingroupAuth, CdnOrigingroupAuthArgs
- S3Access
Key stringId - Access key ID for the S3 storage
- S3Bucket
Name string - Bucket name of the S3 storage
- S3Secret
Access stringKey - Secret access key for the S3 storage
- S3Type string
- Type of the S3 storage, accepted values: 'other' or 'amazon'
- S3Region string
- Region of the S3 storage, required if s3_type is 'amazon'
- S3Storage
Hostname string - Hostname of the S3 storage, required if s3_type is 'other'
- S3Access
Key stringId - Access key ID for the S3 storage
- S3Bucket
Name string - Bucket name of the S3 storage
- S3Secret
Access stringKey - Secret access key for the S3 storage
- S3Type string
- Type of the S3 storage, accepted values: 'other' or 'amazon'
- S3Region string
- Region of the S3 storage, required if s3_type is 'amazon'
- S3Storage
Hostname string - Hostname of the S3 storage, required if s3_type is 'other'
- s3Access
Key StringId - Access key ID for the S3 storage
- s3Bucket
Name String - Bucket name of the S3 storage
- s3Secret
Access StringKey - Secret access key for the S3 storage
- s3Type String
- Type of the S3 storage, accepted values: 'other' or 'amazon'
- s3Region String
- Region of the S3 storage, required if s3_type is 'amazon'
- s3Storage
Hostname String - Hostname of the S3 storage, required if s3_type is 'other'
- s3Access
Key stringId - Access key ID for the S3 storage
- s3Bucket
Name string - Bucket name of the S3 storage
- s3Secret
Access stringKey - Secret access key for the S3 storage
- s3Type string
- Type of the S3 storage, accepted values: 'other' or 'amazon'
- s3Region string
- Region of the S3 storage, required if s3_type is 'amazon'
- s3Storage
Hostname string - Hostname of the S3 storage, required if s3_type is 'other'
- s3_
access_ strkey_ id - Access key ID for the S3 storage
- s3_
bucket_ strname - Bucket name of the S3 storage
- s3_
secret_ straccess_ key - Secret access key for the S3 storage
- s3_
type str - Type of the S3 storage, accepted values: 'other' or 'amazon'
- s3_
region str - Region of the S3 storage, required if s3_type is 'amazon'
- s3_
storage_ strhostname - Hostname of the S3 storage, required if s3_type is 'other'
- s3Access
Key StringId - Access key ID for the S3 storage
- s3Bucket
Name String - Bucket name of the S3 storage
- s3Secret
Access StringKey - Secret access key for the S3 storage
- s3Type String
- Type of the S3 storage, accepted values: 'other' or 'amazon'
- s3Region String
- Region of the S3 storage, required if s3_type is 'amazon'
- s3Storage
Hostname String - Hostname of the S3 storage, required if s3_type is 'other'
CdnOrigingroupOrigin, CdnOrigingroupOriginArgs
- Source string
- IP address or Domain name of your origin and the port if custom
- Backup bool
- true — The option is active. The origin will not be used until one of active origins become unavailable. false — The option is disabled.
- Enabled bool
- The setting allows to enable or disable an Origin source in the Origins group
- Source string
- IP address or Domain name of your origin and the port if custom
- Backup bool
- true — The option is active. The origin will not be used until one of active origins become unavailable. false — The option is disabled.
- Enabled bool
- The setting allows to enable or disable an Origin source in the Origins group
- source String
- IP address or Domain name of your origin and the port if custom
- backup Boolean
- true — The option is active. The origin will not be used until one of active origins become unavailable. false — The option is disabled.
- enabled Boolean
- The setting allows to enable or disable an Origin source in the Origins group
- source string
- IP address or Domain name of your origin and the port if custom
- backup boolean
- true — The option is active. The origin will not be used until one of active origins become unavailable. false — The option is disabled.
- enabled boolean
- The setting allows to enable or disable an Origin source in the Origins group
- source str
- IP address or Domain name of your origin and the port if custom
- backup bool
- true — The option is active. The origin will not be used until one of active origins become unavailable. false — The option is disabled.
- enabled bool
- The setting allows to enable or disable an Origin source in the Origins group
- source String
- IP address or Domain name of your origin and the port if custom
- backup Boolean
- true — The option is active. The origin will not be used until one of active origins become unavailable. false — The option is disabled.
- enabled Boolean
- The setting allows to enable or disable an Origin source in the Origins group
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcore
Terraform Provider.