@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.658Z") @Stability(value=Stable) public class CfnJob extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
Object defaultArguments;
Object tags;
CfnJob cfnJob = CfnJob.Builder.create(this, "MyCfnJob")
.command(JobCommandProperty.builder()
.name("name")
.pythonVersion("pythonVersion")
.scriptLocation("scriptLocation")
.build())
.role("role")
// the properties below are optional
.allocatedCapacity(123)
.connections(ConnectionsListProperty.builder()
.connections(List.of("connections"))
.build())
.defaultArguments(defaultArguments)
.description("description")
.executionProperty(ExecutionPropertyProperty.builder()
.maxConcurrentRuns(123)
.build())
.glueVersion("glueVersion")
.logUri("logUri")
.maxCapacity(123)
.maxRetries(123)
.name("name")
.notificationProperty(NotificationPropertyProperty.builder()
.notifyDelayAfter(123)
.build())
.numberOfWorkers(123)
.securityConfiguration("securityConfiguration")
.tags(tags)
.timeout(123)
.workerType("workerType")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnJob.Builder
A fluent builder for
CfnJob. |
static interface |
CfnJob.ConnectionsListProperty
Example:
|
static interface |
CfnJob.ExecutionPropertyProperty
Example:
|
static interface |
CfnJob.JobCommandProperty
Example:
|
static interface |
CfnJob.NotificationPropertyProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnJob(software.constructs.Construct scope,
String id,
CfnJobProps props)
Create a new `AWS::Glue::Job`.
|
protected |
CfnJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnJob(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getAllocatedCapacity()
`AWS::Glue::Job.AllocatedCapacity`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getCommand()
`AWS::Glue::Job.Command`.
|
Object |
getConnections()
`AWS::Glue::Job.Connections`.
|
Object |
getDefaultArguments()
`AWS::Glue::Job.DefaultArguments`.
|
String |
getDescription()
`AWS::Glue::Job.Description`.
|
Object |
getExecutionProperty()
`AWS::Glue::Job.ExecutionProperty`.
|
String |
getGlueVersion()
`AWS::Glue::Job.GlueVersion`.
|
String |
getLogUri()
`AWS::Glue::Job.LogUri`.
|
Number |
getMaxCapacity()
`AWS::Glue::Job.MaxCapacity`.
|
Number |
getMaxRetries()
`AWS::Glue::Job.MaxRetries`.
|
String |
getName()
`AWS::Glue::Job.Name`.
|
Object |
getNotificationProperty()
`AWS::Glue::Job.NotificationProperty`.
|
Number |
getNumberOfWorkers()
`AWS::Glue::Job.NumberOfWorkers`.
|
String |
getRole()
`AWS::Glue::Job.Role`.
|
String |
getSecurityConfiguration()
`AWS::Glue::Job.SecurityConfiguration`.
|
TagManager |
getTags()
`AWS::Glue::Job.Tags`.
|
Number |
getTimeout()
`AWS::Glue::Job.Timeout`.
|
String |
getWorkerType()
`AWS::Glue::Job.WorkerType`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAllocatedCapacity(Number value)
`AWS::Glue::Job.AllocatedCapacity`.
|
void |
setCommand(CfnJob.JobCommandProperty value)
`AWS::Glue::Job.Command`.
|
void |
setCommand(IResolvable value)
`AWS::Glue::Job.Command`.
|
void |
setConnections(CfnJob.ConnectionsListProperty value)
`AWS::Glue::Job.Connections`.
|
void |
setConnections(IResolvable value)
`AWS::Glue::Job.Connections`.
|
void |
setDefaultArguments(Object value)
`AWS::Glue::Job.DefaultArguments`.
|
void |
setDescription(String value)
`AWS::Glue::Job.Description`.
|
void |
setExecutionProperty(CfnJob.ExecutionPropertyProperty value)
`AWS::Glue::Job.ExecutionProperty`.
|
void |
setExecutionProperty(IResolvable value)
`AWS::Glue::Job.ExecutionProperty`.
|
void |
setGlueVersion(String value)
`AWS::Glue::Job.GlueVersion`.
|
void |
setLogUri(String value)
`AWS::Glue::Job.LogUri`.
|
void |
setMaxCapacity(Number value)
`AWS::Glue::Job.MaxCapacity`.
|
void |
setMaxRetries(Number value)
`AWS::Glue::Job.MaxRetries`.
|
void |
setName(String value)
`AWS::Glue::Job.Name`.
|
void |
setNotificationProperty(CfnJob.NotificationPropertyProperty value)
`AWS::Glue::Job.NotificationProperty`.
|
void |
setNotificationProperty(IResolvable value)
`AWS::Glue::Job.NotificationProperty`.
|
void |
setNumberOfWorkers(Number value)
`AWS::Glue::Job.NumberOfWorkers`.
|
void |
setRole(String value)
`AWS::Glue::Job.Role`.
|
void |
setSecurityConfiguration(String value)
`AWS::Glue::Job.SecurityConfiguration`.
|
void |
setTimeout(Number value)
`AWS::Glue::Job.Timeout`.
|
void |
setWorkerType(String value)
`AWS::Glue::Job.WorkerType`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnJob(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnJob(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnJobProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @Nullable public Number getAllocatedCapacity()
@Stability(value=Stable)
public void setAllocatedCapacity(@Nullable
Number value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getCommand()
@Stability(value=Stable)
public void setCommand(@NotNull
CfnJob.JobCommandProperty value)
@Stability(value=Stable)
public void setCommand(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public Object getConnections()
@Stability(value=Stable)
public void setConnections(@Nullable
CfnJob.ConnectionsListProperty value)
@Stability(value=Stable)
public void setConnections(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public Object getDefaultArguments()
@Stability(value=Stable)
public void setDefaultArguments(@NotNull
Object value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getExecutionProperty()
@Stability(value=Stable)
public void setExecutionProperty(@Nullable
CfnJob.ExecutionPropertyProperty value)
@Stability(value=Stable)
public void setExecutionProperty(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getGlueVersion()
@Stability(value=Stable)
public void setGlueVersion(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getLogUri()
@Stability(value=Stable)
public void setLogUri(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getMaxCapacity()
@Stability(value=Stable)
public void setMaxCapacity(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Number getMaxRetries()
@Stability(value=Stable)
public void setMaxRetries(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getNotificationProperty()
@Stability(value=Stable)
public void setNotificationProperty(@Nullable
CfnJob.NotificationPropertyProperty value)
@Stability(value=Stable)
public void setNotificationProperty(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Number getNumberOfWorkers()
@Stability(value=Stable)
public void setNumberOfWorkers(@Nullable
Number value)
@Stability(value=Stable) @NotNull public String getRole()
@Stability(value=Stable)
public void setRole(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getSecurityConfiguration()
@Stability(value=Stable)
public void setSecurityConfiguration(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Number getTimeout()
@Stability(value=Stable)
public void setTimeout(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getWorkerType()
@Stability(value=Stable)
public void setWorkerType(@Nullable
String value)
Copyright © 2021. All rights reserved.