Class: Aws::SecurityHub::Types::AwsSnsTopicSubscription

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

Overview

Note:

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

{
  endpoint: "NonEmptyString",
  protocol: "NonEmptyString",
}

A wrapper type for the attributes of an Amazon SNS subscription.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpointString

The subscription's endpoint (format depends on the protocol).

Returns:

  • (String)


4740
4741
4742
4743
4744
4745
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4740

class AwsSnsTopicSubscription < Struct.new(
  :endpoint,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The subscription's protocol.

Returns:

  • (String)


4740
4741
4742
4743
4744
4745
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4740

class AwsSnsTopicSubscription < Struct.new(
  :endpoint,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end