One Observability Workshop v3.0.0
One Observability Workshop / microservices/petlist-adoptions / ListAdoptionsServiceProperties
Interface: ListAdoptionsServiceProperties¶
Defined in: microservices/petlist-adoptions.ts:40
Properties for the List Adoptions ECS service, extending base ECS service configuration.
Extends¶
Properties¶
cpu¶
cpu:
number
Defined in: constructs/ecs-service.ts:66
CPU units for the task (256, 512, 1024, 2048, 4096)
Inherited from¶
memoryLimitMiB¶
memoryLimitMiB:
number
Defined in: constructs/ecs-service.ts:68
Memory limit in MiB for the task
Inherited from¶
EcsServiceProperties.memoryLimitMiB
desiredTaskCount¶
desiredTaskCount:
number
Defined in: constructs/ecs-service.ts:70
Number of desired task instances
Inherited from¶
EcsServiceProperties.desiredTaskCount
cloudMapNamespace?¶
optionalcloudMapNamespace:IPrivateDnsNamespace
Defined in: constructs/ecs-service.ts:72
Cloud Map namespace for service discovery registration
Inherited from¶
EcsServiceProperties.cloudMapNamespace
openSearchCollection?¶
optionalopenSearchCollection:OpenSearchCollection| {collectionArn:string;collectionEndpoint:string; }
Defined in: constructs/ecs-service.ts:74
OpenSearch Serverless collection for direct log ingestion
Inherited from¶
EcsServiceProperties.openSearchCollection
openSearchPipeline?¶
optionalopenSearchPipeline:OpenSearchPipeline| {pipelineEndpoint:string;pipelineArn?:string;pipelineRoleArn?:string; }
Defined in: constructs/ecs-service.ts:85
OpenSearch ingestion pipeline for log routing When provided, logs will be sent to the pipeline instead of directly to OpenSearch Mutually exclusive with openSearchCollection
Inherited from¶
EcsServiceProperties.openSearchPipeline
additionalEnvironment?¶
optionaladditionalEnvironment:object
Defined in: constructs/ecs-service.ts:93
Extra environment variables merged into the application container
Index Signature¶
[key: string]: string
Inherited from¶
EcsServiceProperties.additionalEnvironment
enableCloudWatchAgent?¶
optionalenableCloudWatchAgent:boolean
Defined in: constructs/ecs-service.ts:98
Enable CloudWatch agent sidecar for application signals and OTLP traces When enabled, adds a CloudWatch agent container that listens on port 4317
Inherited from¶
EcsServiceProperties.enableCloudWatchAgent
cloudWatchAgentTraceMode?¶
optionalcloudWatchAgentTraceMode:CloudWatchAgentTraceMode
Defined in: constructs/ecs-service.ts:103
CloudWatch agent trace collection mode
Default¶
Inherited from¶
EcsServiceProperties.cloudWatchAgentTraceMode
hostType¶
hostType:
HostType
Defined in: constructs/microservice.ts:53
Where the service runs: ECS, EKS, or None (AgentCore)
Inherited from¶
computeType¶
computeType:
ComputeType
Defined in: constructs/microservice.ts:55
Compute backing: Fargate or EC2
Inherited from¶
EcsServiceProperties.computeType
tags?¶
optionaltags:object
Defined in: constructs/microservice.ts:57
Resource tags applied to all child constructs
Index Signature¶
[key: string]: string
Inherited from¶
securityGroup?¶
optionalsecurityGroup:ISecurityGroup
Defined in: constructs/microservice.ts:59
Security group for the service's network interface
Inherited from¶
EcsServiceProperties.securityGroup
vpc?¶
optionalvpc:IVpc
Defined in: constructs/microservice.ts:61
VPC for network placement
Inherited from¶
eksCluster?¶
optionaleksCluster:ICluster
Defined in: constructs/microservice.ts:63
EKS cluster (required when hostType is EKS)
Inherited from¶
EcsServiceProperties.eksCluster
ecsCluster?¶
optionalecsCluster:ICluster
Defined in: constructs/microservice.ts:65
ECS cluster (required when hostType is ECS)
Inherited from¶
EcsServiceProperties.ecsCluster
logRetentionDays?¶
optionallogRetentionDays:RetentionDays
Defined in: constructs/microservice.ts:67
Default Log Retention
Inherited from¶
EcsServiceProperties.logRetentionDays
name¶
name:
string
Defined in: constructs/microservice.ts:69
Service name used for resource naming and identification
Inherited from¶
repositoryURI¶
repositoryURI:
string
Defined in: constructs/microservice.ts:71
ECR repository URI for the container image
Inherited from¶
EcsServiceProperties.repositoryURI
disableService?¶
optionaldisableService:boolean
Defined in: constructs/microservice.ts:73
Skip creating the runtime service (container build only)
Inherited from¶
EcsServiceProperties.disableService
healthCheck?¶
optionalhealthCheck:string
Defined in: constructs/microservice.ts:75
Health check path for the load balancer target group
Inherited from¶
EcsServiceProperties.healthCheck
subnetType?¶
optionalsubnetType:SubnetType
Defined in: constructs/microservice.ts:77
Subnet type for task placement
Inherited from¶
EcsServiceProperties.subnetType
listenerPort?¶
optionallistenerPort:number
Defined in: constructs/microservice.ts:79
ALB listener port (default: 80)
Inherited from¶
EcsServiceProperties.listenerPort
containerPort?¶
optionalcontainerPort:number
Defined in: constructs/microservice.ts:81
Container port the application listens on
Inherited from¶
EcsServiceProperties.containerPort
createLoadBalancer?¶
optionalcreateLoadBalancer:boolean
Defined in: constructs/microservice.ts:83
Whether to create an ALB for this service
Inherited from¶
EcsServiceProperties.createLoadBalancer
enableSLO?¶
optionalenableSLO:boolean
Defined in: constructs/microservice.ts:85
Whether to create Application Signals SLOs
Inherited from¶
EcsServiceProperties.enableSLO
database¶
database:
IDatabaseCluster
Defined in: microservices/petlist-adoptions.ts:42
Aurora PostgreSQL cluster for reading adoption transactions
secret¶
secret:
ISecret
Defined in: microservices/petlist-adoptions.ts:44
Secrets Manager secret for database credentials