Skip to content

DockerServer

Source code in docs_src/capo_codebuild/types/docker_server.py
class DockerServer(TypedDict, closed=True):
    compute_type: "capo_codebuild.types.compute_type.ComputeType"
    """<p>Information about the compute resources the docker server uses. Available values include:</p> <ul> <li> <p> <code>BUILD_GENERAL1_SMALL</code>: Use up to 4 GiB memory and 2 vCPUs for your docker server.</p> </li> <li> <p> <code>BUILD_GENERAL1_MEDIUM</code>: Use up to 8 GiB memory and 4 vCPUs for your docker server.</p> </li> <li> <p> <code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GiB memory and 8 vCPUs for your docker server.</p> </li> <li> <p> <code>BUILD_GENERAL1_XLARGE</code>: Use up to 64 GiB memory and 32 vCPUs for your docker server.</p> </li> <li> <p> <code>BUILD_GENERAL1_2XLARGE</code>: Use up to 128 GiB memory and 64 vCPUs for your docker server.</p> </li> </ul>"""
    security_group_ids: NotRequired[
        "capo_codebuild.types.security_group_ids.SecurityGroupIds"
    ]
    """<p>A list of one or more security groups IDs.</p> <note> <p>Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876.</p> </note>"""
    status: NotRequired["capo_codebuild.types.docker_server_status.DockerServerStatus"]
    """<p>A DockerServerStatus object to use for this docker server.</p> <note> <p>Note that <code>status</code> is only an output and cannot be passed in as an input.</p> </note>"""

compute_type instance-attribute

compute_type: ComputeType

Information about the compute resources the docker server uses. Available values include:

  • BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for your docker server.

  • BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for your docker server.

  • BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for your docker server.

  • BUILD_GENERAL1_XLARGE: Use up to 64 GiB memory and 32 vCPUs for your docker server.

  • BUILD_GENERAL1_2XLARGE: Use up to 128 GiB memory and 64 vCPUs for your docker server.

security_group_ids instance-attribute

security_group_ids: NotRequired[SecurityGroupIds]

A list of one or more security groups IDs.

Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876.

status instance-attribute

status: NotRequired[DockerServerStatus]

A DockerServerStatus object to use for this docker server.

Note that status is only an output and cannot be passed in as an input.