interface CfnExpressGatewayServiceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnExpressGatewayServiceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnExpressGatewayServiceMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnExpressGatewayServiceMixinProps |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnExpressGatewayServiceMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnExpressGatewayServiceMixinProps |
Properties for CfnExpressGatewayServicePropsMixin.
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 cfnExpressGatewayServiceMixinProps: ecs_mixins.CfnExpressGatewayServiceMixinProps = {
cluster: 'cluster',
cpu: 'cpu',
executionRoleArn: 'executionRoleArn',
healthCheckPath: 'healthCheckPath',
infrastructureRoleArn: 'infrastructureRoleArn',
memory: 'memory',
networkConfiguration: {
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
primaryContainer: {
awsLogsConfiguration: {
logGroup: 'logGroup',
logStreamPrefix: 'logStreamPrefix',
},
command: ['command'],
containerPort: 123,
environment: [{
name: 'name',
value: 'value',
}],
image: 'image',
repositoryCredentials: {
credentialsParameter: 'credentialsParameter',
},
secrets: [{
name: 'name',
valueFrom: 'valueFrom',
}],
},
scalingTarget: {
autoScalingMetric: 'autoScalingMetric',
autoScalingTargetValue: 123,
maxTaskCount: 123,
minTaskCount: 123,
},
serviceName: 'serviceName',
tags: [{
key: 'key',
value: 'value',
}],
taskRoleArn: 'taskRoleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| cluster? | string | The short name or full ARN of the cluster that hosts the Express service. |
| cpu? | string | The CPU allocation for tasks in this service revision. |
| execution | string | The ARN of the task execution role for the service revision. |
| health | string | The health check path for this service revision. |
| infrastructure | string | The ARN of the infrastructure role that manages AWS resources for the Express service. |
| 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 name of the Express service. |
| tags? | Cfn[] | The metadata applied to the Express service. |
| task | string | The ARN of the task role for the service revision. |
cluster?
Type:
string
(optional, default: "default")
The short name or full ARN of the cluster that hosts the Express service.
cpu?
Type:
string
(optional, default: "256")
The CPU allocation for tasks in this service revision.
executionRoleArn?
Type:
string
(optional)
The ARN of the task execution role for the service revision.
healthCheckPath?
Type:
string
(optional, default: "HTTP:80/ping")
The health check path for this service revision.
infrastructureRoleArn?
Type:
string
(optional)
The ARN of the infrastructure role that manages AWS resources for the Express service.
memory?
Type:
string
(optional, default: "512")
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.
serviceName?
Type:
string
(optional)
The name of the Express service.
tags?
Type:
Cfn[]
(optional)
The metadata applied to the Express service.
taskRoleArn?
Type:
string
(optional)
The ARN of the task role for the service revision.

.NET
Go
Java
Python
TypeScript