public static final class CfnEventSourceMappingProps.Builder extends Object
CfnEventSourceMappingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEventSourceMappingProps |
build()
Builds the configured instance.
|
CfnEventSourceMappingProps.Builder |
withBatchSize(Number value)
Sets the value of BatchSize
|
CfnEventSourceMappingProps.Builder |
withBatchSize(software.amazon.awscdk.Token value)
Sets the value of BatchSize
|
CfnEventSourceMappingProps.Builder |
withEnabled(Boolean value)
Sets the value of Enabled
|
CfnEventSourceMappingProps.Builder |
withEnabled(software.amazon.awscdk.Token value)
Sets the value of Enabled
|
CfnEventSourceMappingProps.Builder |
withEventSourceArn(String value)
Sets the value of EventSourceArn
|
CfnEventSourceMappingProps.Builder |
withFunctionName(String value)
Sets the value of FunctionName
|
CfnEventSourceMappingProps.Builder |
withStartingPosition(String value)
Sets the value of StartingPosition
|
public CfnEventSourceMappingProps.Builder withEventSourceArn(String value)
value - `AWS::Lambda::EventSourceMapping.EventSourceArn`.thispublic CfnEventSourceMappingProps.Builder withFunctionName(String value)
value - `AWS::Lambda::EventSourceMapping.FunctionName`.thispublic CfnEventSourceMappingProps.Builder withBatchSize(@Nullable Number value)
value - `AWS::Lambda::EventSourceMapping.BatchSize`.thispublic CfnEventSourceMappingProps.Builder withBatchSize(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::EventSourceMapping.BatchSize`.thispublic CfnEventSourceMappingProps.Builder withEnabled(@Nullable Boolean value)
value - `AWS::Lambda::EventSourceMapping.Enabled`.thispublic CfnEventSourceMappingProps.Builder withEnabled(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::EventSourceMapping.Enabled`.thispublic CfnEventSourceMappingProps.Builder withStartingPosition(@Nullable String value)
value - `AWS::Lambda::EventSourceMapping.StartingPosition`.thispublic CfnEventSourceMappingProps build()
CfnEventSourceMappingPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.