Documentation ¶
Index ¶
- type Args
- type AuthParameters
- type AuthParametersApiKey
- type AuthParametersApiKeyAttributes
- func (ak AuthParametersApiKeyAttributes) InternalRef() (terra.Reference, error)
- func (ak AuthParametersApiKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ak AuthParametersApiKeyAttributes) InternalWithRef(ref terra.Reference) AuthParametersApiKeyAttributes
- func (ak AuthParametersApiKeyAttributes) Key() terra.StringValue
- func (ak AuthParametersApiKeyAttributes) Value() terra.StringValue
- type AuthParametersApiKeyState
- type AuthParametersAttributes
- func (ap AuthParametersAttributes) ApiKey() terra.ListValue[AuthParametersApiKeyAttributes]
- func (ap AuthParametersAttributes) Basic() terra.ListValue[AuthParametersBasicAttributes]
- func (ap AuthParametersAttributes) InternalRef() (terra.Reference, error)
- func (ap AuthParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ap AuthParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersAttributes
- func (ap AuthParametersAttributes) InvocationHttpParameters() terra.ListValue[AuthParametersInvocationHttpParametersAttributes]
- func (ap AuthParametersAttributes) Oauth() terra.ListValue[AuthParametersOauthAttributes]
- type AuthParametersBasic
- type AuthParametersBasicAttributes
- func (b AuthParametersBasicAttributes) InternalRef() (terra.Reference, error)
- func (b AuthParametersBasicAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b AuthParametersBasicAttributes) InternalWithRef(ref terra.Reference) AuthParametersBasicAttributes
- func (b AuthParametersBasicAttributes) Password() terra.StringValue
- func (b AuthParametersBasicAttributes) Username() terra.StringValue
- type AuthParametersBasicState
- type AuthParametersInvocationHttpParameters
- type AuthParametersInvocationHttpParametersAttributes
- func (ihp AuthParametersInvocationHttpParametersAttributes) Body() terra.ListValue[AuthParametersInvocationHttpParametersBodyAttributes]
- func (ihp AuthParametersInvocationHttpParametersAttributes) Header() terra.ListValue[AuthParametersInvocationHttpParametersHeaderAttributes]
- func (ihp AuthParametersInvocationHttpParametersAttributes) InternalRef() (terra.Reference, error)
- func (ihp AuthParametersInvocationHttpParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ihp AuthParametersInvocationHttpParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersAttributes
- func (ihp AuthParametersInvocationHttpParametersAttributes) QueryString() terra.ListValue[AuthParametersInvocationHttpParametersQueryStringAttributes]
- type AuthParametersInvocationHttpParametersBody
- type AuthParametersInvocationHttpParametersBodyAttributes
- func (b AuthParametersInvocationHttpParametersBodyAttributes) InternalRef() (terra.Reference, error)
- func (b AuthParametersInvocationHttpParametersBodyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b AuthParametersInvocationHttpParametersBodyAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersBodyAttributes
- func (b AuthParametersInvocationHttpParametersBodyAttributes) IsValueSecret() terra.BoolValue
- func (b AuthParametersInvocationHttpParametersBodyAttributes) Key() terra.StringValue
- func (b AuthParametersInvocationHttpParametersBodyAttributes) Value() terra.StringValue
- type AuthParametersInvocationHttpParametersBodyState
- type AuthParametersInvocationHttpParametersHeader
- type AuthParametersInvocationHttpParametersHeaderAttributes
- func (h AuthParametersInvocationHttpParametersHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h AuthParametersInvocationHttpParametersHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h AuthParametersInvocationHttpParametersHeaderAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersHeaderAttributes
- func (h AuthParametersInvocationHttpParametersHeaderAttributes) IsValueSecret() terra.BoolValue
- func (h AuthParametersInvocationHttpParametersHeaderAttributes) Key() terra.StringValue
- func (h AuthParametersInvocationHttpParametersHeaderAttributes) Value() terra.StringValue
- type AuthParametersInvocationHttpParametersHeaderState
- type AuthParametersInvocationHttpParametersQueryString
- type AuthParametersInvocationHttpParametersQueryStringAttributes
- func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) InternalRef() (terra.Reference, error)
- func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersQueryStringAttributes
- func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) IsValueSecret() terra.BoolValue
- func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) Key() terra.StringValue
- func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) Value() terra.StringValue
- type AuthParametersInvocationHttpParametersQueryStringState
- type AuthParametersInvocationHttpParametersState
- type AuthParametersOauth
- type AuthParametersOauthAttributes
- func (o AuthParametersOauthAttributes) AuthorizationEndpoint() terra.StringValue
- func (o AuthParametersOauthAttributes) ClientParameters() terra.ListValue[AuthParametersOauthClientParametersAttributes]
- func (o AuthParametersOauthAttributes) HttpMethod() terra.StringValue
- func (o AuthParametersOauthAttributes) InternalRef() (terra.Reference, error)
- func (o AuthParametersOauthAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o AuthParametersOauthAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthAttributes
- func (o AuthParametersOauthAttributes) OauthHttpParameters() terra.ListValue[AuthParametersOauthOauthHttpParametersAttributes]
- type AuthParametersOauthClientParameters
- type AuthParametersOauthClientParametersAttributes
- func (cp AuthParametersOauthClientParametersAttributes) ClientId() terra.StringValue
- func (cp AuthParametersOauthClientParametersAttributes) ClientSecret() terra.StringValue
- func (cp AuthParametersOauthClientParametersAttributes) InternalRef() (terra.Reference, error)
- func (cp AuthParametersOauthClientParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cp AuthParametersOauthClientParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthClientParametersAttributes
- type AuthParametersOauthClientParametersState
- type AuthParametersOauthOauthHttpParameters
- type AuthParametersOauthOauthHttpParametersAttributes
- func (ohp AuthParametersOauthOauthHttpParametersAttributes) Body() terra.ListValue[AuthParametersOauthOauthHttpParametersBodyAttributes]
- func (ohp AuthParametersOauthOauthHttpParametersAttributes) Header() terra.ListValue[AuthParametersOauthOauthHttpParametersHeaderAttributes]
- func (ohp AuthParametersOauthOauthHttpParametersAttributes) InternalRef() (terra.Reference, error)
- func (ohp AuthParametersOauthOauthHttpParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ohp AuthParametersOauthOauthHttpParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersAttributes
- func (ohp AuthParametersOauthOauthHttpParametersAttributes) QueryString() terra.ListValue[AuthParametersOauthOauthHttpParametersQueryStringAttributes]
- type AuthParametersOauthOauthHttpParametersBody
- type AuthParametersOauthOauthHttpParametersBodyAttributes
- func (b AuthParametersOauthOauthHttpParametersBodyAttributes) InternalRef() (terra.Reference, error)
- func (b AuthParametersOauthOauthHttpParametersBodyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b AuthParametersOauthOauthHttpParametersBodyAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersBodyAttributes
- func (b AuthParametersOauthOauthHttpParametersBodyAttributes) IsValueSecret() terra.BoolValue
- func (b AuthParametersOauthOauthHttpParametersBodyAttributes) Key() terra.StringValue
- func (b AuthParametersOauthOauthHttpParametersBodyAttributes) Value() terra.StringValue
- type AuthParametersOauthOauthHttpParametersBodyState
- type AuthParametersOauthOauthHttpParametersHeader
- type AuthParametersOauthOauthHttpParametersHeaderAttributes
- func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersHeaderAttributes
- func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) IsValueSecret() terra.BoolValue
- func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) Key() terra.StringValue
- func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) Value() terra.StringValue
- type AuthParametersOauthOauthHttpParametersHeaderState
- type AuthParametersOauthOauthHttpParametersQueryString
- type AuthParametersOauthOauthHttpParametersQueryStringAttributes
- func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalRef() (terra.Reference, error)
- func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersQueryStringAttributes
- func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) IsValueSecret() terra.BoolValue
- func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) Key() terra.StringValue
- func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) Value() terra.StringValue
- type AuthParametersOauthOauthHttpParametersQueryStringState
- type AuthParametersOauthOauthHttpParametersState
- type AuthParametersOauthState
- type AuthParametersState
- type DataArgs
- type DataSource
- type Resource
- func (acec *Resource) Attributes() awsCloudwatchEventConnectionAttributes
- func (acec *Resource) Configuration() interface{}
- func (acec *Resource) DependOn() terra.Reference
- func (acec *Resource) Dependencies() terra.Dependencies
- func (acec *Resource) ImportState(state io.Reader) error
- func (acec *Resource) LifecycleManagement() *terra.Lifecycle
- func (acec *Resource) LocalName() string
- func (acec *Resource) State() (*awsCloudwatchEventConnectionState, bool)
- func (acec *Resource) StateMust() *awsCloudwatchEventConnectionState
- func (acec *Resource) Type() string
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 (ak AuthParametersApiKeyAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersApiKeyAttributes) InternalTokens ¶
func (ak AuthParametersApiKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersApiKeyAttributes) InternalWithRef ¶
func (ak AuthParametersApiKeyAttributes) InternalWithRef(ref terra.Reference) AuthParametersApiKeyAttributes
func (AuthParametersApiKeyAttributes) Key ¶
func (ak AuthParametersApiKeyAttributes) Key() terra.StringValue
func (AuthParametersApiKeyAttributes) Value ¶
func (ak AuthParametersApiKeyAttributes) Value() terra.StringValue
type AuthParametersAttributes ¶
type AuthParametersAttributes struct {
// contains filtered or unexported fields
}
func (AuthParametersAttributes) ApiKey ¶
func (ap AuthParametersAttributes) ApiKey() terra.ListValue[AuthParametersApiKeyAttributes]
func (AuthParametersAttributes) Basic ¶
func (ap AuthParametersAttributes) Basic() terra.ListValue[AuthParametersBasicAttributes]
func (AuthParametersAttributes) InternalRef ¶
func (ap AuthParametersAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersAttributes) InternalTokens ¶
func (ap AuthParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersAttributes) InternalWithRef ¶
func (ap AuthParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersAttributes
func (AuthParametersAttributes) InvocationHttpParameters ¶
func (ap AuthParametersAttributes) InvocationHttpParameters() terra.ListValue[AuthParametersInvocationHttpParametersAttributes]
func (AuthParametersAttributes) Oauth ¶
func (ap AuthParametersAttributes) Oauth() terra.ListValue[AuthParametersOauthAttributes]
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 (b AuthParametersBasicAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersBasicAttributes) InternalTokens ¶
func (b AuthParametersBasicAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersBasicAttributes) InternalWithRef ¶
func (b AuthParametersBasicAttributes) InternalWithRef(ref terra.Reference) AuthParametersBasicAttributes
func (AuthParametersBasicAttributes) Password ¶
func (b AuthParametersBasicAttributes) Password() terra.StringValue
func (AuthParametersBasicAttributes) Username ¶
func (b AuthParametersBasicAttributes) Username() terra.StringValue
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) InternalRef ¶
func (ihp AuthParametersInvocationHttpParametersAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersInvocationHttpParametersAttributes) InternalTokens ¶
func (ihp AuthParametersInvocationHttpParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersInvocationHttpParametersAttributes) InternalWithRef ¶
func (ihp AuthParametersInvocationHttpParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersAttributes
func (AuthParametersInvocationHttpParametersAttributes) QueryString ¶
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 (b AuthParametersInvocationHttpParametersBodyAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersInvocationHttpParametersBodyAttributes) InternalTokens ¶
func (b AuthParametersInvocationHttpParametersBodyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersInvocationHttpParametersBodyAttributes) InternalWithRef ¶
func (b AuthParametersInvocationHttpParametersBodyAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersBodyAttributes
func (AuthParametersInvocationHttpParametersBodyAttributes) IsValueSecret ¶
func (b AuthParametersInvocationHttpParametersBodyAttributes) IsValueSecret() terra.BoolValue
func (AuthParametersInvocationHttpParametersBodyAttributes) Key ¶
func (b AuthParametersInvocationHttpParametersBodyAttributes) Key() terra.StringValue
func (AuthParametersInvocationHttpParametersBodyAttributes) Value ¶
func (b AuthParametersInvocationHttpParametersBodyAttributes) Value() terra.StringValue
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 (h AuthParametersInvocationHttpParametersHeaderAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersInvocationHttpParametersHeaderAttributes) InternalTokens ¶
func (h AuthParametersInvocationHttpParametersHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersInvocationHttpParametersHeaderAttributes) InternalWithRef ¶
func (h AuthParametersInvocationHttpParametersHeaderAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersHeaderAttributes
func (AuthParametersInvocationHttpParametersHeaderAttributes) IsValueSecret ¶
func (h AuthParametersInvocationHttpParametersHeaderAttributes) IsValueSecret() terra.BoolValue
func (AuthParametersInvocationHttpParametersHeaderAttributes) Value ¶
func (h AuthParametersInvocationHttpParametersHeaderAttributes) Value() terra.StringValue
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 (qs AuthParametersInvocationHttpParametersQueryStringAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersInvocationHttpParametersQueryStringAttributes) InternalTokens ¶
func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersInvocationHttpParametersQueryStringAttributes) InternalWithRef ¶
func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) InternalWithRef(ref terra.Reference) AuthParametersInvocationHttpParametersQueryStringAttributes
func (AuthParametersInvocationHttpParametersQueryStringAttributes) IsValueSecret ¶
func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) IsValueSecret() terra.BoolValue
func (AuthParametersInvocationHttpParametersQueryStringAttributes) Value ¶
func (qs AuthParametersInvocationHttpParametersQueryStringAttributes) Value() terra.StringValue
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 (o AuthParametersOauthAttributes) ClientParameters() terra.ListValue[AuthParametersOauthClientParametersAttributes]
func (AuthParametersOauthAttributes) HttpMethod ¶
func (o AuthParametersOauthAttributes) HttpMethod() terra.StringValue
func (AuthParametersOauthAttributes) InternalRef ¶
func (o AuthParametersOauthAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersOauthAttributes) InternalTokens ¶
func (o AuthParametersOauthAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersOauthAttributes) InternalWithRef ¶
func (o AuthParametersOauthAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthAttributes
func (AuthParametersOauthAttributes) OauthHttpParameters ¶
func (o AuthParametersOauthAttributes) OauthHttpParameters() terra.ListValue[AuthParametersOauthOauthHttpParametersAttributes]
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 (cp AuthParametersOauthClientParametersAttributes) ClientId() terra.StringValue
func (AuthParametersOauthClientParametersAttributes) ClientSecret ¶
func (cp AuthParametersOauthClientParametersAttributes) ClientSecret() terra.StringValue
func (AuthParametersOauthClientParametersAttributes) InternalRef ¶
func (cp AuthParametersOauthClientParametersAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersOauthClientParametersAttributes) InternalTokens ¶
func (cp AuthParametersOauthClientParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersOauthClientParametersAttributes) InternalWithRef ¶
func (cp AuthParametersOauthClientParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthClientParametersAttributes
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) InternalRef ¶
func (ohp AuthParametersOauthOauthHttpParametersAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersOauthOauthHttpParametersAttributes) InternalTokens ¶
func (ohp AuthParametersOauthOauthHttpParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersOauthOauthHttpParametersAttributes) InternalWithRef ¶
func (ohp AuthParametersOauthOauthHttpParametersAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersAttributes
func (AuthParametersOauthOauthHttpParametersAttributes) QueryString ¶
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 (b AuthParametersOauthOauthHttpParametersBodyAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersOauthOauthHttpParametersBodyAttributes) InternalTokens ¶
func (b AuthParametersOauthOauthHttpParametersBodyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersOauthOauthHttpParametersBodyAttributes) InternalWithRef ¶
func (b AuthParametersOauthOauthHttpParametersBodyAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersBodyAttributes
func (AuthParametersOauthOauthHttpParametersBodyAttributes) IsValueSecret ¶
func (b AuthParametersOauthOauthHttpParametersBodyAttributes) IsValueSecret() terra.BoolValue
func (AuthParametersOauthOauthHttpParametersBodyAttributes) Key ¶
func (b AuthParametersOauthOauthHttpParametersBodyAttributes) Key() terra.StringValue
func (AuthParametersOauthOauthHttpParametersBodyAttributes) Value ¶
func (b AuthParametersOauthOauthHttpParametersBodyAttributes) Value() terra.StringValue
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 (h AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalTokens ¶
func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalWithRef ¶
func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersHeaderAttributes
func (AuthParametersOauthOauthHttpParametersHeaderAttributes) IsValueSecret ¶
func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) IsValueSecret() terra.BoolValue
func (AuthParametersOauthOauthHttpParametersHeaderAttributes) Value ¶
func (h AuthParametersOauthOauthHttpParametersHeaderAttributes) Value() terra.StringValue
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 (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalRef() (terra.Reference, error)
func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalTokens ¶
func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalWithRef ¶
func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) InternalWithRef(ref terra.Reference) AuthParametersOauthOauthHttpParametersQueryStringAttributes
func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) IsValueSecret ¶
func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) IsValueSecret() terra.BoolValue
func (AuthParametersOauthOauthHttpParametersQueryStringAttributes) Value ¶
func (qs AuthParametersOauthOauthHttpParametersQueryStringAttributes) Value() terra.StringValue
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 ¶
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 (*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) Dependencies ¶
func (acec *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.