@Generated(value="jsii-pacmak/1.11.0 (build 1e9b8e1)", date="2020-08-28T10:19:42.054Z") @Stability(value=Experimental) public class SageMakerCreateTrainingJob extends TaskStateBase implements IGrantable, IConnectable
EXPERIMENTAL
| Modifier and Type | Class and Description |
|---|---|
static class |
SageMakerCreateTrainingJob.Builder
A fluent builder for
SageMakerCreateTrainingJob. |
software.amazon.jsii.JsiiObject.InitializationModeIGrantable.Jsii$ProxyIConnectable.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
SageMakerCreateTrainingJob(Construct scope,
String id,
SageMakerCreateTrainingJobProps props)
EXPERIMENTAL
|
protected |
SageMakerCreateTrainingJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SageMakerCreateTrainingJob(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSecurityGroup(ISecurityGroup securityGroup)
Add the security group to all instances via the launch configuration security groups array.
|
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.
|
protected TaskMetricsConfig |
getTaskMetrics()
EXPERIMENTAL
|
protected List<PolicyStatement> |
getTaskPolicies()
EXPERIMENTAL
|
addCatch, addCatch, addRetry, addRetry, getEndStates, metric, metric, metricFailed, metricFailed, metricHeartbeatTimedOut, metricHeartbeatTimedOut, metricRunTime, metricRunTime, metricScheduled, metricScheduled, metricScheduleTime, metricScheduleTime, metricStarted, metricStarted, metricSucceeded, metricSucceeded, metricTime, metricTime, metricTimedOut, metricTimedOut, next, toStateJson, whenBoundToGraphaddBranch, addChoice, addIterator, addPrefix, bindToGraph, filterNextables, findReachableEndStates, findReachableEndStates, findReachableStates, findReachableStates, getBranches, getComment, getDefaultChoice, getId, getInputPath, getIteration, getOutputPath, getParameters, getResultPath, getStartState, getStateId, makeDefault, makeNext, prefixStates, renderBranches, renderChoices, renderInputOutput, renderIterator, renderNextEnd, renderRetryCatch, setDefaultChoice, setIterationgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected SageMakerCreateTrainingJob(software.amazon.jsii.JsiiObjectRef objRef)
protected SageMakerCreateTrainingJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public SageMakerCreateTrainingJob(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
SageMakerCreateTrainingJobProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
public void addSecurityGroup(@NotNull
ISecurityGroup securityGroup)
EXPERIMENTAL
securityGroup - : The security group to add. This parameter is required.@Stability(value=Experimental) @NotNull public Connections getConnections()
EXPERIMENTAL
getConnections in interface IConnectable@Stability(value=Experimental) @NotNull public IPrincipal getGrantPrincipal()
EXPERIMENTAL
getGrantPrincipal in interface IGrantable@Stability(value=Experimental) @NotNull public IRole getRole()
Only available after task has been added to a state machine.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable protected TaskMetricsConfig getTaskMetrics()
getTaskMetrics in class TaskStateBase@Stability(value=Experimental) @Nullable protected List<PolicyStatement> getTaskPolicies()
getTaskPolicies in class TaskStateBaseCopyright © 2020. All rights reserved.