aws_api_gateway_integration

package
v5.45.0 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 {
	// CacheKeyParameters: set of string, optional
	CacheKeyParameters terra.SetValue[terra.StringValue] `hcl:"cache_key_parameters,attr"`
	// CacheNamespace: string, optional
	CacheNamespace terra.StringValue `hcl:"cache_namespace,attr"`
	// ConnectionId: string, optional
	ConnectionId terra.StringValue `hcl:"connection_id,attr"`
	// ConnectionType: string, optional
	ConnectionType terra.StringValue `hcl:"connection_type,attr"`
	// ContentHandling: string, optional
	ContentHandling terra.StringValue `hcl:"content_handling,attr"`
	// Credentials: string, optional
	Credentials terra.StringValue `hcl:"credentials,attr"`
	// HttpMethod: string, required
	HttpMethod terra.StringValue `hcl:"http_method,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IntegrationHttpMethod: string, optional
	IntegrationHttpMethod terra.StringValue `hcl:"integration_http_method,attr"`
	// PassthroughBehavior: string, optional
	PassthroughBehavior terra.StringValue `hcl:"passthrough_behavior,attr"`
	// RequestParameters: map of string, optional
	RequestParameters terra.MapValue[terra.StringValue] `hcl:"request_parameters,attr"`
	// RequestTemplates: map of string, optional
	RequestTemplates terra.MapValue[terra.StringValue] `hcl:"request_templates,attr"`
	// ResourceId: string, required
	ResourceId terra.StringValue `hcl:"resource_id,attr" validate:"required"`
	// RestApiId: string, required
	RestApiId terra.StringValue `hcl:"rest_api_id,attr" validate:"required"`
	// TimeoutMilliseconds: number, optional
	TimeoutMilliseconds terra.NumberValue `hcl:"timeout_milliseconds,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Uri: string, optional
	Uri terra.StringValue `hcl:"uri,attr"`
	// TlsConfig: optional
	TlsConfig *TlsConfig `hcl:"tls_config,block"`
}

Args contains the configurations for aws_api_gateway_integration.

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_api_gateway_integration.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aagi *Resource) Attributes() awsApiGatewayIntegrationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aagi *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aagi *Resource) State() (*awsApiGatewayIntegrationState, bool)

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

func (*Resource) StateMust

func (aagi *Resource) StateMust() *awsApiGatewayIntegrationState

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

func (*Resource) Type

func (aagi *Resource) Type() string

Type returns the Terraform object type for Resource.

type TlsConfig

type TlsConfig struct {
	// InsecureSkipVerification: bool, optional
	InsecureSkipVerification terra.BoolValue `hcl:"insecure_skip_verification,attr"`
}

type TlsConfigAttributes

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

func (TlsConfigAttributes) InsecureSkipVerification

func (tc TlsConfigAttributes) InsecureSkipVerification() terra.BoolValue

func (TlsConfigAttributes) InternalRef

func (tc TlsConfigAttributes) InternalRef() (terra.Reference, error)

func (TlsConfigAttributes) InternalTokens

func (tc TlsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TlsConfigAttributes) InternalWithRef

func (tc TlsConfigAttributes) InternalWithRef(ref terra.Reference) TlsConfigAttributes

type TlsConfigState

type TlsConfigState struct {
	InsecureSkipVerification bool `json:"insecure_skip_verification"`
}

Jump to

Keyboard shortcuts

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