class Amazonite::EventBridge::CreateEndpointRequest

Included Modules

Defined in:

eventbridge/create_endpoint_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, routing_config : RoutingConfig, event_buses : Array(EndpointEventBus), description : String | Nil = nil, replication_config : ReplicationConfig | Nil = nil, role_arn : String | Nil = nil) #

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

[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 description : String | Nil #

A description of the global endpoint.


[View source]
def description=(description : String | Nil) #

A description of the global endpoint.


[View source]
def event_buses : Array(EndpointEventBus) #

Define the event buses used.

The names of the event buses must be identical in each Region.


[View source]
def event_buses=(event_buses : Array(EndpointEventBus)) #

Define the event buses used.

The names of the event buses must be identical in each Region.


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

See Object#hash(hasher)


def name : String #

The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".


[View source]
def name=(name : String) #

The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".


[View source]
def replication_config : ReplicationConfig | Nil #

Enable or disable event replication. The default state is ENABLED which means you must supply a RoleArn. If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED.


[View source]
def replication_config=(replication_config : ReplicationConfig | Nil) #

Enable or disable event replication. The default state is ENABLED which means you must supply a RoleArn. If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED.


[View source]
def role_arn : String | Nil #

The ARN of the role used for replication.


[View source]
def role_arn=(role_arn : String | Nil) #

The ARN of the role used for replication.


[View source]
def routing_config : RoutingConfig #

Configure the routing policy, including the health check and secondary Region..


[View source]
def routing_config=(routing_config : RoutingConfig) #

Configure the routing policy, including the health check and secondary Region..


[View source]
def validate! : Nil #

[View source]