Skip to content

IConfigurableRunnerImageBuilder Interface ​

Interface for constructs that build an image that can be used in IRunnerProvider.

The image can be configured by adding or removing components. The image builder can be configured by adding grants or allowing connections.

An image can be a Docker image or AMI.

Implements: IRunnerImageBuilder, IConnectable, IGrantable

Implemented by: RunnerImageBuilder, IConfigurableRunnerImageBuilder

Methods ​

addComponent()add_component()addComponent()AddComponent()AddComponent() ​

Add a component to the image builder.

The component will be added to the end of the list of components.

ts
public addComponent(component: RunnerImageComponent): void
python
def add_component(
  component: RunnerImageComponent
) -> None
java
public void addComponent(RunnerImageComponent component)
csharp
private void AddComponent(RunnerImageComponent Component)
go
func AddComponent(component RunnerImageComponent)

removeComponent()remove_component()removeComponent()RemoveComponent()RemoveComponent() ​

Remove a component from the image builder.

Removal is done by component name. Multiple components with the same name will all be removed.

ts
public removeComponent(component: RunnerImageComponent): void
python
def remove_component(
  component: RunnerImageComponent
) -> None
java
public void removeComponent(RunnerImageComponent component)
csharp
private void RemoveComponent(RunnerImageComponent Component)
go
func RemoveComponent(component RunnerImageComponent)

Properties ​

connectionsconnectionsconnectionsConnectionsConnections ​

connections: Connections

connections: Connections

connections: Connections

Connections: Connections

Connections: Connections

The network connections associated with this resource.

grantPrincipalgrant_principalgrantPrincipalGrantPrincipalGrantPrincipal ​

grantPrincipal: IPrincipal

grant_principal: IPrincipal

grantPrincipal: IPrincipal

GrantPrincipal: IPrincipal

GrantPrincipal: IPrincipal

The principal to grant permissions to.

Released under the Apache-2.0 License.