timestream

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name for the database. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the database name.
	DatabaseName pulumi.StringPtrOutput `pulumi:"databaseName"`
	// The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// An array of key-value pairs to apply to this resource.
	Tags DatabaseTagArrayOutput `pulumi:"tags"`
}

The AWS::Timestream::Database resource creates a Timestream database.

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

func (*Database) ElementType

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseArgs

type DatabaseArgs struct {
	// The name for the database. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the database name.
	DatabaseName pulumi.StringPtrInput
	// The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account.
	KmsKeyId pulumi.StringPtrInput
	// An array of key-value pairs to apply to this resource.
	Tags DatabaseTagArrayInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseInput

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseOutput

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) ElementType

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) ToDatabaseOutput

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseState

type DatabaseState struct {
}

func (DatabaseState) ElementType

func (DatabaseState) ElementType() reflect.Type

type DatabaseTag

type DatabaseTag struct {
	Key   *string `pulumi:"key"`
	Value *string `pulumi:"value"`
}

You can use the Resource Tags property to apply tags to resources, which can help you identify and categorize those resources.

type DatabaseTagArgs

type DatabaseTagArgs struct {
	Key   pulumi.StringPtrInput `pulumi:"key"`
	Value pulumi.StringPtrInput `pulumi:"value"`
}

You can use the Resource Tags property to apply tags to resources, which can help you identify and categorize those resources.

func (DatabaseTagArgs) ElementType

func (DatabaseTagArgs) ElementType() reflect.Type

func (DatabaseTagArgs) ToDatabaseTagOutput

func (i DatabaseTagArgs) ToDatabaseTagOutput() DatabaseTagOutput

func (DatabaseTagArgs) ToDatabaseTagOutputWithContext

func (i DatabaseTagArgs) ToDatabaseTagOutputWithContext(ctx context.Context) DatabaseTagOutput

type DatabaseTagArray

type DatabaseTagArray []DatabaseTagInput

func (DatabaseTagArray) ElementType

func (DatabaseTagArray) ElementType() reflect.Type

func (DatabaseTagArray) ToDatabaseTagArrayOutput

func (i DatabaseTagArray) ToDatabaseTagArrayOutput() DatabaseTagArrayOutput

func (DatabaseTagArray) ToDatabaseTagArrayOutputWithContext

func (i DatabaseTagArray) ToDatabaseTagArrayOutputWithContext(ctx context.Context) DatabaseTagArrayOutput

type DatabaseTagArrayInput

type DatabaseTagArrayInput interface {
	pulumi.Input

	ToDatabaseTagArrayOutput() DatabaseTagArrayOutput
	ToDatabaseTagArrayOutputWithContext(context.Context) DatabaseTagArrayOutput
}

DatabaseTagArrayInput is an input type that accepts DatabaseTagArray and DatabaseTagArrayOutput values. You can construct a concrete instance of `DatabaseTagArrayInput` via:

DatabaseTagArray{ DatabaseTagArgs{...} }

type DatabaseTagArrayOutput

type DatabaseTagArrayOutput struct{ *pulumi.OutputState }

func (DatabaseTagArrayOutput) ElementType

func (DatabaseTagArrayOutput) ElementType() reflect.Type

func (DatabaseTagArrayOutput) Index

func (DatabaseTagArrayOutput) ToDatabaseTagArrayOutput

func (o DatabaseTagArrayOutput) ToDatabaseTagArrayOutput() DatabaseTagArrayOutput

func (DatabaseTagArrayOutput) ToDatabaseTagArrayOutputWithContext

func (o DatabaseTagArrayOutput) ToDatabaseTagArrayOutputWithContext(ctx context.Context) DatabaseTagArrayOutput

type DatabaseTagInput

type DatabaseTagInput interface {
	pulumi.Input

	ToDatabaseTagOutput() DatabaseTagOutput
	ToDatabaseTagOutputWithContext(context.Context) DatabaseTagOutput
}

DatabaseTagInput is an input type that accepts DatabaseTagArgs and DatabaseTagOutput values. You can construct a concrete instance of `DatabaseTagInput` via:

