@Generated(value="jsii-pacmak/0.21.1 (build 9ff44cb)", date="2020-01-07T23:11:00.939Z") @Stability(value=Experimental) public class SagemakerTrainTask extends software.amazon.jsii.JsiiObject implements IGrantable, IConnectable, IStepFunctionsTask
EXPERIMENTAL
| Modifier and Type | Class and Description |
|---|---|
static class |
SagemakerTrainTask.Builder
A fluent builder for
SagemakerTrainTask. |
software.amazon.jsii.JsiiObject.InitializationModeIGrantable.Jsii$ProxyIConnectable.Jsii$ProxyIStepFunctionsTask.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
SagemakerTrainTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SagemakerTrainTask(software.amazon.jsii.JsiiObjectRef objRef) |
|
SagemakerTrainTask(SagemakerTrainTaskProps props)
EXPERIMENTAL
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSecurityGroup(ISecurityGroup securityGroup)
Add the security group to all instances via the launch configuration security groups array.
|
StepFunctionsTaskConfig |
bind(Task task)
Called when the task object is used in a workflow.
|
Connections |
getConnections()
Allows specify security group connections for instances of this fleet.
|
IPrincipal |
getGrantPrincipal()
The principal to grant permissions to.
|
IRole |
getRole()
The execution role for the Sagemaker training job.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected SagemakerTrainTask(software.amazon.jsii.JsiiObjectRef objRef)
protected SagemakerTrainTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public SagemakerTrainTask(SagemakerTrainTaskProps props)
props - This parameter is required.@Stability(value=Experimental) public void addSecurityGroup(ISecurityGroup securityGroup)
EXPERIMENTAL
securityGroup - : The security group to add. This parameter is required.@Stability(value=Experimental) public StepFunctionsTaskConfig bind(Task task)
EXPERIMENTAL
bind in interface IStepFunctionsTasktask - This parameter is required.@Stability(value=Experimental) public Connections getConnections()
EXPERIMENTAL
getConnections in interface IConnectable@Stability(value=Experimental) public IPrincipal getGrantPrincipal()
EXPERIMENTAL
getGrantPrincipal in interface IGrantable@Stability(value=Experimental) public IRole getRole()
Only available after task has been added to a state machine.
EXPERIMENTAL
Copyright © 2020. All rights reserved.