Skip to content

InitContainerProperty

Initializer

import com.aliyun.ros.cdk.eci.RosContainerGroup.InitContainerProperty;
InitContainerProperty.builder()
//  .arg(IResolvable)
//  .arg(java.util.List<java.lang.String)
//  .arg(IResolvable>)
//  .command(IResolvable)
//  .command(java.util.List<java.lang.String)
//  .command(IResolvable>)
//  .cpu(java.lang.Number)
//  .cpu(IResolvable)
//  .environmentVar(IResolvable)
//  .environmentVar(java.util.List<IResolvable)
//  .environmentVar(InitContainerEnvironmentVarProperty>)
//  .image(java.lang.String)
//  .image(IResolvable)
//  .imagePullPolicy(java.lang.String)
//  .imagePullPolicy(IResolvable)
//  .memory(java.lang.Number)
//  .memory(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .port(IResolvable)
//  .port(java.util.List<IResolvable)
//  .port(InitContainerPortProperty>)
//  .securityContext(IResolvable)
//  .securityContext(InitContainerSecurityContextProperty)
//  .volumeMount(IResolvable)
//  .volumeMount(java.util.List<IResolvable)
//  .volumeMount(InitContainerVolumeMountProperty>)
//  .workingDir(java.lang.String)
//  .workingDir(IResolvable)
    .build();

Properties

Name Type Description
arg com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
command com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
cpu java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
environmentVar com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainerEnvironmentVarProperty> No description.
image java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
imagePullPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
memory java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
port com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainerPortProperty> No description.
securityContext com.aliyun.ros.cdk.core.IResolvable OR InitContainerSecurityContextProperty No description.
volumeMount com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainerVolumeMountProperty> No description.
workingDir java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

argOptional

public java.lang.Object getArg();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

commandOptional

public java.lang.Object getCommand();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

cpuOptional

public java.lang.Object getCpu();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

environmentVarOptional

public java.lang.Object getEnvironmentVar();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainerEnvironmentVarProperty>

imageOptional

public java.lang.Object getImage();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

imagePullPolicyOptional

public java.lang.Object getImagePullPolicy();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

memoryOptional

public java.lang.Object getMemory();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

portOptional

public java.lang.Object getPort();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainerPortProperty>

securityContextOptional

public java.lang.Object getSecurityContext();

volumeMountOptional

public java.lang.Object getVolumeMount();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainerVolumeMountProperty>

workingDirOptional

public java.lang.Object getWorkingDir();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable