io.github.springwolf.asyncapi.v3.bindings.sqs.SQSChannelBindingStatement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springwolf-asyncapi Show documentation
Show all versions of springwolf-asyncapi Show documentation
Springwolf implementation of the AsyncApi specification
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.bindings.sqs;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SQSChannelBindingStatement {
/**
* Required. Either "Allow" or "Deny"
*/
@NotNull
@JsonProperty("effect")
private SQSChannelBindingStatementEffect effect;
/**
* Required. The AWS account or resource ARN that this statement applies to
*/
@NotNull
@JsonProperty("principal")
private String principal;
/**
* Required. The SQS permission being allowed or denied e.g. sqs:ReceiveMessage
*/
@NotNull
@JsonProperty("action")
private String action;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy