CfnApplicationLogsMixin
- class aws_cdk.mixins_preview.aws_m2.mixins.CfnApplicationLogsMixin(log_type, log_delivery)
Bases:
MixinSpecifies a new application with given parameters. Requires an existing runtime environment and application definition file.
For information about application definitions, see the AWS Mainframe Modernization User Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html
- CloudformationResource:
AWS::M2::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_m2 import mixins as m2_mixins # logs_delivery: logs.ILogsDelivery cfn_application_logs_mixin = m2_mixins.CfnApplicationLogsMixin("logType", logs_delivery)
Create a mixin to enable vended logs for
AWS::M2::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
- BATCH_JOB_LOGS = <aws_cdk.mixins_preview.aws_m2.mixins.CfnApplicationBatchJobLogs object>
- CONFIG_LOGS = <aws_cdk.mixins_preview.aws_m2.mixins.CfnApplicationConfigLogs object>
- CONSOLE_LOGS = <aws_cdk.mixins_preview.aws_m2.mixins.CfnApplicationConsoleLogs object>
- DATASET_IMPORT_LOGS = <aws_cdk.mixins_preview.aws_m2.mixins.CfnApplicationDatasetImportLogs 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