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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:06.279Z")
@Stability(Stable)
public class CfnInfluxDBInstance
extends CfnResource
implements IInspectable, 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") .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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnInfluxDBInstance
.static interface
Configuration for sending InfluxDB engine logs to a specified S3 bucket.static interface
Configuration for S3 bucket log delivery.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnInfluxDBInstance
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnInfluxDBInstance
(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.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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAllocatedStorage
(Number value) The amount of storage to allocate for your DB storage type in GiB (gibibytes).void
The name of the initial InfluxDB bucket.void
setDbInstanceType
(String value) The Timestream for InfluxDB DB instance type to run on.void
The name or id of the DB parameter group to assign to your DB instance.void
setDbStorageType
(String value) The Timestream for InfluxDB DB storage type to read and write InfluxDB data.void
setDeploymentType
(String value) Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability.void
Configuration for sending InfluxDB engine logs to a specified S3 bucket.void
Configuration for sending InfluxDB engine logs to a specified S3 bucket.void
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands.void
setOrganization
(String value) The name of the initial organization for the initial admin user in InfluxDB.void
setPassword
(String value) The password of the initial admin user created in InfluxDB.void
The port number on which InfluxDB accepts connections.void
setPubliclyAccessible
(Boolean value) Configures the DB instance with a public IP to facilitate access.void
setPubliclyAccessible
(IResolvable value) Configures the DB instance with a public IP to facilitate access.void
A list of key-value pairs to associate with the DB instance.void
setUsername
(String value) The username of the initial admin user created in InfluxDB.void
setVpcSecurityGroupIds
(List<String> value) A list of VPC security group IDs to associate with the DB instance.void
setVpcSubnetIds
(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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
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. -
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. -
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.
-