Class SnsPublishProps.Jsii$Proxy
- All Implemented Interfaces:
AssignableStateOptions,JsonataCommonOptions,JsonPathCommonOptions,StateBaseProps,SnsPublishProps,TaskStateBaseOptions,TaskStateBaseProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
SnsPublishProps
SnsPublishProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.tasks.SnsPublishProps
SnsPublishProps.Builder, SnsPublishProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(SnsPublishProps.Builder builder) Constructor that initializes the object based on literal property values passed by theSnsPublishProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanWorkflow variables to store in this step.final StringA comment describing this state.final CredentialsCredentials for an IAM Role that the State Machine assumes for executing the task.final Duration(deprecated) Timeout for the heartbeat.final TimeoutTimeout for the heartbeat.final StringJSONPath expression to select part of the state to be the input to this state.final IntegrationPatternAWS Step Functions integrates with services directly in the Amazon States Language.final TaskInputThe message you want to send.final Map<String, MessageAttribute> Add message attributes when publishing.final StringThis parameter applies only to FIFO topics.final StringThis parameter applies only to FIFO topics.final BooleanSend different messages for each transport protocol.final StringJSONPath expression to select part of the state to be the output to this state.final ObjectUsed to specify and transform output from the state.final QueryLanguageThe name of the query language used by the state.final StringJSONPath expression to indicate where to inject the state's output.The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.final StringOptional name for this state.final StringUsed as the "Subject" line when the message is delivered to email endpoints.final TimeoutTimeout for the task.final Duration(deprecated) Timeout for the task.final ITopicgetTopic()The SNS topic that the task will publish to.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSnsPublishProps.Builder.
-
-
Method Details
-
getMessage
Description copied from interface:SnsPublishPropsThe message you want to send.With the exception of SMS, messages must be UTF-8 encoded strings and at most 256 KB in size. For SMS, each message can contain up to 140 characters.
- Specified by:
getMessagein interfaceSnsPublishProps
-
getTopic
Description copied from interface:SnsPublishPropsThe SNS topic that the task will publish to.- Specified by:
getTopicin interfaceSnsPublishProps
-
getMessageAttributes
Description copied from interface:SnsPublishPropsAdd message attributes when publishing.These attributes carry additional metadata about the message and may be used for subscription filters.
Default: {}
- Specified by:
getMessageAttributesin interfaceSnsPublishProps- See Also:
-
getMessageDeduplicationId
Description copied from interface:SnsPublishPropsThis parameter applies only to FIFO topics.Every message must have a unique MessageDeduplicationId, which is a token used for deduplication of sent messages. If a message with a particular MessageDeduplicationId is sent successfully, any message sent with the same MessageDeduplicationId during the 5-minute deduplication interval is treated as a duplicate.
If the topic has ContentBasedDeduplication set, the system generates a MessageDeduplicationId based on the contents of the message. Your MessageDeduplicationId overrides the generated one.
Default: - Not used for standard topics, required for FIFO topics with ContentBasedDeduplication disabled.
- Specified by:
getMessageDeduplicationIdin interfaceSnsPublishProps
-
getMessageGroupId
Description copied from interface:SnsPublishPropsThis parameter applies only to FIFO topics.The MessageGroupId is a tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). Every message must include a MessageGroupId.
Default: - Not used for standard topics, required for FIFO topics.
- Specified by:
getMessageGroupIdin interfaceSnsPublishProps
-
getMessagePerSubscriptionType
Description copied from interface:SnsPublishPropsSend different messages for each transport protocol.For example, you might want to send a shorter message to SMS subscribers and a more verbose message to email and SQS subscribers.
Your message must be a JSON object with a top-level JSON key of "default" with a value that is a string You can define other top-level keys that define the message you want to send to a specific transport protocol (i.e. "sqs", "email", "http", etc)
Default: false
- Specified by:
getMessagePerSubscriptionTypein interfaceSnsPublishProps- See Also:
-
getSubject
Description copied from interface:SnsPublishPropsUsed as the "Subject" line when the message is delivered to email endpoints.This field will also be included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
- Specified by:
getSubjectin interfaceSnsPublishProps
-
getResultPath
Description copied from interface:TaskStateBasePropsJSONPath expression to indicate where to inject the state's output.May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: $
- Specified by:
getResultPathin interfaceTaskStateBaseProps
-
getResultSelector
Description copied from interface:TaskStateBasePropsThe JSON that will replace the state's raw result and become the effective result before ResultPath is applied.You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
- Specified by:
getResultSelectorin interfaceTaskStateBaseProps- See Also:
-
getComment
Description copied from interface:StateBasePropsA comment describing this state.Default: No comment
- Specified by:
getCommentin interfaceStateBaseProps
-
getQueryLanguage
Description copied from interface:StateBasePropsThe name of the query language used by the state.If the state does not contain a
queryLanguagefield, then it will use the query language specified in the top-levelqueryLanguagefield.Default: - JSONPath
- Specified by:
getQueryLanguagein interfaceStateBaseProps
-
getStateName
Description copied from interface:StateBasePropsOptional name for this state.Default: - The construct ID will be used as state name
- Specified by:
getStateNamein interfaceStateBaseProps
-
getCredentials
Description copied from interface:TaskStateBaseOptionsCredentials for an IAM Role that the State Machine assumes for executing the task.This enables cross-account resource invocations.
Default: - None (Task is executed using the State Machine's execution role)
- Specified by:
getCredentialsin interfaceTaskStateBaseOptions- See Also:
-
getHeartbeat
Description copied from interface:TaskStateBaseOptions(deprecated) Timeout for the heartbeat.Default: - None
- Specified by:
getHeartbeatin interfaceTaskStateBaseOptions
-
getHeartbeatTimeout
Description copied from interface:TaskStateBaseOptionsTimeout for the heartbeat.[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
Default: - None
- Specified by:
getHeartbeatTimeoutin interfaceTaskStateBaseOptions
-
getIntegrationPattern
Description copied from interface:TaskStateBaseOptionsAWS Step Functions integrates with services directly in the Amazon States Language.You can control these AWS services using service integration patterns.
Depending on the AWS Service, the Service Integration Pattern availability will vary.
Default: - `IntegrationPattern.REQUEST_RESPONSE` for most tasks. `IntegrationPattern.RUN_JOB` for the following exceptions: `BatchSubmitJob`, `EmrAddStep`, `EmrCreateCluster`, `EmrTerminationCluster`, and `EmrContainersStartJobRun`.
- Specified by:
getIntegrationPatternin interfaceTaskStateBaseOptions- See Also:
-
getTaskTimeout
Description copied from interface:TaskStateBaseOptionsTimeout for the task.[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
Default: - None
- Specified by:
getTaskTimeoutin interfaceTaskStateBaseOptions
-
getTimeout
Description copied from interface:TaskStateBaseOptions(deprecated) Timeout for the task.Default: - None
- Specified by:
getTimeoutin interfaceTaskStateBaseOptions
-
getAssign
Description copied from interface:AssignableStateOptionsWorkflow variables to store in this step.Using workflow variables, you can store data in a step and retrieve that data in future steps.
Default: - Not assign variables
- Specified by:
getAssignin interfaceAssignableStateOptions- See Also:
-
getInputPath
Description copied from interface:JsonPathCommonOptionsJSONPath expression to select part of the state to be the input to this state.May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: $
- Specified by:
getInputPathin interfaceJsonPathCommonOptions
-
getOutputPath
Description copied from interface:JsonPathCommonOptionsJSONPath expression to select part of the state to be the output to this state.May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: $
- Specified by:
getOutputPathin interfaceJsonPathCommonOptions
-
getOutputs
Description copied from interface:JsonataCommonOptionsUsed to specify and transform output from the state.When specified, the value overrides the state output default. The output field accepts any JSON value (object, array, string, number, boolean, null). Any string value, including those inside objects or arrays, will be evaluated as JSONata if surrounded by {% %} characters. Output also accepts a JSONata expression directly.
Default: - $states.result or $states.errorOutput
- Specified by:
getOutputsin interfaceJsonataCommonOptions- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-