DatabaseTagArgs{...}

type DatabaseTagOutput

type DatabaseTagOutput struct{ *pulumi.OutputState }

You can use the Resource Tags property to apply tags to resources, which can help you identify and categorize those resources.

func (DatabaseTagOutput) ElementType

func (DatabaseTagOutput) ElementType() reflect.Type

func (DatabaseTagOutput) Key

func (DatabaseTagOutput) ToDatabaseTagOutput

func (o DatabaseTagOutput) ToDatabaseTagOutput() DatabaseTagOutput

func (DatabaseTagOutput) ToDatabaseTagOutputWithContext

func (o DatabaseTagOutput) ToDatabaseTagOutputWithContext(ctx context.Context) DatabaseTagOutput

func (DatabaseTagOutput) Value

type RetentionPropertiesProperties added in v0.2.0

type RetentionPropertiesProperties struct {
	// The duration for which data must be stored in the magnetic store.
	MagneticStoreRetentionPeriodInDays *string `pulumi:"magneticStoreRetentionPeriodInDays"`
	// The duration for which data must be stored in the memory store.
	MemoryStoreRetentionPeriodInHours *string `pulumi:"memoryStoreRetentionPeriodInHours"`
}

The retention duration of the memory store and the magnetic store.

type RetentionPropertiesPropertiesArgs added in v0.2.0

type RetentionPropertiesPropertiesArgs struct {
	// The duration for which data must be stored in the magnetic store.
	MagneticStoreRetentionPeriodInDays pulumi.StringPtrInput `pulumi:"magneticStoreRetentionPeriodInDays"`
	// The duration for which data must be stored in the memory store.
	MemoryStoreRetentionPeriodInHours pulumi.StringPtrInput `pulumi:"memoryStoreRetentionPeriodInHours"`
}

The retention duration of the memory store and the magnetic store.

func (RetentionPropertiesPropertiesArgs) ElementType added in v0.2.0

