cloudwatcheventconnection

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKey

type ApiKey struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ApiKeyAttributes

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

func (ApiKeyAttributes) InternalRef

func (ak ApiKeyAttributes) InternalRef() (terra.Reference, error)

func (ApiKeyAttributes) InternalTokens

func (ak ApiKeyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApiKeyAttributes) InternalWithRef

func (ak ApiKeyAttributes) InternalWithRef(ref terra.Reference) ApiKeyAttributes

func (ApiKeyAttributes) Key

func (ApiKeyAttributes) Value

func (ak ApiKeyAttributes) Value() terra.StringValue

type ApiKeyState

type ApiKeyState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type AuthParameters

type AuthParameters struct {
	// ApiKey: optional
	ApiKey *ApiKey `hcl:"api_key,block"`
	// Basic: optional
	Basic *Basic `hcl:"basic,block"`
	// InvocationHttpParameters: optional
	InvocationHttpParameters *InvocationHttpParameters `hcl:"invocation_http_parameters,block"`
	// Oauth: optional
	Oauth *Oauth `hcl:"oauth,block"`
}

type AuthParametersAttributes

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

func (AuthParametersAttributes) ApiKey

func (AuthParametersAttributes) Basic

func (AuthParametersAttributes) InternalRef

func (ap AuthParametersAttributes) InternalRef() (terra.Reference, error)

func (AuthParametersAttributes) InternalTokens

func (ap AuthParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AuthParametersAttributes) InternalWithRef

func (AuthParametersAttributes) InvocationHttpParameters

func (AuthParametersAttributes) Oauth

type AuthParametersState

type AuthParametersState struct {
	ApiKey                   []ApiKeyState                   `json:"api_key"`
	Basic                    []BasicState                    `json:"basic"`
	InvocationHttpParameters []InvocationHttpParametersState `json:"invocation_http_parameters"`
	Oauth                    []OauthState                    `json:"oauth"`
}

type Basic

type Basic struct {
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type BasicAttributes

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

func (BasicAttributes) InternalRef

func (b BasicAttributes) InternalRef() (terra.Reference, error)

func (BasicAttributes) InternalTokens

func (b BasicAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BasicAttributes) InternalWithRef

func (b BasicAttributes) InternalWithRef(ref terra.Reference) BasicAttributes

func (BasicAttributes) Password

func (b BasicAttributes) Password() terra.StringValue

func (BasicAttributes) Username

func (b BasicAttributes) Username() terra.StringValue

type BasicState

type BasicState struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

type ClientParameters

type ClientParameters struct {
	// ClientId: string, required
	ClientId terra.StringValue `hcl:"client_id,attr" validate:"required"`
	// ClientSecret: string, required
	ClientSecret terra.StringValue `hcl:"client_secret,attr" validate:"required"`
}

type ClientParametersAttributes

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

func (ClientParametersAttributes) ClientId

func (ClientParametersAttributes) ClientSecret

func (cp ClientParametersAttributes) ClientSecret() terra.StringValue

func (ClientParametersAttributes) InternalRef

func (cp ClientParametersAttributes) InternalRef() (terra.Reference, error)

func (ClientParametersAttributes) InternalTokens

func (cp ClientParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClientParametersAttributes) InternalWithRef

type ClientParametersState

type ClientParametersState struct {
	ClientId     string `json:"client_id"`
	ClientSecret string `json:"client_secret"`
}

type InvocationHttpParameters

type InvocationHttpParameters struct {
	// InvocationHttpParametersBody: min=0
	Body []InvocationHttpParametersBody `hcl:"body,block" validate:"min=0"`
	// InvocationHttpParametersHeader: min=0
	Header []InvocationHttpParametersHeader `hcl:"header,block" validate:"min=0"`
	// InvocationHttpParametersQueryString: min=0
	QueryString []InvocationHttpParametersQueryString `hcl:"query_string,block" validate:"min=0"`
}

type InvocationHttpParametersAttributes

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

func (InvocationHttpParametersAttributes) Body

func (InvocationHttpParametersAttributes) Header

func (InvocationHttpParametersAttributes) InternalRef

func (InvocationHttpParametersAttributes) InternalTokens

func (ihp InvocationHttpParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InvocationHttpParametersAttributes) InternalWithRef

func (InvocationHttpParametersAttributes) QueryString

type InvocationHttpParametersBody

type InvocationHttpParametersBody struct {
	// IsValueSecret: bool, optional
	IsValueSecret terra.BoolValue `hcl:"is_value_secret,attr"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type InvocationHttpParametersBodyAttributes

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

func (InvocationHttpParametersBodyAttributes) InternalRef

func (InvocationHttpParametersBodyAttributes) InternalTokens

func (InvocationHttpParametersBodyAttributes) InternalWithRef

func (InvocationHttpParametersBodyAttributes) IsValueSecret

func (InvocationHttpParametersBodyAttributes) Key

func (InvocationHttpParametersBodyAttributes) Value

type InvocationHttpParametersBodyState

type InvocationHttpParametersBodyState struct {
	IsValueSecret bool   `json:"is_value_secret"`
	Key           string `json:"key"`
	Value         string `json:"value"`
}

type InvocationHttpParametersHeader

type InvocationHttpParametersHeader struct {
	// IsValueSecret: bool, optional
	IsValueSecret terra.BoolValue `hcl:"is_value_secret,attr"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type InvocationHttpParametersHeaderAttributes

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

func (InvocationHttpParametersHeaderAttributes) InternalRef

func (InvocationHttpParametersHeaderAttributes) InternalTokens

func (InvocationHttpParametersHeaderAttributes) InternalWithRef

func (InvocationHttpParametersHeaderAttributes) IsValueSecret

func (InvocationHttpParametersHeaderAttributes) Key

func (InvocationHttpParametersHeaderAttributes) Value

type InvocationHttpParametersHeaderState

type InvocationHttpParametersHeaderState struct {
	IsValueSecret bool   `json:"is_value_secret"`
	Key           string `json:"key"`
	Value         string `json:"value"`
}

type InvocationHttpParametersQueryString

type InvocationHttpParametersQueryString struct {
	// IsValueSecret: bool, optional
	IsValueSecret terra.BoolValue `hcl:"is_value_secret,attr"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type InvocationHttpParametersQueryStringAttributes

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

func (InvocationHttpParametersQueryStringAttributes) InternalRef

func (InvocationHttpParametersQueryStringAttributes) InternalTokens

func (InvocationHttpParametersQueryStringAttributes) InternalWithRef

func (InvocationHttpParametersQueryStringAttributes) IsValueSecret

func (InvocationHttpParametersQueryStringAttributes) Key

func (InvocationHttpParametersQueryStringAttributes) Value

type InvocationHttpParametersQueryStringState

type InvocationHttpParametersQueryStringState struct {
	IsValueSecret bool   `json:"is_value_secret"`
	Key           string `json:"key"`
	Value         string `json:"value"`
}

type InvocationHttpParametersState

type InvocationHttpParametersState struct {
	Body        []InvocationHttpParametersBodyState        `json:"body"`
	Header      []InvocationHttpParametersHeaderState      `json:"header"`
	QueryString []InvocationHttpParametersQueryStringState `json:"query_string"`
}

type Oauth

type Oauth struct {
	// AuthorizationEndpoint: string, required
	AuthorizationEndpoint terra.StringValue `hcl:"authorization_endpoint,attr" validate:"required"`
	// HttpMethod: string, required
	HttpMethod terra.StringValue `hcl:"http_method,attr" validate:"required"`
	// ClientParameters: optional
	ClientParameters *ClientParameters `hcl:"client_parameters,block"`
	// OauthHttpParameters: required
	OauthHttpParameters *OauthHttpParameters `hcl:"oauth_http_parameters,block" validate:"required"`
}

type OauthAttributes

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

func (OauthAttributes) AuthorizationEndpoint

func (o OauthAttributes) AuthorizationEndpoint() terra.StringValue

func (OauthAttributes) ClientParameters

func (OauthAttributes) HttpMethod

func (o OauthAttributes) HttpMethod() terra.StringValue

func (OauthAttributes) InternalRef

func (o OauthAttributes) InternalRef() (terra.Reference, error)

func (OauthAttributes) InternalTokens

func (o OauthAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OauthAttributes) InternalWithRef

func (o OauthAttributes) InternalWithRef(ref terra.Reference) OauthAttributes

func (OauthAttributes) OauthHttpParameters

type OauthHttpParameters

type OauthHttpParameters struct {
	// OauthHttpParametersBody: min=0
	Body []OauthHttpParametersBody `hcl:"body,block" validate:"min=0"`
	// OauthHttpParametersHeader: min=0
	Header []OauthHttpParametersHeader `hcl:"header,block" validate:"min=0"`
	// OauthHttpParametersQueryString: min=0
	QueryString []OauthHttpParametersQueryString `hcl:"query_string,block" validate:"min=0"`
}

type OauthHttpParametersAttributes

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

func (OauthHttpParametersAttributes) Body

func (OauthHttpParametersAttributes) Header

func (OauthHttpParametersAttributes) InternalRef

func (ohp OauthHttpParametersAttributes) InternalRef() (terra.Reference, error)

func (OauthHttpParametersAttributes) InternalTokens

func (ohp OauthHttpParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OauthHttpParametersAttributes) InternalWithRef

func (OauthHttpParametersAttributes) QueryString

type OauthHttpParametersBody

type OauthHttpParametersBody struct {
	// IsValueSecret: bool, optional
	IsValueSecret terra.BoolValue `hcl:"is_value_secret,attr"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type OauthHttpParametersBodyAttributes

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

func (OauthHttpParametersBodyAttributes) InternalRef

func (OauthHttpParametersBodyAttributes) InternalTokens

func (OauthHttpParametersBodyAttributes) InternalWithRef

func (OauthHttpParametersBodyAttributes) IsValueSecret

func (OauthHttpParametersBodyAttributes) Key

func (OauthHttpParametersBodyAttributes) Value

type OauthHttpParametersBodyState

type OauthHttpParametersBodyState struct {
	IsValueSecret bool   `json:"is_value_secret"`
	Key           string `json:"key"`
	Value         string `json:"value"`
}

type OauthHttpParametersHeader

type OauthHttpParametersHeader struct {
	// IsValueSecret: bool, optional
	IsValueSecret terra.BoolValue `hcl:"is_value_secret,attr"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type OauthHttpParametersHeaderAttributes

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

func (OauthHttpParametersHeaderAttributes) InternalRef

func (OauthHttpParametersHeaderAttributes) InternalTokens

func (OauthHttpParametersHeaderAttributes) InternalWithRef

func (OauthHttpParametersHeaderAttributes) IsValueSecret

func (OauthHttpParametersHeaderAttributes) Key

func (OauthHttpParametersHeaderAttributes) Value

type OauthHttpParametersHeaderState

type OauthHttpParametersHeaderState struct {
	IsValueSecret bool   `json:"is_value_secret"`
	Key           string `json:"key"`
	Value         string `json:"value"`
}

type OauthHttpParametersQueryString

type OauthHttpParametersQueryString struct {
	// IsValueSecret: bool, optional
	IsValueSecret terra.BoolValue `hcl:"is_value_secret,attr"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type OauthHttpParametersQueryStringAttributes

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

func (OauthHttpParametersQueryStringAttributes) InternalRef

func (OauthHttpParametersQueryStringAttributes) InternalTokens

func (OauthHttpParametersQueryStringAttributes) InternalWithRef

func (OauthHttpParametersQueryStringAttributes) IsValueSecret

func (OauthHttpParametersQueryStringAttributes) Key

func (OauthHttpParametersQueryStringAttributes) Value

type OauthHttpParametersQueryStringState

type OauthHttpParametersQueryStringState struct {
	IsValueSecret bool   `json:"is_value_secret"`
	Key           string `json:"key"`
	Value         string `json:"value"`
}

type OauthHttpParametersState

type OauthHttpParametersState struct {
	Body        []OauthHttpParametersBodyState        `json:"body"`
	Header      []OauthHttpParametersHeaderState      `json:"header"`
	QueryString []OauthHttpParametersQueryStringState `json:"query_string"`
}

type OauthState

type OauthState struct {
	AuthorizationEndpoint string                     `json:"authorization_endpoint"`
	HttpMethod            string                     `json:"http_method"`
	ClientParameters      []ClientParametersState    `json:"client_parameters"`
	OauthHttpParameters   []OauthHttpParametersState `json:"oauth_http_parameters"`
}

Jump to

Keyboard shortcuts

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