Class: Aws::ACM::Types::UsageTarget

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

Overview

Note:

UsageTarget is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of UsageTarget corresponding to the set member.

Where a certificate is used. Exactly one member is set.

Defined Under Namespace

Classes: Arn, ResourceIdentifier, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The ARN of the resource the certificate is attached to, such as a load balancer.

Returns:

  • (String)


6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 6463

class UsageTarget < Struct.new(
  :arn,
  :resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < UsageTarget; end
  class ResourceIdentifier < UsageTarget; end
  class Unknown < UsageTarget; end
end

#resource_identifier ⇒ Types::ResourceIdentifier

The type and identifier of a target that has no ARN.



6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 6463

class UsageTarget < Struct.new(
  :arn,
  :resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < UsageTarget; end
  class ResourceIdentifier < UsageTarget; end
  class Unknown < UsageTarget; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



6463
6464
6465
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 6463

def unknown
  @unknown
end