class Amazonite::CloudWatchLogs::DeliverySourceConfigurationSchema

Overview

A structure that describes a single configuration for a log type, including its name, value type, default value, and the range of supported values.

Included Modules

Defined in:

cloudwatch_logs/delivery_source_configuration_schema.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key_name : String, value_type : DeliverySourceConfigurationSchemaValueType, default_value : String, supported_values : Array(String) | Nil = nil, min_value : Float64 | Nil = nil, max_value : Float64 | Nil = nil) #

[View source]
def self.new(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 default_value : String #

The default value of the configuration that is used when a value is not specified in a PutDeliverySource request.


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

The default value of the configuration that is used when a value is not specified in a PutDeliverySource request.


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

See Object#hash(hasher)


def key_name : String #

The name of the configuration.


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

The name of the configuration.


[View source]
def max_value : Float64 | Nil #

The maximum numeric value allowed for the configuration. This applies only when the valueType is a numeric type.


[View source]
def max_value=(max_value : Float64 | Nil) #

The maximum numeric value allowed for the configuration. This applies only when the valueType is a numeric type.


[View source]
def min_value : Float64 | Nil #

The minimum numeric value allowed for the configuration. This applies only when the valueType is a numeric type.


[View source]
def min_value=(min_value : Float64 | Nil) #

The minimum numeric value allowed for the configuration. This applies only when the valueType is a numeric type.


[View source]
def supported_values : Array(String) | Nil #

The list of allowed values for the configuration. Empty for free-form configuration.


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

The list of allowed values for the configuration. Empty for free-form configuration.


[View source]
def validate! : Nil #

[View source]

The data type of the configuration value. Valid values are string, boolean, int, double, and long.


[View source]
def value_type=(value_type : DeliverySourceConfigurationSchemaValueType) #

The data type of the configuration value. Valid values are string, boolean, int, double, and long.


[View source]