@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.777Z") @Stability(value=Stable) public interface CfnTaskProps extends software.amazon.jsii.JsiiSerializable
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.datasync.*;
CfnTaskProps cfnTaskProps = CfnTaskProps.builder()
.destinationLocationArn("destinationLocationArn")
.sourceLocationArn("sourceLocationArn")
// the properties below are optional
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.excludes(List.of(FilterRuleProperty.builder()
.filterType("filterType")
.value("value")
.build()))
.includes(List.of(FilterRuleProperty.builder()
.filterType("filterType")
.value("value")
.build()))
.name("name")
.options(OptionsProperty.builder()
.atime("atime")
.bytesPerSecond(123)
.gid("gid")
.logLevel("logLevel")
.mtime("mtime")
.overwriteMode("overwriteMode")
.posixPermissions("posixPermissions")
.preserveDeletedFiles("preserveDeletedFiles")
.preserveDevices("preserveDevices")
.securityDescriptorCopyFlags("securityDescriptorCopyFlags")
.taskQueueing("taskQueueing")
.transferMode("transferMode")
.uid("uid")
.verifyMode("verifyMode")
.build())
.schedule(TaskScheduleProperty.builder()
.scheduleExpression("scheduleExpression")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTaskProps.Builder
A builder for
CfnTaskProps |
static class |
CfnTaskProps.Jsii$Proxy
An implementation for
CfnTaskProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnTaskProps.Builder |
builder() |
default String |
getCloudWatchLogGroupArn()
`AWS::DataSync::Task.CloudWatchLogGroupArn`.
|
String |
getDestinationLocationArn()
`AWS::DataSync::Task.DestinationLocationArn`.
|
default Object |
getExcludes()
`AWS::DataSync::Task.Excludes`.
|
default Object |
getIncludes()
`AWS::DataSync::Task.Includes`.
|
default String |
getName()
`AWS::DataSync::Task.Name`.
|
default Object |
getOptions()
`AWS::DataSync::Task.Options`.
|
default Object |
getSchedule()
`AWS::DataSync::Task.Schedule`.
|
String |
getSourceLocationArn()
`AWS::DataSync::Task.SourceLocationArn`.
|
default List<CfnTag> |
getTags()
`AWS::DataSync::Task.Tags`.
|
@Stability(value=Stable) @Nullable default String getCloudWatchLogGroupArn()
@Stability(value=Stable) @NotNull String getDestinationLocationArn()
@Stability(value=Stable) @Nullable default Object getExcludes()
@Stability(value=Stable) @Nullable default Object getIncludes()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getOptions()
@Stability(value=Stable) @Nullable default Object getSchedule()
@Stability(value=Stable) @NotNull String getSourceLocationArn()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnTaskProps.Builder builder()
CfnTaskProps.Builder of CfnTaskPropsCopyright © 2021. All rights reserved.