cloudfront

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ViewerPolicyProtocolAllowAll        = "allow-all"
	ViewerPolicyProtocolHTTPSOnly       = "https-only"
	ViewerPolicyProtocolRedirectToHTTPS = "redirect-to-https"
)
View Source
const (
	ProtocolVersionTLS1_2 = "TLSv1.2_2021"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheBehaviour

type CacheBehaviour struct {
	types.Metadata
	ViewerProtocolPolicy types.StringValue
}

func (*CacheBehaviour) GetMetadata

func (c *CacheBehaviour) GetMetadata() *types.Metadata

func (*CacheBehaviour) GetRawValue

func (c *CacheBehaviour) GetRawValue() interface{}

type Cloudfront

type Cloudfront struct {
	types.Metadata
	Distributions []Distribution
}

func (*Cloudfront) GetMetadata added in v0.3.24

func (c *Cloudfront) GetMetadata() *types.Metadata

func (*Cloudfront) GetRawValue added in v0.3.24

func (c *Cloudfront) GetRawValue() interface{}

type Distribution

type Distribution struct {
	types.Metadata
	WAFID                  types.StringValue
	Logging                Logging
	DefaultCacheBehaviour  CacheBehaviour
	OrdererCacheBehaviours []CacheBehaviour
	ViewerCertificate      ViewerCertificate
}

func (*Distribution) GetMetadata

func (d *Distribution) GetMetadata() *types.Metadata

func (*Distribution) GetRawValue

func (d *Distribution) GetRawValue() interface{}

type Logging

type Logging struct {
	types.Metadata
	Bucket types.StringValue
}

func (*Logging) GetMetadata added in v0.3.24

func (l *Logging) GetMetadata() *types.Metadata

func (*Logging) GetRawValue added in v0.3.24

func (l *Logging) GetRawValue() interface{}

type ViewerCertificate

type ViewerCertificate struct {
	types.Metadata
	MinimumProtocolVersion types.StringValue
}

func (*ViewerCertificate) GetMetadata added in v0.3.24

func (v *ViewerCertificate) GetMetadata() *types.Metadata

func (*ViewerCertificate) GetRawValue added in v0.3.24

func (v *ViewerCertificate) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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