Class: Aws::NetworkFirewall::Types::ResourceContext

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

Overview

A resource that a context store records, which ListResourcesInContextStore returns.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachment_type ⇒ String

The type of the transit gateway attachment. Present for attachments.

Returns:

  • (String)


7049
7050
7051
7052
7053
7054
7055
7056
7057
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 7049

class ResourceContext < Struct.new(
  :context_type,
  :region,
  :availability_zone,
  :attachment_type,
  :public_id)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone ⇒ String

The Availability Zone of the resource. Present for subnets.

Returns:

  • (String)


7049
7050
7051
7052
7053
7054
7055
7056
7057
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 7049

class ResourceContext < Struct.new(
  :context_type,
  :region,
  :availability_zone,
  :attachment_type,
  :public_id)
  SENSITIVE = []
  include Aws::Structure
end

#context_type ⇒ String

The kind of context that the context store records for the resource. Valid values:

  • ResourceId - A VPC.

  • SegmentId - A security group.

  • Subnet - A subnet.

  • Attachment - A transit gateway attachment.

Returns:

  • (String)


7049
7050
7051
7052
7053
7054
7055
7056
7057
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 7049

class ResourceContext < Struct.new(
  :context_type,
  :region,
  :availability_zone,
  :attachment_type,
  :public_id)
  SENSITIVE = []
  include Aws::Structure
end

#public_id ⇒ String

The identifier of the resource, for example vpc-1234567890abcdef0, subnet-1234567890abcdef0, sg-1234567890abcdef0, or tgw-attach-1234567890abcdef0.

Returns:

  • (String)


7049
7050
7051
7052
7053
7054
7055
7056
7057
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 7049

class ResourceContext < Struct.new(
  :context_type,
  :region,
  :availability_zone,
  :attachment_type,
  :public_id)
  SENSITIVE = []
  include Aws::Structure
end

#region ⇒ String

The Amazon Web Services Region of the resource.

Returns:

  • (String)


7049
7050
7051
7052
7053
7054
7055
7056
7057
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 7049

class ResourceContext < Struct.new(
  :context_type,
  :region,
  :availability_zone,
  :attachment_type,
  :public_id)
  SENSITIVE = []
  include Aws::Structure
end