CfnApplicationLogsMixin
- class aws_cdk.mixins_preview.aws_qbusiness.mixins.CfnApplicationLogsMixin(log_type, log_delivery)
Bases:
MixinCreates an Amazon Q Business application.
There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what’s included in Amazon Q Business Lite and what’s included in Amazon Q Business Pro, see Amazon Q Business tiers . You must use the Amazon Q Business console to assign subscription tiers to users.
An Amazon Q Apps service linked role will be created if it’s absent in the AWS account when
QAppsConfigurationis enabled in the request. For more information, see Using service-linked roles for Q Apps .When you create an application, Amazon Q Business may securely transmit data for processing from your selected AWS region, but within your geography. For more information, see Cross region inference in Amazon Q Business .
- See:
- CloudformationResource:
AWS::QBusiness::Application
- Mixin:
true
- 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 import aws_logs as logs from aws_cdk.mixins_preview.aws_qbusiness import mixins as qbusiness_mixins # logs_delivery: logs.ILogsDelivery cfn_application_logs_mixin = qbusiness_mixins.CfnApplicationLogsMixin("logType", logs_delivery)
Create a mixin to enable vended logs for
AWS::QBusiness::Application.- Parameters:
log_type (
str) – Type of logs that are getting vended.log_delivery (
ILogsDelivery) – Object in charge of setting up the delivery destination and delivery connection.
Methods
- apply_to(resource)
Apply vended logs configuration to the construct.
- Parameters:
resource (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct (has vendedLogs property).
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- EVENT_LOGS = <aws_cdk.mixins_preview.aws_qbusiness.mixins.CfnApplicationEventLogs object>
- SYNC_JOB_LOGS = <aws_cdk.mixins_preview.aws_qbusiness.mixins.CfnApplicationSyncJobLogs object>
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