Class: Chef::Resource::AwsSnsTopic
- Inherits:
-
Provisioning::AWSDriver::AWSResource
- Object
- Provisioning::AWSDriver::AWSResource
- Chef::Resource::AwsSnsTopic
- Defined in:
- lib/chef/resource/aws_sns_topic.rb
Instance Method Summary collapse
Instance Method Details
#aws_object ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/chef/resource/aws_sns_topic.rb', line 9 def aws_object result = driver.sns.topics[arn] begin # Test whether it exists or not by asking for a property result.display_name rescue AWS::SNS::Errors::NotFound result = nil end result end |