aws_cloudfront_field_level_encryption_config

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Comment: string, optional
	Comment terra.StringValue `hcl:"comment,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ContentTypeProfileConfig: required
	ContentTypeProfileConfig *ContentTypeProfileConfig `hcl:"content_type_profile_config,block" validate:"required"`
	// QueryArgProfileConfig: required
	QueryArgProfileConfig *QueryArgProfileConfig `hcl:"query_arg_profile_config,block" validate:"required"`
}

Args contains the configurations for aws_cloudfront_field_level_encryption_config.

type ContentTypeProfileConfig

type ContentTypeProfileConfig struct {
	// ForwardWhenContentTypeIsUnknown: bool, required
	ForwardWhenContentTypeIsUnknown terra.BoolValue `hcl:"forward_when_content_type_is_unknown,attr" validate:"required"`
	// ContentTypeProfileConfigContentTypeProfiles: required
	ContentTypeProfiles *ContentTypeProfileConfigContentTypeProfiles `hcl:"content_type_profiles,block" validate:"required"`
}

type ContentTypeProfileConfigAttributes

type ContentTypeProfileConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ContentTypeProfileConfigAttributes) ContentTypeProfiles

func (ContentTypeProfileConfigAttributes) ForwardWhenContentTypeIsUnknown

func (ctpc ContentTypeProfileConfigAttributes) ForwardWhenContentTypeIsUnknown() terra.BoolValue

func (ContentTypeProfileConfigAttributes) InternalRef

func (ContentTypeProfileConfigAttributes) InternalTokens

func (ctpc ContentTypeProfileConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContentTypeProfileConfigAttributes) InternalWithRef

type ContentTypeProfileConfigContentTypeProfiles

type ContentTypeProfileConfigContentTypeProfiles struct {
	// ContentTypeProfileConfigContentTypeProfilesItems: min=1
	Items []ContentTypeProfileConfigContentTypeProfilesItems `hcl:"items,block" validate:"min=1"`
}

type ContentTypeProfileConfigContentTypeProfilesAttributes

type ContentTypeProfileConfigContentTypeProfilesAttributes struct {
	// contains filtered or unexported fields
}

func (ContentTypeProfileConfigContentTypeProfilesAttributes) InternalRef

func (ContentTypeProfileConfigContentTypeProfilesAttributes) InternalTokens

func (ContentTypeProfileConfigContentTypeProfilesAttributes) InternalWithRef

func (ContentTypeProfileConfigContentTypeProfilesAttributes) Items

type ContentTypeProfileConfigContentTypeProfilesItems

type ContentTypeProfileConfigContentTypeProfilesItems struct {
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// Format: string, required
	Format terra.StringValue `hcl:"format,attr" validate:"required"`
	// ProfileId: string, optional
	ProfileId terra.StringValue `hcl:"profile_id,attr"`
}

type ContentTypeProfileConfigContentTypeProfilesItemsAttributes

type ContentTypeProfileConfigContentTypeProfilesItemsAttributes struct {
	// contains filtered or unexported fields
}

func (ContentTypeProfileConfigContentTypeProfilesItemsAttributes) ContentType

func (ContentTypeProfileConfigContentTypeProfilesItemsAttributes) Format

func (ContentTypeProfileConfigContentTypeProfilesItemsAttributes) InternalRef

func (ContentTypeProfileConfigContentTypeProfilesItemsAttributes) InternalTokens

func (ContentTypeProfileConfigContentTypeProfilesItemsAttributes) InternalWithRef

func (ContentTypeProfileConfigContentTypeProfilesItemsAttributes) ProfileId

type ContentTypeProfileConfigContentTypeProfilesItemsState

type ContentTypeProfileConfigContentTypeProfilesItemsState struct {
	ContentType string `json:"content_type"`
	Format      string `json:"format"`
	ProfileId   string `json:"profile_id"`
}

type ContentTypeProfileConfigContentTypeProfilesState

type ContentTypeProfileConfigContentTypeProfilesState struct {
	Items []ContentTypeProfileConfigContentTypeProfilesItemsState `json:"items"`
}

type ContentTypeProfileConfigState

type ContentTypeProfileConfigState struct {
	ForwardWhenContentTypeIsUnknown bool                                               `json:"forward_when_content_type_is_unknown"`
	ContentTypeProfiles             []ContentTypeProfileConfigContentTypeProfilesState `json:"content_type_profiles"`
}

type QueryArgProfileConfig

type QueryArgProfileConfig struct {
	// ForwardWhenQueryArgProfileIsUnknown: bool, required
	ForwardWhenQueryArgProfileIsUnknown terra.BoolValue `hcl:"forward_when_query_arg_profile_is_unknown,attr" validate:"required"`
	// QueryArgProfileConfigQueryArgProfiles: optional
	QueryArgProfiles *QueryArgProfileConfigQueryArgProfiles `hcl:"query_arg_profiles,block"`
}

type QueryArgProfileConfigAttributes

type QueryArgProfileConfigAttributes struct {
	// contains filtered or unexported fields
}

func (QueryArgProfileConfigAttributes) ForwardWhenQueryArgProfileIsUnknown

func (qapc QueryArgProfileConfigAttributes) ForwardWhenQueryArgProfileIsUnknown() terra.BoolValue

func (QueryArgProfileConfigAttributes) InternalRef

func (qapc QueryArgProfileConfigAttributes) InternalRef() (terra.Reference, error)

func (QueryArgProfileConfigAttributes) InternalTokens

func (qapc QueryArgProfileConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QueryArgProfileConfigAttributes) InternalWithRef

func (QueryArgProfileConfigAttributes) QueryArgProfiles

type QueryArgProfileConfigQueryArgProfiles

type QueryArgProfileConfigQueryArgProfiles struct {
	// QueryArgProfileConfigQueryArgProfilesItems: min=0
	Items []QueryArgProfileConfigQueryArgProfilesItems `hcl:"items,block" validate:"min=0"`
}

type QueryArgProfileConfigQueryArgProfilesAttributes

type QueryArgProfileConfigQueryArgProfilesAttributes struct {
	// contains filtered or unexported fields
}

func (QueryArgProfileConfigQueryArgProfilesAttributes) InternalRef

func (QueryArgProfileConfigQueryArgProfilesAttributes) InternalTokens

func (QueryArgProfileConfigQueryArgProfilesAttributes) InternalWithRef

func (QueryArgProfileConfigQueryArgProfilesAttributes) Items

type QueryArgProfileConfigQueryArgProfilesItems

type QueryArgProfileConfigQueryArgProfilesItems struct {
	// ProfileId: string, required
	ProfileId terra.StringValue `hcl:"profile_id,attr" validate:"required"`
	// QueryArg: string, required
	QueryArg terra.StringValue `hcl:"query_arg,attr" validate:"required"`
}

type QueryArgProfileConfigQueryArgProfilesItemsAttributes

type QueryArgProfileConfigQueryArgProfilesItemsAttributes struct {
	// contains filtered or unexported fields
}

func (QueryArgProfileConfigQueryArgProfilesItemsAttributes) InternalRef

func (QueryArgProfileConfigQueryArgProfilesItemsAttributes) InternalTokens

func (QueryArgProfileConfigQueryArgProfilesItemsAttributes) InternalWithRef

func (QueryArgProfileConfigQueryArgProfilesItemsAttributes) ProfileId

func (QueryArgProfileConfigQueryArgProfilesItemsAttributes) QueryArg

type QueryArgProfileConfigQueryArgProfilesItemsState

type QueryArgProfileConfigQueryArgProfilesItemsState struct {
	ProfileId string `json:"profile_id"`
	QueryArg  string `json:"query_arg"`
}

type QueryArgProfileConfigQueryArgProfilesState

type QueryArgProfileConfigQueryArgProfilesState struct {
	Items []QueryArgProfileConfigQueryArgProfilesItemsState `json:"items"`
}

type QueryArgProfileConfigState

type QueryArgProfileConfigState struct {
	ForwardWhenQueryArgProfileIsUnknown bool                                         `json:"forward_when_query_arg_profile_is_unknown"`
	QueryArgProfiles                    []QueryArgProfileConfigQueryArgProfilesState `json:"query_arg_profiles"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_cloudfront_field_level_encryption_config.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acflec *Resource) Attributes() awsCloudfrontFieldLevelEncryptionConfigAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (acflec *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (acflec *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (acflec *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (acflec *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (acflec *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acflec *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acflec *Resource) State() (*awsCloudfrontFieldLevelEncryptionConfigState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (acflec *Resource) StateMust() *awsCloudfrontFieldLevelEncryptionConfigState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (acflec *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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