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.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def arn
  @arn
end

#aws_responseObject (readonly)

Returns the value of attribute aws_response.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def aws_response
  @aws_response
end

#confirmation_was_authenticatedObject (readonly) Also known as: confirmation_authenticated?

Returns the value of attribute confirmation_was_authenticated.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def confirmation_was_authenticated
  @confirmation_was_authenticated
end

#endpointObject (readonly)

Returns the value of attribute endpoint.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def endpoint
  @endpoint
end

#ownerObject (readonly)

Returns the value of attribute owner.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def owner
  @owner
end

#protocolObject (readonly)

Returns the value of attribute protocol.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def protocol
  @protocol
end

#raw_message_deliveryObject (readonly) Also known as: raw_message_delivery?

Returns the value of attribute raw_message_delivery.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def raw_message_delivery
  @raw_message_delivery
end

#topic_arnObject (readonly)

Returns the value of attribute topic_arn.



22
23
24
# File 'lib/resources/aws/aws_sns_subscription.rb', line 22

def topic_arn
  @topic_arn
end

Instance Method Details

#has_raw_message_delivery?Boolean

Returns:

  • (Boolean)


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

def has_raw_message_delivery?
  raw_message_delivery
end

#to_sObject



32
33
34
# File 'lib/resources/aws/aws_sns_subscription.rb', line 32

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