interface ExpressGatewayServiceAwsLogsConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnExpressGatewayService_ExpressGatewayServiceAwsLogsConfigurationProperty |
Java | software.amazon.awscdk.services.ecs.CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty |
Python | aws_cdk.aws_ecs.CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnExpressGatewayService » ExpressGatewayServiceAwsLogsConfigurationProperty |
Specifies the Amazon CloudWatch Logs configuration for the Express service container.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const expressGatewayServiceAwsLogsConfigurationProperty: ecs.CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty = {
logGroup: 'logGroup',
logStreamPrefix: 'logStreamPrefix',
};
Properties
| Name | Type | Description |
|---|---|---|
| log | string | The name of the CloudWatch Logs log group to send container logs to. |
| log | string | The prefix for the CloudWatch Logs log stream names. |
logGroup
Type:
string
The name of the CloudWatch Logs log group to send container logs to.
logStreamPrefix
Type:
string
The prefix for the CloudWatch Logs log stream names.
The default for an Express service is ecs .

.NET
Go
Java
Python
TypeScript