aws.timestreaminfluxdb.DbCluster
Explore with Pulumi AI
Resource for managing an Amazon Timestream for InfluxDB read-replica cluster.
NOTE: This resource requires a subscription to Timestream for InfluxDB Read Replicas (Add-On) on the AWS Marketplace.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.timestreaminfluxdb.DbCluster("example", {
allocatedStorage: 20,
bucket: "example-bucket-name",
dbInstanceType: "db.influx.medium",
failoverMode: "AUTOMATIC",
username: "admin",
password: "example-password",
port: 8086,
organization: "organization",
vpcSubnetIds: [
example1.id,
example2.id,
],
vpcSecurityGroupIds: [exampleAwsSecurityGroup.id],
name: "example-db-cluster",
});
import pulumi
import pulumi_aws as aws
example = aws.timestreaminfluxdb.DbCluster("example",
allocated_storage=20,
bucket="example-bucket-name",
db_instance_type="db.influx.medium",
failover_mode="AUTOMATIC",
username="admin",
password="example-password",
port=8086,
organization="organization",
vpc_subnet_ids=[
example1["id"],
example2["id"],
],
vpc_security_group_ids=[example_aws_security_group["id"]],
name="example-db-cluster")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/timestreaminfluxdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := timestreaminfluxdb.NewDbCluster(ctx, "example", ×treaminfluxdb.DbClusterArgs{
AllocatedStorage: pulumi.Int(20),
Bucket: pulumi.String("example-bucket-name"),
DbInstanceType: pulumi.String("db.influx.medium"),
FailoverMode: pulumi.String("AUTOMATIC"),
Username: pulumi.String("admin"),
Password: pulumi.String("example-password"),
Port: pulumi.Int(8086),
Organization: pulumi.String("organization"),
VpcSubnetIds: pulumi.StringArray{
example1.Id,
example2.Id,
},
VpcSecurityGroupIds: pulumi.StringArray{
exampleAwsSecurityGroup.Id,
},
Name: pulumi.String("example-db-cluster"),
})
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.DbCluster("example", new()
{
AllocatedStorage = 20,
Bucket = "example-bucket-name",
DbInstanceType = "db.influx.medium",
FailoverMode = "AUTOMATIC",
Username = "admin",
Password = "example-password",
Port = 8086,
Organization = "organization",
VpcSubnetIds = new[]
{
example1.Id,
example2.Id,
},
VpcSecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
Name = "example-db-cluster",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.timestreaminfluxdb.DbCluster;
import com.pulumi.aws.timestreaminfluxdb.DbClusterArgs;
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 DbCluster("example", DbClusterArgs.builder()
.allocatedStorage(20)
.bucket("example-bucket-name")
.dbInstanceType("db.influx.medium")
.failoverMode("AUTOMATIC")
.username("admin")
.password("example-password")
.port(8086)
.organization("organization")
.vpcSubnetIds(
example1.id(),
example2.id())
.vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
.name("example-db-cluster")
.build());
}
}
resources:
example:
type: aws:timestreaminfluxdb:DbCluster
properties:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
failoverMode: AUTOMATIC
username: admin
password: example-password
port: 8086
organization: organization
vpcSubnetIds:
- ${example1.id}
- ${example2.id}
vpcSecurityGroupIds:
- ${exampleAwsSecurityGroup.id}
name: example-db-cluster
Usage with Prerequisite Resources
All Timestream for InfluxDB clusters require a VPC, at least two subnets, and a security group. The following example shows how these prerequisite resources can be created and used with aws.timestreaminfluxdb.DbCluster
.
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 example1 = new aws.ec2.Subnet("example_1", {
vpcId: example.id,
cidrBlock: "10.0.1.0/24",
});
const example2 = new aws.ec2.Subnet("example_2", {
vpcId: example.id,
cidrBlock: "10.0.2.0/24",
});
const exampleSecurityGroup = new aws.ec2.SecurityGroup("example", {
name: "example",
vpcId: example.id,
});
const exampleDbCluster = new aws.timestreaminfluxdb.DbCluster("example", {
allocatedStorage: 20,
bucket: "example-bucket-name",
dbInstanceType: "db.influx.medium",
username: "admin",
password: "example-password",
organization: "organization",
vpcSubnetIds: [
example1.id,
example2.id,
],
vpcSecurityGroupIds: [exampleSecurityGroup.id],
name: "example-db-cluster",
});
import pulumi
import pulumi_aws as aws
example = aws.ec2.Vpc("example", cidr_block="10.0.0.0/16")
example1 = aws.ec2.Subnet("example_1",
vpc_id=example.id,
cidr_block="10.0.1.0/24")
example2 = aws.ec2.Subnet("example_2",
vpc_id=example.id,
cidr_block="10.0.2.0/24")
example_security_group = aws.ec2.SecurityGroup("example",
name="example",
vpc_id=example.id)
example_db_cluster = aws.timestreaminfluxdb.DbCluster("example",
allocated_storage=20,
bucket="example-bucket-name",
db_instance_type="db.influx.medium",
username="admin",
password="example-password",
organization="organization",
vpc_subnet_ids=[
example1.id,
example2.id,
],
vpc_security_group_ids=[example_security_group.id],
name="example-db-cluster")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v7/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
}
example1, err := ec2.NewSubnet(ctx, "example_1", &ec2.SubnetArgs{
VpcId: example.ID(),
CidrBlock: pulumi.String("10.0.1.0/24"),
})
if err != nil {
return err
}
example2, err := ec2.NewSubnet(ctx, "example_2", &ec2.SubnetArgs{
VpcId: example.ID(),
CidrBlock: pulumi.String("10.0.2.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.NewDbCluster(ctx, "example", ×treaminfluxdb.DbClusterArgs{
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{
example1.ID(),
example2.ID(),
},
VpcSecurityGroupIds: pulumi.StringArray{
exampleSecurityGroup.ID(),
},
Name: pulumi.String("example-db-cluster"),
})
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 example1 = new Aws.Ec2.Subnet("example_1", new()
{
VpcId = example.Id,
CidrBlock = "10.0.1.0/24",
});
var example2 = new Aws.Ec2.Subnet("example_2", new()
{
VpcId = example.Id,
CidrBlock = "10.0.2.0/24",
});
var exampleSecurityGroup = new Aws.Ec2.SecurityGroup("example", new()
{
Name = "example",
VpcId = example.Id,
});
var exampleDbCluster = new Aws.TimestreamInfluxDB.DbCluster("example", new()
{
AllocatedStorage = 20,
Bucket = "example-bucket-name",
DbInstanceType = "db.influx.medium",
Username = "admin",
Password = "example-password",
Organization = "organization",
VpcSubnetIds = new[]
{
example1.Id,
example2.Id,
},
VpcSecurityGroupIds = new[]
{
exampleSecurityGroup.Id,
},
Name = "example-db-cluster",
});
});
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.DbCluster;
import com.pulumi.aws.timestreaminfluxdb.DbClusterArgs;
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 example1 = new Subnet("example1", SubnetArgs.builder()
.vpcId(example.id())
.cidrBlock("10.0.1.0/24")
.build());
var example2 = new Subnet("example2", SubnetArgs.builder()
.vpcId(example.id())
.cidrBlock("10.0.2.0/24")
.build());
var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()
.name("example")
.vpcId(example.id())
.build());
var exampleDbCluster = new DbCluster("exampleDbCluster", DbClusterArgs.builder()
.allocatedStorage(20)
.bucket("example-bucket-name")
.dbInstanceType("db.influx.medium")
.username("admin")
.password("example-password")
.organization("organization")
.vpcSubnetIds(
example1.id(),
example2.id())
.vpcSecurityGroupIds(exampleSecurityGroup.id())
.name("example-db-cluster")
.build());
}
}
resources:
example:
type: aws:ec2:Vpc
properties:
cidrBlock: 10.0.0.0/16
example1:
type: aws:ec2:Subnet
name: example_1
properties:
vpcId: ${example.id}
cidrBlock: 10.0.1.0/24
example2:
type: aws:ec2:Subnet
name: example_2
properties:
vpcId: ${example.id}
cidrBlock: 10.0.2.0/24
exampleSecurityGroup:
type: aws:ec2:SecurityGroup
name: example
properties:
name: example
vpcId: ${example.id}
exampleDbCluster:
type: aws:timestreaminfluxdb:DbCluster
name: example
properties:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
username: admin
password: example-password
organization: organization
vpcSubnetIds:
- ${example1.id}
- ${example2.id}
vpcSecurityGroupIds:
- ${exampleSecurityGroup.id}
name: example-db-cluster
Usage with S3 Log Delivery Enabled
You can use an S3 bucket to store logs generated by your Timestream for InfluxDB cluster. 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 subnets have been left out of the example for brevity.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleBucket = new aws.s3.Bucket("example", {
bucket: "example-s3-bucket",
forceDestroy: true,
});
const example = aws.iam.getPolicyDocumentOutput({
statements: [{
actions: ["s3:PutObject"],
principals: [{
type: "Service",
identifiers: ["timestream-influxdb.amazonaws.com"],
}],
resources: [pulumi.interpolate`${exampleBucket.arn}/*`],
}],
});
const exampleBucketPolicy = new aws.s3.BucketPolicy("example", {
bucket: exampleBucket.id,
policy: example.apply(example => example.json),
});
const exampleDbCluster = new aws.timestreaminfluxdb.DbCluster("example", {
allocatedStorage: 20,
bucket: "example-bucket-name",
dbInstanceType: "db.influx.medium",
username: "admin",
password: "example-password",
organization: "organization",
vpcSubnetIds: [
example1.id,
example2.id,
],
vpcSecurityGroupIds: [exampleAwsSecurityGroup.id],
name: "example-db-cluster",
logDeliveryConfiguration: {
s3Configuration: {
bucketName: exampleBucket.bucket,
enabled: true,
},
},
});
import pulumi
import pulumi_aws as aws
example_bucket = aws.s3.Bucket("example",
bucket="example-s3-bucket",
force_destroy=True)
example = aws.iam.get_policy_document_output(statements=[{
"actions": ["s3:PutObject"],
"principals": [{
"type": "Service",
"identifiers": ["timestream-influxdb.amazonaws.com"],
}],
"resources": [example_bucket.arn.apply(lambda arn: f"{arn}/*")],
}])
example_bucket_policy = aws.s3.BucketPolicy("example",
bucket=example_bucket.id,
policy=example.json)
example_db_cluster = aws.timestreaminfluxdb.DbCluster("example",
allocated_storage=20,
bucket="example-bucket-name",
db_instance_type="db.influx.medium",
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-cluster",
log_delivery_configuration={
"s3_configuration": {
"bucket_name": example_bucket.bucket,
"enabled": True,
},
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/timestreaminfluxdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleBucket, err := s3.NewBucket(ctx, "example", &s3.BucketArgs{
Bucket: pulumi.String("example-s3-bucket"),
ForceDestroy: pulumi.Bool(true),
})
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{
exampleBucket.Arn.ApplyT(func(arn string) (string, error) {
return fmt.Sprintf("%v/*", arn), nil
}).(pulumi.StringOutput),
},
},
},
}, nil)
_, err = s3.NewBucketPolicy(ctx, "example", &s3.BucketPolicyArgs{
Bucket: exampleBucket.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.NewDbCluster(ctx, "example", ×treaminfluxdb.DbClusterArgs{
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{
example1.Id,
example2.Id,
},
VpcSecurityGroupIds: pulumi.StringArray{
exampleAwsSecurityGroup.Id,
},
Name: pulumi.String("example-db-cluster"),
LogDeliveryConfiguration: ×treaminfluxdb.DbClusterLogDeliveryConfigurationArgs{
S3Configuration: ×treaminfluxdb.DbClusterLogDeliveryConfigurationS3ConfigurationArgs{
BucketName: exampleBucket.Bucket,
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 exampleBucket = new Aws.S3.Bucket("example", new()
{
BucketName = "example-s3-bucket",
ForceDestroy = true,
});
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[]
{
$"{exampleBucket.Arn}/*",
},
},
},
});
var exampleBucketPolicy = new Aws.S3.BucketPolicy("example", new()
{
Bucket = exampleBucket.Id,
Policy = example.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
});
var exampleDbCluster = new Aws.TimestreamInfluxDB.DbCluster("example", new()
{
AllocatedStorage = 20,
Bucket = "example-bucket-name",
DbInstanceType = "db.influx.medium",
Username = "admin",
Password = "example-password",
Organization = "organization",
VpcSubnetIds = new[]
{
example1.Id,
example2.Id,
},
VpcSecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
Name = "example-db-cluster",
LogDeliveryConfiguration = new Aws.TimestreamInfluxDB.Inputs.DbClusterLogDeliveryConfigurationArgs
{
S3Configuration = new Aws.TimestreamInfluxDB.Inputs.DbClusterLogDeliveryConfigurationS3ConfigurationArgs
{
BucketName = exampleBucket.BucketName,
Enabled = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.Bucket;
import com.pulumi.aws.s3.BucketArgs;
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.DbCluster;
import com.pulumi.aws.timestreaminfluxdb.DbClusterArgs;
import com.pulumi.aws.timestreaminfluxdb.inputs.DbClusterLogDeliveryConfigurationArgs;
import com.pulumi.aws.timestreaminfluxdb.inputs.DbClusterLogDeliveryConfigurationS3ConfigurationArgs;
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 exampleBucket = new Bucket("exampleBucket", BucketArgs.builder()
.bucket("example-s3-bucket")
.forceDestroy(true)
.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(exampleBucket.arn().applyValue(_arn -> String.format("%s/*", _arn)))
.build())
.build());
var exampleBucketPolicy = new BucketPolicy("exampleBucketPolicy", BucketPolicyArgs.builder()
.bucket(exampleBucket.id())
.policy(example.applyValue(_example -> _example.json()))
.build());
var exampleDbCluster = new DbCluster("exampleDbCluster", DbClusterArgs.builder()
.allocatedStorage(20)
.bucket("example-bucket-name")
.dbInstanceType("db.influx.medium")
.username("admin")
.password("example-password")
.organization("organization")
.vpcSubnetIds(
example1.id(),
example2.id())
.vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
.name("example-db-cluster")
.logDeliveryConfiguration(DbClusterLogDeliveryConfigurationArgs.builder()
.s3Configuration(DbClusterLogDeliveryConfigurationS3ConfigurationArgs.builder()
.bucketName(exampleBucket.bucket())
.enabled(true)
.build())
.build())
.build());
}
}
resources:
exampleBucket:
type: aws:s3:Bucket
name: example
properties:
bucket: example-s3-bucket
forceDestroy: true
exampleBucketPolicy:
type: aws:s3:BucketPolicy
name: example
properties:
bucket: ${exampleBucket.id}
policy: ${example.json}
exampleDbCluster:
type: aws:timestreaminfluxdb:DbCluster
name: example
properties:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
username: admin
password: example-password
organization: organization
vpcSubnetIds:
- ${example1.id}
- ${example2.id}
vpcSecurityGroupIds:
- ${exampleAwsSecurityGroup.id}
name: example-db-cluster
logDeliveryConfiguration:
s3Configuration:
bucketName: ${exampleBucket.bucket}
enabled: true
variables:
example:
fn::invoke:
function: aws:iam:getPolicyDocument
arguments:
statements:
- actions:
- s3:PutObject
principals:
- type: Service
identifiers:
- timestream-influxdb.amazonaws.com
resources:
- ${exampleBucket.arn}/*
Create DbCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbCluster(name: string, args: DbClusterArgs, opts?: CustomResourceOptions);
@overload
def DbCluster(resource_name: str,
args: DbClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbCluster(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,
vpc_security_group_ids: Optional[Sequence[str]] = None,
allocated_storage: Optional[int] = None,
username: Optional[str] = None,
password: Optional[str] = None,
deployment_type: Optional[str] = None,
network_type: Optional[str] = None,
name: Optional[str] = None,
log_delivery_configuration: Optional[DbClusterLogDeliveryConfigurationArgs] = None,
port: Optional[int] = None,
publicly_accessible: Optional[bool] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DbClusterTimeoutsArgs] = None,
failover_mode: Optional[str] = None,
db_storage_type: Optional[str] = None,
db_parameter_group_identifier: Optional[str] = None)
func NewDbCluster(ctx *Context, name string, args DbClusterArgs, opts ...ResourceOption) (*DbCluster, error)
public DbCluster(string name, DbClusterArgs args, CustomResourceOptions? opts = null)
public DbCluster(String name, DbClusterArgs args)
public DbCluster(String name, DbClusterArgs args, CustomResourceOptions options)
type: aws:timestreaminfluxdb:DbCluster
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 DbClusterArgs
- 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 DbClusterArgs
- 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 DbClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbClusterArgs
- 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 dbClusterResource = new Aws.TimestreamInfluxDB.DbCluster("dbClusterResource", new()
{
Organization = "string",
Bucket = "string",
DbInstanceType = "string",
VpcSubnetIds = new[]
{
"string",
},
VpcSecurityGroupIds = new[]
{
"string",
},
AllocatedStorage = 0,
Username = "string",
Password = "string",
DeploymentType = "string",
NetworkType = "string",
Name = "string",
LogDeliveryConfiguration = new Aws.TimestreamInfluxDB.Inputs.DbClusterLogDeliveryConfigurationArgs
{
S3Configuration = new Aws.TimestreamInfluxDB.Inputs.DbClusterLogDeliveryConfigurationS3ConfigurationArgs
{
BucketName = "string",
Enabled = false,
},
},
Port = 0,
PubliclyAccessible = false,
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.TimestreamInfluxDB.Inputs.DbClusterTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
FailoverMode = "string",
DbStorageType = "string",
DbParameterGroupIdentifier = "string",
});
example, err := timestreaminfluxdb.NewDbCluster(ctx, "dbClusterResource", ×treaminfluxdb.DbClusterArgs{
Organization: pulumi.String("string"),
Bucket: pulumi.String("string"),
DbInstanceType: pulumi.String("string"),
VpcSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
VpcSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
AllocatedStorage: pulumi.Int(0),
Username: pulumi.String("string"),
Password: pulumi.String("string"),
DeploymentType: pulumi.String("string"),
NetworkType: pulumi.String("string"),
Name: pulumi.String("string"),
LogDeliveryConfiguration: ×treaminfluxdb.DbClusterLogDeliveryConfigurationArgs{
S3Configuration: ×treaminfluxdb.DbClusterLogDeliveryConfigurationS3ConfigurationArgs{
BucketName: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
},
Port: pulumi.Int(0),
PubliclyAccessible: pulumi.Bool(false),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: ×treaminfluxdb.DbClusterTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
FailoverMode: pulumi.String("string"),
DbStorageType: pulumi.String("string"),
DbParameterGroupIdentifier: pulumi.String("string"),
})
var dbClusterResource = new DbCluster("dbClusterResource", DbClusterArgs.builder()
.organization("string")
.bucket("string")
.dbInstanceType("string")
.vpcSubnetIds("string")
.vpcSecurityGroupIds("string")
.allocatedStorage(0)
.username("string")
.password("string")
.deploymentType("string")
.networkType("string")
.name("string")
.logDeliveryConfiguration(DbClusterLogDeliveryConfigurationArgs.builder()
.s3Configuration(DbClusterLogDeliveryConfigurationS3ConfigurationArgs.builder()
.bucketName("string")
.enabled(false)
.build())
.build())
.port(0)
.publiclyAccessible(false)
.region("string")
.tags(Map.of("string", "string"))
.timeouts(DbClusterTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.failoverMode("string")
.dbStorageType("string")
.dbParameterGroupIdentifier("string")
.build());
db_cluster_resource = aws.timestreaminfluxdb.DbCluster("dbClusterResource",
organization="string",
bucket="string",
db_instance_type="string",
vpc_subnet_ids=["string"],
vpc_security_group_ids=["string"],
allocated_storage=0,
username="string",
password="string",
deployment_type="string",
network_type="string",
name="string",
log_delivery_configuration={
"s3_configuration": {
"bucket_name": "string",
"enabled": False,
},
},
port=0,
publicly_accessible=False,
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
failover_mode="string",
db_storage_type="string",
db_parameter_group_identifier="string")
const dbClusterResource = new aws.timestreaminfluxdb.DbCluster("dbClusterResource", {
organization: "string",
bucket: "string",
dbInstanceType: "string",
vpcSubnetIds: ["string"],
vpcSecurityGroupIds: ["string"],
allocatedStorage: 0,
username: "string",
password: "string",
deploymentType: "string",
networkType: "string",
name: "string",
logDeliveryConfiguration: {
s3Configuration: {
bucketName: "string",
enabled: false,
},
},
port: 0,
publiclyAccessible: false,
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
failoverMode: "string",
dbStorageType: "string",
dbParameterGroupIdentifier: "string",
});
type: aws:timestreaminfluxdb:DbCluster
properties:
allocatedStorage: 0
bucket: string
dbInstanceType: string
dbParameterGroupIdentifier: string
dbStorageType: string
deploymentType: string
failoverMode: string
logDeliveryConfiguration:
s3Configuration:
bucketName: string
enabled: false
name: string
networkType: string
organization: string
password: string
port: 0
publiclyAccessible: false
region: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
username: string
vpcSecurityGroupIds:
- string
vpcSubnetIds:
- string
DbCluster 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 DbCluster resource accepts the following input properties:
- Allocated
Storage int - Amount of storage in GiB (gibibytes). The minimum value is
20
, the maximum value is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - 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"
. This argument is updatable. - 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 cluster.
- Vpc
Subnet List<string>Ids List of VPC subnet IDs to associate with the cluster. 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 cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - Deployment
Type string - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - Failover
Mode string - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - Log
Delivery DbConfiguration Cluster Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- Name string
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - Network
Type string - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- Port int
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - Publicly
Accessible bool - Configures the DB cluster 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.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster Timeouts
- Allocated
Storage int - Amount of storage in GiB (gibibytes). The minimum value is
20
, the maximum value is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - 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"
. This argument is updatable. - 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 cluster.
- Vpc
Subnet []stringIds List of VPC subnet IDs to associate with the cluster. 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 cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - Deployment
Type string - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - Failover
Mode string - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - Log
Delivery DbConfiguration Cluster Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- Name string
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - Network
Type string - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- Port int
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - Publicly
Accessible bool - Configures the DB cluster 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.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster Timeouts Args
- allocated
Storage Integer - Amount of storage in GiB (gibibytes). The minimum value is
20
, the maximum value is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - 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"
. This argument is updatable. - 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 cluster.
- vpc
Subnet List<String>Ids List of VPC subnet IDs to associate with the cluster. 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 cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment
Type String - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - failover
Mode String - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - log
Delivery DbConfiguration Cluster Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name String
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network
Type String - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- port Integer
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly
Accessible Boolean - Configures the DB cluster 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.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster Timeouts
- allocated
Storage number - Amount of storage in GiB (gibibytes). The minimum value is
20
, the maximum value is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - 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"
. This argument is updatable. - 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 cluster.
- vpc
Subnet string[]Ids List of VPC subnet IDs to associate with the cluster. 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 cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment
Type string - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - failover
Mode string - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - log
Delivery DbConfiguration Cluster Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name string
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network
Type string - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- port number
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly
Accessible boolean - Configures the DB cluster 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.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[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
Cluster Timeouts
- allocated_
storage int - Amount of storage in GiB (gibibytes). The minimum value is
20
, the maximum value is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - 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"
. This argument is updatable. - 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 cluster.
- vpc_
subnet_ Sequence[str]ids List of VPC subnet IDs to associate with the cluster. 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 cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment_
type str - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - failover_
mode str - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - log_
delivery_ Dbconfiguration Cluster Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name str
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network_
type str - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- port int
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly_
accessible bool - Configures the DB cluster 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.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster Timeouts Args
- allocated
Storage Number - Amount of storage in GiB (gibibytes). The minimum value is
20
, the maximum value is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - 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"
. This argument is updatable. - 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 cluster.
- vpc
Subnet List<String>Ids List of VPC subnet IDs to associate with the cluster. 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 cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment
Type String - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - failover
Mode String - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - log
Delivery Property MapConfiguration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name String
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network
Type String - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- port Number
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly
Accessible Boolean - Configures the DB cluster 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.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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 DbCluster resource produces the following output properties:
- Arn string
- ARN of the Timestream for InfluxDB cluster.
- 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.
- Reader
Endpoint string - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- 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 cluster.
- 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.
- Reader
Endpoint string - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- 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 cluster.
- 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.
- reader
Endpoint String - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- 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 cluster.
- 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.
- reader
Endpoint string - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- {[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 cluster.
- 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.
- reader_
endpoint str - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- 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 cluster.
- 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.
- reader
Endpoint String - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing DbCluster Resource
Get an existing DbCluster 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?: DbClusterState, opts?: CustomResourceOptions): DbCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allocated_storage: Optional[int] = None,
arn: 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,
failover_mode: Optional[str] = None,
influx_auth_parameters_secret_arn: Optional[str] = None,
log_delivery_configuration: Optional[DbClusterLogDeliveryConfigurationArgs] = None,
name: Optional[str] = None,
network_type: Optional[str] = None,
organization: Optional[str] = None,
password: Optional[str] = None,
port: Optional[int] = None,
publicly_accessible: Optional[bool] = None,
reader_endpoint: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[DbClusterTimeoutsArgs] = None,
username: Optional[str] = None,
vpc_security_group_ids: Optional[Sequence[str]] = None,
vpc_subnet_ids: Optional[Sequence[str]] = None) -> DbCluster
func GetDbCluster(ctx *Context, name string, id IDInput, state *DbClusterState, opts ...ResourceOption) (*DbCluster, error)
public static DbCluster Get(string name, Input<string> id, DbClusterState? state, CustomResourceOptions? opts = null)
public static DbCluster get(String name, Output<String> id, DbClusterState state, CustomResourceOptions options)
resources: _: type: aws:timestreaminfluxdb:DbCluster get: id: ${id}
- 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 is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - Arn string
- ARN of the Timestream for InfluxDB cluster.
- 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"
. This argument is updatable. - Db
Parameter stringGroup Identifier - ID of the DB parameter group assigned to your cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - Deployment
Type string - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - Endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- Failover
Mode string - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - 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.
- Log
Delivery DbConfiguration Cluster Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- Name string
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - Network
Type string - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- 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. - Port int
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - Publicly
Accessible bool - Configures the DB cluster 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.
- Reader
Endpoint string - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster 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 cluster.
- Vpc
Subnet List<string>Ids List of VPC subnet IDs to associate with the cluster. 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 is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - Arn string
- ARN of the Timestream for InfluxDB cluster.
- 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"
. This argument is updatable. - Db
Parameter stringGroup Identifier - ID of the DB parameter group assigned to your cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - Deployment
Type string - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - Endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- Failover
Mode string - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - 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.
- Log
Delivery DbConfiguration Cluster Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- Name string
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - Network
Type string - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- 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. - Port int
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - Publicly
Accessible bool - Configures the DB cluster 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.
- Reader
Endpoint string - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster 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 cluster.
- Vpc
Subnet []stringIds List of VPC subnet IDs to associate with the cluster. 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 is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - arn String
- ARN of the Timestream for InfluxDB cluster.
- 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"
. This argument is updatable. - db
Parameter StringGroup Identifier - ID of the DB parameter group assigned to your cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment
Type String - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - endpoint String
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- failover
Mode String - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - 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.
- log
Delivery DbConfiguration Cluster Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name String
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network
Type String - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- 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. - port Integer
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly
Accessible Boolean - Configures the DB cluster 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.
- reader
Endpoint String - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster 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 cluster.
- vpc
Subnet List<String>Ids List of VPC subnet IDs to associate with the cluster. 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 is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - arn string
- ARN of the Timestream for InfluxDB cluster.
- 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"
. This argument is updatable. - db
Parameter stringGroup Identifier - ID of the DB parameter group assigned to your cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment
Type string - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - endpoint string
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- failover
Mode string - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - 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.
- log
Delivery DbConfiguration Cluster Log Delivery Configuration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name string
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network
Type string - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- 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. - port number
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly
Accessible boolean - Configures the DB cluster 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.
- reader
Endpoint string - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[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
Cluster 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 cluster.
- vpc
Subnet string[]Ids List of VPC subnet IDs to associate with the cluster. 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 is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - arn str
- ARN of the Timestream for InfluxDB cluster.
- 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"
. This argument is updatable. - db_
parameter_ strgroup_ identifier - ID of the DB parameter group assigned to your cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment_
type str - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - endpoint str
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- failover_
mode str - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - 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.
- log_
delivery_ Dbconfiguration Cluster Log Delivery Configuration Args - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name str
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network_
type str - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- 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. - port int
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly_
accessible bool - Configures the DB cluster 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.
- reader_
endpoint str - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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
Cluster 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 cluster.
- vpc_
subnet_ Sequence[str]ids List of VPC subnet IDs to associate with the cluster. 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 is16384
. The argumentdb_storage_type
places restrictions on this argument's minimum value. The following is a list ofdb_storage_type
values and the corresponding minimum value forallocated_storage
:"InfluxIOIncludedT1":
20,
"InfluxIOIncludedT2" and"InfluxIOIncludedT3":
400`. - arn String
- ARN of the Timestream for InfluxDB cluster.
- 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"
. This argument is updatable. - db
Parameter StringGroup Identifier - ID of the DB parameter group assigned to your cluster. This argument is updatable. If added to an existing Timestream for InfluxDB cluster or given a new value, will cause an in-place update to the cluster. However, if a cluster already has a value for
db_parameter_group_identifier
, removingdb_parameter_group_identifier
will cause the cluster 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"InfluxIOIncludedT3"
. If you use"InfluxIOIncludedT2" or "InfluxIOIncludedT3", the minimum value for
allocated_storage` is 400. - deployment
Type String - Specifies the type of cluster to create. Valid options are:
"MULTI_NODE_READ_REPLICAS"
. - endpoint String
- Endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- failover
Mode String - Specifies the behavior of failure recovery when the primary node of the cluster fails. Valid options are:
"AUTOMATIC"
and"NO_FAILOVER"
. - 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.
- log
Delivery Property MapConfiguration - Configuration for sending InfluxDB engine logs to a specified S3 bucket. This argument is updatable.
- name String
- Name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. Cluster 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. - network
Type String - Specifies whether the network type of the Timestream for InfluxDB cluster is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- 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. - port Number
- The port on which the cluster accepts connections. Valid values:
1024
-65535
. Cannot be2375
-2376
,7788
-7799
,8090
, or51678
-51680
. This argument is updatable. - publicly
Accessible Boolean - Configures the DB cluster 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.
- reader
Endpoint String - The endpoint used to connect to the Timestream for InfluxDB cluster for read-only operations.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- 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 cluster.
- vpc
Subnet List<String>Ids List of VPC subnet IDs to associate with the cluster. 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
DbClusterLogDeliveryConfiguration, DbClusterLogDeliveryConfigurationArgs
- S3Configuration
Db
Cluster Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- S3Configuration
Db
Cluster Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3Configuration
Db
Cluster Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3Configuration
Db
Cluster Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3_
configuration DbCluster Log Delivery Configuration S3Configuration - Configuration for S3 bucket log delivery.
- s3Configuration Property Map
- Configuration for S3 bucket log delivery.
DbClusterLogDeliveryConfigurationS3Configuration, DbClusterLogDeliveryConfigurationS3ConfigurationArgs
- 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: The following arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
,port
,db_instance_type
,failover_mode
, andtags
. Changes to any other argument after a cluster has been deployed will cause destruction and re-creation of the cluster. Additionally, whendb_parameter_group_identifier
is added to a cluster or modified, the cluster will be updated in-place but ifdb_parameter_group_identifier
is removed from a cluster, the cluster 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: The following arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
,port
,db_instance_type
,failover_mode
, andtags
. Changes to any other argument after a cluster has been deployed will cause destruction and re-creation of the cluster. Additionally, whendb_parameter_group_identifier
is added to a cluster or modified, the cluster will be updated in-place but ifdb_parameter_group_identifier
is removed from a cluster, the cluster 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: The following arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
,port
,db_instance_type
,failover_mode
, andtags
. Changes to any other argument after a cluster has been deployed will cause destruction and re-creation of the cluster. Additionally, whendb_parameter_group_identifier
is added to a cluster or modified, the cluster will be updated in-place but ifdb_parameter_group_identifier
is removed from a cluster, the cluster 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: The following arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
,port
,db_instance_type
,failover_mode
, andtags
. Changes to any other argument after a cluster has been deployed will cause destruction and re-creation of the cluster. Additionally, whendb_parameter_group_identifier
is added to a cluster or modified, the cluster will be updated in-place but ifdb_parameter_group_identifier
is removed from a cluster, the cluster 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: The following arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
,port
,db_instance_type
,failover_mode
, andtags
. Changes to any other argument after a cluster has been deployed will cause destruction and re-creation of the cluster. Additionally, whendb_parameter_group_identifier
is added to a cluster or modified, the cluster will be updated in-place but ifdb_parameter_group_identifier
is removed from a cluster, the cluster 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: The following arguments do updates in-place:
db_parameter_group_identifier
,log_delivery_configuration
,port
,db_instance_type
,failover_mode
, andtags
. Changes to any other argument after a cluster has been deployed will cause destruction and re-creation of the cluster. Additionally, whendb_parameter_group_identifier
is added to a cluster or modified, the cluster will be updated in-place but ifdb_parameter_group_identifier
is removed from a cluster, the cluster will be destroyed and re-created.
DbClusterTimeouts, DbClusterTimeoutsArgs
- 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 cluster using its identifier. For example:
$ pulumi import aws:timestreaminfluxdb/dbCluster:DbCluster 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.