class Amazonite::Iam::ParameterDefinition

Overview

Defines a parameter that a role template accepts. You supply values for these parameters when you create a role with AcquireRole.

Defined in:

iam/parameter_definition.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(name : String, type : ParameterTypeType, sub_type : String | Nil = nil, description : String | Nil = nil, is_required : Bool | Nil = nil, default_value : String | Nil = nil, immutable : Bool | Nil = nil) #

[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 | Nil #

The value that the service uses for the parameter when you do not supply one.


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

The value that the service uses for the parameter when you do not supply one.


[View source]
def description : String | Nil #

A description of the parameter.


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

A description of the parameter.


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

See Object#hash(hasher)


def immutable : Bool | Nil #

Specifies whether you can change the parameter value after you create the role.


[View source]
def immutable=(immutable : Bool | Nil) #

Specifies whether you can change the parameter value after you create the role.


[View source]
def is_required : Bool | Nil #

Specifies whether you must supply a value for the parameter when you create a role from the template.


[View source]
def is_required=(is_required : Bool | Nil) #

Specifies whether you must supply a value for the parameter when you create a role from the template.


[View source]
def name : String #

The name of the parameter.


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

The name of the parameter.


[View source]
def sub_type : String | Nil #

An optional subtype that further constrains the values that are allowed for the parameter.


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

An optional subtype that further constrains the values that are allowed for the parameter.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def type : ParameterTypeType #

The data type of the parameter. Valid values are String, StringList, Number, NumberList, Arn, and ArnList.


[View source]
def type=(type : ParameterTypeType) #

The data type of the parameter. Valid values are String, StringList, Number, NumberList, Arn, and ArnList.


[View source]
def validate! : Nil #

[View source]