Skip to main content

AwsEcsServerModuleSchema

AwsEcsServerModuleSchema is the input schema for the AwsEcsServerModule module. This schema defines the configuration for ECS-based servers including AWS account association, S3 storage access, security group rules, and server identification.

@group

Modules/Server/AwsEcsServer

@see

AwsEcsServerModule to learn more about the AwsEcsServerModule module.

Index

Properties

account

account: Account = ...

The AWS account where the server will be created. This establishes the account context for the server infrastructure.

optionals3

s3?: { directories: AwsEcsServerS3AccessDirectorySchema[]; service: Service }[] = ...

Optional S3 storage access configuration. This defines which S3 storage and directories the server can access and with what permissions.

  • s3.directories: An array of S3 storage directory access configurations. See AwsEcsServerS3AccessDirectorySchema for options.
  • s3.service: The S3 storage service the server can access.

optionalsecurityGroupRules

securityGroupRules?: AwsSecurityGroupAnchorRuleSchema[] = ...

Security group rules to apply to the server. These rules define the network traffic allowed to and from the server. See AwsSecurityGroupAnchorRuleSchema for options.

serverKey

serverKey: string = ...

A unique identifier for the server. This key is used to identify the server within the application.