public static final class S3ToStepfunctions.Builder extends Object implements software.amazon.jsii.Builder<S3ToStepfunctions>
S3ToStepfunctions.| Modifier and Type | Method and Description |
|---|---|
S3ToStepfunctions.Builder |
bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
Optional user provided props to override the default props for the S3 Bucket.
|
S3ToStepfunctions |
build() |
static S3ToStepfunctions.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
S3ToStepfunctions.Builder |
createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Whether to create recommended CloudWatch alarms.
|
S3ToStepfunctions.Builder |
deployCloudTrail(Boolean deployCloudTrail)
Whether to deploy a Trail in AWS CloudTrail to log API events in Amazon S3.
|
S3ToStepfunctions.Builder |
eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps)
Optional user provided eventRuleProps to override the defaults.
|
S3ToStepfunctions.Builder |
existingBucketObj(software.amazon.awscdk.services.s3.IBucket existingBucketObj)
Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.
|
S3ToStepfunctions.Builder |
loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
Optional user provided props to override the default props for the S3 Logging Bucket.
|
S3ToStepfunctions.Builder |
logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
Optional user provided props to override the default props for the CloudWatchLogs LogGroup.
|
S3ToStepfunctions.Builder |
logS3AccessLogs(Boolean logS3AccessLogs)
Whether to turn on Access Logs for the S3 bucket with the associated storage costs.
|
S3ToStepfunctions.Builder |
stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps)
User provided StateMachineProps to override the defaults.
|
public static S3ToStepfunctions.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.S3ToStepfunctions.Builder.public S3ToStepfunctions.Builder stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps)
Default: - None
stateMachineProps - User provided StateMachineProps to override the defaults. This parameter is required.thispublic S3ToStepfunctions.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
Default: - Default props are used
bucketProps - Optional user provided props to override the default props for the S3 Bucket. This parameter is required.thispublic S3ToStepfunctions.Builder createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Default: - Alarms are created
createCloudWatchAlarms - Whether to create recommended CloudWatch alarms. This parameter is required.thispublic S3ToStepfunctions.Builder deployCloudTrail(Boolean deployCloudTrail)
Default: - true
deployCloudTrail - Whether to deploy a Trail in AWS CloudTrail to log API events in Amazon S3. This parameter is required.thispublic S3ToStepfunctions.Builder eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps)
Default: - None
eventRuleProps - Optional user provided eventRuleProps to override the defaults. This parameter is required.thispublic S3ToStepfunctions.Builder existingBucketObj(software.amazon.awscdk.services.s3.IBucket existingBucketObj)
The Amazon EventBridge property must be enabled in the existing bucket for the construct to work.
Default: - None
existingBucketObj - Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error. This parameter is required.thispublic S3ToStepfunctions.Builder loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
Default: - Default props are used
loggingBucketProps - Optional user provided props to override the default props for the S3 Logging Bucket. This parameter is required.thispublic S3ToStepfunctions.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
Default: - Default props are used
logGroupProps - Optional user provided props to override the default props for the CloudWatchLogs LogGroup. This parameter is required.thispublic S3ToStepfunctions.Builder logS3AccessLogs(Boolean logS3AccessLogs)
Enabling Access Logging is a best practice.
Default: - true
logS3AccessLogs - Whether to turn on Access Logs for the S3 bucket with the associated storage costs. This parameter is required.thispublic S3ToStepfunctions build()
build in interface software.amazon.jsii.Builder<S3ToStepfunctions>Copyright © 2022. All rights reserved.