CloudWatchLogsLogGroupProperty Struct
Defines a CloudWatch log group.
For more information see Standard Versus Express Workflows in the AWS Step Functions Developer Guide.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
const cloudWatchLogsLogGroupProperty: stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty = {
logGroupArn: 'logGroupArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions as stepfunctions
cloud_watch_logs_log_group_property = stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty(
log_group_arn="logGroupArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.*;
CloudWatchLogsLogGroupProperty cloudWatchLogsLogGroupProperty = CloudWatchLogsLogGroupProperty.builder()
.logGroupArn("logGroupArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var cloudWatchLogsLogGroupProperty = new CloudWatchLogsLogGroupProperty {
LogGroupArn = "logGroupArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cloudWatchLogsLogGroupProperty := &CloudWatchLogsLogGroupProperty{
LogGroupArn: jsii.String("logGroupArn"),
}
Properties
logGroupArnoptionalstringlog_group_arnoptionalstrlogGroupArnoptionalStringLogGroupArnoptionalstringLogGroupArnoptional*string#The ARN of the the CloudWatch log group to which you want your logs emitted to.
The ARN must end with :*