func (RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesOutput added in v0.2.0

func (i RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesOutput() RetentionPropertiesPropertiesOutput

func (RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesOutputWithContext added in v0.2.0

func (i RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesOutputWithContext(ctx context.Context) RetentionPropertiesPropertiesOutput

func (RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesPtrOutput added in v0.2.0

func (i RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesPtrOutput() RetentionPropertiesPropertiesPtrOutput

func (RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesPtrOutputWithContext added in v0.2.0

func (i RetentionPropertiesPropertiesArgs) ToRetentionPropertiesPropertiesPtrOutputWithContext(ctx context.Context) RetentionPropertiesPropertiesPtrOutput

type RetentionPropertiesPropertiesInput added in v0.2.0

type RetentionPropertiesPropertiesInput interface {
	pulumi.Input

	ToRetentionPropertiesPropertiesOutput() RetentionPropertiesPropertiesOutput
	ToRetentionPropertiesPropertiesOutputWithContext(context.Context) RetentionPropertiesPropertiesOutput
}

RetentionPropertiesPropertiesInput is an input type that accepts RetentionPropertiesPropertiesArgs and RetentionPropertiesPropertiesOutput values. You can construct a concrete instance of `RetentionPropertiesPropertiesInput` via:

RetentionPropertiesPropertiesArgs{...}

type RetentionPropertiesPropertiesOutput added in v0.2.0

type RetentionPropertiesPropertiesOutput struct{ *pulumi.OutputState }

The retention duration of the memory store and the magnetic store.

func (RetentionPropertiesPropertiesOutput) ElementType added in v0.2.0

func (RetentionPropertiesPropertiesOutput) MagneticStoreRetentionPeriodInDays added in v0.2.0

func (o RetentionPropertiesPropertiesOutput) MagneticStoreRetentionPeriodInDays() pulumi.StringPtrOutput

The duration for which data must be stored in the magnetic store.

func (RetentionPropertiesPropertiesOutput) MemoryStoreRetentionPeriodInHours added in v0.2.0

func (o RetentionPropertiesPropertiesOutput) MemoryStoreRetentionPeriodInHours() pulumi.StringPtrOutput

The duration for which data must be stored in the memory store.

func (RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesOutput added in v0.2.0

func (o RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesOutput() RetentionPropertiesPropertiesOutput

func (RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesOutputWithContext added in v0.2.0

func (o RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesOutputWithContext(ctx context.Context) RetentionPropertiesPropertiesOutput

func (RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesPtrOutput added in v0.2.0

func (o RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesPtrOutput() RetentionPropertiesPropertiesPtrOutput

func (RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesPtrOutputWithContext added in v0.2.0

func (o RetentionPropertiesPropertiesOutput) ToRetentionPropertiesPropertiesPtrOutputWithContext(ctx context.Context) RetentionPropertiesPropertiesPtrOutput

type RetentionPropertiesPropertiesPtrInput added in v0.2.0

type RetentionPropertiesPropertiesPtrInput interface {
	pulumi.Input

	ToRetentionPropertiesPropertiesPtrOutput() RetentionPropertiesPropertiesPtrOutput
	ToRetentionPropertiesPropertiesPtrOutputWithContext(context.Context) RetentionPropertiesPropertiesPtrOutput
}

RetentionPropertiesPropertiesPtrInput is an input type that accepts RetentionPropertiesPropertiesArgs, RetentionPropertiesPropertiesPtr and RetentionPropertiesPropertiesPtrOutput values. You can construct a concrete instance of `RetentionPropertiesPropertiesPtrInput` via:

        RetentionPropertiesPropertiesArgs{...}

or:

        nil

type RetentionPropertiesPropertiesPtrOutput added in v0.2.0

type RetentionPropertiesPropertiesPtrOutput struct{ *pulumi.OutputState }

func (RetentionPropertiesPropertiesPtrOutput) Elem added in v0.2.0

func (RetentionPropertiesPropertiesPtrOutput) ElementType added in v0.2.0

func (RetentionPropertiesPropertiesPtrOutput) MagneticStoreRetentionPeriodInDays added in v0.2.0

func (o RetentionPropertiesPropertiesPtrOutput) MagneticStoreRetentionPeriodInDays() pulumi.StringPtrOutput

The duration for which data must be stored in the magnetic store.

func (RetentionPropertiesPropertiesPtrOutput) MemoryStoreRetentionPeriodInHours added in v0.2.0

func (o RetentionPropertiesPropertiesPtrOutput) MemoryStoreRetentionPeriodInHours() pulumi.StringPtrOutput

The duration for which data must be stored in the memory store.

func (RetentionPropertiesPropertiesPtrOutput) ToRetentionPropertiesPropertiesPtrOutput added in v0.2.0

func (o RetentionPropertiesPropertiesPtrOutput) ToRetentionPropertiesPropertiesPtrOutput() RetentionPropertiesPropertiesPtrOutput

func (RetentionPropertiesPropertiesPtrOutput) ToRetentionPropertiesPropertiesPtrOutputWithContext added in v0.2.0

func (o RetentionPropertiesPropertiesPtrOutput) ToRetentionPropertiesPropertiesPtrOutputWithContext(ctx context.Context) RetentionPropertiesPropertiesPtrOutput

type Table

type Table struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name for the database which the table to be created belongs to.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// The table name exposed as a read-only attribute.
	Name pulumi.StringOutput `pulumi:"name"`
	// The retention duration of the memory store and the magnetic store.
	RetentionProperties RetentionPropertiesPropertiesPtrOutput `pulumi:"retentionProperties"`
	// The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
	TableName pulumi.StringPtrOutput `pulumi:"tableName"`
	// An array of key-value pairs to apply to this resource.
	Tags TableTagArrayOutput `pulumi:"tags"`
}

The AWS::Timestream::Table resource creates a Timestream Table.

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

GetTable gets an existing Table resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTable

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

NewTable registers a new resource with the given unique name, arguments, and options.

func (*Table) ElementType

func (*Table) ElementType() reflect.Type

func (*Table) ToTableOutput

func (i *Table) ToTableOutput() TableOutput

func (*Table) ToTableOutputWithContext

func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableArgs

type TableArgs struct {
	// The name for the database which the table to be created belongs to.
	DatabaseName pulumi.StringInput
	// The retention duration of the memory store and the magnetic store.
	RetentionProperties RetentionPropertiesPropertiesPtrInput
	// The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
	TableName pulumi.StringPtrInput
	// An array of key-value pairs to apply to this resource.
	Tags TableTagArrayInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableInput

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableOutput

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) ElementType

func (TableOutput) ElementType() reflect.Type

func (TableOutput) ToTableOutput

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableState

type TableState struct {
}

func (TableState) ElementType

func (TableState) ElementType() reflect.Type

type TableTag

type TableTag struct {
	Key   *string `pulumi:"key"`
	Value *string `pulumi:"value"`
}

You can use the Resource Tags property to apply tags to resources, which can help you identify and categorize those resources.

type TableTagArgs

type TableTagArgs struct {
	Key   pulumi.StringPtrInput `pulumi:"key"`
	Value pulumi.StringPtrInput `pulumi:"value"`
}

You can use the Resource Tags property to apply tags to resources, which can help you identify and categorize those resources.

func (TableTagArgs) ElementType

func (TableTagArgs) ElementType() reflect.Type

func (TableTagArgs) ToTableTagOutput

func (i TableTagArgs) ToTableTagOutput() TableTagOutput

func (TableTagArgs) ToTableTagOutputWithContext

func (i TableTagArgs) ToTableTagOutputWithContext(ctx context.Context) TableTagOutput

type TableTagArray

type TableTagArray []TableTagInput

func (TableTagArray) ElementType

func (TableTagArray) ElementType() reflect.Type

func (TableTagArray) ToTableTagArrayOutput

func (i TableTagArray) ToTableTagArrayOutput() TableTagArrayOutput

func (TableTagArray) ToTableTagArrayOutputWithContext

func (i TableTagArray) ToTableTagArrayOutputWithContext(ctx context.Context) TableTagArrayOutput

type TableTagArrayInput

type TableTagArrayInput interface {
	pulumi.Input

	ToTableTagArrayOutput() TableTagArrayOutput
	ToTableTagArrayOutputWithContext(context.Context) TableTagArrayOutput
}

TableTagArrayInput is an input type that accepts TableTagArray and TableTagArrayOutput values. You can construct a concrete instance of `TableTagArrayInput` via:

TableTagArray{ TableTagArgs{...} }

type TableTagArrayOutput

type TableTagArrayOutput struct{ *pulumi.OutputState }

func (TableTagArrayOutput) ElementType

func (TableTagArrayOutput) ElementType() reflect.Type

func (TableTagArrayOutput) Index

func (TableTagArrayOutput) ToTableTagArrayOutput

func (o TableTagArrayOutput) ToTableTagArrayOutput() TableTagArrayOutput

func (TableTagArrayOutput) ToTableTagArrayOutputWithContext

func (o TableTagArrayOutput) ToTableTagArrayOutputWithContext(ctx context.Context) TableTagArrayOutput

type TableTagInput

type TableTagInput interface {
	pulumi.Input

	ToTableTagOutput() TableTagOutput
	ToTableTagOutputWithContext(context.Context) TableTagOutput
}

TableTagInput is an input type that accepts TableTagArgs and TableTagOutput values. You can construct a concrete instance of `TableTagInput` via:

TableTagArgs{...}

type TableTagOutput

type TableTagOutput struct{ *pulumi.OutputState }

You can use the Resource Tags property to apply tags to resources, which can help you identify and categorize those resources.

func (TableTagOutput) ElementType

func (TableTagOutput) ElementType() reflect.Type

func (TableTagOutput) Key

func (TableTagOutput) ToTableTagOutput

func (o TableTagOutput) ToTableTagOutput() TableTagOutput

func (TableTagOutput) ToTableTagOutputWithContext

func (o TableTagOutput) ToTableTagOutputWithContext(ctx context.Context) TableTagOutput

func (TableTagOutput) Value

Jump to

Keyboard shortcuts

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