cdndistribution

package
v0.106.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

README

stackit_cdn_distribution

Refer to the Terraform Registry for docs: stackit_cdn_distribution.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CdnDistribution_GenerateConfigForImport

func CdnDistribution_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource

Generates CDKTF code for importing a CdnDistribution resource upon running "cdktf plan <stack-name>".

func CdnDistribution_IsConstruct

func CdnDistribution_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func CdnDistribution_IsTerraformElement

func CdnDistribution_IsTerraformElement(x interface{}) *bool

Experimental.

func CdnDistribution_IsTerraformResource

func CdnDistribution_IsTerraformResource(x interface{}) *bool

Experimental.

func CdnDistribution_TfResourceType

func CdnDistribution_TfResourceType() *string

func NewCdnDistributionConfigAOutputReference_Override

func NewCdnDistributionConfigAOutputReference_Override(c CdnDistributionConfigAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCdnDistributionConfigBackendCredentialsOutputReference_Override added in v0.81.0

func NewCdnDistributionConfigBackendCredentialsOutputReference_Override(c CdnDistributionConfigBackendCredentialsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCdnDistributionConfigBackendOutputReference_Override

func NewCdnDistributionConfigBackendOutputReference_Override(c CdnDistributionConfigBackendOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCdnDistributionConfigOptimizerOutputReference_Override added in v0.58.0

func NewCdnDistributionConfigOptimizerOutputReference_Override(c CdnDistributionConfigOptimizerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCdnDistributionConfigRedirectsOutputReference_Override added in v0.94.0

func NewCdnDistributionConfigRedirectsOutputReference_Override(c CdnDistributionConfigRedirectsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCdnDistributionConfigRedirectsRulesList_Override added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesList_Override(c CdnDistributionConfigRedirectsRulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewCdnDistributionConfigRedirectsRulesMatchersList_Override added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesMatchersList_Override(c CdnDistributionConfigRedirectsRulesMatchersList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewCdnDistributionConfigRedirectsRulesMatchersOutputReference_Override added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesMatchersOutputReference_Override(c CdnDistributionConfigRedirectsRulesMatchersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewCdnDistributionConfigRedirectsRulesOutputReference_Override added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesOutputReference_Override(c CdnDistributionConfigRedirectsRulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewCdnDistributionConfigTlsOutputReference_Override added in v0.102.0

func NewCdnDistributionConfigTlsOutputReference_Override(c CdnDistributionConfigTlsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCdnDistributionConfigWafOutputReference_Override added in v0.95.0

func NewCdnDistributionConfigWafOutputReference_Override(c CdnDistributionConfigWafOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewCdnDistributionDomainsList_Override

func NewCdnDistributionDomainsList_Override(c CdnDistributionDomainsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewCdnDistributionDomainsOutputReference_Override

func NewCdnDistributionDomainsOutputReference_Override(c CdnDistributionDomainsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewCdnDistribution_Override

func NewCdnDistribution_Override(c CdnDistribution, scope constructs.Construct, id *string, config *CdnDistributionConfig)

Create a new {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution stackit_cdn_distribution} Resource.

Types

type CdnDistribution

type CdnDistribution interface {
	cdktf.TerraformResource
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	Config() CdnDistributionConfigAOutputReference
	ConfigInput() interface{}
	// Experimental.
	Connection() interface{}
	// Experimental.
	SetConnection(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Count() interface{}
	// Experimental.
	SetCount(val interface{})
	CreatedAt() *string
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	DistributionId() *string
	Domains() CdnDistributionDomainsList
	Errors() *[]*string
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	Id() *string
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	// The tree node.
	Node() constructs.Node
	ProjectId() *string
	SetProjectId(val *string)
	ProjectIdInput() *string
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	// Experimental.
	RawOverrides() interface{}
	Status() *string
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	UpdatedAt() *string
	// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
	// Experimental.
	AddMoveTarget(moveTarget *string)
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	HasResourceMove() interface{}
	// Experimental.
	ImportFrom(id *string, provider cdktf.TerraformProvider)
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// Move the resource corresponding to "id" to this resource.
	//
	// Note that the resource being moved from must be marked as moved using it's instance function.
	// Experimental.
	MoveFromId(id *string)
	// Moves this resource to the target resource given by moveTarget.
	// Experimental.
	MoveTo(moveTarget *string, index interface{})
	// Moves this resource to the resource corresponding to "id".
	// Experimental.
	MoveToId(id *string)
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	PutConfig(value *CdnDistributionConfigA)
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	SynthesizeAttributes() *map[string]interface{}
	SynthesizeHclAttributes() *map[string]interface{}
	// Experimental.
	ToHclTerraform() interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution stackit_cdn_distribution}.

type CdnDistributionConfig

type CdnDistributionConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count interface{} `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// The distribution configuration.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#config CdnDistribution#config}
	Config *CdnDistributionConfigA `field:"required" json:"config" yaml:"config"`
	// STACKIT project ID associated with the distribution.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#project_id CdnDistribution#project_id}
	ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
}

type CdnDistributionConfigA

type CdnDistributionConfigA struct {
	// The configured backend for the distribution.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#backend CdnDistribution#backend}
	Backend *CdnDistributionConfigBackend `field:"required" json:"backend" yaml:"backend"`
	// The configured regions where content will be hosted.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#regions CdnDistribution#regions}
	Regions *[]*string `field:"required" json:"regions" yaml:"regions"`
	// The configured countries where distribution of content is blocked.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#blocked_countries CdnDistribution#blocked_countries}
	BlockedCountries *[]*string `field:"optional" json:"blockedCountries" yaml:"blockedCountries"`
	// Enable this allows the 'Host' header to be passed through to the origin.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#forward_host_header CdnDistribution#forward_host_header}
	ForwardHostHeader interface{} `field:"optional" json:"forwardHostHeader" yaml:"forwardHostHeader"`
	// Configuration for the Image Optimizer.
	//
	// This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#optimizer CdnDistribution#optimizer}
	Optimizer *CdnDistributionConfigOptimizer `field:"optional" json:"optimizer" yaml:"optimizer"`
	// A wrapper for a list of redirect rules that allows for redirect settings on a distribution.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#redirects CdnDistribution#redirects}
	Redirects *CdnDistributionConfigRedirects `field:"optional" json:"redirects" yaml:"redirects"`
	// Enable this to prevent origin-level cookies from being forwarded to the end user.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#strip_response_cookies CdnDistribution#strip_response_cookies}
	StripResponseCookies interface{} `field:"optional" json:"stripResponseCookies" yaml:"stripResponseCookies"`
	// Configuration for TLS protocol versions. Note: Enabling older TLS versions (1.0, 1.1) is generally discouraged for security reasons.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#tls CdnDistribution#tls}
	Tls *CdnDistributionConfigTls `field:"optional" json:"tls" yaml:"tls"`
	// Configures the Web Application Firewall (WAF) for the distribution.
	//
	// If this block is undefined or removed from your configuration, the WAF mode will default to DISABLED and the type to FREE. All other WAF properties will retain their last known state in the API; if they were never defined, the API will apply its default settings.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#waf CdnDistribution#waf}
	Waf *CdnDistributionConfigWaf `field:"optional" json:"waf" yaml:"waf"`
}

type CdnDistributionConfigAOutputReference

type CdnDistributionConfigAOutputReference interface {
	cdktf.ComplexObject
	Backend() CdnDistributionConfigBackendOutputReference
	BackendInput() interface{}
	BlockedCountries() *[]*string
	SetBlockedCountries(val *[]*string)
	BlockedCountriesInput() *[]*string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	ForwardHostHeader() interface{}
	SetForwardHostHeader(val interface{})
	ForwardHostHeaderInput() interface{}
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	Optimizer() CdnDistributionConfigOptimizerOutputReference
	OptimizerInput() interface{}
	Redirects() CdnDistributionConfigRedirectsOutputReference
	RedirectsInput() interface{}
	Regions() *[]*string
	SetRegions(val *[]*string)
	RegionsInput() *[]*string
	StripResponseCookies() interface{}
	SetStripResponseCookies(val interface{})
	StripResponseCookiesInput() interface{}
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Tls() CdnDistributionConfigTlsOutputReference
	TlsInput() interface{}
	Waf() CdnDistributionConfigWafOutputReference
	WafInput() interface{}
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutBackend(value *CdnDistributionConfigBackend)
	PutOptimizer(value *CdnDistributionConfigOptimizer)
	PutRedirects(value *CdnDistributionConfigRedirects)
	PutTls(value *CdnDistributionConfigTls)
	PutWaf(value *CdnDistributionConfigWaf)
	ResetBlockedCountries()
	ResetForwardHostHeader()
	ResetOptimizer()
	ResetRedirects()
	ResetStripResponseCookies()
	ResetTls()
	ResetWaf()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigAOutputReference

func NewCdnDistributionConfigAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CdnDistributionConfigAOutputReference

type CdnDistributionConfigBackend

type CdnDistributionConfigBackend struct {
	// The configured backend type. Possible values are: `http`, `bucket`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#type CdnDistribution#type}
	Type *string `field:"required" json:"type" yaml:"type"`
	// The URL of the bucket (e.g. https://s3.example.com). Required if type is 'bucket'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#bucket_url CdnDistribution#bucket_url}
	BucketUrl *string `field:"optional" json:"bucketUrl" yaml:"bucketUrl"`
	// The credentials for the bucket. Required if type is 'bucket'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#credentials CdnDistribution#credentials}
	Credentials *CdnDistributionConfigBackendCredentials `field:"optional" json:"credentials" yaml:"credentials"`
	// The configured type http to configure countries where content is allowed.
	//
	// A map of URLs to a list of countries
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#geofencing CdnDistribution#geofencing}
	Geofencing interface{} `field:"optional" json:"geofencing" yaml:"geofencing"`
	// The configured type http origin request headers for the backend.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#origin_request_headers CdnDistribution#origin_request_headers}
	OriginRequestHeaders *map[string]*string `field:"optional" json:"originRequestHeaders" yaml:"originRequestHeaders"`
	// The configured backend type http for the distribution.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#origin_url CdnDistribution#origin_url}
	OriginUrl *string `field:"optional" json:"originUrl" yaml:"originUrl"`
	// The region where the bucket is hosted. Required if type is 'bucket'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#region CdnDistribution#region}
	Region *string `field:"optional" json:"region" yaml:"region"`
}

type CdnDistributionConfigBackendCredentials added in v0.81.0

type CdnDistributionConfigBackendCredentials struct {
	// The access key for the bucket. Required if type is 'bucket'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#access_key_id CdnDistribution#access_key_id}
	AccessKeyId *string `field:"required" json:"accessKeyId" yaml:"accessKeyId"`
	// The access key for the bucket. Required if type is 'bucket'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#secret_access_key CdnDistribution#secret_access_key}
	SecretAccessKey *string `field:"required" json:"secretAccessKey" yaml:"secretAccessKey"`
}

type CdnDistributionConfigBackendCredentialsOutputReference added in v0.81.0

type CdnDistributionConfigBackendCredentialsOutputReference interface {
	cdktf.ComplexObject
	AccessKeyId() *string
	SetAccessKeyId(val *string)
	AccessKeyIdInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	SecretAccessKey() *string
	SetSecretAccessKey(val *string)
	SecretAccessKeyInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigBackendCredentialsOutputReference added in v0.81.0

func NewCdnDistributionConfigBackendCredentialsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CdnDistributionConfigBackendCredentialsOutputReference

type CdnDistributionConfigBackendOutputReference

type CdnDistributionConfigBackendOutputReference interface {
	cdktf.ComplexObject
	BucketUrl() *string
	SetBucketUrl(val *string)
	BucketUrlInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	Credentials() CdnDistributionConfigBackendCredentialsOutputReference
	CredentialsInput() interface{}
	// Experimental.
	Fqn() *string
	Geofencing() interface{}
	SetGeofencing(val interface{})
	GeofencingInput() interface{}
	InternalValue() interface{}
	SetInternalValue(val interface{})
	OriginRequestHeaders() *map[string]*string
	SetOriginRequestHeaders(val *map[string]*string)
	OriginRequestHeadersInput() *map[string]*string
	OriginUrl() *string
	SetOriginUrl(val *string)
	OriginUrlInput() *string
	Region() *string
	SetRegion(val *string)
	RegionInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Type() *string
	SetType(val *string)
	TypeInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutCredentials(value *CdnDistributionConfigBackendCredentials)
	ResetBucketUrl()
	ResetCredentials()
	ResetGeofencing()
	ResetOriginRequestHeaders()
	ResetOriginUrl()
	ResetRegion()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigBackendOutputReference

func NewCdnDistributionConfigBackendOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CdnDistributionConfigBackendOutputReference

type CdnDistributionConfigOptimizer added in v0.58.0

type CdnDistributionConfigOptimizer struct {
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#enabled CdnDistribution#enabled}.
	Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
}

type CdnDistributionConfigOptimizerOutputReference added in v0.58.0

type CdnDistributionConfigOptimizerOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	Enabled() interface{}
	SetEnabled(val interface{})
	EnabledInput() interface{}
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetEnabled()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigOptimizerOutputReference added in v0.58.0

func NewCdnDistributionConfigOptimizerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CdnDistributionConfigOptimizerOutputReference

type CdnDistributionConfigRedirects added in v0.94.0

type CdnDistributionConfigRedirects struct {
	// A list of redirect rules. The order of rules matters for evaluation.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#rules CdnDistribution#rules}
	Rules interface{} `field:"required" json:"rules" yaml:"rules"`
}

type CdnDistributionConfigRedirectsOutputReference added in v0.94.0

type CdnDistributionConfigRedirectsOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	Rules() CdnDistributionConfigRedirectsRulesList
	RulesInput() interface{}
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutRules(value interface{})
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigRedirectsOutputReference added in v0.94.0

func NewCdnDistributionConfigRedirectsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CdnDistributionConfigRedirectsOutputReference

type CdnDistributionConfigRedirectsRules added in v0.94.0

type CdnDistributionConfigRedirectsRules struct {
	// A list of matchers that define when this rule should apply. At least one matcher is required.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#matchers CdnDistribution#matchers}
	Matchers interface{} `field:"required" json:"matchers" yaml:"matchers"`
	// The HTTP status code for the redirect. Must be one of 301, 302, 303, 307, or 308.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#status_code CdnDistribution#status_code}
	StatusCode *float64 `field:"required" json:"statusCode" yaml:"statusCode"`
	// The target URL to redirect to. Must be a valid URI.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#target_url CdnDistribution#target_url}
	TargetUrl *string `field:"required" json:"targetUrl" yaml:"targetUrl"`
	// An optional description for the redirect rule.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#description CdnDistribution#description}
	Description *string `field:"optional" json:"description" yaml:"description"`
	// A toggle to enable or disable the redirect rule. Default to true.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#enabled CdnDistribution#enabled}
	Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
	// Defines how multiple matchers within this rule are combined (ALL, ANY, NONE). Defaults to ANY.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#rule_match_condition CdnDistribution#rule_match_condition}
	RuleMatchCondition *string `field:"optional" json:"ruleMatchCondition" yaml:"ruleMatchCondition"`
}

type CdnDistributionConfigRedirectsRulesList added in v0.94.0

type CdnDistributionConfigRedirectsRulesList interface {
	cdktf.ComplexList
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Creating an iterator for this complex list.
	//
	// The list will be converted into a map with the mapKeyAttributeName as the key.
	// Experimental.
	AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) CdnDistributionConfigRedirectsRulesOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigRedirectsRulesList added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CdnDistributionConfigRedirectsRulesList

type CdnDistributionConfigRedirectsRulesMatchers added in v0.94.0

type CdnDistributionConfigRedirectsRulesMatchers struct {
	// A list of glob patterns to match against the request path.
	//
	// At least one value is required. Examples: "/shop/*" or "* /img/*"
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#values CdnDistribution#values}
	//
	// Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.
	Values *[]*string `field:"required" json:"values" yaml:"values"`
	// Defines how multiple matchers within this rule are combined (ALL, ANY, NONE). Defaults to ANY.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#value_match_condition CdnDistribution#value_match_condition}
	ValueMatchCondition *string `field:"optional" json:"valueMatchCondition" yaml:"valueMatchCondition"`
}

type CdnDistributionConfigRedirectsRulesMatchersList added in v0.94.0

type CdnDistributionConfigRedirectsRulesMatchersList interface {
	cdktf.ComplexList
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Creating an iterator for this complex list.
	//
	// The list will be converted into a map with the mapKeyAttributeName as the key.
	// Experimental.
	AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) CdnDistributionConfigRedirectsRulesMatchersOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigRedirectsRulesMatchersList added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesMatchersList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CdnDistributionConfigRedirectsRulesMatchersList

type CdnDistributionConfigRedirectsRulesMatchersOutputReference added in v0.94.0

type CdnDistributionConfigRedirectsRulesMatchersOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	ValueMatchCondition() *string
	SetValueMatchCondition(val *string)
	ValueMatchConditionInput() *string
	Values() *[]*string
	SetValues(val *[]*string)
	ValuesInput() *[]*string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetValueMatchCondition()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigRedirectsRulesMatchersOutputReference added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesMatchersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CdnDistributionConfigRedirectsRulesMatchersOutputReference

type CdnDistributionConfigRedirectsRulesOutputReference added in v0.94.0

type CdnDistributionConfigRedirectsRulesOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	Description() *string
	SetDescription(val *string)
	DescriptionInput() *string
	Enabled() interface{}
	SetEnabled(val interface{})
	EnabledInput() interface{}
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	Matchers() CdnDistributionConfigRedirectsRulesMatchersList
	MatchersInput() interface{}
	RuleMatchCondition() *string
	SetRuleMatchCondition(val *string)
	RuleMatchConditionInput() *string
	StatusCode() *float64
	SetStatusCode(val *float64)
	StatusCodeInput() *float64
	TargetUrl() *string
	SetTargetUrl(val *string)
	TargetUrlInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	PutMatchers(value interface{})
	ResetDescription()
	ResetEnabled()
	ResetRuleMatchCondition()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigRedirectsRulesOutputReference added in v0.94.0

func NewCdnDistributionConfigRedirectsRulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CdnDistributionConfigRedirectsRulesOutputReference

type CdnDistributionConfigTls added in v0.102.0

type CdnDistributionConfigTls struct {
	// If set to true, the distribution will accept connections using TLS 1.1.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#enable_tls_10 CdnDistribution#enable_tls_10}
	EnableTls10 interface{} `field:"optional" json:"enableTls10" yaml:"enableTls10"`
	// If set to true, the distribution will accept connections using TLS 1.0.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#enable_tls_11 CdnDistribution#enable_tls_11}
	EnableTls11 interface{} `field:"optional" json:"enableTls11" yaml:"enableTls11"`
}

type CdnDistributionConfigTlsOutputReference added in v0.102.0

type CdnDistributionConfigTlsOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	EnableTls10() interface{}
	SetEnableTls10(val interface{})
	EnableTls10Input() interface{}
	EnableTls11() interface{}
	SetEnableTls11(val interface{})
	EnableTls11Input() interface{}
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetEnableTls10()
	ResetEnableTls11()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigTlsOutputReference added in v0.102.0

func NewCdnDistributionConfigTlsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CdnDistributionConfigTlsOutputReference

type CdnDistributionConfigWaf added in v0.95.0

type CdnDistributionConfigWaf struct {
	// Restricts which HTTP methods the distribution accepts.
	//
	// If provided, the set must contain at least one item. Case you removed waf will retain the last known state and if omitted, the API applies the following defaults: `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE`, `PATCH`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#allowed_http_methods CdnDistribution#allowed_http_methods}
	AllowedHttpMethods *[]*string `field:"optional" json:"allowedHttpMethods" yaml:"allowedHttpMethods"`
	// Restricts which HTTP protocol versions are accepted.
	//
	// If provided, the set must contain at least one item. If omitted, the API applies the following defaults: `HTTP/1.0`, `HTTP/1.1`, `HTTP/2`, `HTTP/2.0`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#allowed_http_versions CdnDistribution#allowed_http_versions}
	AllowedHttpVersions *[]*string `field:"optional" json:"allowedHttpVersions" yaml:"allowedHttpVersions"`
	// Restricts which Content-Type headers are accepted in request bodies.
	//
	// If provided, the set must contain at least one item. Case you removed waf will retain the last known state and if omitted, the API applies the following defaults: `application/x-www-form-urlencoded`, `multipart/form-data`, `multipart/related`, `text/xml`, `application/xml`, `application/soap+xml`, `application/x-amf`, `application/json`, `application/octet-stream`, `application/csp-report`, `application/xss-auditor-report`, `text/plain`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#allowed_request_content_types CdnDistribution#allowed_request_content_types}
	AllowedRequestContentTypes *[]*string `field:"optional" json:"allowedRequestContentTypes" yaml:"allowedRequestContentTypes"`
	// Set of WAF Collection IDs explicitly disabled.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. To view available rule collections, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#disabled_rule_collection_ids CdnDistribution#disabled_rule_collection_ids}
	DisabledRuleCollectionIds *[]*string `field:"optional" json:"disabledRuleCollectionIds" yaml:"disabledRuleCollectionIds"`
	// Set of WAF Rule Group IDs explicitly disabled.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. Precedence hierarchy: Groups override Collections. To view available rule groups, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#disabled_rule_group_ids CdnDistribution#disabled_rule_group_ids}
	DisabledRuleGroupIds *[]*string `field:"optional" json:"disabledRuleGroupIds" yaml:"disabledRuleGroupIds"`
	// Set of WAF rule IDs explicitly disabled.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. Precedence hierarchy: Specific Rules override Groups. For example, an explicitly disabled Rule ID takes precedence over an enabled Group ID. To view available rules, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#disabled_rule_ids CdnDistribution#disabled_rule_ids}
	DisabledRuleIds *[]*string `field:"optional" json:"disabledRuleIds" yaml:"disabledRuleIds"`
	// Set of WAF Collection IDs explicitly enabled.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. To view available rule collections, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#enabled_rule_collection_ids CdnDistribution#enabled_rule_collection_ids}
	EnabledRuleCollectionIds *[]*string `field:"optional" json:"enabledRuleCollectionIds" yaml:"enabledRuleCollectionIds"`
	// Set of WAF Rule Group IDs explicitly enabled.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. Precedence hierarchy: Groups override Collections. To view available rule groups, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#enabled_rule_group_ids CdnDistribution#enabled_rule_group_ids}
	EnabledRuleGroupIds *[]*string `field:"optional" json:"enabledRuleGroupIds" yaml:"enabledRuleGroupIds"`
	// Set of WAF rule IDs explicitly enabled.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. Precedence hierarchy: Specific Rules override Groups. For example, an explicitly enabled Rule ID takes precedence over a disabled Group ID. To view available rules, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#enabled_rule_ids CdnDistribution#enabled_rule_ids}
	EnabledRuleIds *[]*string `field:"optional" json:"enabledRuleIds" yaml:"enabledRuleIds"`
	// Set of WAF Collection IDs explicitly marked as Log Only.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. To view available rule collections, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#log_only_rule_collection_ids CdnDistribution#log_only_rule_collection_ids}
	LogOnlyRuleCollectionIds *[]*string `field:"optional" json:"logOnlyRuleCollectionIds" yaml:"logOnlyRuleCollectionIds"`
	// Set of WAF Rule Group IDs explicitly marked as Log Only.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. Precedence hierarchy: Groups override Collections. To view available rule groups, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#log_only_rule_group_ids CdnDistribution#log_only_rule_group_ids}
	LogOnlyRuleGroupIds *[]*string `field:"optional" json:"logOnlyRuleGroupIds" yaml:"logOnlyRuleGroupIds"`
	// Set of WAF rule IDs explicitly marked as Log Only.
	//
	// Can be set to an empty set to clear previously set rules. Case you removed waf will retain the last known state. Precedence hierarchy: Specific Rules override Groups. To view available rules, please consult the API documentation: https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#log_only_rule_ids CdnDistribution#log_only_rule_ids}
	LogOnlyRuleIds *[]*string `field:"optional" json:"logOnlyRuleIds" yaml:"logOnlyRuleIds"`
	// The operating mode of the WAF.
	//
	// 'ENABLED' actively blocks threats, 'LOG_ONLY' logs matches without blocking, and 'DISABLED' completely turns off inspection. Defaults to 'DISABLED'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#mode CdnDistribution#mode}
	Mode *string `field:"optional" json:"mode" yaml:"mode"`
	// Defines how aggressively the WAF should act on requests.
	//
	// Valid values are 'L1' to 'L4'. Case you removed waf will retain the last known state and if omitted, The API applies the following default 'L1'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#paranoia_level CdnDistribution#paranoia_level}
	ParanoiaLevel *string `field:"optional" json:"paranoiaLevel" yaml:"paranoiaLevel"`
	// The tier of the WAF. Valid values are 'FREE' or 'PREMIUM'. Defaults to 'FREE'.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.106.0/docs/resources/cdn_distribution#type CdnDistribution#type}
	Type *string `field:"optional" json:"type" yaml:"type"`
}

type CdnDistributionConfigWafOutputReference added in v0.95.0

type CdnDistributionConfigWafOutputReference interface {
	cdktf.ComplexObject
	AllowedHttpMethods() *[]*string
	SetAllowedHttpMethods(val *[]*string)
	AllowedHttpMethodsInput() *[]*string
	AllowedHttpVersions() *[]*string
	SetAllowedHttpVersions(val *[]*string)
	AllowedHttpVersionsInput() *[]*string
	AllowedRequestContentTypes() *[]*string
	SetAllowedRequestContentTypes(val *[]*string)
	AllowedRequestContentTypesInput() *[]*string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	DisabledRuleCollectionIds() *[]*string
	SetDisabledRuleCollectionIds(val *[]*string)
	DisabledRuleCollectionIdsInput() *[]*string
	DisabledRuleGroupIds() *[]*string
	SetDisabledRuleGroupIds(val *[]*string)
	DisabledRuleGroupIdsInput() *[]*string
	DisabledRuleIds() *[]*string
	SetDisabledRuleIds(val *[]*string)
	DisabledRuleIdsInput() *[]*string
	EnabledRuleCollectionIds() *[]*string
	SetEnabledRuleCollectionIds(val *[]*string)
	EnabledRuleCollectionIdsInput() *[]*string
	EnabledRuleGroupIds() *[]*string
	SetEnabledRuleGroupIds(val *[]*string)
	EnabledRuleGroupIdsInput() *[]*string
	EnabledRuleIds() *[]*string
	SetEnabledRuleIds(val *[]*string)
	EnabledRuleIdsInput() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	LogOnlyRuleCollectionIds() *[]*string
	SetLogOnlyRuleCollectionIds(val *[]*string)
	LogOnlyRuleCollectionIdsInput() *[]*string
	LogOnlyRuleGroupIds() *[]*string
	SetLogOnlyRuleGroupIds(val *[]*string)
	LogOnlyRuleGroupIdsInput() *[]*string
	LogOnlyRuleIds() *[]*string
	SetLogOnlyRuleIds(val *[]*string)
	LogOnlyRuleIdsInput() *[]*string
	Mode() *string
	SetMode(val *string)
	ModeInput() *string
	ParanoiaLevel() *string
	SetParanoiaLevel(val *string)
	ParanoiaLevelInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Type() *string
	SetType(val *string)
	TypeInput() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetAllowedHttpMethods()
	ResetAllowedHttpVersions()
	ResetAllowedRequestContentTypes()
	ResetDisabledRuleCollectionIds()
	ResetDisabledRuleGroupIds()
	ResetDisabledRuleIds()
	ResetEnabledRuleCollectionIds()
	ResetEnabledRuleGroupIds()
	ResetEnabledRuleIds()
	ResetLogOnlyRuleCollectionIds()
	ResetLogOnlyRuleGroupIds()
	ResetLogOnlyRuleIds()
	ResetMode()
	ResetParanoiaLevel()
	ResetType()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionConfigWafOutputReference added in v0.95.0

func NewCdnDistributionConfigWafOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CdnDistributionConfigWafOutputReference

type CdnDistributionDomains

type CdnDistributionDomains struct {
}

type CdnDistributionDomainsList

type CdnDistributionDomainsList interface {
	cdktf.ComplexList
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Creating an iterator for this complex list.
	//
	// The list will be converted into a map with the mapKeyAttributeName as the key.
	// Experimental.
	AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) CdnDistributionDomainsOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionDomainsList

func NewCdnDistributionDomainsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CdnDistributionDomainsList

type CdnDistributionDomainsOutputReference

type CdnDistributionDomainsOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	Errors() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *CdnDistributionDomains
	SetInternalValue(val *CdnDistributionDomains)
	Name() *string
	Status() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	Type() *string
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewCdnDistributionDomainsOutputReference

func NewCdnDistributionDomainsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CdnDistributionDomainsOutputReference

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL