aws_cloudwatch_event_connection

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 {
	// AuthorizationType: string, required
	AuthorizationType terra.StringValue `hcl:"authorization_type,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// AuthParameters: required
	AuthParameters *AuthParameters `hcl:"auth_parameters,block" validate:"required"`
}

Args contains the configurations for aws_cloudwatch_event_connection.

type AuthParameters

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

type AuthParametersApiKey

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

type AuthParametersApiKeyAttributes

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

func (AuthParametersApiKeyAttributes) InternalRef

func (AuthParametersApiKeyAttributes) InternalTokens

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

func (AuthParametersApiKeyAttributes) InternalWithRef

func (AuthParametersApiKeyAttributes) Key

func (AuthParametersApiKeyAttributes) Value

type AuthParametersApiKeyState

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

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 AuthParametersBasic

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

type AuthParametersBasicAttributes

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

func (AuthParametersBasicAttributes) InternalRef

func (AuthParametersBasicAttributes) InternalTokens

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

func (AuthParametersBasicAttributes) InternalWithRef

func (AuthParametersBasicAttributes) Password

func (AuthParametersBasicAttributes) Username

type AuthParametersBasicState

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

type AuthParametersInvocationHttpParameters

type AuthParametersInvocationHttpParameters struct {
	// AuthParametersInvocationHttpParametersBody: min=0
	Body []AuthParametersInvocationHttpParametersBody `hcl:"body,block" validate:"min=0"`
	// AuthParametersInvocationHttpParametersHeader: min=0
	Header []AuthParametersInvocationHttpParametersHeader `hcl:"header,block" validate:"min=0"`
	// AuthParametersInvocationHttpParametersQueryString: min=0
	QueryString []AuthParametersInvocationHttpParametersQueryString `hcl:"query_string,block" validate:"min=0"`
}

type AuthParametersInvocationHttpParametersAttributes

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

func (AuthParametersInvocationHttpParametersAttributes) Body

func (AuthParametersInvocationHttpParametersAttributes) Header

func (AuthParametersInvocationHttpParametersAttributes) InternalRef

func (AuthParametersInvocationHttpParametersAttributes) InternalTokens

func (AuthParametersInvocationHttpParametersAttributes) InternalWithRef

type AuthParametersInvocationHttpParametersBody

type AuthParametersInvocationHttpParametersBody 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 AuthParametersInvocationHttpParametersBodyAttributes

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

func (AuthParametersInvocationHttpParametersBodyAttributes) InternalRef

func (AuthParametersInvocationHttpParametersBodyAttributes) InternalTokens

func (AuthParametersInvocationHttpParametersBodyAttributes) InternalWithRef

func (AuthParametersInvocationHttpParametersBodyAttributes) IsValueSecret

func (AuthParametersInvocationHttpParametersBodyAttributes) Key

func (AuthParametersInvocationHttpParametersBodyAttributes) Value

type AuthParametersInvocationHttpParametersBodyState

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

type AuthParametersInvocationHttpParametersHeader

type AuthParametersInvocationHttpParametersHeader 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 AuthParametersInvocationHttpParametersHeaderAttributes

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

func (AuthParametersInvocationHttpParametersHeaderAttributes) InternalRef

func (AuthParametersInvocationHttpParametersHeaderAttributes) InternalTokens

func (AuthParametersInvocationHttpParametersHeaderAttributes) InternalWithRef

func (AuthParametersInvocationHttpParametersHeaderAttributes) IsValueSecret

func (AuthParametersInvocationHttpParametersHeaderAttributes) Key

func (AuthParametersInvocationHttpParametersHeaderAttributes) Value

type AuthParametersInvocationHttpParametersHeaderState

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

type AuthParametersInvocationHttpParametersQueryString

type AuthParametersInvocationHttpParametersQueryString 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 AuthParametersInvocationHttpParametersQueryStringAttributes

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

func (AuthParametersInvocationHttpParametersQueryStringAttributes) InternalRef

func (AuthParametersInvocationHttpParametersQueryStringAttributes) InternalTokens

func (AuthParametersInvocationHttpParametersQueryStringAttributes) InternalWithRef

func (AuthParametersInvocationHttpParametersQueryStringAttributes) IsValueSecret

func (AuthParametersInvocationHttpParametersQueryStringAttributes) Key

func (AuthParametersInvocationHttpParametersQueryStringAttributes) Value

type AuthParametersInvocationHttpParametersQueryStringState

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

type AuthParametersInvocationHttpParametersState

type AuthParametersInvocationHttpParametersState struct {
	Body        []AuthParametersInvocationHttpParametersBodyState        `json:"body"`
	Header      []AuthParametersInvocationHttpParametersHeaderState      `json:"header"`
	QueryString []AuthParametersInvocationHttpParametersQueryStringState `json:"query_string"`
}

type AuthParametersOauth

type AuthParametersOauth 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"`
	// AuthParametersOauthClientParameters: optional
	ClientParameters *AuthParametersOauthClientParameters `hcl:"client_parameters,block"`
	// AuthParametersOauthOauthHttpParameters: required
	OauthHttpParameters *AuthParametersOauthOauthHttpParameters `hcl:"oauth_http_parameters,block" validate:"required"`
}

type AuthParametersOauthAttributes

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

func (AuthParametersOauthAttributes) AuthorizationEndpoint

func (o AuthParametersOauthAttributes) AuthorizationEndpoint() terra.StringValue

func (AuthParametersOauthAttributes) ClientParameters

