@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.487Z") @Stability(value=Stable) public class CfnEventSourceMapping extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnEventSourceMapping.Builder
A fluent builder for
CfnEventSourceMapping. |
static interface |
CfnEventSourceMapping.DestinationConfigProperty |
static interface |
CfnEventSourceMapping.EndpointsProperty |
static interface |
CfnEventSourceMapping.OnFailureProperty |
static interface |
CfnEventSourceMapping.SelfManagedEventSourceProperty |
static interface |
CfnEventSourceMapping.SourceAccessConfigurationProperty |
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 |
|---|---|
|
CfnEventSourceMapping(software.constructs.Construct scope,
String id,
CfnEventSourceMappingProps props)
Create a new `AWS::Lambda::EventSourceMapping`.
|
protected |
CfnEventSourceMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEventSourceMapping(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrId() |
Number |
getBatchSize()
`AWS::Lambda::EventSourceMapping.BatchSize`.
|
Object |
getBisectBatchOnFunctionError()
`AWS::Lambda::EventSourceMapping.BisectBatchOnFunctionError`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDestinationConfig()
`AWS::Lambda::EventSourceMapping.DestinationConfig`.
|
Object |
getEnabled()
`AWS::Lambda::EventSourceMapping.Enabled`.
|
String |
getEventSourceArn()
`AWS::Lambda::EventSourceMapping.EventSourceArn`.
|
String |
getFunctionName()
`AWS::Lambda::EventSourceMapping.FunctionName`.
|
List<String> |
getFunctionResponseTypes()
`AWS::Lambda::EventSourceMapping.FunctionResponseTypes`.
|
Number |
getMaximumBatchingWindowInSeconds()
`AWS::Lambda::EventSourceMapping.MaximumBatchingWindowInSeconds`.
|
Number |
getMaximumRecordAgeInSeconds()
`AWS::Lambda::EventSourceMapping.MaximumRecordAgeInSeconds`.
|
Number |
getMaximumRetryAttempts()
`AWS::Lambda::EventSourceMapping.MaximumRetryAttempts`.
|
Number |
getParallelizationFactor()
`AWS::Lambda::EventSourceMapping.ParallelizationFactor`.
|
List<String> |
getQueues()
`AWS::Lambda::EventSourceMapping.Queues`.
|
Object |
getSelfManagedEventSource()
`AWS::Lambda::EventSourceMapping.SelfManagedEventSource`.
|
Object |
getSourceAccessConfigurations()
`AWS::Lambda::EventSourceMapping.SourceAccessConfigurations`.
|
String |
getStartingPosition()
`AWS::Lambda::EventSourceMapping.StartingPosition`.
|
List<String> |
getTopics()
`AWS::Lambda::EventSourceMapping.Topics`.
|
Number |
getTumblingWindowInSeconds()
`AWS::Lambda::EventSourceMapping.TumblingWindowInSeconds`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBatchSize(Number value)
`AWS::Lambda::EventSourceMapping.BatchSize`.
|
void |
setBisectBatchOnFunctionError(Boolean value)
`AWS::Lambda::EventSourceMapping.BisectBatchOnFunctionError`.
|
void |
setBisectBatchOnFunctionError(IResolvable value)
`AWS::Lambda::EventSourceMapping.BisectBatchOnFunctionError`.
|
void |
setDestinationConfig(CfnEventSourceMapping.DestinationConfigProperty value)
`AWS::Lambda::EventSourceMapping.DestinationConfig`.
|
void |
setDestinationConfig(IResolvable value)
`AWS::Lambda::EventSourceMapping.DestinationConfig`.
|
void |
setEnabled(Boolean value)
`AWS::Lambda::EventSourceMapping.Enabled`.
|
void |
setEnabled(IResolvable value)
`AWS::Lambda::EventSourceMapping.Enabled`.
|
void |
setEventSourceArn(String value)
`AWS::Lambda::EventSourceMapping.EventSourceArn`.
|
void |
setFunctionName(String value)
`AWS::Lambda::EventSourceMapping.FunctionName`.
|
void |
setFunctionResponseTypes(List<String> value)
`AWS::Lambda::EventSourceMapping.FunctionResponseTypes`.
|
void |
setMaximumBatchingWindowInSeconds(Number value)
`AWS::Lambda::EventSourceMapping.MaximumBatchingWindowInSeconds`.
|
void |
setMaximumRecordAgeInSeconds(Number value)
`AWS::Lambda::EventSourceMapping.MaximumRecordAgeInSeconds`.
|
void |
setMaximumRetryAttempts(Number value)
`AWS::Lambda::EventSourceMapping.MaximumRetryAttempts`.
|
void |
setParallelizationFactor(Number value)
`AWS::Lambda::EventSourceMapping.ParallelizationFactor`.
|
void |
setQueues(List<String> value)
`AWS::Lambda::EventSourceMapping.Queues`.
|
void |
setSelfManagedEventSource(CfnEventSourceMapping.SelfManagedEventSourceProperty value)
`AWS::Lambda::EventSourceMapping.SelfManagedEventSource`.
|
void |
setSelfManagedEventSource(IResolvable value)
`AWS::Lambda::EventSourceMapping.SelfManagedEventSource`.
|
void |
setSourceAccessConfigurations(IResolvable value)
`AWS::Lambda::EventSourceMapping.SourceAccessConfigurations`.
|
void |
setSourceAccessConfigurations(List<Object> value)
`AWS::Lambda::EventSourceMapping.SourceAccessConfigurations`.
|
void |
setStartingPosition(String value)
`AWS::Lambda::EventSourceMapping.StartingPosition`.
|
void |
setTopics(List<String> value)
`AWS::Lambda::EventSourceMapping.Topics`.
|
void |
setTumblingWindowInSeconds(Number value)
`AWS::Lambda::EventSourceMapping.TumblingWindowInSeconds`.
|
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 CfnEventSourceMapping(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEventSourceMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEventSourceMapping(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnEventSourceMappingProps 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) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getFunctionName()
@Stability(value=Stable)
public void setFunctionName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Number getBatchSize()
@Stability(value=Stable)
public void setBatchSize(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getBisectBatchOnFunctionError()
@Stability(value=Stable)
public void setBisectBatchOnFunctionError(@Nullable
Boolean value)
@Stability(value=Stable)
public void setBisectBatchOnFunctionError(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getDestinationConfig()
@Stability(value=Stable)
public void setDestinationConfig(@Nullable
CfnEventSourceMapping.DestinationConfigProperty value)
@Stability(value=Stable)
public void setDestinationConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getEnabled()
@Stability(value=Stable)
public void setEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getEventSourceArn()
@Stability(value=Stable)
public void setEventSourceArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getFunctionResponseTypes()
@Stability(value=Stable)
public void setFunctionResponseTypes(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Number getMaximumBatchingWindowInSeconds()
@Stability(value=Stable)
public void setMaximumBatchingWindowInSeconds(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Number getMaximumRecordAgeInSeconds()
@Stability(value=Stable)
public void setMaximumRecordAgeInSeconds(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Number getMaximumRetryAttempts()
@Stability(value=Stable)
public void setMaximumRetryAttempts(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Number getParallelizationFactor()
@Stability(value=Stable)
public void setParallelizationFactor(@Nullable
Number value)
@Stability(value=Stable) @Nullable public List<String> getQueues()
@Stability(value=Stable)
public void setQueues(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Object getSelfManagedEventSource()
@Stability(value=Stable)
public void setSelfManagedEventSource(@Nullable
CfnEventSourceMapping.SelfManagedEventSourceProperty value)
@Stability(value=Stable)
public void setSelfManagedEventSource(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getSourceAccessConfigurations()
@Stability(value=Stable)
public void setSourceAccessConfigurations(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setSourceAccessConfigurations(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getStartingPosition()
@Stability(value=Stable)
public void setStartingPosition(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getTopics()
@Stability(value=Stable)
public void setTopics(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Number getTumblingWindowInSeconds()
@Stability(value=Stable)
public void setTumblingWindowInSeconds(@Nullable
Number value)
Copyright © 2021. All rights reserved.