class CfnApplicationLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.M2.Mixins.CfnApplicationLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsm2/mixins#CfnApplicationLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.m2.mixins.CfnApplicationLogsMixin |
Python | aws_cdk.mixins_preview.aws_m2.mixins.CfnApplicationLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_m2 » mixins » CfnApplicationLogsMixin |
Implements
IMixin
Extends
Mixin
Specifies 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 also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { mixins as m2_mixins } from '@aws-cdk/mixins-preview/aws-m2';
declare const logsDelivery: logs.ILogsDelivery;
const cfnApplicationLogsMixin = new m2_mixins.CfnApplicationLogsMixin('logType', logsDelivery);
Initializer
new CfnApplicationLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::M2::Application.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static BATCH_JOB_LOGS | Cfn | |
| static CONFIG_LOGS | Cfn | |
| static CONSOLE_LOGS | Cfn | |
| static DATASET_IMPORT_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static BATCH_JOB_LOGS
Type:
Cfn
static CONFIG_LOGS
Type:
Cfn
static CONSOLE_LOGS
Type:
Cfn
static DATASET_IMPORT_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript