Class CfnInfluxDBInstance
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.timestream.CfnInfluxDBInstance
- All Implemented Interfaces:
IInspectable,ITaggableV2,IInfluxDBInstanceRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:50.077Z")
@Stability(Stable)
public class CfnInfluxDBInstance
extends CfnResource
implements IInspectable, IInfluxDBInstanceRef, ITaggableV2
A DB instance is an isolated database environment running in the cloud.
It is the basic building block of Amazon Timestream for InfluxDB. A DB instance can contain multiple user-created databases (or organizations and buckets for the case of InfluxDb 2.x databases), and can be accessed using the same client tools and applications you might use to access a standalone self-managed InfluxDB instance.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.timestream.*;
CfnInfluxDBInstance cfnInfluxDBInstance = CfnInfluxDBInstance.Builder.create(this, "MyCfnInfluxDBInstance")
.allocatedStorage(123)
.bucket("bucket")
.dbInstanceType("dbInstanceType")
.dbParameterGroupIdentifier("dbParameterGroupIdentifier")
.dbStorageType("dbStorageType")
.deploymentType("deploymentType")
.logDeliveryConfiguration(LogDeliveryConfigurationProperty.builder()
.s3Configuration(S3ConfigurationProperty.builder()
.bucketName("bucketName")
.enabled(false)
.build())
.build())
.name("name")
.networkType("networkType")
.organization("organization")
.password("password")
.port(123)
.publiclyAccessible(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.username("username")
.vpcSecurityGroupIds(List.of("vpcSecurityGroupIds"))
.vpcSubnetIds(List.of("vpcSubnetIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnInfluxDBInstance.static interfaceConfiguration for sending InfluxDB engine logs to a specified S3 bucket.static interfaceConfiguration for S3 bucket log delivery.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.timestream.IInfluxDBInstanceRef
IInfluxDBInstanceRef.Jsii$Default, IInfluxDBInstanceRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnInfluxDBInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnInfluxDBInstance(software.amazon.jsii.JsiiObjectRef objRef) CfnInfluxDBInstance(software.constructs.Construct scope, String id) CfnInfluxDBInstance(software.constructs.Construct scope, String id, CfnInfluxDBInstanceProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe amount of storage to allocate for your DB storage type in GiB (gibibytes).The Amazon Resource Name (ARN) of the DB instance.The Availability Zone in which the DB instance resides.The endpoint used to connect to InfluxDB.A service-generated unique identifier.The Amazon Resource Name (ARN) of the Amazon Secrets Manager secret containing the initial InfluxDB authorization parameters.Describes an Availability Zone in which the InfluxDB instance is located.The status of the DB instance.The name of the initial InfluxDB bucket.Tag Manager which manages the tags for this resource.The Timestream for InfluxDB DB instance type to run on.The name or id of the DB parameter group to assign to your DB instance.The Timestream for InfluxDB DB storage type to read and write InfluxDB data.Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability.A reference to a InfluxDBInstance resource.Configuration for sending InfluxDB engine logs to a specified S3 bucket.getName()The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands.Network type of the InfluxDB Instance.The name of the initial organization for the initial admin user in InfluxDB.The password of the initial admin user created in InfluxDB.getPort()The port number on which InfluxDB accepts connections.Configures the DB instance with a public IP to facilitate access.getTags()A list of key-value pairs to associate with the DB instance.The username of the initial admin user created in InfluxDB.A list of VPC security group IDs to associate with the DB instance.A list of VPC subnet IDs to associate with the DB instance.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAllocatedStorage(Number value) The amount of storage to allocate for your DB storage type in GiB (gibibytes).voidThe name of the initial InfluxDB bucket.voidsetDbInstanceType(String value) The Timestream for InfluxDB DB instance type to run on.voidThe name or id of the DB parameter group to assign to your DB instance.voidsetDbStorageType(String value) The Timestream for InfluxDB DB storage type to read and write InfluxDB data.voidsetDeploymentType(String value) Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability.voidConfiguration for sending InfluxDB engine logs to a specified S3 bucket.voidConfiguration for sending InfluxDB engine logs to a specified S3 bucket.voidThe name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands.voidsetNetworkType(String value) Network type of the InfluxDB Instance.voidsetOrganization(String value) The name of the initial organization for the initial admin user in InfluxDB.voidsetPassword(String value) The password of the initial admin user created in InfluxDB.voidThe port number on which InfluxDB accepts connections.voidsetPubliclyAccessible(Boolean value) Configures the DB instance with a public IP to facilitate access.voidsetPubliclyAccessible(IResolvable value) Configures the DB instance with a public IP to facilitate access.voidA list of key-value pairs to associate with the DB instance.voidsetUsername(String value) The username of the initial admin user created in InfluxDB.voidsetVpcSecurityGroupIds(List<String> value) A list of VPC security group IDs to associate with the DB instance.voidsetVpcSubnetIds(List<String> value) A list of VPC subnet IDs to associate with the DB instance.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnInfluxDBInstance
protected CfnInfluxDBInstance(software.amazon.jsii.JsiiObjectRef objRef) -
CfnInfluxDBInstance
protected CfnInfluxDBInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnInfluxDBInstance
@Stability(Stable) public CfnInfluxDBInstance(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnInfluxDBInstanceProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnInfluxDBInstance
@Stability(Stable) public CfnInfluxDBInstance(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the DB instance. -
getAttrAvailabilityZone
The Availability Zone in which the DB instance resides. -
getAttrEndpoint
The endpoint used to connect to InfluxDB.The default InfluxDB port is 8086.
-
getAttrId
A service-generated unique identifier. -
getAttrInfluxAuthParametersSecretArn
The Amazon Resource Name (ARN) of the Amazon 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.
-
getAttrSecondaryAvailabilityZone
Describes an Availability Zone in which the InfluxDB instance is located. -
getAttrStatus
The status of the DB instance.Valid Values:
CREATING|AVAILABLE|DELETING|MODIFYING|UPDATING|DELETED|FAILED -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getInfluxDbInstanceRef
A reference to a InfluxDBInstance resource.- Specified by:
getInfluxDbInstanceRefin interfaceIInfluxDBInstanceRef
-
getAllocatedStorage
The amount of storage to allocate for your DB storage type in GiB (gibibytes). -
setAllocatedStorage
The amount of storage to allocate for your DB storage type in GiB (gibibytes). -
getBucket
The name of the initial InfluxDB bucket. -
setBucket
The name of the initial InfluxDB bucket. -
getDbInstanceType
The Timestream for InfluxDB DB instance type to run on. -
setDbInstanceType
The Timestream for InfluxDB DB instance type to run on. -
getDbParameterGroupIdentifier
The name or id of the DB parameter group to assign to your DB instance. -
setDbParameterGroupIdentifier
The name or id of the DB parameter group to assign to your DB instance. -
getDbStorageType
The Timestream for InfluxDB DB storage type to read and write InfluxDB data. -
setDbStorageType
The Timestream for InfluxDB DB storage type to read and write InfluxDB data. -
getDeploymentType
Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability. -
setDeploymentType
Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability. -
getLogDeliveryConfiguration
Configuration for sending InfluxDB engine logs to a specified S3 bucket.Returns union: either
IResolvableorCfnInfluxDBInstance.LogDeliveryConfigurationProperty -
setLogDeliveryConfiguration
Configuration for sending InfluxDB engine logs to a specified S3 bucket. -
setLogDeliveryConfiguration
@Stability(Stable) public void setLogDeliveryConfiguration(@Nullable CfnInfluxDBInstance.LogDeliveryConfigurationProperty value) Configuration for sending InfluxDB engine logs to a specified S3 bucket. -
getName
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. -
setName
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. -
getNetworkType
Network type of the InfluxDB Instance. -
setNetworkType
Network type of the InfluxDB Instance. -
getOrganization
The name of the initial organization for the initial admin user in InfluxDB. -
setOrganization
The name of the initial organization for the initial admin user in InfluxDB. -
getPassword
The password of the initial admin user created in InfluxDB. -
setPassword
The password of the initial admin user created in InfluxDB. -
getPort
The port number on which InfluxDB accepts connections. -
setPort
The port number on which InfluxDB accepts connections. -
getPubliclyAccessible
Configures the DB instance with a public IP to facilitate access.Returns union: either
BooleanorIResolvable -
setPubliclyAccessible
Configures the DB instance with a public IP to facilitate access. -
setPubliclyAccessible
Configures the DB instance with a public IP to facilitate access. -
getTags
A list of key-value pairs to associate with the DB instance. -
setTags
A list of key-value pairs to associate with the DB instance. -
getUsername
The username of the initial admin user created in InfluxDB. -
setUsername
The username of the initial admin user created in InfluxDB. -
getVpcSecurityGroupIds
A list of VPC security group IDs to associate with the DB instance. -
setVpcSecurityGroupIds
A list of VPC security group IDs to associate with the DB instance. -
getVpcSubnetIds
A list of VPC subnet IDs to associate with the DB instance. -
setVpcSubnetIds
A list of VPC subnet IDs to associate with the DB instance.
-