interface DockerServerOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeBuild.DockerServerOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#DockerServerOptions |
Java | software.amazon.awscdk.services.codebuild.DockerServerOptions |
Python | aws_cdk.aws_codebuild.DockerServerOptions |
TypeScript (source) | aws-cdk-lib » aws_codebuild » DockerServerOptions |
The Docker server configuration CodeBuild use to build your Docker image.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
declare const securityGroup: ec2.SecurityGroup;
const dockerServerOptions: codebuild.DockerServerOptions = {
computeType: codebuild.DockerServerComputeType.SMALL,
// the properties below are optional
securityGroups: [securityGroup],
};
Properties
| Name | Type | Description |
|---|---|---|
| compute | Docker | The type of compute to use for the docker server. |
| security | ISecurity[] | A list of maximum 5 security groups. |
computeType
Type:
Docker
The type of compute to use for the docker server.
See the DockerServerComputeType enum for the possible values.
securityGroups?
Type:
ISecurity[]
(optional, default: no security group)
A list of maximum 5 security groups.

.NET
Go
Java
Python
TypeScript (