Documentation ¶
Index ¶
- type AwsLambda
- type AwsLambdaAttributes
- func (al AwsLambdaAttributes) FunctionArn() terra.StringValue
- func (al AwsLambdaAttributes) FunctionPayload() terra.StringValue
- func (al AwsLambdaAttributes) InternalRef() (terra.Reference, error)
- func (al AwsLambdaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (al AwsLambdaAttributes) InternalWithRef(ref terra.Reference) AwsLambdaAttributes
- type AwsLambdaState
- type Configuration
- type ConfigurationAttributes
- func (c ConfigurationAttributes) AllowedFeatures() terra.SetValue[terra.StringValue]
- func (c ConfigurationAttributes) CloudWatchMetricsEnabled() terra.BoolValue
- func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
- func (c ConfigurationAttributes) SupportingAccessPoint() terra.StringValue
- func (c ConfigurationAttributes) TransformationConfiguration() terra.SetValue[TransformationConfigurationAttributes]
- type ConfigurationState
- type ContentTransformation
- type ContentTransformationAttributes
- func (ct ContentTransformationAttributes) AwsLambda() terra.ListValue[AwsLambdaAttributes]
- func (ct ContentTransformationAttributes) InternalRef() (terra.Reference, error)
- func (ct ContentTransformationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ct ContentTransformationAttributes) InternalWithRef(ref terra.Reference) ContentTransformationAttributes
- type ContentTransformationState
- type TransformationConfiguration
- type TransformationConfigurationAttributes
- func (tc TransformationConfigurationAttributes) Actions() terra.SetValue[terra.StringValue]
- func (tc TransformationConfigurationAttributes) ContentTransformation() terra.ListValue[ContentTransformationAttributes]
- func (tc TransformationConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (tc TransformationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tc TransformationConfigurationAttributes) InternalWithRef(ref terra.Reference) TransformationConfigurationAttributes
- type TransformationConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsLambda ¶
type AwsLambda struct { // FunctionArn: string, required FunctionArn terra.StringValue `hcl:"function_arn,attr" validate:"required"` // FunctionPayload: string, optional FunctionPayload terra.StringValue `hcl:"function_payload,attr"` }
type AwsLambdaAttributes ¶
type AwsLambdaAttributes struct {
// contains filtered or unexported fields
}
func (AwsLambdaAttributes) FunctionArn ¶
func (al AwsLambdaAttributes) FunctionArn() terra.StringValue
func (AwsLambdaAttributes) FunctionPayload ¶
func (al AwsLambdaAttributes) FunctionPayload() terra.StringValue
func (AwsLambdaAttributes) InternalRef ¶
func (al AwsLambdaAttributes) InternalRef() (terra.Reference, error)
func (AwsLambdaAttributes) InternalTokens ¶
func (al AwsLambdaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AwsLambdaAttributes) InternalWithRef ¶
func (al AwsLambdaAttributes) InternalWithRef(ref terra.Reference) AwsLambdaAttributes
type AwsLambdaState ¶
type Configuration ¶
type Configuration struct { // AllowedFeatures: set of string, optional AllowedFeatures terra.SetValue[terra.StringValue] `hcl:"allowed_features,attr"` // CloudWatchMetricsEnabled: bool, optional CloudWatchMetricsEnabled terra.BoolValue `hcl:"cloud_watch_metrics_enabled,attr"` // SupportingAccessPoint: string, required SupportingAccessPoint terra.StringValue `hcl:"supporting_access_point,attr" validate:"required"` // TransformationConfiguration: min=1 TransformationConfiguration []TransformationConfiguration `hcl:"transformation_configuration,block" validate:"min=1"` }
type ConfigurationAttributes ¶
type ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationAttributes) AllowedFeatures ¶
func (c ConfigurationAttributes) AllowedFeatures() terra.SetValue[terra.StringValue]
func (ConfigurationAttributes) CloudWatchMetricsEnabled ¶
func (c ConfigurationAttributes) CloudWatchMetricsEnabled() terra.BoolValue
func (ConfigurationAttributes) InternalRef ¶
func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationAttributes) InternalTokens ¶
func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationAttributes) InternalWithRef ¶
func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
func (ConfigurationAttributes) SupportingAccessPoint ¶
func (c ConfigurationAttributes) SupportingAccessPoint() terra.StringValue
func (ConfigurationAttributes) TransformationConfiguration ¶
func (c ConfigurationAttributes) TransformationConfiguration() terra.SetValue[TransformationConfigurationAttributes]
type ConfigurationState ¶
type ConfigurationState struct { AllowedFeatures []string `json:"allowed_features"` CloudWatchMetricsEnabled bool `json:"cloud_watch_metrics_enabled"` SupportingAccessPoint string `json:"supporting_access_point"` TransformationConfiguration []TransformationConfigurationState `json:"transformation_configuration"` }
type ContentTransformation ¶
type ContentTransformation struct { // AwsLambda: required AwsLambda *AwsLambda `hcl:"aws_lambda,block" validate:"required"` }
type ContentTransformationAttributes ¶
type ContentTransformationAttributes struct {
// contains filtered or unexported fields
}
func (ContentTransformationAttributes) AwsLambda ¶
func (ct ContentTransformationAttributes) AwsLambda() terra.ListValue[AwsLambdaAttributes]
func (ContentTransformationAttributes) InternalRef ¶
func (ct ContentTransformationAttributes) InternalRef() (terra.Reference, error)
func (ContentTransformationAttributes) InternalTokens ¶
func (ct ContentTransformationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContentTransformationAttributes) InternalWithRef ¶
func (ct ContentTransformationAttributes) InternalWithRef(ref terra.Reference) ContentTransformationAttributes
type ContentTransformationState ¶
type ContentTransformationState struct {
AwsLambda []AwsLambdaState `json:"aws_lambda"`
}
type TransformationConfiguration ¶
type TransformationConfiguration struct { // Actions: set of string, required Actions terra.SetValue[terra.StringValue] `hcl:"actions,attr" validate:"required"` // ContentTransformation: required ContentTransformation *ContentTransformation `hcl:"content_transformation,block" validate:"required"` }
type TransformationConfigurationAttributes ¶
type TransformationConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (TransformationConfigurationAttributes) Actions ¶
func (tc TransformationConfigurationAttributes) Actions() terra.SetValue[terra.StringValue]
func (TransformationConfigurationAttributes) ContentTransformation ¶
func (tc TransformationConfigurationAttributes) ContentTransformation() terra.ListValue[ContentTransformationAttributes]
func (TransformationConfigurationAttributes) InternalRef ¶
func (tc TransformationConfigurationAttributes) InternalRef() (terra.Reference, error)
func (TransformationConfigurationAttributes) InternalTokens ¶
func (tc TransformationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TransformationConfigurationAttributes) InternalWithRef ¶
func (tc TransformationConfigurationAttributes) InternalWithRef(ref terra.Reference) TransformationConfigurationAttributes
type TransformationConfigurationState ¶
type TransformationConfigurationState struct { Actions []string `json:"actions"` ContentTransformation []ContentTransformationState `json:"content_transformation"` }
Click to show internal directories.
Click to hide internal directories.