interface ExpressGatewayServiceAwsLogsConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnExpressGatewayServicePropsMixin_ExpressGatewayServiceAwsLogsConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnExpressGatewayServicePropsMixin » 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 { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const expressGatewayServiceAwsLogsConfigurationProperty: ecs_mixins.CfnExpressGatewayServicePropsMixin.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
(optional)
The name of the CloudWatch Logs log group to send container logs to.
logStreamPrefix?
Type:
string
(optional, default: "ecs")
The prefix for the CloudWatch Logs log stream names.
The default for an Express service is ecs .

.NET
Go
Java
Python
TypeScript