cloudfront_services_k8s_aws_v1alpha1

package
v0.0.0-...-6209148 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudfrontServicesK8SAwsCachePolicyV1Alpha1Manifest

func NewCloudfrontServicesK8SAwsCachePolicyV1Alpha1Manifest() datasource.DataSource

func NewCloudfrontServicesK8SAwsDistributionV1Alpha1Manifest

func NewCloudfrontServicesK8SAwsDistributionV1Alpha1Manifest() datasource.DataSource

func NewCloudfrontServicesK8SAwsFunctionV1Alpha1Manifest

func NewCloudfrontServicesK8SAwsFunctionV1Alpha1Manifest() datasource.DataSource

func NewCloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1Manifest

func NewCloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1Manifest() datasource.DataSource

func NewCloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1Manifest

func NewCloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1Manifest() datasource.DataSource

Types

type CloudfrontServicesK8SAwsCachePolicyV1Alpha1Manifest

type CloudfrontServicesK8SAwsCachePolicyV1Alpha1Manifest struct{}

func (*CloudfrontServicesK8SAwsCachePolicyV1Alpha1Manifest) Metadata

func (*CloudfrontServicesK8SAwsCachePolicyV1Alpha1Manifest) Read

func (*CloudfrontServicesK8SAwsCachePolicyV1Alpha1Manifest) Schema

type CloudfrontServicesK8SAwsCachePolicyV1Alpha1ManifestData

