interface ExpressGatewayServiceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnExpressGatewayService_ExpressGatewayServiceConfigurationProperty |
Java | software.amazon.awscdk.services.ecs.CfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty |
Python | aws_cdk.aws_ecs.CfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnExpressGatewayService » ExpressGatewayServiceConfigurationProperty |
Represents a specific configuration revision of an Express service, containing all the settings and parameters for that revision.
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 expressGatewayServiceConfigurationProperty: ecs.CfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty = {
cpu: 'cpu',
createdAt: 'createdAt',
executionRoleArn: 'executionRoleArn',
healthCheckPath: 'healthCheckPath',
ingressPaths: [{
accessType: 'accessType',
endpoint: 'endpoint',
}],
memory: 'memory',
networkConfiguration: {
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
primaryContainer: {
image: 'image',
// the properties below are optional
awsLogsConfiguration: {
logGroup: 'logGroup',
logStreamPrefix: 'logStreamPrefix',
},
command: ['command'],
containerPort: 123,
environment: [{
name: 'name',
value: 'value',
}],
repositoryCredentials: {
credentialsParameter: 'credentialsParameter',
},
secrets: [{
name: 'name',
valueFrom: 'valueFrom',
}],
},
scalingTarget: {
autoScalingMetric: 'autoScalingMetric',
autoScalingTargetValue: 123,
maxTaskCount: 123,
minTaskCount: 123,
},
serviceRevisionArn: 'serviceRevisionArn',
taskRoleArn: 'taskRoleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| cpu? | string | The CPU allocation for tasks in this service revision. |
| created | string | The Unix timestamp for when this service revision was created. |
| execution | string | The ARN of the task execution role for the service revision. |
| health | string | The health check path for this service revision. |
| ingress | IResolvable | (IResolvable | Ingress)[] | The entry point into this service revision. |
| memory? | string | The memory allocation for tasks in this service revision. |
| network | IResolvable | Express | The network configuration for tasks in this service revision. |
| primary | IResolvable | Express | The primary container configuration for this service revision. |
| scaling | IResolvable | Express | The auto-scaling configuration for this service revision. |
| service | string | The ARN of the service revision. |
| task | string | The ARN of the task role for the service revision. |
cpu?
Type:
string
(optional)
The CPU allocation for tasks in this service revision.
createdAt?
Type:
string
(optional)
The Unix timestamp for when this service revision was created.
executionRoleArn?
Type:
string
(optional)
The ARN of the task execution role for the service revision.
healthCheckPath?
Type:
string
(optional)
The health check path for this service revision.
ingressPaths?
Type:
IResolvable | (IResolvable | Ingress)[]
(optional)
The entry point into this service revision.
memory?
Type:
string
(optional)
The memory allocation for tasks in this service revision.
networkConfiguration?
Type:
IResolvable | Express
(optional)
The network configuration for tasks in this service revision.
primaryContainer?
Type:
IResolvable | Express
(optional)
The primary container configuration for this service revision.
scalingTarget?
Type:
IResolvable | Express
(optional)
The auto-scaling configuration for this service revision.
serviceRevisionArn?
Type:
string
(optional)
The ARN of the service revision.
taskRoleArn?
Type:
string
(optional)
The ARN of the task role for the service revision.

.NET
Go
Java
Python
TypeScript