All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.springwolf.asyncapi.v3.bindings.sqs.SQSChannelBindingStatement Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
// 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