class CfnStateMachineLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.StepFunctions.Mixins.CfnStateMachineLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsstepfunctions/mixins#CfnStateMachineLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.stepfunctions.mixins.CfnStateMachineLogsMixin |
Python | aws_cdk.mixins_preview.aws_stepfunctions.mixins.CfnStateMachineLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_stepfunctions » mixins » CfnStateMachineLogsMixin |
Implements
IMixin
Extends
Mixin
Provisions a state machine.
A state machine consists of a collection of states that can do work ( Task states), determine to which states to transition next ( Choice states), stop an execution with an error ( Fail states), and so on. State machines are specified using a JSON-based, structured language.
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 stepfunctions_mixins } from '@aws-cdk/mixins-preview/aws-stepfunctions';
declare const logsDelivery: logs.ILogsDelivery;
const cfnStateMachineLogsMixin = new stepfunctions_mixins.CfnStateMachineLogsMixin('logType', logsDelivery);
Initializer
new CfnStateMachineLogsMixin(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::StepFunctions::StateMachine.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static EXPRESS_LOGS | Cfn | |
| static STANDARD_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static EXPRESS_LOGS
Type:
Cfn
static STANDARD_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