aws_timestreamwrite_table

package
v5.45.0 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 {
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// MagneticStoreWriteProperties: optional
	MagneticStoreWriteProperties *MagneticStoreWriteProperties `hcl:"magnetic_store_write_properties,block"`
	// RetentionProperties: optional
	RetentionProperties *RetentionProperties `hcl:"retention_properties,block"`
}

Args contains the configurations for aws_timestreamwrite_table.

type MagneticStoreWriteProperties

type MagneticStoreWriteProperties struct {
	// EnableMagneticStoreWrites: bool, optional
	EnableMagneticStoreWrites terra.BoolValue `hcl:"enable_magnetic_store_writes,attr"`
	// MagneticStoreWritePropertiesMagneticStoreRejectedDataLocation: optional
	MagneticStoreRejectedDataLocation *MagneticStoreWritePropertiesMagneticStoreRejectedDataLocation `hcl:"magnetic_store_rejected_data_location,block"`
}

type MagneticStoreWritePropertiesAttributes

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

func (MagneticStoreWritePropertiesAttributes) EnableMagneticStoreWrites

func (mswp MagneticStoreWritePropertiesAttributes) EnableMagneticStoreWrites() terra.BoolValue

func (MagneticStoreWritePropertiesAttributes) InternalRef

func (MagneticStoreWritePropertiesAttributes) InternalTokens

func (MagneticStoreWritePropertiesAttributes) InternalWithRef

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocation

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocation struct {
	// MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration: optional
	S3Configuration *MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration `hcl:"s3_configuration,block"`
}

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationAttributes

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

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationAttributes) InternalRef

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationAttributes) InternalTokens

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationAttributes) InternalWithRef

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3Configuration struct {
	// BucketName: string, optional
	BucketName terra.StringValue `hcl:"bucket_name,attr"`
	// EncryptionOption: string, optional
	EncryptionOption terra.StringValue `hcl:"encryption_option,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// ObjectKeyPrefix: string, optional
	ObjectKeyPrefix terra.StringValue `hcl:"object_key_prefix,attr"`
}

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationAttributes

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

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationAttributes) BucketName

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationAttributes) EncryptionOption

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationAttributes) InternalRef

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationAttributes) InternalTokens

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationAttributes) KmsKeyId

func (MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationAttributes) ObjectKeyPrefix

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationState

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationState struct {
	BucketName       string `json:"bucket_name"`
	EncryptionOption string `json:"encryption_option"`
	KmsKeyId         string `json:"kms_key_id"`
	ObjectKeyPrefix  string `json:"object_key_prefix"`
}

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationState

type MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationState struct {
	S3Configuration []MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationState `json:"s3_configuration"`
}

type MagneticStoreWritePropertiesState

type MagneticStoreWritePropertiesState struct {
	EnableMagneticStoreWrites         bool                                                                 `json:"enable_magnetic_store_writes"`
	MagneticStoreRejectedDataLocation []MagneticStoreWritePropertiesMagneticStoreRejectedDataLocationState `json:"magnetic_store_rejected_data_location"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (att *Resource) Attributes() awsTimestreamwriteTableAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (att *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (att *Resource) State() (*awsTimestreamwriteTableState, bool)

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

func (*Resource) StateMust

func (att *Resource) StateMust() *awsTimestreamwriteTableState

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

func (*Resource) Type

func (att *Resource) Type() string

Type returns the Terraform object type for Resource.

type RetentionProperties

type RetentionProperties struct {
	// MagneticStoreRetentionPeriodInDays: number, required
	MagneticStoreRetentionPeriodInDays terra.NumberValue `hcl:"magnetic_store_retention_period_in_days,attr" validate:"required"`
	// MemoryStoreRetentionPeriodInHours: number, required
	MemoryStoreRetentionPeriodInHours terra.NumberValue `hcl:"memory_store_retention_period_in_hours,attr" validate:"required"`
}

type RetentionPropertiesAttributes

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

func (RetentionPropertiesAttributes) InternalRef

func (rp RetentionPropertiesAttributes) InternalRef() (terra.Reference, error)

func (RetentionPropertiesAttributes) InternalTokens

func (rp RetentionPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RetentionPropertiesAttributes) InternalWithRef

func (RetentionPropertiesAttributes) MagneticStoreRetentionPeriodInDays

func (rp RetentionPropertiesAttributes) MagneticStoreRetentionPeriodInDays() terra.NumberValue

func (RetentionPropertiesAttributes) MemoryStoreRetentionPeriodInHours

func (rp RetentionPropertiesAttributes) MemoryStoreRetentionPeriodInHours() terra.NumberValue

type RetentionPropertiesState

type RetentionPropertiesState struct {
	MagneticStoreRetentionPeriodInDays float64 `json:"magnetic_store_retention_period_in_days"`
	MemoryStoreRetentionPeriodInHours  float64 `json:"memory_store_retention_period_in_hours"`
}

Jump to

Keyboard shortcuts

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