Interface DockerServerOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerServerOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:51:53.952Z")
@Stability(Stable)
public interface DockerServerOptions
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codebuild.*;
import software.amazon.awscdk.services.ec2.*;
SecurityGroup securityGroup;
DockerServerOptions dockerServerOptions = DockerServerOptions.builder()
.computeType(DockerServerComputeType.SMALL)
// the properties below are optional
.securityGroups(List.of(securityGroup))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDockerServerOptionsstatic final classAn implementation forDockerServerOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic DockerServerOptions.Builderbuilder()The type of compute to use for the docker server.default List<ISecurityGroup> A list of maximum 5 security groups.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComputeType
The type of compute to use for the docker server.See the
DockerServerComputeTypeenum for the possible values. -
getSecurityGroups
A list of maximum 5 security groups.Default: - no security group
-
builder
- Returns:
- a
DockerServerOptions.BuilderofDockerServerOptions
-