interface ExpressGatewayServiceAwsLogsConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ECS.CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsecs#CfnExpressGatewayServicePropsMixin_ExpressGatewayServiceAwsLogsConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_ecs.CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ecs » 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 { aws_ecs as ecs } from '@aws-cdk/cfn-property-mixins';
const expressGatewayServiceAwsLogsConfigurationProperty: ecs.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