func (AuthParametersOauthAttributes) HttpMethod

func (AuthParametersOauthAttributes) InternalRef

func (AuthParametersOauthAttributes) InternalTokens

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

func (AuthParametersOauthAttributes) InternalWithRef

func (AuthParametersOauthAttributes) OauthHttpParameters

type AuthParametersOauthClientParameters

type AuthParametersOauthClientParameters 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 AuthParametersOauthClientParametersAttributes

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

func (AuthParametersOauthClientParametersAttributes) ClientId

func (AuthParametersOauthClientParametersAttributes) ClientSecret

func (AuthParametersOauthClientParametersAttributes) InternalRef

func (AuthParametersOauthClientParametersAttributes) InternalTokens

func (AuthParametersOauthClientParametersAttributes) InternalWithRef

type AuthParametersOauthClientParametersState

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

type AuthParametersOauthOauthHttpParameters

type AuthParametersOauthOauthHttpParameters struct {
	// AuthParametersOauthOauthHttpParametersBody: min=0
	Body []AuthParametersOauthOauthHttpParametersBody `hcl:"body,block" validate:"min=0"`
	// AuthParametersOauthOauthHttpParametersHeader: min=0
	Header []AuthParametersOauthOauthHttpParametersHeader `hcl:"header,block" validate:"min=0"`
	// AuthParametersOauthOauthHttpParametersQueryString: min=0
	QueryString []AuthParametersOauthOauthHttpParametersQueryString `hcl:"query_string,block" validate:"min=0"`
}

type AuthParametersOauthOauthHttpParametersAttributes

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

func (AuthParametersOauthOauthHttpParametersAttributes) Body

func (AuthParametersOauthOauthHttpParametersAttributes) Header

func (AuthParametersOauthOauthHttpParametersAttributes) InternalRef

func (AuthParametersOauthOauthHttpParametersAttributes) InternalTokens

func (AuthParametersOauthOauthHttpParametersAttributes) InternalWithRef

type AuthParametersOauthOauthHttpParametersBody

type AuthParametersOauthOauthHttpParametersBody 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 AuthParametersOauthOauthHttpParametersBodyAttributes

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

func (AuthParametersOauthOauthHttpParametersBodyAttributes) InternalRef

func (AuthParametersOauthOauthHttpParametersBodyAttributes) InternalTokens

func (AuthParametersOauthOauthHttpParametersBodyAttributes) InternalWithRef

func (AuthParametersOauthOauthHttpParametersBodyAttributes) IsValueSecret

func (AuthParametersOauthOauthHttpParametersBodyAttributes) Key

func (AuthParametersOauthOauthHttpParametersBodyAttributes) Value

type AuthParametersOauthOauthHttpParametersBodyState

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

type AuthParametersOauthOauthHttpParametersHeader

type AuthParametersOauthOauthHttpParametersHeader 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 AuthParametersOauthOauthHttpParametersHeaderAttributes

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

func (AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalRef

func (AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalTokens

func (AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalWithRef

func (AuthParametersOauthOauthHttpParametersHeaderAttributes) IsValueSecret

func (AuthParametersOauthOauthHttpParametersHeaderAttributes) Key

func (AuthParametersOauthOauthHttpParametersHeaderAttributes) Value

type AuthParametersOauthOauthHttpParametersHeaderState

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

type AuthParametersOauthOauthHttpParametersQueryString

type AuthParametersOauthOauthHttpParametersQueryString 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 AuthParametersOauthOauthHttpParametersQueryStringAttributes

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

func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalRef

func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalTokens

func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalWithRef

func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) IsValueSecret

func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) Key

func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) Value

type AuthParametersOauthOauthHttpParametersQueryStringState

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

type AuthParametersOauthOauthHttpParametersState

type AuthParametersOauthOauthHttpParametersState struct {
	Body        []AuthParametersOauthOauthHttpParametersBodyState        `json:"body"`
	Header      []AuthParametersOauthOauthHttpParametersHeaderState      `json:"header"`
	QueryString []AuthParametersOauthOauthHttpParametersQueryStringState `json:"query_string"`
}

type AuthParametersOauthState

type AuthParametersOauthState struct {
	AuthorizationEndpoint string                                        `json:"authorization_endpoint"`
	HttpMethod            string                                        `json:"http_method"`
	ClientParameters      []AuthParametersOauthClientParametersState    `json:"client_parameters"`
	OauthHttpParameters   []AuthParametersOauthOauthHttpParametersState `json:"oauth_http_parameters"`
}

type AuthParametersState

type AuthParametersState struct {
	ApiKey                   []AuthParametersApiKeyState                   `json:"api_key"`
	Basic                    []AuthParametersBasicState                    `json:"basic"`
	InvocationHttpParameters []AuthParametersInvocationHttpParametersState `json:"invocation_http_parameters"`
	Oauth                    []AuthParametersOauthState                    `json:"oauth"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

DataArgs contains the configurations for aws_cloudwatch_event_connection.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_cloudwatch_event_connection.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (acec *DataSource) Attributes() dataAwsCloudwatchEventConnectionAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (acec *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (acec *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (acec *DataSource) LocalName() string

LocalName returns the local name for DataSource.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acec *Resource) Attributes() awsCloudwatchEventConnectionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acec *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acec *Resource) State() (*awsCloudwatchEventConnectionState, bool)

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

func (*Resource) StateMust

func (acec *Resource) StateMust() *awsCloudwatchEventConnectionState

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

func (*Resource) Type

func (acec *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