Skip to content

InitContainerSecurityContextProperty

Initializer

import com.aliyun.ros.cdk.eci.RosContainerGroup.InitContainerSecurityContextProperty;
InitContainerSecurityContextProperty.builder()
//  .capabilityAdd(IResolvable)
//  .capabilityAdd(java.util.List<java.lang.String)
//  .capabilityAdd(IResolvable>)
//  .readOnlyRootFilesystem(java.lang.Boolean)
//  .readOnlyRootFilesystem(IResolvable)
//  .runAsUser(java.lang.Number)
//  .runAsUser(IResolvable)
    .build();

Properties

Name Type Description
capabilityAdd com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
readOnlyRootFilesystem java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
runAsUser java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.

capabilityAddOptional

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

readOnlyRootFilesystemOptional

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

runAsUserOptional

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