s3controlobjectlambdaaccesspoint

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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 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 AwsLambdaState struct {
	FunctionArn     string `json:"function_arn"`
	FunctionPayload string `json:"function_payload"`
}

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 (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 (ConfigurationAttributes) SupportingAccessPoint

func (c ConfigurationAttributes) SupportingAccessPoint() terra.StringValue

func (ConfigurationAttributes) TransformationConfiguration

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 (ContentTransformationAttributes) InternalRef

func (ContentTransformationAttributes) InternalTokens

func (ct ContentTransformationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContentTransformationAttributes) InternalWithRef

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 (TransformationConfigurationAttributes) ContentTransformation

func (TransformationConfigurationAttributes) InternalRef

func (TransformationConfigurationAttributes) InternalTokens

func (TransformationConfigurationAttributes) InternalWithRef

type TransformationConfigurationState

type TransformationConfigurationState struct {
	Actions               []string                     `json:"actions"`
	ContentTransformation []ContentTransformationState `json:"content_transformation"`
}

Jump to

Keyboard shortcuts

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