Documentation ¶
Index ¶
- type DbInstance
- type DbInstanceArgs
- type DbInstanceArray
- type DbInstanceArrayInput
- type DbInstanceArrayOutput
- func (DbInstanceArrayOutput) ElementType() reflect.Type
- func (o DbInstanceArrayOutput) Index(i pulumi.IntInput) DbInstanceOutput
- func (o DbInstanceArrayOutput) ToDbInstanceArrayOutput() DbInstanceArrayOutput
- func (o DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput
- type DbInstanceInput
- type DbInstanceLogDeliveryConfiguration
- type DbInstanceLogDeliveryConfigurationArgs
- func (DbInstanceLogDeliveryConfigurationArgs) ElementType() reflect.Type
- func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationOutput() DbInstanceLogDeliveryConfigurationOutput
- func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationOutput
- func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationPtrOutput
- func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationPtrOutput
- type DbInstanceLogDeliveryConfigurationInput
- type DbInstanceLogDeliveryConfigurationOutput
- func (DbInstanceLogDeliveryConfigurationOutput) ElementType() reflect.Type
- func (o DbInstanceLogDeliveryConfigurationOutput) S3Configuration() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationOutput() DbInstanceLogDeliveryConfigurationOutput
- func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationOutput
- func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationPtrOutput
- type DbInstanceLogDeliveryConfigurationPtrInput
- type DbInstanceLogDeliveryConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationPtrOutput) Elem() DbInstanceLogDeliveryConfigurationOutput
- func (DbInstanceLogDeliveryConfigurationPtrOutput) ElementType() reflect.Type
- func (o DbInstanceLogDeliveryConfigurationPtrOutput) S3Configuration() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationPtrOutput
- type DbInstanceLogDeliveryConfigurationS3Configuration
- type DbInstanceLogDeliveryConfigurationS3ConfigurationArgs
- func (DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ElementType() reflect.Type
- func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
- func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
- func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- type DbInstanceLogDeliveryConfigurationS3ConfigurationInput
- type DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) BucketName() pulumi.StringOutput
- func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ElementType() reflect.Type
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) Enabled() pulumi.BoolOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- type DbInstanceLogDeliveryConfigurationS3ConfigurationPtrInput
- type DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) BucketName() pulumi.StringPtrOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) Elem() DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
- func (DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ElementType() reflect.Type
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
- type DbInstanceMap
- type DbInstanceMapInput
- type DbInstanceMapOutput
- func (DbInstanceMapOutput) ElementType() reflect.Type
- func (o DbInstanceMapOutput) MapIndex(k pulumi.StringInput) DbInstanceOutput
- func (o DbInstanceMapOutput) ToDbInstanceMapOutput() DbInstanceMapOutput
- func (o DbInstanceMapOutput) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput
- type DbInstanceOutput
- func (o DbInstanceOutput) AllocatedStorage() pulumi.IntOutput
- func (o DbInstanceOutput) Arn() pulumi.StringOutput
- func (o DbInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o DbInstanceOutput) Bucket() pulumi.StringOutput
- func (o DbInstanceOutput) DbInstanceType() pulumi.StringOutput
- func (o DbInstanceOutput) DbParameterGroupIdentifier() pulumi.StringPtrOutput
- func (o DbInstanceOutput) DbStorageType() pulumi.StringOutput
- func (o DbInstanceOutput) DeploymentType() pulumi.StringOutput
- func (DbInstanceOutput) ElementType() reflect.Type
- func (o DbInstanceOutput) Endpoint() pulumi.StringOutput
- func (o DbInstanceOutput) InfluxAuthParametersSecretArn() pulumi.StringOutput
- func (o DbInstanceOutput) LogDeliveryConfiguration() DbInstanceLogDeliveryConfigurationPtrOutput
- func (o DbInstanceOutput) Name() pulumi.StringOutput
- func (o DbInstanceOutput) Organization() pulumi.StringOutput
- func (o DbInstanceOutput) Password() pulumi.StringOutput
- func (o DbInstanceOutput) PubliclyAccessible() pulumi.BoolOutput
- func (o DbInstanceOutput) SecondaryAvailabilityZone() pulumi.StringOutput
- func (o DbInstanceOutput) Tags() pulumi.StringMapOutput
- func (o DbInstanceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o DbInstanceOutput) Timeouts() DbInstanceTimeoutsPtrOutput
- func (o DbInstanceOutput) ToDbInstanceOutput() DbInstanceOutput
- func (o DbInstanceOutput) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput
- func (o DbInstanceOutput) Username() pulumi.StringOutput
- func (o DbInstanceOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- func (o DbInstanceOutput) VpcSubnetIds() pulumi.StringArrayOutput
- type DbInstanceState
- type DbInstanceTimeouts
- type DbInstanceTimeoutsArgs
- func (DbInstanceTimeoutsArgs) ElementType() reflect.Type
- func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsOutput() DbInstanceTimeoutsOutput
- func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsOutputWithContext(ctx context.Context) DbInstanceTimeoutsOutput
- func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsPtrOutput() DbInstanceTimeoutsPtrOutput
- func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsPtrOutputWithContext(ctx context.Context) DbInstanceTimeoutsPtrOutput
- type DbInstanceTimeoutsInput
- type DbInstanceTimeoutsOutput
- func (o DbInstanceTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (o DbInstanceTimeoutsOutput) Delete() pulumi.StringPtrOutput
- func (DbInstanceTimeoutsOutput) ElementType() reflect.Type
- func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsOutput() DbInstanceTimeoutsOutput
- func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsOutputWithContext(ctx context.Context) DbInstanceTimeoutsOutput
- func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsPtrOutput() DbInstanceTimeoutsPtrOutput
- func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsPtrOutputWithContext(ctx context.Context) DbInstanceTimeoutsPtrOutput
- func (o DbInstanceTimeoutsOutput) Update() pulumi.StringPtrOutput
- type DbInstanceTimeoutsPtrInput
- type DbInstanceTimeoutsPtrOutput
- func (o DbInstanceTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o DbInstanceTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
- func (o DbInstanceTimeoutsPtrOutput) Elem() DbInstanceTimeoutsOutput
- func (DbInstanceTimeoutsPtrOutput) ElementType() reflect.Type
- func (o DbInstanceTimeoutsPtrOutput) ToDbInstanceTimeoutsPtrOutput() DbInstanceTimeoutsPtrOutput
- func (o DbInstanceTimeoutsPtrOutput) ToDbInstanceTimeoutsPtrOutputWithContext(ctx context.Context) DbInstanceTimeoutsPtrOutput
- func (o DbInstanceTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbInstance ¶
type DbInstance struct { pulumi.CustomResourceState // Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384. AllocatedStorage pulumi.IntOutput `pulumi:"allocatedStorage"` // ARN of the Timestream for InfluxDB Instance. Arn pulumi.StringOutput `pulumi:"arn"` // Availability Zone in which the DB instance resides. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization. Along with `organization`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Bucket pulumi.StringOutput `pulumi:"bucket"` // Timestream for InfluxDB DB instance type to run InfluxDB on. Valid options are: `"db.influx.medium"`, `"db.influx.large"`, `"db.influx.xlarge"`, `"db.influx.2xlarge"`, `"db.influx.4xlarge"`, `"db.influx.8xlarge"`, `"db.influx.12xlarge"`, and `"db.influx.16xlarge"`. DbInstanceType pulumi.StringOutput `pulumi:"dbInstanceType"` // ID of the DB parameter group assigned to your DB instance. If added to an existing Timestream for InfluxDB instance or given a new value, will cause an in-place update to the instance. However, if an instance already has a value for `dbParameterGroupIdentifier`, removing `dbParameterGroupIdentifier` will cause the instance to be destroyed and recreated. DbParameterGroupIdentifier pulumi.StringPtrOutput `pulumi:"dbParameterGroupIdentifier"` // Timestream for InfluxDB DB storage type to read and write InfluxDB data. You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements: Influx IO Included 3000 IOPS, Influx IO Included 12000 IOPS, Influx IO Included 16000 IOPS. Valid options are: `"InfluxIOIncludedT1"`, `"InfluxIOIncludedT2"`, and `"InfluxIOIncludedT1"`. If you use ` "InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for `allocatedStorage` is 400. DbStorageType pulumi.StringOutput `pulumi:"dbStorageType"` // Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability. Valid options are: `"SINGLE_AZ"`, `"WITH_MULTIAZ_STANDBY"`. DeploymentType pulumi.StringOutput `pulumi:"deploymentType"` // Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // ARN of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password. This secret will be read by the `timestreaminfluxdb.DbInstance` resource in order to support importing: deleting the secret or secret values can cause errors. InfluxAuthParametersSecretArn pulumi.StringOutput `pulumi:"influxAuthParametersSecretArn"` // Configuration for sending InfluxDB engine logs to a specified S3 bucket. LogDeliveryConfiguration DbInstanceLogDeliveryConfigurationPtrOutput `pulumi:"logDeliveryConfiguration"` // Name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region. The argument must start with a letter, cannot contain consecutive hyphens (`-`) and cannot end with a hyphen. Name pulumi.StringOutput `pulumi:"name"` // Name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users. Along with `bucket`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Organization pulumi.StringOutput `pulumi:"organization"` // Password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `username`, and `organization`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Password pulumi.StringOutput `pulumi:"password"` // Configures the DB instance with a public IP to facilitate access. Other resources, such as a VPC, a subnet, an internet gateway, and a route table with routes, are also required to enabled public access, in addition to this argument. See "Usage with Public Internet Access Enabled" for an example configuration with all required resources for public internet access. PubliclyAccessible pulumi.BoolOutput `pulumi:"publiclyAccessible"` // Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance. SecondaryAvailabilityZone pulumi.StringOutput `pulumi:"secondaryAvailabilityZone"` // Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` Timeouts DbInstanceTimeoutsPtrOutput `pulumi:"timeouts"` // Username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `organization`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Username pulumi.StringOutput `pulumi:"username"` // List of VPC security group IDs to associate with the DB instance. VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"` // List of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby. // // The following arguments are optional: VpcSubnetIds pulumi.StringArrayOutput `pulumi:"vpcSubnetIds"` }
Resource for managing an Amazon Timestream for InfluxDB database instance.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/timestreaminfluxdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := timestreaminfluxdb.NewDbInstance(ctx, "example", ×treaminfluxdb.DbInstanceArgs{ AllocatedStorage: pulumi.Int(20), Bucket: pulumi.String("example-bucket-name"), DbInstanceType: pulumi.String("db.influx.medium"), Username: pulumi.String("admin"), Password: pulumi.String("example-password"), Organization: pulumi.String("organization"), VpcSubnetIds: pulumi.StringArray{ exampleid, }, VpcSecurityGroupIds: pulumi.StringArray{ exampleAwsSecurityGroup.Id, }, Name: pulumi.String("example-db-instance"), }) if err != nil { return err } return nil }) }
```
### Usage with Prerequisite Resources
All Timestream for InfluxDB instances require a VPC, subnet, and security group. The following example shows how these prerequisite resources can be created and used with `timestreaminfluxdb.DbInstance`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/timestreaminfluxdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } exampleSubnet, err := ec2.NewSubnet(ctx, "example", &ec2.SubnetArgs{ VpcId: example.ID(), CidrBlock: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } exampleSecurityGroup, err := ec2.NewSecurityGroup(ctx, "example", &ec2.SecurityGroupArgs{ Name: pulumi.String("example"), VpcId: example.ID(), }) if err != nil { return err } _, err = timestreaminfluxdb.NewDbInstance(ctx, "example", ×treaminfluxdb.DbInstanceArgs{ AllocatedStorage: pulumi.Int(20), Bucket: pulumi.String("example-bucket-name"), DbInstanceType: pulumi.String("db.influx.medium"), Username: pulumi.String("admin"), Password: pulumi.String("example-password"), Organization: pulumi.String("organization"), VpcSubnetIds: pulumi.StringArray{ exampleSubnet.ID(), }, VpcSecurityGroupIds: pulumi.StringArray{ exampleSecurityGroup.ID(), }, Name: pulumi.String("example-db-instance"), }) if err != nil { return err } return nil }) }
```
### Usage with S3 Log Delivery Enabled
You can use an S3 bucket to store logs generated by your Timestream for InfluxDB instance. The following example shows what resources and arguments are required to configure an S3 bucket for logging, including the IAM policy that needs to be set in order to allow Timestream for InfluxDB to place logs in your S3 bucket. The configuration of the required VPC, security group, and subnet have been left out of the example for brevity.
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/timestreaminfluxdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleBucketV2, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{ Bucket: pulumi.String("example-s3-bucket"), }) if err != nil { return err } example := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ Statements: iam.GetPolicyDocumentStatementArray{ &iam.GetPolicyDocumentStatementArgs{ Actions: pulumi.StringArray{ pulumi.String("s3:PutObject"), }, Principals: iam.GetPolicyDocumentStatementPrincipalArray{ &iam.GetPolicyDocumentStatementPrincipalArgs{ Type: pulumi.String("Service"), Identifiers: pulumi.StringArray{ pulumi.String("timestream-influxdb.amazonaws.com"), }, }, }, Resources: pulumi.StringArray{ exampleBucketV2.Arn.ApplyT(func(arn string) (string, error) { return fmt.Sprintf("%v/*", arn), nil }).(pulumi.StringOutput), }, }, }, }, nil) _, err = s3.NewBucketPolicy(ctx, "example", &s3.BucketPolicyArgs{ Bucket: exampleBucketV2.ID(), Policy: pulumi.String(example.ApplyT(func(example iam.GetPolicyDocumentResult) (*string, error) { return &example.Json, nil }).(pulumi.StringPtrOutput)), }) if err != nil { return err } _, err = timestreaminfluxdb.NewDbInstance(ctx, "example", ×treaminfluxdb.DbInstanceArgs{ AllocatedStorage: pulumi.Int(20), Bucket: pulumi.String("example-bucket-name"), DbInstanceType: pulumi.String("db.influx.medium"), Username: pulumi.String("admin"), Password: pulumi.String("example-password"), Organization: pulumi.String("organization"), VpcSubnetIds: pulumi.StringArray{ exampleAwsSubnet.Id, }, VpcSecurityGroupIds: pulumi.StringArray{ exampleAwsSecurityGroup.Id, }, Name: pulumi.String("example-db-instance"), LogDeliveryConfiguration: ×treaminfluxdb.DbInstanceLogDeliveryConfigurationArgs{ S3Configuration: ×treaminfluxdb.DbInstanceLogDeliveryConfigurationS3ConfigurationArgs{ BucketName: exampleBucketV2.Name, Enabled: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
```
### Usage with MultiAZ Deployment
To use multi-region availability, at least two subnets must be created in different availability zones and used with your Timestream for InfluxDB instance.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/timestreaminfluxdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example1, err := ec2.NewSubnet(ctx, "example_1", &ec2.SubnetArgs{ VpcId: pulumi.Any(exampleAwsVpc.Id), CidrBlock: pulumi.String("10.0.1.0/24"), AvailabilityZone: pulumi.String("us-west-2a"), }) if err != nil { return err } example2, err := ec2.NewSubnet(ctx, "example_2", &ec2.SubnetArgs{ VpcId: pulumi.Any(exampleAwsVpc.Id), CidrBlock: pulumi.String("10.0.2.0/24"), AvailabilityZone: pulumi.String("us-west-2b"), }) if err != nil { return err } _, err = timestreaminfluxdb.NewDbInstance(ctx, "example", ×treaminfluxdb.DbInstanceArgs{ AllocatedStorage: pulumi.Int(20), Bucket: pulumi.String("example-bucket-name"), DbInstanceType: pulumi.String("db.influx.medium"), DeploymentType: pulumi.String("WITH_MULTIAZ_STANDBY"), Username: pulumi.String("admin"), Password: pulumi.String("example-password"), Organization: pulumi.String("organization"), VpcSubnetIds: pulumi.StringArray{ example1.ID(), example2.ID(), }, VpcSecurityGroupIds: pulumi.StringArray{ exampleAwsSecurityGroup.Id, }, Name: pulumi.String("example-db-instance"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Timestream for InfluxDB Db Instance using its identifier. For example:
```sh $ pulumi import aws:timestreaminfluxdb/dbInstance:DbInstance example 12345abcde ```
func GetDbInstance ¶
func GetDbInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DbInstanceState, opts ...pulumi.ResourceOption) (*DbInstance, error)
GetDbInstance gets an existing DbInstance 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 NewDbInstance ¶
func NewDbInstance(ctx *pulumi.Context, name string, args *DbInstanceArgs, opts ...pulumi.ResourceOption) (*DbInstance, error)
NewDbInstance registers a new resource with the given unique name, arguments, and options.
func (*DbInstance) ElementType ¶
func (*DbInstance) ElementType() reflect.Type
func (*DbInstance) ToDbInstanceOutput ¶
func (i *DbInstance) ToDbInstanceOutput() DbInstanceOutput
func (*DbInstance) ToDbInstanceOutputWithContext ¶
func (i *DbInstance) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput
type DbInstanceArgs ¶
type DbInstanceArgs struct { // Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384. AllocatedStorage pulumi.IntInput // Name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization. Along with `organization`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Bucket pulumi.StringInput // Timestream for InfluxDB DB instance type to run InfluxDB on. Valid options are: `"db.influx.medium"`, `"db.influx.large"`, `"db.influx.xlarge"`, `"db.influx.2xlarge"`, `"db.influx.4xlarge"`, `"db.influx.8xlarge"`, `"db.influx.12xlarge"`, and `"db.influx.16xlarge"`. DbInstanceType pulumi.StringInput // ID of the DB parameter group assigned to your DB instance. If added to an existing Timestream for InfluxDB instance or given a new value, will cause an in-place update to the instance. However, if an instance already has a value for `dbParameterGroupIdentifier`, removing `dbParameterGroupIdentifier` will cause the instance to be destroyed and recreated. DbParameterGroupIdentifier pulumi.StringPtrInput // Timestream for InfluxDB DB storage type to read and write InfluxDB data. You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements: Influx IO Included 3000 IOPS, Influx IO Included 12000 IOPS, Influx IO Included 16000 IOPS. Valid options are: `"InfluxIOIncludedT1"`, `"InfluxIOIncludedT2"`, and `"InfluxIOIncludedT1"`. If you use ` "InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for `allocatedStorage` is 400. DbStorageType pulumi.StringPtrInput // Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability. Valid options are: `"SINGLE_AZ"`, `"WITH_MULTIAZ_STANDBY"`. DeploymentType pulumi.StringPtrInput // Configuration for sending InfluxDB engine logs to a specified S3 bucket. LogDeliveryConfiguration DbInstanceLogDeliveryConfigurationPtrInput // Name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region. The argument must start with a letter, cannot contain consecutive hyphens (`-`) and cannot end with a hyphen. Name pulumi.StringPtrInput // Name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users. Along with `bucket`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Organization pulumi.StringInput // Password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `username`, and `organization`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Password pulumi.StringInput // Configures the DB instance with a public IP to facilitate access. Other resources, such as a VPC, a subnet, an internet gateway, and a route table with routes, are also required to enabled public access, in addition to this argument. See "Usage with Public Internet Access Enabled" for an example configuration with all required resources for public internet access. PubliclyAccessible pulumi.BoolPtrInput // Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput Timeouts DbInstanceTimeoutsPtrInput // Username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `organization`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Username pulumi.StringInput // List of VPC security group IDs to associate with the DB instance. VpcSecurityGroupIds pulumi.StringArrayInput // List of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby. // // The following arguments are optional: VpcSubnetIds pulumi.StringArrayInput }
The set of arguments for constructing a DbInstance resource.
func (DbInstanceArgs) ElementType ¶
func (DbInstanceArgs) ElementType() reflect.Type
type DbInstanceArray ¶
type DbInstanceArray []DbInstanceInput
func (DbInstanceArray) ElementType ¶
func (DbInstanceArray) ElementType() reflect.Type
func (DbInstanceArray) ToDbInstanceArrayOutput ¶
func (i DbInstanceArray) ToDbInstanceArrayOutput() DbInstanceArrayOutput
func (DbInstanceArray) ToDbInstanceArrayOutputWithContext ¶
func (i DbInstanceArray) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput
type DbInstanceArrayInput ¶
type DbInstanceArrayInput interface { pulumi.Input ToDbInstanceArrayOutput() DbInstanceArrayOutput ToDbInstanceArrayOutputWithContext(context.Context) DbInstanceArrayOutput }
DbInstanceArrayInput is an input type that accepts DbInstanceArray and DbInstanceArrayOutput values. You can construct a concrete instance of `DbInstanceArrayInput` via:
DbInstanceArray{ DbInstanceArgs{...} }
type DbInstanceArrayOutput ¶
type DbInstanceArrayOutput struct{ *pulumi.OutputState }
func (DbInstanceArrayOutput) ElementType ¶
func (DbInstanceArrayOutput) ElementType() reflect.Type
func (DbInstanceArrayOutput) Index ¶
func (o DbInstanceArrayOutput) Index(i pulumi.IntInput) DbInstanceOutput
func (DbInstanceArrayOutput) ToDbInstanceArrayOutput ¶
func (o DbInstanceArrayOutput) ToDbInstanceArrayOutput() DbInstanceArrayOutput
func (DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext ¶
func (o DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput
type DbInstanceInput ¶
type DbInstanceInput interface { pulumi.Input ToDbInstanceOutput() DbInstanceOutput ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput }
type DbInstanceLogDeliveryConfiguration ¶
type DbInstanceLogDeliveryConfiguration struct { // Configuration for S3 bucket log delivery. S3Configuration *DbInstanceLogDeliveryConfigurationS3Configuration `pulumi:"s3Configuration"` }
type DbInstanceLogDeliveryConfigurationArgs ¶
type DbInstanceLogDeliveryConfigurationArgs struct { // Configuration for S3 bucket log delivery. S3Configuration DbInstanceLogDeliveryConfigurationS3ConfigurationPtrInput `pulumi:"s3Configuration"` }
func (DbInstanceLogDeliveryConfigurationArgs) ElementType ¶
func (DbInstanceLogDeliveryConfigurationArgs) ElementType() reflect.Type
func (DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationOutput ¶
func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationOutput() DbInstanceLogDeliveryConfigurationOutput
func (DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationOutputWithContext ¶
func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationOutput
func (DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationPtrOutput ¶
func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationPtrOutput
func (DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext ¶
func (i DbInstanceLogDeliveryConfigurationArgs) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationPtrOutput
type DbInstanceLogDeliveryConfigurationInput ¶
type DbInstanceLogDeliveryConfigurationInput interface { pulumi.Input ToDbInstanceLogDeliveryConfigurationOutput() DbInstanceLogDeliveryConfigurationOutput ToDbInstanceLogDeliveryConfigurationOutputWithContext(context.Context) DbInstanceLogDeliveryConfigurationOutput }
DbInstanceLogDeliveryConfigurationInput is an input type that accepts DbInstanceLogDeliveryConfigurationArgs and DbInstanceLogDeliveryConfigurationOutput values. You can construct a concrete instance of `DbInstanceLogDeliveryConfigurationInput` via:
DbInstanceLogDeliveryConfigurationArgs{...}
type DbInstanceLogDeliveryConfigurationOutput ¶
type DbInstanceLogDeliveryConfigurationOutput struct{ *pulumi.OutputState }
func (DbInstanceLogDeliveryConfigurationOutput) ElementType ¶
func (DbInstanceLogDeliveryConfigurationOutput) ElementType() reflect.Type
func (DbInstanceLogDeliveryConfigurationOutput) S3Configuration ¶
func (o DbInstanceLogDeliveryConfigurationOutput) S3Configuration() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
Configuration for S3 bucket log delivery.
func (DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationOutput ¶
func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationOutput() DbInstanceLogDeliveryConfigurationOutput
func (DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationOutputWithContext ¶
func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationOutput
func (DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationPtrOutput ¶
func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationPtrOutput
func (DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext ¶
func (o DbInstanceLogDeliveryConfigurationOutput) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationPtrOutput
type DbInstanceLogDeliveryConfigurationPtrInput ¶
type DbInstanceLogDeliveryConfigurationPtrInput interface { pulumi.Input ToDbInstanceLogDeliveryConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationPtrOutput ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext(context.Context) DbInstanceLogDeliveryConfigurationPtrOutput }
DbInstanceLogDeliveryConfigurationPtrInput is an input type that accepts DbInstanceLogDeliveryConfigurationArgs, DbInstanceLogDeliveryConfigurationPtr and DbInstanceLogDeliveryConfigurationPtrOutput values. You can construct a concrete instance of `DbInstanceLogDeliveryConfigurationPtrInput` via:
DbInstanceLogDeliveryConfigurationArgs{...} or: nil
func DbInstanceLogDeliveryConfigurationPtr ¶
func DbInstanceLogDeliveryConfigurationPtr(v *DbInstanceLogDeliveryConfigurationArgs) DbInstanceLogDeliveryConfigurationPtrInput
type DbInstanceLogDeliveryConfigurationPtrOutput ¶
type DbInstanceLogDeliveryConfigurationPtrOutput struct{ *pulumi.OutputState }
func (DbInstanceLogDeliveryConfigurationPtrOutput) ElementType ¶
func (DbInstanceLogDeliveryConfigurationPtrOutput) ElementType() reflect.Type
func (DbInstanceLogDeliveryConfigurationPtrOutput) S3Configuration ¶
func (o DbInstanceLogDeliveryConfigurationPtrOutput) S3Configuration() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
Configuration for S3 bucket log delivery.
func (DbInstanceLogDeliveryConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationPtrOutput ¶
func (o DbInstanceLogDeliveryConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationPtrOutput
func (DbInstanceLogDeliveryConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext ¶
func (o DbInstanceLogDeliveryConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationPtrOutput
type DbInstanceLogDeliveryConfigurationS3Configuration ¶
type DbInstanceLogDeliveryConfigurationS3Configuration struct { // Name of the S3 bucket to deliver logs to. BucketName string `pulumi:"bucketName"` // Indicates whether log delivery to the S3 bucket is enabled. // // **Note**: Only three arguments do updates in-place: `dbParameterGroupIdentifier`, `logDeliveryConfiguration`, and `tags`. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, when `dbParameterGroupIdentifier` is added to a DB instance or modified, the DB instance will be updated in-place but if `dbParameterGroupIdentifier` is removed from a DB instance, the DB instance will be destroyed and re-created. Enabled bool `pulumi:"enabled"` }
type DbInstanceLogDeliveryConfigurationS3ConfigurationArgs ¶
type DbInstanceLogDeliveryConfigurationS3ConfigurationArgs struct { // Name of the S3 bucket to deliver logs to. BucketName pulumi.StringInput `pulumi:"bucketName"` // Indicates whether log delivery to the S3 bucket is enabled. // // **Note**: Only three arguments do updates in-place: `dbParameterGroupIdentifier`, `logDeliveryConfiguration`, and `tags`. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, when `dbParameterGroupIdentifier` is added to a DB instance or modified, the DB instance will be updated in-place but if `dbParameterGroupIdentifier` is removed from a DB instance, the DB instance will be destroyed and re-created. Enabled pulumi.BoolInput `pulumi:"enabled"` }
func (DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ElementType ¶
func (DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ElementType() reflect.Type
func (DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutput ¶
func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
func (DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutputWithContext ¶
func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
func (DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput ¶
func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
func (DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext ¶
func (i DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
type DbInstanceLogDeliveryConfigurationS3ConfigurationInput ¶
type DbInstanceLogDeliveryConfigurationS3ConfigurationInput interface { pulumi.Input ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationOutput ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutputWithContext(context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationOutput }
DbInstanceLogDeliveryConfigurationS3ConfigurationInput is an input type that accepts DbInstanceLogDeliveryConfigurationS3ConfigurationArgs and DbInstanceLogDeliveryConfigurationS3ConfigurationOutput values. You can construct a concrete instance of `DbInstanceLogDeliveryConfigurationS3ConfigurationInput` via:
DbInstanceLogDeliveryConfigurationS3ConfigurationArgs{...}
type DbInstanceLogDeliveryConfigurationS3ConfigurationOutput ¶
type DbInstanceLogDeliveryConfigurationS3ConfigurationOutput struct{ *pulumi.OutputState }
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) BucketName ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) BucketName() pulumi.StringOutput
Name of the S3 bucket to deliver logs to.
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ElementType ¶
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ElementType() reflect.Type
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) Enabled ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) Enabled() pulumi.BoolOutput
Indicates whether log delivery to the S3 bucket is enabled.
**Note**: Only three arguments do updates in-place: `dbParameterGroupIdentifier`, `logDeliveryConfiguration`, and `tags`. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, when `dbParameterGroupIdentifier` is added to a DB instance or modified, the DB instance will be updated in-place but if `dbParameterGroupIdentifier` is removed from a DB instance, the DB instance will be destroyed and re-created.
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutput ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutputWithContext ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationOutput
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
func (DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
type DbInstanceLogDeliveryConfigurationS3ConfigurationPtrInput ¶
type DbInstanceLogDeliveryConfigurationS3ConfigurationPtrInput interface { pulumi.Input ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext(context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput }
DbInstanceLogDeliveryConfigurationS3ConfigurationPtrInput is an input type that accepts DbInstanceLogDeliveryConfigurationS3ConfigurationArgs, DbInstanceLogDeliveryConfigurationS3ConfigurationPtr and DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput values. You can construct a concrete instance of `DbInstanceLogDeliveryConfigurationS3ConfigurationPtrInput` via:
DbInstanceLogDeliveryConfigurationS3ConfigurationArgs{...} or: nil
func DbInstanceLogDeliveryConfigurationS3ConfigurationPtr ¶
func DbInstanceLogDeliveryConfigurationS3ConfigurationPtr(v *DbInstanceLogDeliveryConfigurationS3ConfigurationArgs) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrInput
type DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput ¶
type DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput struct{ *pulumi.OutputState }
func (DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) BucketName ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) BucketName() pulumi.StringPtrOutput
Name of the S3 bucket to deliver logs to.
func (DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ElementType ¶
func (DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ElementType() reflect.Type
func (DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) Enabled ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) Enabled() pulumi.BoolPtrOutput
Indicates whether log delivery to the S3 bucket is enabled.
**Note**: Only three arguments do updates in-place: `dbParameterGroupIdentifier`, `logDeliveryConfiguration`, and `tags`. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, when `dbParameterGroupIdentifier` is added to a DB instance or modified, the DB instance will be updated in-place but if `dbParameterGroupIdentifier` is removed from a DB instance, the DB instance will be destroyed and re-created.
func (DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput() DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
func (DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext ¶
func (o DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput) ToDbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutputWithContext(ctx context.Context) DbInstanceLogDeliveryConfigurationS3ConfigurationPtrOutput
type DbInstanceMap ¶
type DbInstanceMap map[string]DbInstanceInput
func (DbInstanceMap) ElementType ¶
func (DbInstanceMap) ElementType() reflect.Type
func (DbInstanceMap) ToDbInstanceMapOutput ¶
func (i DbInstanceMap) ToDbInstanceMapOutput() DbInstanceMapOutput
func (DbInstanceMap) ToDbInstanceMapOutputWithContext ¶
func (i DbInstanceMap) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput
type DbInstanceMapInput ¶
type DbInstanceMapInput interface { pulumi.Input ToDbInstanceMapOutput() DbInstanceMapOutput ToDbInstanceMapOutputWithContext(context.Context) DbInstanceMapOutput }
DbInstanceMapInput is an input type that accepts DbInstanceMap and DbInstanceMapOutput values. You can construct a concrete instance of `DbInstanceMapInput` via:
DbInstanceMap{ "key": DbInstanceArgs{...} }
type DbInstanceMapOutput ¶
type DbInstanceMapOutput struct{ *pulumi.OutputState }
func (DbInstanceMapOutput) ElementType ¶
func (DbInstanceMapOutput) ElementType() reflect.Type
func (DbInstanceMapOutput) MapIndex ¶
func (o DbInstanceMapOutput) MapIndex(k pulumi.StringInput) DbInstanceOutput
func (DbInstanceMapOutput) ToDbInstanceMapOutput ¶
func (o DbInstanceMapOutput) ToDbInstanceMapOutput() DbInstanceMapOutput
func (DbInstanceMapOutput) ToDbInstanceMapOutputWithContext ¶
func (o DbInstanceMapOutput) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput
type DbInstanceOutput ¶
type DbInstanceOutput struct{ *pulumi.OutputState }
func (DbInstanceOutput) AllocatedStorage ¶
func (o DbInstanceOutput) AllocatedStorage() pulumi.IntOutput
Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
func (DbInstanceOutput) Arn ¶
func (o DbInstanceOutput) Arn() pulumi.StringOutput
ARN of the Timestream for InfluxDB Instance.
func (DbInstanceOutput) AvailabilityZone ¶
func (o DbInstanceOutput) AvailabilityZone() pulumi.StringOutput
Availability Zone in which the DB instance resides.
func (DbInstanceOutput) Bucket ¶
func (o DbInstanceOutput) Bucket() pulumi.StringOutput
Name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization. Along with `organization`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
func (DbInstanceOutput) DbInstanceType ¶
func (o DbInstanceOutput) DbInstanceType() pulumi.StringOutput
Timestream for InfluxDB DB instance type to run InfluxDB on. Valid options are: `"db.influx.medium"`, `"db.influx.large"`, `"db.influx.xlarge"`, `"db.influx.2xlarge"`, `"db.influx.4xlarge"`, `"db.influx.8xlarge"`, `"db.influx.12xlarge"`, and `"db.influx.16xlarge"`.
func (DbInstanceOutput) DbParameterGroupIdentifier ¶
func (o DbInstanceOutput) DbParameterGroupIdentifier() pulumi.StringPtrOutput
ID of the DB parameter group assigned to your DB instance. If added to an existing Timestream for InfluxDB instance or given a new value, will cause an in-place update to the instance. However, if an instance already has a value for `dbParameterGroupIdentifier`, removing `dbParameterGroupIdentifier` will cause the instance to be destroyed and recreated.
func (DbInstanceOutput) DbStorageType ¶
func (o DbInstanceOutput) DbStorageType() pulumi.StringOutput
Timestream for InfluxDB DB storage type to read and write InfluxDB data. You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements: Influx IO Included 3000 IOPS, Influx IO Included 12000 IOPS, Influx IO Included 16000 IOPS. Valid options are: `"InfluxIOIncludedT1"`, `"InfluxIOIncludedT2"`, and `"InfluxIOIncludedT1"`. If you use ` "InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for `allocatedStorage` is 400.
func (DbInstanceOutput) DeploymentType ¶
func (o DbInstanceOutput) DeploymentType() pulumi.StringOutput
Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability. Valid options are: `"SINGLE_AZ"`, `"WITH_MULTIAZ_STANDBY"`.
func (DbInstanceOutput) ElementType ¶
func (DbInstanceOutput) ElementType() reflect.Type
func (DbInstanceOutput) Endpoint ¶
func (o DbInstanceOutput) Endpoint() pulumi.StringOutput
Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
func (DbInstanceOutput) InfluxAuthParametersSecretArn ¶
func (o DbInstanceOutput) InfluxAuthParametersSecretArn() pulumi.StringOutput
ARN of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password. This secret will be read by the `timestreaminfluxdb.DbInstance` resource in order to support importing: deleting the secret or secret values can cause errors.
func (DbInstanceOutput) LogDeliveryConfiguration ¶
func (o DbInstanceOutput) LogDeliveryConfiguration() DbInstanceLogDeliveryConfigurationPtrOutput
Configuration for sending InfluxDB engine logs to a specified S3 bucket.
func (DbInstanceOutput) Name ¶
func (o DbInstanceOutput) Name() pulumi.StringOutput
Name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region. The argument must start with a letter, cannot contain consecutive hyphens (`-`) and cannot end with a hyphen.
func (DbInstanceOutput) Organization ¶
func (o DbInstanceOutput) Organization() pulumi.StringOutput
Name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users. Along with `bucket`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
func (DbInstanceOutput) Password ¶
func (o DbInstanceOutput) Password() pulumi.StringOutput
Password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `username`, and `organization`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
func (DbInstanceOutput) PubliclyAccessible ¶
func (o DbInstanceOutput) PubliclyAccessible() pulumi.BoolOutput
Configures the DB instance with a public IP to facilitate access. Other resources, such as a VPC, a subnet, an internet gateway, and a route table with routes, are also required to enabled public access, in addition to this argument. See "Usage with Public Internet Access Enabled" for an example configuration with all required resources for public internet access.
func (DbInstanceOutput) SecondaryAvailabilityZone ¶
func (o DbInstanceOutput) SecondaryAvailabilityZone() pulumi.StringOutput
Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
func (DbInstanceOutput) Tags ¶
func (o DbInstanceOutput) Tags() pulumi.StringMapOutput
Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (DbInstanceOutput) TagsAll
deprecated
func (o DbInstanceOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (DbInstanceOutput) Timeouts ¶
func (o DbInstanceOutput) Timeouts() DbInstanceTimeoutsPtrOutput
func (DbInstanceOutput) ToDbInstanceOutput ¶
func (o DbInstanceOutput) ToDbInstanceOutput() DbInstanceOutput
func (DbInstanceOutput) ToDbInstanceOutputWithContext ¶
func (o DbInstanceOutput) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput
func (DbInstanceOutput) Username ¶
func (o DbInstanceOutput) Username() pulumi.StringOutput
Username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `organization`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute.
func (DbInstanceOutput) VpcSecurityGroupIds ¶
func (o DbInstanceOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
List of VPC security group IDs to associate with the DB instance.
func (DbInstanceOutput) VpcSubnetIds ¶
func (o DbInstanceOutput) VpcSubnetIds() pulumi.StringArrayOutput
List of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby.
The following arguments are optional:
type DbInstanceState ¶
type DbInstanceState struct { // Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384. AllocatedStorage pulumi.IntPtrInput // ARN of the Timestream for InfluxDB Instance. Arn pulumi.StringPtrInput // Availability Zone in which the DB instance resides. AvailabilityZone pulumi.StringPtrInput // Name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization. Along with `organization`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Bucket pulumi.StringPtrInput // Timestream for InfluxDB DB instance type to run InfluxDB on. Valid options are: `"db.influx.medium"`, `"db.influx.large"`, `"db.influx.xlarge"`, `"db.influx.2xlarge"`, `"db.influx.4xlarge"`, `"db.influx.8xlarge"`, `"db.influx.12xlarge"`, and `"db.influx.16xlarge"`. DbInstanceType pulumi.StringPtrInput // ID of the DB parameter group assigned to your DB instance. If added to an existing Timestream for InfluxDB instance or given a new value, will cause an in-place update to the instance. However, if an instance already has a value for `dbParameterGroupIdentifier`, removing `dbParameterGroupIdentifier` will cause the instance to be destroyed and recreated. DbParameterGroupIdentifier pulumi.StringPtrInput // Timestream for InfluxDB DB storage type to read and write InfluxDB data. You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements: Influx IO Included 3000 IOPS, Influx IO Included 12000 IOPS, Influx IO Included 16000 IOPS. Valid options are: `"InfluxIOIncludedT1"`, `"InfluxIOIncludedT2"`, and `"InfluxIOIncludedT1"`. If you use ` "InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for `allocatedStorage` is 400. DbStorageType pulumi.StringPtrInput // Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability. Valid options are: `"SINGLE_AZ"`, `"WITH_MULTIAZ_STANDBY"`. DeploymentType pulumi.StringPtrInput // Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. Endpoint pulumi.StringPtrInput // ARN of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password. This secret will be read by the `timestreaminfluxdb.DbInstance` resource in order to support importing: deleting the secret or secret values can cause errors. InfluxAuthParametersSecretArn pulumi.StringPtrInput // Configuration for sending InfluxDB engine logs to a specified S3 bucket. LogDeliveryConfiguration DbInstanceLogDeliveryConfigurationPtrInput // Name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region. The argument must start with a letter, cannot contain consecutive hyphens (`-`) and cannot end with a hyphen. Name pulumi.StringPtrInput // Name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users. Along with `bucket`, `username`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Organization pulumi.StringPtrInput // Password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `username`, and `organization`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Password pulumi.StringPtrInput // Configures the DB instance with a public IP to facilitate access. Other resources, such as a VPC, a subnet, an internet gateway, and a route table with routes, are also required to enabled public access, in addition to this argument. See "Usage with Public Internet Access Enabled" for an example configuration with all required resources for public internet access. PubliclyAccessible pulumi.BoolPtrInput // Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance. SecondaryAvailabilityZone pulumi.StringPtrInput // Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput Timeouts DbInstanceTimeoutsPtrInput // Username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. Along with `bucket`, `organization`, and `password`, this argument will be stored in the secret referred to by the `influxAuthParametersSecretArn` attribute. Username pulumi.StringPtrInput // List of VPC security group IDs to associate with the DB instance. VpcSecurityGroupIds pulumi.StringArrayInput // List of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby. // // The following arguments are optional: VpcSubnetIds pulumi.StringArrayInput }
func (DbInstanceState) ElementType ¶
func (DbInstanceState) ElementType() reflect.Type
type DbInstanceTimeouts ¶
type DbInstanceTimeouts struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create *string `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete *string `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update *string `pulumi:"update"` }
type DbInstanceTimeoutsArgs ¶
type DbInstanceTimeoutsArgs struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create pulumi.StringPtrInput `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete pulumi.StringPtrInput `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update pulumi.StringPtrInput `pulumi:"update"` }
func (DbInstanceTimeoutsArgs) ElementType ¶
func (DbInstanceTimeoutsArgs) ElementType() reflect.Type
func (DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsOutput ¶
func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsOutput() DbInstanceTimeoutsOutput
func (DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsOutputWithContext ¶
func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsOutputWithContext(ctx context.Context) DbInstanceTimeoutsOutput
func (DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsPtrOutput ¶
func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsPtrOutput() DbInstanceTimeoutsPtrOutput
func (DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsPtrOutputWithContext ¶
func (i DbInstanceTimeoutsArgs) ToDbInstanceTimeoutsPtrOutputWithContext(ctx context.Context) DbInstanceTimeoutsPtrOutput
type DbInstanceTimeoutsInput ¶
type DbInstanceTimeoutsInput interface { pulumi.Input ToDbInstanceTimeoutsOutput() DbInstanceTimeoutsOutput ToDbInstanceTimeoutsOutputWithContext(context.Context) DbInstanceTimeoutsOutput }
DbInstanceTimeoutsInput is an input type that accepts DbInstanceTimeoutsArgs and DbInstanceTimeoutsOutput values. You can construct a concrete instance of `DbInstanceTimeoutsInput` via:
DbInstanceTimeoutsArgs{...}
type DbInstanceTimeoutsOutput ¶
type DbInstanceTimeoutsOutput struct{ *pulumi.OutputState }
func (DbInstanceTimeoutsOutput) Create ¶
func (o DbInstanceTimeoutsOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (DbInstanceTimeoutsOutput) Delete ¶
func (o DbInstanceTimeoutsOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (DbInstanceTimeoutsOutput) ElementType ¶
func (DbInstanceTimeoutsOutput) ElementType() reflect.Type
func (DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsOutput ¶
func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsOutput() DbInstanceTimeoutsOutput
func (DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsOutputWithContext ¶
func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsOutputWithContext(ctx context.Context) DbInstanceTimeoutsOutput
func (DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsPtrOutput ¶
func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsPtrOutput() DbInstanceTimeoutsPtrOutput
func (DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsPtrOutputWithContext ¶
func (o DbInstanceTimeoutsOutput) ToDbInstanceTimeoutsPtrOutputWithContext(ctx context.Context) DbInstanceTimeoutsPtrOutput
func (DbInstanceTimeoutsOutput) Update ¶
func (o DbInstanceTimeoutsOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
type DbInstanceTimeoutsPtrInput ¶
type DbInstanceTimeoutsPtrInput interface { pulumi.Input ToDbInstanceTimeoutsPtrOutput() DbInstanceTimeoutsPtrOutput ToDbInstanceTimeoutsPtrOutputWithContext(context.Context) DbInstanceTimeoutsPtrOutput }
DbInstanceTimeoutsPtrInput is an input type that accepts DbInstanceTimeoutsArgs, DbInstanceTimeoutsPtr and DbInstanceTimeoutsPtrOutput values. You can construct a concrete instance of `DbInstanceTimeoutsPtrInput` via:
DbInstanceTimeoutsArgs{...} or: nil
func DbInstanceTimeoutsPtr ¶
func DbInstanceTimeoutsPtr(v *DbInstanceTimeoutsArgs) DbInstanceTimeoutsPtrInput
type DbInstanceTimeoutsPtrOutput ¶
type DbInstanceTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (DbInstanceTimeoutsPtrOutput) Create ¶
func (o DbInstanceTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (DbInstanceTimeoutsPtrOutput) Delete ¶
func (o DbInstanceTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (DbInstanceTimeoutsPtrOutput) Elem ¶
func (o DbInstanceTimeoutsPtrOutput) Elem() DbInstanceTimeoutsOutput
func (DbInstanceTimeoutsPtrOutput) ElementType ¶
func (DbInstanceTimeoutsPtrOutput) ElementType() reflect.Type
func (DbInstanceTimeoutsPtrOutput) ToDbInstanceTimeoutsPtrOutput ¶
func (o DbInstanceTimeoutsPtrOutput) ToDbInstanceTimeoutsPtrOutput() DbInstanceTimeoutsPtrOutput
func (DbInstanceTimeoutsPtrOutput) ToDbInstanceTimeoutsPtrOutputWithContext ¶
func (o DbInstanceTimeoutsPtrOutput) ToDbInstanceTimeoutsPtrOutputWithContext(ctx context.Context) DbInstanceTimeoutsPtrOutput
func (DbInstanceTimeoutsPtrOutput) Update ¶
func (o DbInstanceTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).