Class SnsPublishProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.SnsPublishProps.Jsii$Proxy
All Implemented Interfaces:
SnsPublishProps, TaskStateBaseProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
SnsPublishProps

@Stability(Stable) @Internal public static final class SnsPublishProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SnsPublishProps
An implementation for SnsPublishProps
  • 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

      protected Jsii$Proxy(SnsPublishProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SnsPublishProps.Builder.
  • Method Details

    • getMessage

      public final TaskInput getMessage()
      Description copied from interface: SnsPublishProps
      The 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:
      getMessage in interface SnsPublishProps
    • getTopic

      public final ITopic getTopic()
      Description copied from interface: SnsPublishProps
      The SNS topic that the task will publish to.
      Specified by:
      getTopic in interface SnsPublishProps
    • getMessageAttributes

      public final Map<String,MessageAttribute> getMessageAttributes()
      Description copied from interface: SnsPublishProps
      Add message attributes when publishing.

      These attributes carry additional metadata about the message and may be used for subscription filters.

      Default: {}

      Specified by:
      getMessageAttributes in interface SnsPublishProps
      See Also:
    • getMessageDeduplicationId

      public final String getMessageDeduplicationId()
      Description copied from interface: SnsPublishProps
      This 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:
      getMessageDeduplicationId in interface SnsPublishProps
    • getMessageGroupId

      public final String getMessageGroupId()
      Description copied from interface: SnsPublishProps
      This 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:
      getMessageGroupId in interface SnsPublishProps
    • getMessagePerSubscriptionType

      public final Boolean getMessagePerSubscriptionType()
      Description copied from interface: SnsPublishProps
      Send 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:
      getMessagePerSubscriptionType in interface SnsPublishProps
      See Also:
    • getSubject

      public final String getSubject()
      Description copied from interface: SnsPublishProps
      Used 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:
      getSubject in interface SnsPublishProps
    • getComment

      public final String getComment()
      Description copied from interface: TaskStateBaseProps
      An optional description for this state.

      Default: - No comment

      Specified by:
      getComment in interface TaskStateBaseProps
    • getCredentials

      public final Credentials getCredentials()
      Description copied from interface: TaskStateBaseProps
      Credentials 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:
      getCredentials in interface TaskStateBaseProps
      See Also:
    • getHeartbeat

      public final Duration getHeartbeat()
      Description copied from interface: TaskStateBaseProps
      (deprecated) Timeout for the heartbeat.

      Default: - None

      Specified by:
      getHeartbeat in interface TaskStateBaseProps
    • getHeartbeatTimeout

      public final Timeout getHeartbeatTimeout()
      Description copied from interface: TaskStateBaseProps
      Timeout 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:
      getHeartbeatTimeout in interface TaskStateBaseProps
    • getInputPath

      public final String getInputPath()
      Description copied from interface: TaskStateBaseProps
      JSONPath 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: - The entire task input (JSON path '$')

      Specified by:
      getInputPath in interface TaskStateBaseProps
    • getIntegrationPattern

      public final IntegrationPattern getIntegrationPattern()
      Description copied from interface: TaskStateBaseProps
      AWS 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:
      getIntegrationPattern in interface TaskStateBaseProps
      See Also:
    • getOutputPath

      public final String getOutputPath()
      Description copied from interface: TaskStateBaseProps
      JSONPath expression to select select a portion of the state output to pass to the next state.

      May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.

      Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')

      Specified by:
      getOutputPath in interface TaskStateBaseProps
    • getResultPath

      public final String getResultPath()
      Description copied from interface: TaskStateBaseProps
      JSONPath 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: - Replaces the entire input with the result (JSON path '$')

      Specified by:
      getResultPath in interface TaskStateBaseProps
    • getResultSelector

      public final Map<String,Object> getResultSelector()
      Description copied from interface: TaskStateBaseProps
      The 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:
      getResultSelector in interface TaskStateBaseProps
      See Also:
    • getStateName

      public final String getStateName()
      Description copied from interface: TaskStateBaseProps
      Optional name for this state.

      Default: - The construct ID will be used as state name

      Specified by:
      getStateName in interface TaskStateBaseProps
    • getTaskTimeout

      public final Timeout getTaskTimeout()
      Description copied from interface: TaskStateBaseProps
      Timeout 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:
      getTaskTimeout in interface TaskStateBaseProps
    • getTimeout

      public final Duration getTimeout()
      Description copied from interface: TaskStateBaseProps
      (deprecated) Timeout for the task.

      Default: - None

      Specified by:
      getTimeout in interface TaskStateBaseProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object