CfnInfluxDBClusterPropsMixin

class aws_cdk.mixins_preview.aws_timestream.mixins.CfnInfluxDBClusterPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::Timestream::InfluxDBCluster resource creates an InfluxDB cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-influxdbcluster.html

CloudformationResource:

AWS::Timestream::InfluxDBCluster

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_timestream import mixins as timestream_mixins

cfn_influx_dBCluster_props_mixin = timestream_mixins.CfnInfluxDBClusterPropsMixin(timestream_mixins.CfnInfluxDBClusterMixinProps(
    allocated_storage=123,
    bucket="bucket",
    db_instance_type="dbInstanceType",
    db_parameter_group_identifier="dbParameterGroupIdentifier",
    db_storage_type="dbStorageType",
    deployment_type="deploymentType",
    failover_mode="failoverMode",
    log_delivery_configuration=timestream_mixins.CfnInfluxDBClusterPropsMixin.LogDeliveryConfigurationProperty(
        s3_configuration=timestream_mixins.CfnInfluxDBClusterPropsMixin.S3ConfigurationProperty(
            bucket_name="bucketName",
            enabled=False
        )
    ),
    name="name",
    network_type="networkType",
    organization="organization",
    password="password",
    port=123,
    publicly_accessible=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    username="username",
    vpc_security_group_ids=["vpcSecurityGroupIds"],
    vpc_subnet_ids=["vpcSubnetIds"]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Timestream::InfluxDBCluster.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['allocatedStorage', 'bucket', 'dbInstanceType', 'dbParameterGroupIdentifier', 'dbStorageType', 'deploymentType', 'failoverMode', 'logDeliveryConfiguration', 'name', 'networkType', 'organization', 'password', 'port', 'publiclyAccessible', 'tags', 'username', 'vpcSecurityGroupIds', 'vpcSubnetIds']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

LogDeliveryConfigurationProperty

class CfnInfluxDBClusterPropsMixin.LogDeliveryConfigurationProperty(*, s3_configuration=None)

Bases: object

Configuration for sending logs to customer account from the InfluxDB cluster.

Parameters:

s3_configuration (Union[IResolvable, S3ConfigurationProperty, Dict[str, Any], None]) – S3 configuration for sending logs to customer account from the InfluxDB cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-influxdbcluster-logdeliveryconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_timestream import mixins as timestream_mixins

log_delivery_configuration_property = timestream_mixins.CfnInfluxDBClusterPropsMixin.LogDeliveryConfigurationProperty(
    s3_configuration=timestream_mixins.CfnInfluxDBClusterPropsMixin.S3ConfigurationProperty(
        bucket_name="bucketName",
        enabled=False
    )
)

Attributes

s3_configuration

S3 configuration for sending logs to customer account from the InfluxDB cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-influxdbcluster-logdeliveryconfiguration.html#cfn-timestream-influxdbcluster-logdeliveryconfiguration-s3configuration

S3ConfigurationProperty

class CfnInfluxDBClusterPropsMixin.S3ConfigurationProperty(*, bucket_name=None, enabled=None)

Bases: object

S3 configuration for sending logs to customer account from the InfluxDB cluster.

Parameters:
  • bucket_name (Optional[str]) – The bucket name for logs to be sent from the InfluxDB cluster.

  • enabled (Union[bool, IResolvable, None]) – Specifies whether logging to customer specified bucket is enabled.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-influxdbcluster-s3configuration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_timestream import mixins as timestream_mixins

s3_configuration_property = timestream_mixins.CfnInfluxDBClusterPropsMixin.S3ConfigurationProperty(
    bucket_name="bucketName",
    enabled=False
)

Attributes

bucket_name

The bucket name for logs to be sent from the InfluxDB cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-influxdbcluster-s3configuration.html#cfn-timestream-influxdbcluster-s3configuration-bucketname

enabled

Specifies whether logging to customer specified bucket is enabled.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-influxdbcluster-s3configuration.html#cfn-timestream-influxdbcluster-s3configuration-enabled