Interface CfnQueuePropsMixin.JobRunAsUserProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQueuePropsMixin.JobRunAsUserProperty.Jsii$Proxy
- Enclosing class:
CfnQueuePropsMixin
@Stability(Stable)
public static interface CfnQueuePropsMixin.JobRunAsUserProperty
extends software.amazon.jsii.JsiiSerializable
Identifies the user for a job.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.deadline.*;
JobRunAsUserProperty jobRunAsUserProperty = JobRunAsUserProperty.builder()
.posix(PosixUserProperty.builder()
.group("group")
.user("user")
.build())
.runAs("runAs")
.windows(WindowsUserProperty.builder()
.passwordArn("passwordArn")
.user("user")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnQueuePropsMixin.JobRunAsUserPropertystatic final classAn implementation forCfnQueuePropsMixin.JobRunAsUserProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetPosix()The user and group that the jobs in the queue run as.default StringgetRunAs()Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.default ObjectIdentifies a Microsoft Windows user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPosix
The user and group that the jobs in the queue run as.Returns union: either
IResolvableorCfnQueuePropsMixin.PosixUserProperty- See Also:
-
getRunAs
Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.- See Also:
-
getWindows
Identifies a Microsoft Windows user.Returns union: either
IResolvableorCfnQueuePropsMixin.WindowsUserProperty- See Also:
-
builder
-