Class: AwsSnsSubscription

Inherits:
Object
  • Object
show all
Includes:
AwsSingularResourceMixin
Defined in:
lib/resources/aws/aws_sns_subscription.rb

Defined Under Namespace

Classes: Backend

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AwsSingularResourceMixin

#exists?, included

Methods included from AwsResourceMixin

#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner

Instance Attribute Details

#arnObject (readonly)

Returns the value of attribute arn.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def arn
  @arn
end

#aws_responseObject (readonly)

Returns the value of attribute aws_response.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def aws_response
  @aws_response
end

#confirmation_was_authenticatedObject (readonly) Also known as: confirmation_authenticated?

Returns the value of attribute confirmation_was_authenticated.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def confirmation_was_authenticated
  @confirmation_was_authenticated
end

#endpointObject (readonly)

Returns the value of attribute endpoint.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def endpoint
  @endpoint
end

#ownerObject (readonly)

Returns the value of attribute owner.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def owner
  @owner
end

#protocolObject (readonly)

Returns the value of attribute protocol.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def protocol
  @protocol
end

#raw_message_deliveryObject (readonly) Also known as: raw_message_delivery?

Returns the value of attribute raw_message_delivery.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def raw_message_delivery
  @raw_message_delivery
end

#topic_arnObject (readonly)

Returns the value of attribute topic_arn.



18
19
20
# File 'lib/resources/aws/aws_sns_subscription.rb', line 18

def topic_arn
  @topic_arn
end

Instance Method Details

#has_raw_message_delivery?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/resources/aws/aws_sns_subscription.rb', line 24

def has_raw_message_delivery?
  raw_message_delivery
end

#to_sObject



28
29
30
# File 'lib/resources/aws/aws_sns_subscription.rb', line 28

def to_s
  "SNS Subscription #{@arn}"
end