enum Amazonite::EventBridge::LaunchType

Defined in:

eventbridge/launch_type.cr

Enum Members

Ec2 = 0
Fargate = 1
External = 2

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_json(pull : JSON::PullParser) : AEB::LaunchType #

[View source]
def self.from_json_object_key?(key : String) : AEB::LaunchType | Nil #

[View source]
def self.to_json(e : LaunchType, json : JSON::Builder) : Nil #

[View source]

Instance Method Detail

def ec2? #

Returns true if this enum value equals Ec2


[View source]
def external? #

Returns true if this enum value equals External


[View source]
def fargate? #

Returns true if this enum value equals Fargate


[View source]
def to_json_object_key : String #

[View source]