class Object
Constants
- DISPLAY_NAME
- ENDPOINT
- OWNER
- REGION
- SUBSCRIBED
- TOPIC_ARN
- TOPIC_SUBS_ARN
Public Instance Methods
describe_parameters_response(context)
click to toggle source
# File lib/awspec/stub/ssm_parameter.rb, line 3 def describe_parameters_response(context) next_token = 'eyJOZXh0VG9rZW4iOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ==' if context.params[:next_token] == next_token { parameters: [ { name: 'my-parameter', type: 'SecureString', key_id: 'alias/aws/ssm', description: 'Some description', version: 1 } ], next_token: nil } else { parameters: [], next_token: next_token } end end
failure_reason(nodegroup)
click to toggle source
# File lib/awspec/matcher/belong_to_subnets.rb, line 14 def failure_reason(nodegroup) ", but the nodes are allocated to the subnets #{nodegroup.subnets.to_a}" end
is_ipaddr?(str)
click to toggle source
# File lib/awspec/matcher/have_route.rb, line 31 def is_ipaddr?(str) IPAddr.new(str) rescue StandardError false end