CfnS3TableIntegrationPropsMixin
- class aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnS3TableIntegrationPropsMixin(props, *, strategy=None)
Bases:
MixinCreates an integration between CloudWatch and S3 Tables for analytics.
This integration enables querying CloudWatch telemetry data using analytics engines like Amazon Athena, Amazon Redshift, and Apache Spark.
- See:
- CloudformationResource:
AWS::ObservabilityAdmin::S3TableIntegration
- 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_observabilityadmin import mixins as observabilityadmin_mixins cfn_s3_table_integration_props_mixin = observabilityadmin_mixins.CfnS3TableIntegrationPropsMixin(observabilityadmin_mixins.CfnS3TableIntegrationMixinProps( encryption=observabilityadmin_mixins.CfnS3TableIntegrationPropsMixin.EncryptionConfigProperty( kms_key_arn="kmsKeyArn", sse_algorithm="sseAlgorithm" ), log_sources=[observabilityadmin_mixins.CfnS3TableIntegrationPropsMixin.LogSourceProperty( identifier="identifier", name="name", type="type" )], role_arn="roleArn", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::ObservabilityAdmin::S3TableIntegration.- Parameters:
props (
Union[CfnS3TableIntegrationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['encryption', 'logSources', 'roleArn', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
EncryptionConfigProperty
- class CfnS3TableIntegrationPropsMixin.EncryptionConfigProperty(*, kms_key_arn=None, sse_algorithm=None)
Bases:
objectEncryption configuration for the S3 Table Integration.
- Parameters:
kms_key_arn (
Optional[str]) – The ARN of the KMS key used to encrypt the S3 Table Integration.sse_algorithm (
Optional[str]) – The server-side encryption algorithm used to encrypt the S3 Table(s) data.
- See:
- 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_observabilityadmin import mixins as observabilityadmin_mixins encryption_config_property = observabilityadmin_mixins.CfnS3TableIntegrationPropsMixin.EncryptionConfigProperty( kms_key_arn="kmsKeyArn", sse_algorithm="sseAlgorithm" )
Attributes
- kms_key_arn
The ARN of the KMS key used to encrypt the S3 Table Integration.
- sse_algorithm
The server-side encryption algorithm used to encrypt the S3 Table(s) data.
LogSourceProperty
- class CfnS3TableIntegrationPropsMixin.LogSourceProperty(*, identifier=None, name=None, type=None)
Bases:
objectCloudWatch Logs data source to associate with the S3 Table Integration.
- Parameters:
identifier (
Optional[str]) – The ID of the CloudWatch Logs data source association.name (
Optional[str]) – The name of the CloudWatch Logs data source.type (
Optional[str]) – The type of the CloudWatch Logs data source.
- See:
- 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_observabilityadmin import mixins as observabilityadmin_mixins log_source_property = observabilityadmin_mixins.CfnS3TableIntegrationPropsMixin.LogSourceProperty( identifier="identifier", name="name", type="type" )
Attributes
- identifier
The ID of the CloudWatch Logs data source association.
- name
The name of the CloudWatch Logs data source.
- type
The type of the CloudWatch Logs data source.