Class: Aws::ACM::Types::GeneralName

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

Overview

Note:

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

Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the following naming options should be provided.

Defined Under Namespace

Classes: DirectoryName, DnsName, IpAddress, OtherName, RegisteredId, Rfc822Name, UniformResourceIdentifier, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#directory_nameTypes::DistinguishedName

Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

class GeneralName < Struct.new(
  :directory_name,
  :dns_name,
  :ip_address,
  :other_name,
  :registered_id,
  :rfc_822_name,
  :uniform_resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DirectoryName < GeneralName; end
  class DnsName < GeneralName; end
  class IpAddress < GeneralName; end
  class OtherName < GeneralName; end
  class RegisteredId < GeneralName; end
  class Rfc822Name < GeneralName; end
  class UniformResourceIdentifier < GeneralName; end
  class Unknown < GeneralName; end
end

#dns_nameString

Represents GeneralName as a DNS name.

Returns:

  • (String)


1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

class GeneralName < Struct.new(
  :directory_name,
  :dns_name,
  :ip_address,
  :other_name,
  :registered_id,
  :rfc_822_name,
  :uniform_resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DirectoryName < GeneralName; end
  class DnsName < GeneralName; end
  class IpAddress < GeneralName; end
  class OtherName < GeneralName; end
  class RegisteredId < GeneralName; end
  class Rfc822Name < GeneralName; end
  class UniformResourceIdentifier < GeneralName; end
  class Unknown < GeneralName; end
end

#ip_addressString

Represents GeneralName as an IPv4 or IPv6 address.

Returns:

  • (String)


1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

class GeneralName < Struct.new(
  :directory_name,
  :dns_name,
  :ip_address,
  :other_name,
  :registered_id,
  :rfc_822_name,
  :uniform_resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DirectoryName < GeneralName; end
  class DnsName < GeneralName; end
  class IpAddress < GeneralName; end
  class OtherName < GeneralName; end
  class RegisteredId < GeneralName; end
  class Rfc822Name < GeneralName; end
  class UniformResourceIdentifier < GeneralName; end
  class Unknown < GeneralName; end
end

#other_nameTypes::OtherName

Represents GeneralName using an OtherName object.

Returns:



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

class GeneralName < Struct.new(
  :directory_name,
  :dns_name,
  :ip_address,
  :other_name,
  :registered_id,
  :rfc_822_name,
  :uniform_resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DirectoryName < GeneralName; end
  class DnsName < GeneralName; end
  class IpAddress < GeneralName; end
  class OtherName < GeneralName; end
  class RegisteredId < GeneralName; end
  class Rfc822Name < GeneralName; end
  class UniformResourceIdentifier < GeneralName; end
  class Unknown < GeneralName; end
end

#registered_idString

Represents GeneralName as an object identifier (OID).

Returns:

  • (String)


1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

class GeneralName < Struct.new(
  :directory_name,
  :dns_name,
  :ip_address,
  :other_name,
  :registered_id,
  :rfc_822_name,
  :uniform_resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DirectoryName < GeneralName; end
  class DnsName < GeneralName; end
  class IpAddress < GeneralName; end
  class OtherName < GeneralName; end
  class RegisteredId < GeneralName; end
  class Rfc822Name < GeneralName; end
  class UniformResourceIdentifier < GeneralName; end
  class Unknown < GeneralName; end
end

#rfc_822_nameString

Represents GeneralName as an RFC 822 email address.

Returns:

  • (String)


1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

class GeneralName < Struct.new(
  :directory_name,
  :dns_name,
  :ip_address,
  :other_name,
  :registered_id,
  :rfc_822_name,
  :uniform_resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DirectoryName < GeneralName; end
  class DnsName < GeneralName; end
  class IpAddress < GeneralName; end
  class OtherName < GeneralName; end
  class RegisteredId < GeneralName; end
  class Rfc822Name < GeneralName; end
  class UniformResourceIdentifier < GeneralName; end
  class Unknown < GeneralName; end
end

#uniform_resource_identifierString

Represents GeneralName as a URI.

Returns:

  • (String)


1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

class GeneralName < Struct.new(
  :directory_name,
  :dns_name,
  :ip_address,
  :other_name,
  :registered_id,
  :rfc_822_name,
  :uniform_resource_identifier,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DirectoryName < GeneralName; end
  class DnsName < GeneralName; end
  class IpAddress < GeneralName; end
  class OtherName < GeneralName; end
  class RegisteredId < GeneralName; end
  class Rfc822Name < GeneralName; end
  class UniformResourceIdentifier < GeneralName; end
  class Unknown < GeneralName; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1332
1333
1334
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 1332

def unknown
  @unknown
end