Class: Cartography::RoutingPolicy::Protocol

Inherits:
Object
  • Object
show all
Defined in:
lib/cartography/routing_policy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Protocol

Returns a new instance of Protocol.



30
31
32
33
34
# File 'lib/cartography/routing_policy.rb', line 30

def initialize(params = {})
  @name = params["Name"]
  @endpoint = params["Endpoint"]
  @cloudfront_enabled = params["CloudFrontEnabled"]
end

Instance Attribute Details

#cloudfront_enabledObject (readonly)

Returns the value of attribute cloudfront_enabled.



28
29
30
# File 'lib/cartography/routing_policy.rb', line 28

def cloudfront_enabled
  @cloudfront_enabled
end

#endpointObject (readonly)

Returns the value of attribute endpoint.



28
29
30
# File 'lib/cartography/routing_policy.rb', line 28

def endpoint
  @endpoint
end

#nameObject (readonly)

Returns the value of attribute name.



28
29
30
# File 'lib/cartography/routing_policy.rb', line 28

def name
  @name
end