You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glacier::Types::VaultNotificationConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb

Overview

Note:

When making an API call, you may pass VaultNotificationConfig data as a hash:

{
  sns_topic: "string",
  events: ["string"],
}

Represents a vault's notification configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#eventsArray<String>

A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic.

Returns:

  • (Array<String>)


2210
2211
2212
2213
2214
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2210

class VaultNotificationConfig < Struct.new(
  :sns_topic,
  :events)
  include Aws::Structure
end

#sns_topicString

The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).

Returns:

  • (String)


2210
2211
2212
2213
2214
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2210

class VaultNotificationConfig < Struct.new(
  :sns_topic,
  :events)
  include Aws::Structure
end