aws.timestreaminfluxdb.DbInstance
Explore with Pulumi AI
Resource for managing an Amazon Timestream for InfluxDB database instance.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.timestreaminfluxdb.DbInstance("example", {
allocatedStorage: 20,
bucket: "example-bucket-name",
dbInstanceType: "db.influx.medium",
username: "admin",
password: "example-password",
organization: "organization",
vpcSubnetIds: [exampleid],
vpcSecurityGroupIds: [exampleAwsSecurityGroup.id],
name: "example-db-instance",
});
import pulumi
import pulumi_aws as aws
example = aws.timestreaminfluxdb.DbInstance("example",
allocated_storage=20,
bucket="example-bucket-name",
db_instance_type="db.influx.medium",
username="admin",
password="example-password",
organization="organization",
vpc_subnet_ids=[exampleid],
vpc_security_group_ids=[example_aws_security_group["id"]],
name="example-db-instance")
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.TimestreamInfluxDB.DbInstance("example", new()
{
AllocatedStorage = 20,
Bucket = "example-bucket-name",
DbInstanceType = "db.influx.medium",
Username = "admin",
Password = "example-password",
Organization = "organization",
VpcSubnetIds = new[]
{
exampleid,
},
VpcSecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
Name = "example-db-instance",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.timestreaminfluxdb.DbInstance;
import com.pulumi.aws.timestreaminfluxdb.DbInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new DbInstance("example", DbInstanceArgs.builder()
.allocatedStorage(20)
.bucket("example-bucket-name")
.dbInstanceType("db.influx.medium")
.username("admin")
.password("example-password")
.organization("organization")
.vpcSubnetIds(exampleid)
.vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
.name("example-db-instance")
.build());
}
}
resources:
example:
type: aws:timestreaminfluxdb:DbInstance
properties:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
username: admin
password: example-password
organization: organization
vpcSubnetIds:
- ${exampleid}
vpcSecurityGroupIds:
- ${exampleAwsSecurityGroup.id}
name: example-db-instance
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 aws.timestreaminfluxdb.DbInstance
.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2.Vpc("example", {cidrBlock: "10.0.0.0/16"});
const exampleSubnet = new aws.ec2.Subnet("example", {
vpcId: example.id,
cidrBlock: "10.0.1.0/24",
});
const exampleSecurityGroup = new aws.ec2.SecurityGroup("example", {
name: "example",
vpcId: example.id,
});
const exampleDbInstance = new aws.timestreaminfluxdb.DbInstance("example", {
allocatedStorage: 20,
bucket: "example-bucket-name",
dbInstanceType: "db.influx.medium",
username: "admin",
password: "example-password",
organization: "organization",
vpcSubnetIds: [exampleSubnet.id],
vpcSecurityGroupIds: [exampleSecurityGroup.id],
name: "example-db-instance",
});
import pulumi
import pulumi_aws as aws
example = aws.ec2.Vpc("example", cidr_block="10.0.0.0/16")
example_subnet = aws.ec2.Subnet("example",
vpc_id=example.id,
cidr_block="10.0.1.0/24")
example_security_group = aws.ec2.SecurityGroup("example",
name="example",
vpc_id=example.id)
example_db_instance = aws.timestreaminfluxdb.DbInstance("example",
allocated_storage=20,
bucket="example-bucket-name",
db_instance_type="db.influx.medium",
username="admin",
password="example-password",
organization="organization",
vpc_subnet_ids=[example_subnet.id],
vpc_security_group_ids=[example_security_group.id],
name="example-db-instance")
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ec2.Vpc("example", new()
{
CidrBlock = "10.0.0.0/16",
});
var exampleSubnet = new Aws.Ec2.Subnet("example", new()
{
VpcId = example.Id,
CidrBlock = "10.0.1.0/24",
});
var exampleSecurityGroup = new Aws.Ec2.SecurityGroup("example", new()
{
Name = "example",
VpcId = example.Id,
});
var exampleDbInstance = new Aws.TimestreamInfluxDB.DbInstance("example", new()
{
AllocatedStorage = 20,
Bucket = "example-bucket-name",
DbInstanceType = "db.influx.medium",
Username = "admin",
Password = "example-password",
Organization = "organization",
VpcSubnetIds = new[]
{
exampleSubnet.Id,
},
VpcSecurityGroupIds = new[]
{
exampleSecurityGroup.Id,
},
Name = "example-db-instance",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Vpc;
import com.pulumi.aws.ec2.VpcArgs;
import com.pulumi.aws.ec2.Subnet;
import com.pulumi.aws.ec2.SubnetArgs;
import com.pulumi.aws.ec2.SecurityGroup;
import com.pulumi.aws.ec2.SecurityGroupArgs;
import com.pulumi.aws.timestreaminfluxdb.DbInstance;
import com.pulumi.aws.timestreaminfluxdb.DbInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Vpc("example", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
.vpcId(example.id())
.cidrBlock("10.0.1.0/24")
.build());
var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()
.name("example")
.vpcId(example.id())
.build());
var exampleDbInstance = new DbInstance("exampleDbInstance", DbInstanceArgs.builder()
.allocatedStorage(20)
.bucket("example-bucket-name")
.dbInstanceType("db.influx.medium")
.username("admin")
.password("example-password")
.organization("organization")
.vpcSubnetIds(exampleSubnet.id())
.vpcSecurityGroupIds(exampleSecurityGroup.id())
.name("example-db-instance")
.build());
}
}
resources:
example:
type: aws:ec2:Vpc
properties:
cidrBlock: 10.0.0.0/16
exampleSubnet:
type: aws:ec2:Subnet
name: example
properties:
vpcId: ${example.id}
cidrBlock: 10.0.1.0/24
exampleSecurityGroup:
type: aws:ec2:SecurityGroup
name: example
properties:
name: example
vpcId: ${example.id}
exampleDbInstance:
type: aws:timestreaminfluxdb:DbInstance
name: example
properties:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
username: admin
password: example-password
organization: organization
vpcSubnetIds:
- ${exampleSubnet.id}
vpcSecurityGroupIds:
- ${exampleSecurityGroup.id}
name: example-db-instance
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.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleBucketV2 = new aws.s3.BucketV2("example", {bucket: "example-s3-bucket"});
const example = aws.iam.getPolicyDocumentOutput({
statements: [{
actions: ["s3:PutObject"],
principals: [{
type: "Service",
identifiers: ["timestream-influxdb.amazonaws.com"],
}],
resources: [pulumi.interpolate`${exampleBucketV2.arn}/*`],
}],
});
const exampleBucketPolicy = new aws.s3.BucketPolicy("example", {
bucket: exampleBucketV2.id,
policy: example.apply(example => example.json),
});
const exampleDbInstance = new aws.timestreaminfluxdb.DbInstance("example", {
allocatedStorage: 20,
bucket: "example-bucket-name",
dbInstanceType: "db.influx.medium",
username: "admin",
password: "example-password",
organization: "organization",
vpcSubnetIds: [exampleAwsSubnet.id],
vpcSecurityGroupIds: [exampleAwsSecurityGroup.id],
name: "example-db-instance",
logDeliveryConfiguration: {
s3Configuration: {
bucketName: exampleBucketV2.name,
enabled: true,
},
},
});
import pulumi
import pulumi_aws as aws
example_bucket_v2 = aws.s3.BucketV2("example", bucket="example-s3-bucket")
example = aws.iam.get_policy_document_output(statements=[{
"actions": ["s3:PutObject"],
"principals": [{
"type": "Service",
"identifiers": ["timestream-influxdb.amazonaws.com"],
}],
"resources": [example_bucket_v2.arn.apply(lambda arn: f"{arn}/*")],
}])
example_bucket_policy = aws.s3.BucketPolicy("example",
bucket=example_bucket_v2.id,
policy=example.json)
example_db_instance = aws.timestreaminfluxdb.DbInstance("example",
allocated_storage=20,
bucket="example-bucket-name",
db_instance_type="db.influx.medium",
username="admin",
password="example-password",
organization="organization",
vpc_subnet_ids=[example_aws_subnet["id"]],
vpc_security_group_ids=[example_aws_security_group["id"]],
name="example-db-instance",
log_delivery_configuration={
"s3_configuration": {
"bucket_name": example_bucket_v2.name,
"enabled": True,
},
})
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleBucketV2 = new Aws.S3.BucketV2("example", new()
{
Bucket = "example-s3-bucket",
});
var example = Aws.Iam.GetPolicyDocument.Invoke(new()
{
Statements = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
{
Actions = new[]
{
"s3:PutObject",
},
Principals = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
{
Type = "Service",
Identifiers = new[]
{
"timestream-influxdb.amazonaws.com",
},
},
},
Resources = new[]
{
$"{exampleBucketV2.Arn}/*",
},
},
},
});
var exampleBucketPolicy = new Aws.S3.BucketPolicy("example", new()
{
Bucket = exampleBucketV2.Id,
Policy = example.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
});
var exampleDbInstance = new Aws.TimestreamInfluxDB.DbInstance("example", new()
{
AllocatedStorage = 20,
Bucket = "example-bucket-name",
DbInstanceType = "db.influx.medium",
Username = "admin",
Password = "example-password",
Organization = "organization",
VpcSubnetIds = new[]
{
exampleAwsSubnet.Id,
},
VpcSecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
Name = "example-db-instance",
LogDeliveryConfiguration = new Aws.TimestreamInfluxDB.Inputs.DbInstanceLogDeliveryConfigurationArgs
{
S3Configuration = new Aws.TimestreamInfluxDB.Inputs.DbInstanceLogDeliveryConfigurationS3ConfigurationArgs
{
BucketName = exampleBucketV2.Name,
Enabled = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.BucketV2;
import com.pulumi.aws.s3.BucketV2Args;
import com.pulumi.aws.iam.IamFunctions;
import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
import com.pulumi.aws.s3.BucketPolicy;
import com.pulumi.aws.s3.BucketPolicyArgs;
import com.pulumi.aws.timestreaminfluxdb.DbInstance;
import com.pulumi.aws.timestreaminfluxdb.DbInstanceArgs;
import com.pulumi.aws.timestreaminfluxdb.inputs.DbInstanceLogDeliveryConfigurationArgs;
import com.pulumi.aws.timestreaminfluxdb.inputs.DbInstanceLogDeliveryConfigurationS3ConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()
.bucket("example-s3-bucket")
.build());
final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
.statements(GetPolicyDocumentStatementArgs.builder()
.actions("s3:PutObject")
.principals(GetPolicyDocumentStatementPrincipalArgs.builder()
.type("Service")
.identifiers("timestream-influxdb.amazonaws.com")
.build())
.resources(exampleBucketV2.arn().applyValue(arn -> String.format("%s/*", arn)))
.build())
.build());
var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()
.bucket(exampleBucketV2.id())
.policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult).applyValue(example -> example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json())))
.build());
var exampleDbInstance = new DbInstance("exampleDbInstance", DbInstanceArgs.builder()
.allocatedStorage(20)
.bucket("example-bucket-name")
.dbInstanceType("db.influx.medium")
.username("admin")
.password("example-password")
.organization("organization")
.vpcSubnetIds(exampleAwsSubnet.id())
.vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
.name("example-db-instance")
.logDeliveryConfiguration(DbInstanceLogDeliveryConfigurationArgs.builder()
.s3Configuration(DbInstanceLogDeliveryConfigurationS3ConfigurationArgs.builder()
.bucketName(exampleBucketV2.name())
.enabled(true)
.build())
.build())
.build());
}
}
resources:
exampleBucketV2:
type: aws:s3:BucketV2
name: example
properties:
bucket: example-s3-bucket
exampleBucketPolicy:
type: aws:s3:BucketPolicy
name: example
properties:
bucket: ${exampleBucketV2.id}
policy: ${example.json}
exampleDbInstance:
type: aws:timestreaminfluxdb:DbInstance
name: example
properties:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
username: admin
password: example-password
organization: organization
vpcSubnetIds:
- ${exampleAwsSubnet.id}
vpcSecurityGroupIds:
- ${exampleAwsSecurityGroup.id}
name: example-db-instance
logDeliveryConfiguration:
s3Configuration:
bucketName: ${exampleBucketV2.name}
enabled: true
variables:
example:
fn::invoke:
Function: aws:iam:getPolicyDocument
Arguments:
statements:
- actions:
- s3:PutObject
principals:
- type: Service
identifiers:
- timestream-influxdb.amazonaws.com
resources:
- ${exampleBucketV2.arn}/*
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.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example1 = new aws.ec2.Subnet("example_1", {
vpcId: exampleAwsVpc.id,
cidrBlock: "10.0.1.0/24",
availabilityZone: "us-west-2a",
});
const example2 = new aws.ec2.Subnet("example_2", {
vpcId: exampleAwsVpc.id,
cidrBlock: "10.0.2.0/24",
availabilityZone: "us-west-2b",
});
const example = new aws.timestreaminfluxdb.DbInstance("example", {
allocatedStorage: 20,
bucket: "example-bucket-name",
dbInstanceType: "db.influx.medium",
deploymentType: "WITH_MULTIAZ_STANDBY",
username: "admin",
password: "example-password",
organization: "organization",
vpcSubnetIds: [
example1.id,
example2.id,
],
vpcSecurityGroupIds: [exampleAwsSecurityGroup.id],
name: "example-db-instance",
});
import pulumi
import pulumi_aws as aws
example1 = aws.ec2.Subnet("example_1",
vpc_id=example_aws_vpc["id"],
cidr_block="10.0.1.0/24",
availability_zone="us-west-2a")
example2 = aws.ec2.Subnet("example_2",
vpc_id=example_aws_vpc["id"],
cidr_block="10.0.2.0/24",
availability_zone="us-west-2b")
example = aws.timestreaminfluxdb.DbInstance("example",
allocated_storage=20,
bucket="example-bucket-name",
db_instance_type="db.influx.medium",
deployment_type="WITH_MULTIAZ_STANDBY",
username="admin",
password="example-password",
organization="organization",
vpc_subnet_ids=[
example1.id,
example2.id,
],
vpc_security_group_ids=[example_aws_security_group["id"]],
name="example-db-instance")
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example1 = new Aws.Ec2.Subnet("example_1", new()
{
VpcId = exampleAwsVpc.Id,
CidrBlock = "10.0.1.0/24",
AvailabilityZone = "us-west-2a",
});
var example2 = new Aws.Ec2.Subnet("example_2", new()
{
VpcId = exampleAwsVpc.Id,
CidrBlock = "10.0.2.0/24",
AvailabilityZone = "us-west-2b",
});
var example = new Aws.TimestreamInfluxDB.DbInstance("example", new()
{
AllocatedStorage = 20,
Bucket = "example-bucket-name",
DbInstanceType = "db.influx.medium",
DeploymentType = "WITH_MULTIAZ_STANDBY",
Username = "admin",
Password = "example-password",
Organization = "organization",
VpcSubnetIds = new[]
{
example1.Id,
example2.Id,
},
VpcSecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
Name = "example-db-instance",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Subnet;
import com.pulumi.aws.ec2.SubnetArgs;
import com.pulumi.aws.timestreaminfluxdb.DbInstance;
import com.pulumi.aws.timestreaminfluxdb.DbInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example1 = new Subnet("example1", SubnetArgs.builder()
.vpcId(exampleAwsVpc.id())
.cidrBlock("10.0.1.0/24")
.availabilityZone("us-west-2a")
.build());
var example2 = new Subnet("example2", SubnetArgs.builder()
.vpcId(exampleAwsVpc.id())
.cidrBlock("10.0.2.0/24")
.availabilityZone("us-west-2b")
.build());
var example = new DbInstance("example", DbInstanceArgs.builder()
.allocatedStorage(20)
.bucket("example-bucket-name")
.dbInstanceType("db.influx.medium")
.deploymentType("WITH_MULTIAZ_STANDBY")
.username("admin")
.password("example-password")
.organization("organization")
.vpcSubnetIds(
example1.id(),
example2.id())
.vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
.name("example-db-instance")
.build());
}
}
resources:
example1:
type: aws:ec2:Subnet
name: example_1
properties:
vpcId: ${exampleAwsVpc.id}
cidrBlock: 10.0.1.0/24
availabilityZone: us-west-2a
example2:
type: aws:ec2:Subnet
name: example_2
properties:
vpcId: ${exampleAwsVpc.id}
cidrBlock: 10.0.2.0/24
availabilityZone: us-west-2b
example:
type: aws:timestreaminfluxdb:DbInstance
properties:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
deploymentType: WITH_MULTIAZ_STANDBY
username: admin
password: example-password
organization: organization
vpcSubnetIds:
- ${example1.id}
- ${example2.id}
vpcSecurityGroupIds:
- ${exampleAwsSecurityGroup.id}
name: example-db-instance
Create DbInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbInstance(name: string, args: DbInstanceArgs, opts?: CustomResourceOptions);
@overload
def DbInstance(resource_name: str,
args: DbInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization: Optional[str] = None,
bucket: Optional[str] = None,
db_instance_type: Optional[str] = None,
vpc_subnet_ids: Optional[Sequence[str]] = None,
allocated_storage: Optional[int] = None,
vpc_security_group_ids: Optional[Sequence[str]] = None,
username: Optional[str] = None,
password: Optional[str] = None,
db_storage_type: Optional[str] = None,
name: Optional[str] = None,
publicly_accessible: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DbInstanceTimeoutsArgs] = None,
log_delivery_configuration: Optional[DbInstanceLogDeliveryConfigurationArgs] = None,
deployment_type: Optional[str] = None,
db_parameter_group_identifier: Optional[str] = None)
func NewDbInstance(ctx *Context, name string, args DbInstanceArgs, opts ...ResourceOption) (*DbInstance, error)
public DbInstance(string name, DbInstanceArgs args, CustomResourceOptions? opts = null)
public DbInstance(String name, DbInstanceArgs args)
public DbInstance(String name, DbInstanceArgs args, CustomResourceOptions options)
type: aws:timestreaminfluxdb:DbInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dbInstanceResource = new Aws.TimestreamInfluxDB.DbInstance("dbInstanceResource", new()
{
Organization = "string",
Bucket = "string",
DbInstanceType = "string",
VpcSubnetIds = new[]
{
"string",
},
AllocatedStorage = 0,
VpcSecurityGroupIds = new[]
{
"string",
},
Username = "string",
Password = "string",
DbStorageType = "string",
Name = "string",
PubliclyAccessible = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.TimestreamInfluxDB.Inputs.DbInstanceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
LogDeliveryConfiguration = new Aws.TimestreamInfluxDB.Inputs.DbInstanceLogDeliveryConfigurationArgs
{
S3Configuration = new Aws.TimestreamInfluxDB.Inputs.DbInstanceLogDeliveryConfigurationS3ConfigurationArgs
{
BucketName = "string",
Enabled = false,
},
},
DeploymentType = "string",
DbParameterGroupIdentifier = "string",
});
example, err := timestreaminfluxdb.NewDbInstance(ctx, "dbInstanceResource", ×treaminfluxdb.DbInstanceArgs{
Organization: pulumi.String("string"),
Bucket: pulumi.String("string"),
DbInstanceType: pulumi.String("string"),
VpcSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
AllocatedStorage: pulumi.Int(0),
VpcSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Username: pulumi.String("string"),
Password: pulumi.String("string"),
DbStorageType: pulumi.String("string"),
Name: pulumi.String("string"),
PubliclyAccessible: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: ×treaminfluxdb.DbInstanceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
LogDeliveryConfiguration: ×treaminfluxdb.DbInstanceLogDeliveryConfigurationArgs{
S3Configuration: ×treaminfluxdb.DbInstanceLogDeliveryConfigurationS3ConfigurationArgs{
BucketName: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
},
DeploymentType: pulumi.String("string"),
DbParameterGroupIdentifier: pulumi.String("string"),
})
var dbInstanceResource = new DbInstance("dbInstanceResource", DbInstanceArgs.builder()
.organization("string")
.bucket("string")
.dbInstanceType("string")
.vpcSubnetIds("string")
.allocatedStorage(0)
.vpcSecurityGroupIds("string")
.username("string")
.password("string")
.dbStorageType("string")
.name("string")
.publiclyAccessible(false)
.tags(Map.of("string", "string"))
.timeouts(DbInstanceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.logDeliveryConfiguration(DbInstanceLogDeliveryConfigurationArgs.builder()
.s3Configuration(DbInstanceLogDeliveryConfigurationS3ConfigurationArgs.builder()
.bucketName("string")
.enabled(false)
.build())
.build())
.deploymentType("string")
.dbParameterGroupIdentifier("string")
.build());
db_instance_resource = aws.timestreaminfluxdb.DbInstance("dbInstanceResource",
organization="string",
bucket="string",
db_instance_type="string",
vpc_subnet_ids=["string"],
allocated_storage=0,
vpc_security_group_ids=["string"],
username="string",
password="string",
db_storage_type="string",
name="string",
publicly_accessible=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
log_delivery_configuration={
"s3_configuration": {
"bucket_name": "string",
"enabled": False,
},
},
deployment_type="string",
db_parameter_group_identifier="string")
const dbInstanceResource = new aws.timestreaminfluxdb.DbInstance("dbInstanceResource", {
organization: "string",
bucket: "string",
dbInstanceType: "string",
vpcSubnetIds: ["string"],
allocatedStorage: 0,
vpcSecurityGroupIds: ["string"],
username: "string",
password: "string",
dbStorageType: "string",
name: "string",
publiclyAccessible: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
logDeliveryConfiguration: {
s3Configuration: {
bucketName: "string",
enabled: false,
},
},
deploymentType: "string",
dbParameterGroupIdentifier: "string",
});
type: aws:timestreaminfluxdb:DbInstance
properties:
allocatedStorage: 0
bucket: string
dbInstanceType: string
dbParameterGroupIdentifier: string
dbStorageType: string
deploymentType: string
logDeliveryConfiguration:
s3Configuration:
bucketName: string
enabled: false
name: string
organization: string
password: string
publiclyAccessible: false
tags:
string: string
timeouts:
create: string
delete: string
update: string
username: string
vpcSecurityGroupIds:
- string
vpcSubnetIds:
- string
DbInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DbInstance resource accepts the following input properties:
- Allocated
Storage int - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- Bucket string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Db
Instance stringType - 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"
. - Organization string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Password string
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Username string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Vpc
Security List<string>Group Ids - List of VPC security group IDs to associate with the DB instance.
- Vpc
Subnet List<string>Ids 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:
- Db
Parameter stringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - Db
Storage stringType - 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
allocated_storage` is 400. - Deployment
Type string - 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"
. - Log
Delivery DbConfiguration Instance Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- Name string
- 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. - Publicly
Accessible bool - 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.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Db
Instance Timeouts
- Allocated
Storage int - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- Bucket string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Db
Instance stringType - 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"
. - Organization string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Password string
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Username string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Vpc
Security []stringGroup Ids - List of VPC security group IDs to associate with the DB instance.
- Vpc
Subnet []stringIds 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:
- Db
Parameter stringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - Db
Storage stringType - 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
allocated_storage` is 400. - Deployment
Type string - 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"
. - Log
Delivery DbConfiguration Instance Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- Name string
- 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. - Publicly
Accessible bool - 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.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Db
Instance Timeouts Args
- allocated
Storage Integer - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- bucket String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db
Instance StringType - 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"
. - organization String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password String
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - username String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc
Security List<String>Group Ids - List of VPC security group IDs to associate with the DB instance.
- vpc
Subnet List<String>Ids 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:
- db
Parameter StringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db
Storage StringType - 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
allocated_storage` is 400. - deployment
Type String - 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"
. - log
Delivery DbConfiguration Instance Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name String
- 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. - publicly
Accessible Boolean - 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.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Db
Instance Timeouts
- allocated
Storage number - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- bucket string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db
Instance stringType - 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"
. - organization string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password string
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - username string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc
Security string[]Group Ids - List of VPC security group IDs to associate with the DB instance.
- vpc
Subnet string[]Ids 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:
- db
Parameter stringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db
Storage stringType - 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
allocated_storage` is 400. - deployment
Type string - 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"
. - log
Delivery DbConfiguration Instance Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name string
- 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. - publicly
Accessible boolean - 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.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Db
Instance Timeouts
- allocated_
storage int - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- bucket str
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db_
instance_ strtype - 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"
. - organization str
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password str
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - username str
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc_
security_ Sequence[str]group_ ids - List of VPC security group IDs to associate with the DB instance.
- vpc_
subnet_ Sequence[str]ids 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:
- db_
parameter_ strgroup_ identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db_
storage_ strtype - 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
allocated_storage` is 400. - deployment_
type str - 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"
. - log_
delivery_ Dbconfiguration Instance Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name str
- 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. - publicly_
accessible bool - 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.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Db
Instance Timeouts Args
- allocated
Storage Number - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- bucket String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db
Instance StringType - 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"
. - organization String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password String
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - username String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc
Security List<String>Group Ids - List of VPC security group IDs to associate with the DB instance.
- vpc
Subnet List<String>Ids 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:
- db
Parameter StringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db
Storage StringType - 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
allocated_storage` is 400. - deployment
Type String - 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"
. - log
Delivery Property MapConfiguration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name String
- 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. - publicly
Accessible Boolean - 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.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DbInstance resource produces the following output properties:
- Arn string
- ARN of the Timestream for InfluxDB Instance.
- Availability
Zone string - Availability Zone in which the DB instance resides.
- Endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- Id string
- The provider-assigned unique ID for this managed resource.
- Influx
Auth stringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - Secondary
Availability stringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the Timestream for InfluxDB Instance.
- Availability
Zone string - Availability Zone in which the DB instance resides.
- Endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- Id string
- The provider-assigned unique ID for this managed resource.
- Influx
Auth stringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - Secondary
Availability stringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the Timestream for InfluxDB Instance.
- availability
Zone String - Availability Zone in which the DB instance resides.
- endpoint String
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- id String
- The provider-assigned unique ID for this managed resource.
- influx
Auth StringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - secondary
Availability StringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the Timestream for InfluxDB Instance.
- availability
Zone string - Availability Zone in which the DB instance resides.
- endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- id string
- The provider-assigned unique ID for this managed resource.
- influx
Auth stringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - secondary
Availability stringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN of the Timestream for InfluxDB Instance.
- availability_
zone str - Availability Zone in which the DB instance resides.
- endpoint str
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- id str
- The provider-assigned unique ID for this managed resource.
- influx_
auth_ strparameters_ secret_ arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - secondary_
availability_ strzone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the Timestream for InfluxDB Instance.
- availability
Zone String - Availability Zone in which the DB instance resides.
- endpoint String
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- id String
- The provider-assigned unique ID for this managed resource.
- influx
Auth StringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - secondary
Availability StringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing DbInstance Resource
Get an existing DbInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DbInstanceState, opts?: CustomResourceOptions): DbInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allocated_storage: Optional[int] = None,
arn: Optional[str] = None,
availability_zone: Optional[str] = None,
bucket: Optional[str] = None,
db_instance_type: Optional[str] = None,
db_parameter_group_identifier: Optional[str] = None,
db_storage_type: Optional[str] = None,
deployment_type: Optional[str] = None,
endpoint: Optional[str] = None,
influx_auth_parameters_secret_arn: Optional[str] = None,
log_delivery_configuration: Optional[DbInstanceLogDeliveryConfigurationArgs] = None,
name: Optional[str] = None,
organization: Optional[str] = None,
password: Optional[str] = None,
publicly_accessible: Optional[bool] = None,
secondary_availability_zone: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[DbInstanceTimeoutsArgs] = None,
username: Optional[str] = None,
vpc_security_group_ids: Optional[Sequence[str]] = None,
vpc_subnet_ids: Optional[Sequence[str]] = None) -> DbInstance
func GetDbInstance(ctx *Context, name string, id IDInput, state *DbInstanceState, opts ...ResourceOption) (*DbInstance, error)
public static DbInstance Get(string name, Input<string> id, DbInstanceState? state, CustomResourceOptions? opts = null)
public static DbInstance get(String name, Output<String> id, DbInstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allocated
Storage int - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- Arn string
- ARN of the Timestream for InfluxDB Instance.
- Availability
Zone string - Availability Zone in which the DB instance resides.
- Bucket string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Db
Instance stringType - 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"
. - Db
Parameter stringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - Db
Storage stringType - 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
allocated_storage` is 400. - Deployment
Type string - 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"
. - Endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- Influx
Auth stringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - Log
Delivery DbConfiguration Instance Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- Name string
- 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. - Organization string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Password string
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Publicly
Accessible bool - 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.
- Secondary
Availability stringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Db
Instance Timeouts - Username string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Vpc
Security List<string>Group Ids - List of VPC security group IDs to associate with the DB instance.
- Vpc
Subnet List<string>Ids 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:
- Allocated
Storage int - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- Arn string
- ARN of the Timestream for InfluxDB Instance.
- Availability
Zone string - Availability Zone in which the DB instance resides.
- Bucket string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Db
Instance stringType - 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"
. - Db
Parameter stringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - Db
Storage stringType - 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
allocated_storage` is 400. - Deployment
Type string - 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"
. - Endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- Influx
Auth stringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - Log
Delivery DbConfiguration Instance Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- Name string
- 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. - Organization string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Password string
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Publicly
Accessible bool - 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.
- Secondary
Availability stringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Db
Instance Timeouts Args - Username string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - Vpc
Security []stringGroup Ids - List of VPC security group IDs to associate with the DB instance.
- Vpc
Subnet []stringIds 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:
- allocated
Storage Integer - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- arn String
- ARN of the Timestream for InfluxDB Instance.
- availability
Zone String - Availability Zone in which the DB instance resides.
- bucket String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db
Instance StringType - 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"
. - db
Parameter StringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db
Storage StringType - 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
allocated_storage` is 400. - deployment
Type String - 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"
. - endpoint String
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- influx
Auth StringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - log
Delivery DbConfiguration Instance Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name String
- 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. - organization String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password String
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - publicly
Accessible Boolean - 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.
- secondary
Availability StringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Db
Instance Timeouts - username String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc
Security List<String>Group Ids - List of VPC security group IDs to associate with the DB instance.
- vpc
Subnet List<String>Ids 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:
- allocated
Storage number - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- arn string
- ARN of the Timestream for InfluxDB Instance.
- availability
Zone string - Availability Zone in which the DB instance resides.
- bucket string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db
Instance stringType - 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"
. - db
Parameter stringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db
Storage stringType - 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
allocated_storage` is 400. - deployment
Type string - 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"
. - endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- influx
Auth stringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - log
Delivery DbConfiguration Instance Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name string
- 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. - organization string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password string
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - publicly
Accessible boolean - 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.
- secondary
Availability stringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Db
Instance Timeouts - username string
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc
Security string[]Group Ids - List of VPC security group IDs to associate with the DB instance.
- vpc
Subnet string[]Ids 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:
- allocated_
storage int - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- arn str
- ARN of the Timestream for InfluxDB Instance.
- availability_
zone str - Availability Zone in which the DB instance resides.
- bucket str
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db_
instance_ strtype - 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"
. - db_
parameter_ strgroup_ identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db_
storage_ strtype - 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
allocated_storage` is 400. - deployment_
type str - 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"
. - endpoint str
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- influx_
auth_ strparameters_ secret_ arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - log_
delivery_ Dbconfiguration Instance Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name str
- 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. - organization str
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password str
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - publicly_
accessible bool - 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.
- secondary_
availability_ strzone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Db
Instance Timeouts Args - username str
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc_
security_ Sequence[str]group_ ids - List of VPC security group IDs to associate with the DB instance.
- vpc_
subnet_ Sequence[str]ids 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:
- allocated
Storage Number - Amount of storage in GiB (gibibytes). The minimum value is 20, the maximum value is 16384.
- arn String
- ARN of the Timestream for InfluxDB Instance.
- availability
Zone String - Availability Zone in which the DB instance resides.
- bucket String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - db
Instance StringType - 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"
. - db
Parameter StringGroup Identifier - 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
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the instance to be destroyed and recreated. - db
Storage StringType - 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
allocated_storage` is 400. - deployment
Type String - 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"
. - endpoint String
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- influx
Auth StringParameters Secret Arn - 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
aws.timestreaminfluxdb.DbInstance
resource in order to support importing: deleting the secret or secret values can cause errors. - log
Delivery Property MapConfiguration - Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- name String
- 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. - organization String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - password String
- 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
, andorganization
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - publicly
Accessible Boolean - 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.
- secondary
Availability StringZone - Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
- username String
- 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
, andpassword
, this argument will be stored in the secret referred to by theinflux_auth_parameters_secret_arn
attribute. - vpc
Security List<String>Group Ids - List of VPC security group IDs to associate with the DB instance.
- vpc
Subnet List<String>Ids 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:
Supporting Types
DbInstanceLogDeliveryConfiguration, DbInstanceLogDeliveryConfigurationArgs
- S3Configuration
Db
Instance Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- S3Configuration
Db
Instance Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3Configuration
Db
Instance Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3Configuration
Db
Instance Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3_
configuration DbInstance Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3Configuration Property Map
- Configuration for S3 bucket log delivery.
DbInstanceLogDeliveryConfigurationS3Configuration, DbInstanceLogDeliveryConfigurationS3ConfigurationArgs
- Bucket
Name string - Name of the S3 bucket to deliver logs to.
- Enabled bool
Indicates whether log delivery to the S3 bucket is enabled.
Note: Only three arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
, andtags
. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, whendb_parameter_group_identifier
is added to a DB instance or modified, the DB instance will be updated in-place but ifdb_parameter_group_identifier
is removed from a DB instance, the DB instance will be destroyed and re-created.
- Bucket
Name string - Name of the S3 bucket to deliver logs to.
- Enabled bool
Indicates whether log delivery to the S3 bucket is enabled.
Note: Only three arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
, andtags
. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, whendb_parameter_group_identifier
is added to a DB instance or modified, the DB instance will be updated in-place but ifdb_parameter_group_identifier
is removed from a DB instance, the DB instance will be destroyed and re-created.
- bucket
Name String - Name of the S3 bucket to deliver logs to.
- enabled Boolean
Indicates whether log delivery to the S3 bucket is enabled.
Note: Only three arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
, andtags
. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, whendb_parameter_group_identifier
is added to a DB instance or modified, the DB instance will be updated in-place but ifdb_parameter_group_identifier
is removed from a DB instance, the DB instance will be destroyed and re-created.
- bucket
Name string - Name of the S3 bucket to deliver logs to.
- enabled boolean
Indicates whether log delivery to the S3 bucket is enabled.
Note: Only three arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
, andtags
. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, whendb_parameter_group_identifier
is added to a DB instance or modified, the DB instance will be updated in-place but ifdb_parameter_group_identifier
is removed from a DB instance, the DB instance will be destroyed and re-created.
- bucket_
name str - Name of the S3 bucket to deliver logs to.
- enabled bool
Indicates whether log delivery to the S3 bucket is enabled.
Note: Only three arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
, andtags
. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, whendb_parameter_group_identifier
is added to a DB instance or modified, the DB instance will be updated in-place but ifdb_parameter_group_identifier
is removed from a DB instance, the DB instance will be destroyed and re-created.
- bucket
Name String - Name of the S3 bucket to deliver logs to.
- enabled Boolean
Indicates whether log delivery to the S3 bucket is enabled.
Note: Only three arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
, andtags
. Changes to any other argument after a DB instance has been deployed will cause destruction and re-creation of the DB instance. Additionally, whendb_parameter_group_identifier
is added to a DB instance or modified, the DB instance will be updated in-place but ifdb_parameter_group_identifier
is removed from a DB instance, the DB instance will be destroyed and re-created.
DbInstanceTimeouts, DbInstanceTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration 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.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration 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.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration 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.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration 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.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration 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.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration 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.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import Timestream for InfluxDB Db Instance using its identifier. For example:
$ pulumi import aws:timestreaminfluxdb/dbInstance:DbInstance example 12345abcde
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.