aws_bedrock_model_invocation_logging_configuration

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 {
	// LoggingConfig: optional
	LoggingConfig *LoggingConfig `hcl:"logging_config,block"`
}

Args contains the configurations for aws_bedrock_model_invocation_logging_configuration.

type LoggingConfig

type LoggingConfig struct {
	// EmbeddingDataDeliveryEnabled: bool, required
	EmbeddingDataDeliveryEnabled terra.BoolValue `hcl:"embedding_data_delivery_enabled,attr" validate:"required"`
	// ImageDataDeliveryEnabled: bool, required
	ImageDataDeliveryEnabled terra.BoolValue `hcl:"image_data_delivery_enabled,attr" validate:"required"`
	// TextDataDeliveryEnabled: bool, required
	TextDataDeliveryEnabled terra.BoolValue `hcl:"text_data_delivery_enabled,attr" validate:"required"`
	// LoggingConfigCloudwatchConfig: optional
	CloudwatchConfig *LoggingConfigCloudwatchConfig `hcl:"cloudwatch_config,block"`
	// LoggingConfigS3Config: optional
	S3Config *LoggingConfigS3Config `hcl:"s3_config,block"`
}

type LoggingConfigAttributes

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

func (LoggingConfigAttributes) CloudwatchConfig

func (LoggingConfigAttributes) EmbeddingDataDeliveryEnabled

func (lc LoggingConfigAttributes) EmbeddingDataDeliveryEnabled() terra.BoolValue

func (LoggingConfigAttributes) ImageDataDeliveryEnabled

func (lc LoggingConfigAttributes) ImageDataDeliveryEnabled() terra.BoolValue

func (LoggingConfigAttributes) InternalRef

func (lc LoggingConfigAttributes) InternalRef() (terra.Reference, error)

func (LoggingConfigAttributes) InternalTokens

func (lc LoggingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoggingConfigAttributes) InternalWithRef

func (LoggingConfigAttributes) S3Config

func (LoggingConfigAttributes) TextDataDeliveryEnabled

func (lc LoggingConfigAttributes) TextDataDeliveryEnabled() terra.BoolValue

type LoggingConfigCloudwatchConfig

type LoggingConfigCloudwatchConfig struct {
	// LogGroupName: string, optional
	LogGroupName terra.StringValue `hcl:"log_group_name,attr"`
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,attr"`
	// LoggingConfigCloudwatchConfigLargeDataDeliveryS3Config: optional
	LargeDataDeliveryS3Config *LoggingConfigCloudwatchConfigLargeDataDeliveryS3Config `hcl:"large_data_delivery_s3_config,block"`
}

type LoggingConfigCloudwatchConfigAttributes

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

func (LoggingConfigCloudwatchConfigAttributes) InternalRef

func (LoggingConfigCloudwatchConfigAttributes) InternalTokens

func (LoggingConfigCloudwatchConfigAttributes) InternalWithRef

func (LoggingConfigCloudwatchConfigAttributes) LargeDataDeliveryS3Config

func (LoggingConfigCloudwatchConfigAttributes) LogGroupName

func (LoggingConfigCloudwatchConfigAttributes) RoleArn

type LoggingConfigCloudwatchConfigLargeDataDeliveryS3Config

type LoggingConfigCloudwatchConfigLargeDataDeliveryS3Config struct {
	// BucketName: string, optional
	BucketName terra.StringValue `hcl:"bucket_name,attr"`
	// KeyPrefix: string, optional
	KeyPrefix terra.StringValue `hcl:"key_prefix,attr"`
}

type LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigAttributes

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

func (LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigAttributes) BucketName

func (LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigAttributes) InternalRef

func (LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigAttributes) InternalTokens

func (LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigAttributes) InternalWithRef

func (LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigAttributes) KeyPrefix

type LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigState

type LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigState struct {
	BucketName string `json:"bucket_name"`
	KeyPrefix  string `json:"key_prefix"`
}

type LoggingConfigCloudwatchConfigState

type LoggingConfigCloudwatchConfigState struct {
	LogGroupName              string                                                       `json:"log_group_name"`
	RoleArn                   string                                                       `json:"role_arn"`
	LargeDataDeliveryS3Config *LoggingConfigCloudwatchConfigLargeDataDeliveryS3ConfigState `json:"large_data_delivery_s3_config"`
}

type LoggingConfigS3Config

type LoggingConfigS3Config struct {
	// BucketName: string, optional
	BucketName terra.StringValue `hcl:"bucket_name,attr"`
	// KeyPrefix: string, optional
	KeyPrefix terra.StringValue `hcl:"key_prefix,attr"`
}

type LoggingConfigS3ConfigAttributes

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

func (LoggingConfigS3ConfigAttributes) BucketName

func (LoggingConfigS3ConfigAttributes) InternalRef

func (LoggingConfigS3ConfigAttributes) InternalTokens

func (sc LoggingConfigS3ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoggingConfigS3ConfigAttributes) InternalWithRef

func (LoggingConfigS3ConfigAttributes) KeyPrefix

type LoggingConfigS3ConfigState

type LoggingConfigS3ConfigState struct {
	BucketName string `json:"bucket_name"`
	KeyPrefix  string `json:"key_prefix"`
}

type LoggingConfigState

type LoggingConfigState struct {
	EmbeddingDataDeliveryEnabled bool                                `json:"embedding_data_delivery_enabled"`
	ImageDataDeliveryEnabled     bool                                `json:"image_data_delivery_enabled"`
	TextDataDeliveryEnabled      bool                                `json:"text_data_delivery_enabled"`
	CloudwatchConfig             *LoggingConfigCloudwatchConfigState `json:"cloudwatch_config"`
	S3Config                     *LoggingConfigS3ConfigState         `json:"s3_config"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (abmilc *Resource) Attributes() awsBedrockModelInvocationLoggingConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (abmilc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (abmilc *Resource) State() (*awsBedrockModelInvocationLoggingConfigurationState, bool)

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

func (*Resource) StateMust

func (abmilc *Resource) StateMust() *awsBedrockModelInvocationLoggingConfigurationState

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

func (*Resource) Type

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