type CloudfrontServicesK8SAwsCachePolicyV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		CachePolicyConfig *struct {
			Comment                                  *string `tfsdk:"comment" json:"comment,omitempty"`
			DefaultTTL                               *int64  `tfsdk:"default_ttl" json:"defaultTTL,omitempty"`
			MaxTTL                                   *int64  `tfsdk:"max_ttl" json:"maxTTL,omitempty"`
			MinTTL                                   *int64  `tfsdk:"min_ttl" json:"minTTL,omitempty"`
			Name                                     *string `tfsdk:"name" json:"name,omitempty"`
			ParametersInCacheKeyAndForwardedToOrigin *struct {
				CookiesConfig *struct {
					CookieBehavior *string `tfsdk:"cookie_behavior" json:"cookieBehavior,omitempty"`
					Cookies        *struct {
						Items *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"cookies" json:"cookies,omitempty"`
				} `tfsdk:"cookies_config" json:"cookiesConfig,omitempty"`
				EnableAcceptEncodingBrotli *bool `tfsdk:"enable_accept_encoding_brotli" json:"enableAcceptEncodingBrotli,omitempty"`
				EnableAcceptEncodingGzip   *bool `tfsdk:"enable_accept_encoding_gzip" json:"enableAcceptEncodingGzip,omitempty"`
				HeadersConfig              *struct {
					HeaderBehavior *string `tfsdk:"header_behavior" json:"headerBehavior,omitempty"`
					Headers        *struct {
						Items *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"headers" json:"headers,omitempty"`
				} `tfsdk:"headers_config" json:"headersConfig,omitempty"`
				QueryStringsConfig *struct {
					QueryStringBehavior *string `tfsdk:"query_string_behavior" json:"queryStringBehavior,omitempty"`
					QueryStrings        *struct {
						Items *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"query_strings" json:"queryStrings,omitempty"`
				} `tfsdk:"query_strings_config" json:"queryStringsConfig,omitempty"`
			} `tfsdk:"parameters_in_cache_key_and_forwarded_to_origin" json:"parametersInCacheKeyAndForwardedToOrigin,omitempty"`
		} `tfsdk:"cache_policy_config" json:"cachePolicyConfig,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type CloudfrontServicesK8SAwsDistributionV1Alpha1Manifest

type CloudfrontServicesK8SAwsDistributionV1Alpha1Manifest struct{}

func (*CloudfrontServicesK8SAwsDistributionV1Alpha1Manifest) Metadata

func (*CloudfrontServicesK8SAwsDistributionV1Alpha1Manifest) Read

func (*CloudfrontServicesK8SAwsDistributionV1Alpha1Manifest) Schema

type CloudfrontServicesK8SAwsDistributionV1Alpha1ManifestData

type CloudfrontServicesK8SAwsDistributionV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		DistributionConfig *struct {
			Aliases *struct {
				Items *[]string `tfsdk:"items" json:"items,omitempty"`
			} `tfsdk:"aliases" json:"aliases,omitempty"`
			CacheBehaviors *struct {
				Items *[]struct {
					AllowedMethods *struct {
						CachedMethods *struct {
							Items *[]string `tfsdk:"items" json:"items,omitempty"`
						} `tfsdk:"cached_methods" json:"cachedMethods,omitempty"`
						Items *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"allowed_methods" json:"allowedMethods,omitempty"`
					CachePolicyID          *string `tfsdk:"cache_policy_id" json:"cachePolicyID,omitempty"`
					Compress               *bool   `tfsdk:"compress" json:"compress,omitempty"`
					DefaultTTL             *int64  `tfsdk:"default_ttl" json:"defaultTTL,omitempty"`
					FieldLevelEncryptionID *string `tfsdk:"field_level_encryption_id" json:"fieldLevelEncryptionID,omitempty"`
					ForwardedValues        *struct {
						Cookies *struct {
							Forward          *string `tfsdk:"forward" json:"forward,omitempty"`
							WhitelistedNames *struct {
								Items *[]string `tfsdk:"items" json:"items,omitempty"`
							} `tfsdk:"whitelisted_names" json:"whitelistedNames,omitempty"`
						} `tfsdk:"cookies" json:"cookies,omitempty"`
						Headers *struct {
							Items *[]string `tfsdk:"items" json:"items,omitempty"`
						} `tfsdk:"headers" json:"headers,omitempty"`
						QueryString          *bool `tfsdk:"query_string" json:"queryString,omitempty"`
						QueryStringCacheKeys *struct {
							Items *[]string `tfsdk:"items" json:"items,omitempty"`
						} `tfsdk:"query_string_cache_keys" json:"queryStringCacheKeys,omitempty"`
					} `tfsdk:"forwarded_values" json:"forwardedValues,omitempty"`
					FunctionAssociations *struct {
						Items *[]struct {
							EventType   *string `tfsdk:"event_type" json:"eventType,omitempty"`
							FunctionARN *string `tfsdk:"function_arn" json:"functionARN,omitempty"`
						} `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"function_associations" json:"functionAssociations,omitempty"`
					LambdaFunctionAssociations *struct {
						Items *[]struct {
							EventType         *string `tfsdk:"event_type" json:"eventType,omitempty"`
							IncludeBody       *bool   `tfsdk:"include_body" json:"includeBody,omitempty"`
							LambdaFunctionARN *string `tfsdk:"lambda_function_arn" json:"lambdaFunctionARN,omitempty"`
						} `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"lambda_function_associations" json:"lambdaFunctionAssociations,omitempty"`
					MaxTTL                  *int64  `tfsdk:"max_ttl" json:"maxTTL,omitempty"`
					MinTTL                  *int64  `tfsdk:"min_ttl" json:"minTTL,omitempty"`
					OriginRequestPolicyID   *string `tfsdk:"origin_request_policy_id" json:"originRequestPolicyID,omitempty"`
					PathPattern             *string `tfsdk:"path_pattern" json:"pathPattern,omitempty"`
					RealtimeLogConfigARN    *string `tfsdk:"realtime_log_config_arn" json:"realtimeLogConfigARN,omitempty"`
					ResponseHeadersPolicyID *string `tfsdk:"response_headers_policy_id" json:"responseHeadersPolicyID,omitempty"`
					SmoothStreaming         *bool   `tfsdk:"smooth_streaming" json:"smoothStreaming,omitempty"`
					TargetOriginID          *string `tfsdk:"target_origin_id" json:"targetOriginID,omitempty"`
					TrustedKeyGroups        *struct {
						Enabled *bool     `tfsdk:"enabled" json:"enabled,omitempty"`
						Items   *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"trusted_key_groups" json:"trustedKeyGroups,omitempty"`
					TrustedSigners *struct {
						Enabled *bool     `tfsdk:"enabled" json:"enabled,omitempty"`
						Items   *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"trusted_signers" json:"trustedSigners,omitempty"`
					ViewerProtocolPolicy *string `tfsdk:"viewer_protocol_policy" json:"viewerProtocolPolicy,omitempty"`
				} `tfsdk:"items" json:"items,omitempty"`
			} `tfsdk:"cache_behaviors" json:"cacheBehaviors,omitempty"`
			Comment                      *string `tfsdk:"comment" json:"comment,omitempty"`
			ContinuousDeploymentPolicyID *string `tfsdk:"continuous_deployment_policy_id" json:"continuousDeploymentPolicyID,omitempty"`
			CustomErrorResponses         *struct {
				Items *[]struct {
					ErrorCachingMinTTL *int64  `tfsdk:"error_caching_min_ttl" json:"errorCachingMinTTL,omitempty"`
					ErrorCode          *int64  `tfsdk:"error_code" json:"errorCode,omitempty"`
					ResponseCode       *string `tfsdk:"response_code" json:"responseCode,omitempty"`
					ResponsePagePath   *string `tfsdk:"response_page_path" json:"responsePagePath,omitempty"`
				} `tfsdk:"items" json:"items,omitempty"`
			} `tfsdk:"custom_error_responses" json:"customErrorResponses,omitempty"`
			DefaultCacheBehavior *struct {
				AllowedMethods *struct {
					CachedMethods *struct {
						Items *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"cached_methods" json:"cachedMethods,omitempty"`
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"allowed_methods" json:"allowedMethods,omitempty"`
				CachePolicyID          *string `tfsdk:"cache_policy_id" json:"cachePolicyID,omitempty"`
				Compress               *bool   `tfsdk:"compress" json:"compress,omitempty"`
				DefaultTTL             *int64  `tfsdk:"default_ttl" json:"defaultTTL,omitempty"`
				FieldLevelEncryptionID *string `tfsdk:"field_level_encryption_id" json:"fieldLevelEncryptionID,omitempty"`
				ForwardedValues        *struct {
					Cookies *struct {
						Forward          *string `tfsdk:"forward" json:"forward,omitempty"`
						WhitelistedNames *struct {
							Items *[]string `tfsdk:"items" json:"items,omitempty"`
						} `tfsdk:"whitelisted_names" json:"whitelistedNames,omitempty"`
					} `tfsdk:"cookies" json:"cookies,omitempty"`
					Headers *struct {
						Items *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"headers" json:"headers,omitempty"`
					QueryString          *bool `tfsdk:"query_string" json:"queryString,omitempty"`
					QueryStringCacheKeys *struct {
						Items *[]string `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"query_string_cache_keys" json:"queryStringCacheKeys,omitempty"`
				} `tfsdk:"forwarded_values" json:"forwardedValues,omitempty"`
				FunctionAssociations *struct {
					Items *[]struct {
						EventType   *string `tfsdk:"event_type" json:"eventType,omitempty"`
						FunctionARN *string `tfsdk:"function_arn" json:"functionARN,omitempty"`
					} `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"function_associations" json:"functionAssociations,omitempty"`
				LambdaFunctionAssociations *struct {
					Items *[]struct {
						EventType         *string `tfsdk:"event_type" json:"eventType,omitempty"`
						IncludeBody       *bool   `tfsdk:"include_body" json:"includeBody,omitempty"`
						LambdaFunctionARN *string `tfsdk:"lambda_function_arn" json:"lambdaFunctionARN,omitempty"`
					} `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"lambda_function_associations" json:"lambdaFunctionAssociations,omitempty"`
				MaxTTL                  *int64  `tfsdk:"max_ttl" json:"maxTTL,omitempty"`
				MinTTL                  *int64  `tfsdk:"min_ttl" json:"minTTL,omitempty"`
				OriginRequestPolicyID   *string `tfsdk:"origin_request_policy_id" json:"originRequestPolicyID,omitempty"`
				RealtimeLogConfigARN    *string `tfsdk:"realtime_log_config_arn" json:"realtimeLogConfigARN,omitempty"`
				ResponseHeadersPolicyID *string `tfsdk:"response_headers_policy_id" json:"responseHeadersPolicyID,omitempty"`
				SmoothStreaming         *bool   `tfsdk:"smooth_streaming" json:"smoothStreaming,omitempty"`
				TargetOriginID          *string `tfsdk:"target_origin_id" json:"targetOriginID,omitempty"`
				TrustedKeyGroups        *struct {
					Enabled *bool     `tfsdk:"enabled" json:"enabled,omitempty"`
					Items   *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"trusted_key_groups" json:"trustedKeyGroups,omitempty"`
				TrustedSigners *struct {
					Enabled *bool     `tfsdk:"enabled" json:"enabled,omitempty"`
					Items   *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"trusted_signers" json:"trustedSigners,omitempty"`
				ViewerProtocolPolicy *string `tfsdk:"viewer_protocol_policy" json:"viewerProtocolPolicy,omitempty"`
			} `tfsdk:"default_cache_behavior" json:"defaultCacheBehavior,omitempty"`
			DefaultRootObject *string `tfsdk:"default_root_object" json:"defaultRootObject,omitempty"`
			Enabled           *bool   `tfsdk:"enabled" json:"enabled,omitempty"`
			HttpVersion       *string `tfsdk:"http_version" json:"httpVersion,omitempty"`
			IsIPV6Enabled     *bool   `tfsdk:"is_ipv6_enabled" json:"isIPV6Enabled,omitempty"`
			Logging           *struct {
				Bucket         *string `tfsdk:"bucket" json:"bucket,omitempty"`
				Enabled        *bool   `tfsdk:"enabled" json:"enabled,omitempty"`
				IncludeCookies *bool   `tfsdk:"include_cookies" json:"includeCookies,omitempty"`
				Prefix         *string `tfsdk:"prefix" json:"prefix,omitempty"`
			} `tfsdk:"logging" json:"logging,omitempty"`
			OriginGroups *struct {
				Items *[]struct {
					FailoverCriteria *struct {
						StatusCodes *struct {
							Items *[]string `tfsdk:"items" json:"items,omitempty"`
						} `tfsdk:"status_codes" json:"statusCodes,omitempty"`
					} `tfsdk:"failover_criteria" json:"failoverCriteria,omitempty"`
					Id      *string `tfsdk:"id" json:"id,omitempty"`
					Members *struct {
						Items *[]struct {
							OriginID *string `tfsdk:"origin_id" json:"originID,omitempty"`
						} `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"members" json:"members,omitempty"`
				} `tfsdk:"items" json:"items,omitempty"`
			} `tfsdk:"origin_groups" json:"originGroups,omitempty"`
			Origins *struct {
				Items *[]struct {
					ConnectionAttempts *int64 `tfsdk:"connection_attempts" json:"connectionAttempts,omitempty"`
					ConnectionTimeout  *int64 `tfsdk:"connection_timeout" json:"connectionTimeout,omitempty"`
					CustomHeaders      *struct {
						Items *[]struct {
							HeaderName  *string `tfsdk:"header_name" json:"headerName,omitempty"`
							HeaderValue *string `tfsdk:"header_value" json:"headerValue,omitempty"`
						} `tfsdk:"items" json:"items,omitempty"`
					} `tfsdk:"custom_headers" json:"customHeaders,omitempty"`
					CustomOriginConfig *struct {
						HttpPort               *int64  `tfsdk:"http_port" json:"httpPort,omitempty"`
						HttpSPort              *int64  `tfsdk:"http_s_port" json:"httpSPort,omitempty"`
						OriginKeepaliveTimeout *int64  `tfsdk:"origin_keepalive_timeout" json:"originKeepaliveTimeout,omitempty"`
						OriginProtocolPolicy   *string `tfsdk:"origin_protocol_policy" json:"originProtocolPolicy,omitempty"`
						OriginReadTimeout      *int64  `tfsdk:"origin_read_timeout" json:"originReadTimeout,omitempty"`
						OriginSSLProtocols     *struct {
							Items *[]string `tfsdk:"items" json:"items,omitempty"`
						} `tfsdk:"origin_ssl_protocols" json:"originSSLProtocols,omitempty"`
					} `tfsdk:"custom_origin_config" json:"customOriginConfig,omitempty"`
					DomainName            *string `tfsdk:"domain_name" json:"domainName,omitempty"`
					Id                    *string `tfsdk:"id" json:"id,omitempty"`
					OriginAccessControlID *string `tfsdk:"origin_access_control_id" json:"originAccessControlID,omitempty"`
					OriginPath            *string `tfsdk:"origin_path" json:"originPath,omitempty"`
					OriginShield          *struct {
						Enabled            *bool   `tfsdk:"enabled" json:"enabled,omitempty"`
						OriginShieldRegion *string `tfsdk:"origin_shield_region" json:"originShieldRegion,omitempty"`
					} `tfsdk:"origin_shield" json:"originShield,omitempty"`
					S3OriginConfig *struct {
						OriginAccessIdentity *string `tfsdk:"origin_access_identity" json:"originAccessIdentity,omitempty"`
					} `tfsdk:"s3_origin_config" json:"s3OriginConfig,omitempty"`
				} `tfsdk:"items" json:"items,omitempty"`
			} `tfsdk:"origins" json:"origins,omitempty"`
			PriceClass   *string `tfsdk:"price_class" json:"priceClass,omitempty"`
			Restrictions *struct {
				GeoRestriction *struct {
					Items           *[]string `tfsdk:"items" json:"items,omitempty"`
					RestrictionType *string   `tfsdk:"restriction_type" json:"restrictionType,omitempty"`
				} `tfsdk:"geo_restriction" json:"geoRestriction,omitempty"`
			} `tfsdk:"restrictions" json:"restrictions,omitempty"`
			Staging           *bool `tfsdk:"staging" json:"staging,omitempty"`
			ViewerCertificate *struct {
				AcmCertificateARN *string `tfsdk:"acm_certificate_arn" json:"acmCertificateARN,omitempty"`
				AcmCertificateRef *struct {
					From *struct {
						Name      *string `tfsdk:"name" json:"name,omitempty"`
						Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
					} `tfsdk:"from" json:"from,omitempty"`
				} `tfsdk:"acm_certificate_ref" json:"acmCertificateRef,omitempty"`
				Certificate                  *string `tfsdk:"certificate" json:"certificate,omitempty"`
				CertificateSource            *string `tfsdk:"certificate_source" json:"certificateSource,omitempty"`
				CloudFrontDefaultCertificate *bool   `tfsdk:"cloud_front_default_certificate" json:"cloudFrontDefaultCertificate,omitempty"`
				IamCertificateID             *string `tfsdk:"iam_certificate_id" json:"iamCertificateID,omitempty"`
				MinimumProtocolVersion       *string `tfsdk:"minimum_protocol_version" json:"minimumProtocolVersion,omitempty"`
				SslSupportMethod             *string `tfsdk:"ssl_support_method" json:"sslSupportMethod,omitempty"`
			} `tfsdk:"viewer_certificate" json:"viewerCertificate,omitempty"`
			WebACLID *string `tfsdk:"web_aclid" json:"webACLID,omitempty"`
		} `tfsdk:"distribution_config" json:"distributionConfig,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type CloudfrontServicesK8SAwsFunctionV1Alpha1Manifest

type CloudfrontServicesK8SAwsFunctionV1Alpha1Manifest struct{}

func (*CloudfrontServicesK8SAwsFunctionV1Alpha1Manifest) Metadata

func (*CloudfrontServicesK8SAwsFunctionV1Alpha1Manifest) Read

func (*CloudfrontServicesK8SAwsFunctionV1Alpha1Manifest) Schema

type CloudfrontServicesK8SAwsFunctionV1Alpha1ManifestData

type CloudfrontServicesK8SAwsFunctionV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		FunctionCode   *string `tfsdk:"function_code" json:"functionCode,omitempty"`
		FunctionConfig *struct {
			Comment *string `tfsdk:"comment" json:"comment,omitempty"`
			Runtime *string `tfsdk:"runtime" json:"runtime,omitempty"`
		} `tfsdk:"function_config" json:"functionConfig,omitempty"`
		Name *string `tfsdk:"name" json:"name,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type CloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1Manifest

type CloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1Manifest struct{}

func (*CloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1Manifest) Metadata

func (*CloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1Manifest) Read

func (*CloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1Manifest) Schema

type CloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1ManifestData

type CloudfrontServicesK8SAwsOriginRequestPolicyV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		OriginRequestPolicyConfig *struct {
			Comment       *string `tfsdk:"comment" json:"comment,omitempty"`
			CookiesConfig *struct {
				CookieBehavior *string `tfsdk:"cookie_behavior" json:"cookieBehavior,omitempty"`
				Cookies        *struct {
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"cookies" json:"cookies,omitempty"`
			} `tfsdk:"cookies_config" json:"cookiesConfig,omitempty"`
			HeadersConfig *struct {
				HeaderBehavior *string `tfsdk:"header_behavior" json:"headerBehavior,omitempty"`
				Headers        *struct {
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"headers" json:"headers,omitempty"`
			} `tfsdk:"headers_config" json:"headersConfig,omitempty"`
			Name               *string `tfsdk:"name" json:"name,omitempty"`
			QueryStringsConfig *struct {
				QueryStringBehavior *string `tfsdk:"query_string_behavior" json:"queryStringBehavior,omitempty"`
				QueryStrings        *struct {
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"query_strings" json:"queryStrings,omitempty"`
			} `tfsdk:"query_strings_config" json:"queryStringsConfig,omitempty"`
		} `tfsdk:"origin_request_policy_config" json:"originRequestPolicyConfig,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type CloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1Manifest

type CloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1Manifest struct{}

func (*CloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1Manifest) Metadata

func (*CloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1Manifest) Read

func (*CloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1Manifest) Schema

type CloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1ManifestData

type CloudfrontServicesK8SAwsResponseHeadersPolicyV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		ResponseHeadersPolicyConfig *struct {
			Comment    *string `tfsdk:"comment" json:"comment,omitempty"`
			CorsConfig *struct {
				AccessControlAllowCredentials *bool `tfsdk:"access_control_allow_credentials" json:"accessControlAllowCredentials,omitempty"`
				AccessControlAllowHeaders     *struct {
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"access_control_allow_headers" json:"accessControlAllowHeaders,omitempty"`
				AccessControlAllowMethods *struct {
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"access_control_allow_methods" json:"accessControlAllowMethods,omitempty"`
				AccessControlAllowOrigins *struct {
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"access_control_allow_origins" json:"accessControlAllowOrigins,omitempty"`
				AccessControlExposeHeaders *struct {
					Items *[]string `tfsdk:"items" json:"items,omitempty"`
				} `tfsdk:"access_control_expose_headers" json:"accessControlExposeHeaders,omitempty"`
				AccessControlMaxAgeSec *int64 `tfsdk:"access_control_max_age_sec" json:"accessControlMaxAgeSec,omitempty"`
				OriginOverride         *bool  `tfsdk:"origin_override" json:"originOverride,omitempty"`
			} `tfsdk:"cors_config" json:"corsConfig,omitempty"`
			CustomHeadersConfig *struct {
				Items *[]struct {
					Header   *string `tfsdk:"header" json:"header,omitempty"`
					Override *bool   `tfsdk:"override" json:"override,omitempty"`
					Value    *string `tfsdk:"value" json:"value,omitempty"`
				} `tfsdk:"items" json:"items,omitempty"`
			} `tfsdk:"custom_headers_config" json:"customHeadersConfig,omitempty"`
			Name                *string `tfsdk:"name" json:"name,omitempty"`
			RemoveHeadersConfig *struct {
				Items *[]struct {
					Header *string `tfsdk:"header" json:"header,omitempty"`
				} `tfsdk:"items" json:"items,omitempty"`
			} `tfsdk:"remove_headers_config" json:"removeHeadersConfig,omitempty"`
			SecurityHeadersConfig *struct {
				ContentSecurityPolicy *struct {
					ContentSecurityPolicy *string `tfsdk:"content_security_policy" json:"contentSecurityPolicy,omitempty"`
					Override              *bool   `tfsdk:"override" json:"override,omitempty"`
				} `tfsdk:"content_security_policy" json:"contentSecurityPolicy,omitempty"`
				ContentTypeOptions *struct {
					Override *bool `tfsdk:"override" json:"override,omitempty"`
				} `tfsdk:"content_type_options" json:"contentTypeOptions,omitempty"`
				FrameOptions *struct {
					FrameOption *string `tfsdk:"frame_option" json:"frameOption,omitempty"`
					Override    *bool   `tfsdk:"override" json:"override,omitempty"`
				} `tfsdk:"frame_options" json:"frameOptions,omitempty"`
				ReferrerPolicy *struct {
					Override       *bool   `tfsdk:"override" json:"override,omitempty"`
					ReferrerPolicy *string `tfsdk:"referrer_policy" json:"referrerPolicy,omitempty"`
				} `tfsdk:"referrer_policy" json:"referrerPolicy,omitempty"`
				StrictTransportSecurity *struct {
					AccessControlMaxAgeSec *int64 `tfsdk:"access_control_max_age_sec" json:"accessControlMaxAgeSec,omitempty"`
					IncludeSubdomains      *bool  `tfsdk:"include_subdomains" json:"includeSubdomains,omitempty"`
					Override               *bool  `tfsdk:"override" json:"override,omitempty"`
					Preload                *bool  `tfsdk:"preload" json:"preload,omitempty"`
				} `tfsdk:"strict_transport_security" json:"strictTransportSecurity,omitempty"`
				XssProtection *struct {
					ModeBlock  *bool   `tfsdk:"mode_block" json:"modeBlock,omitempty"`
					Override   *bool   `tfsdk:"override" json:"override,omitempty"`
					Protection *bool   `tfsdk:"protection" json:"protection,omitempty"`
					ReportURI  *string `tfsdk:"report_uri" json:"reportURI,omitempty"`
				} `tfsdk:"xss_protection" json:"xssProtection,omitempty"`
			} `tfsdk:"security_headers_config" json:"securityHeadersConfig,omitempty"`
			ServerTimingHeadersConfig *struct {
				Enabled      *bool    `tfsdk:"enabled" json:"enabled,omitempty"`
				SamplingRate *float64 `tfsdk:"sampling_rate" json:"samplingRate,omitempty"`
			} `tfsdk:"server_timing_headers_config" json:"serverTimingHeadersConfig,omitempty"`
		} `tfsdk:"response_headers_policy_config" json:"responseHeadersPolicyConfig,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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