@Stability(value=Stable) public static final class CfnComponentVersion.LambdaEventSourceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnComponentVersion.LambdaEventSourceProperty>
CfnComponentVersion.LambdaEventSourceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnComponentVersion.LambdaEventSourceProperty |
build()
Builds the configured instance.
|
CfnComponentVersion.LambdaEventSourceProperty.Builder |
topic(String topic)
Sets the value of
CfnComponentVersion.LambdaEventSourceProperty.getTopic() |
CfnComponentVersion.LambdaEventSourceProperty.Builder |
type(String type)
Sets the value of
CfnComponentVersion.LambdaEventSourceProperty.getType() |
@Stability(value=Stable) public CfnComponentVersion.LambdaEventSourceProperty.Builder topic(String topic)
CfnComponentVersion.LambdaEventSourceProperty.getTopic()topic - The topic to which to subscribe to receive event messages.this@Stability(value=Stable) public CfnComponentVersion.LambdaEventSourceProperty.Builder type(String type)
CfnComponentVersion.LambdaEventSourceProperty.getType()type - The type of event source. Choose from the following options:.
PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards ( + and # ) in the event source topic.IOT_CORE – Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards ( + and # ) in the event source topic.this@Stability(value=Stable) public CfnComponentVersion.LambdaEventSourceProperty build()
build in interface software.amazon.jsii.Builder<CfnComponentVersion.LambdaEventSourceProperty>CfnComponentVersion.LambdaEventSourcePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.