class Amazonite::EventBridge::CreateConnectionAuthRequestParameters

Overview

The authorization parameters for the connection.

You must include only authorization parameters for the AuthorizationType you specify.

Included Modules

Defined in:

eventbridge/create_connection_auth_request_parameters.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(basic_auth_parameters : CreateConnectionBasicAuthRequestParameters | Nil = nil, o_auth_parameters : CreateConnectionOAuthRequestParameters | Nil = nil, api_key_auth_parameters : CreateConnectionApiKeyAuthRequestParameters | Nil = nil, invocation_http_parameters : ConnectionHttpParameters | Nil = nil, connectivity_parameters : ConnectivityResourceParameters | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def api_key_auth_parameters : CreateConnectionApiKeyAuthRequestParameters | Nil #

The API key authorization parameters to use for the connection.


[View source]
def api_key_auth_parameters=(api_key_auth_parameters : CreateConnectionApiKeyAuthRequestParameters | Nil) #

The API key authorization parameters to use for the connection.


[View source]
def basic_auth_parameters : CreateConnectionBasicAuthRequestParameters | Nil #

The Basic authorization parameters to use for the connection.


[View source]
def basic_auth_parameters=(basic_auth_parameters : CreateConnectionBasicAuthRequestParameters | Nil) #

The Basic authorization parameters to use for the connection.


[View source]
def connectivity_parameters : ConnectivityResourceParameters | Nil #

If you specify a private OAuth endpoint, the parameters for EventBridge to use when authenticating against the endpoint.

For more information, see Authorization methods for connections in the * Amazon EventBridge User Guide *.


[View source]
def connectivity_parameters=(connectivity_parameters : ConnectivityResourceParameters | Nil) #

If you specify a private OAuth endpoint, the parameters for EventBridge to use when authenticating against the endpoint.

For more information, see Authorization methods for connections in the * Amazon EventBridge User Guide *.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def invocation_http_parameters : ConnectionHttpParameters | Nil #

The API key authorization parameters to use for the connection. Note that if you include additional parameters for the target of a rule via HttpParameters, including query strings, the parameters added for the connection take precedence.


[View source]
def invocation_http_parameters=(invocation_http_parameters : ConnectionHttpParameters | Nil) #

The API key authorization parameters to use for the connection. Note that if you include additional parameters for the target of a rule via HttpParameters, including query strings, the parameters added for the connection take precedence.


[View source]
def o_auth_parameters : CreateConnectionOAuthRequestParameters | Nil #

The OAuth authorization parameters to use for the connection.


[View source]
def o_auth_parameters=(o_auth_parameters : CreateConnectionOAuthRequestParameters | Nil) #

The OAuth authorization parameters to use for the connection.


[View source]
def validate! : Nil #

[View source]