Class: Aws::PcaConnectorAd::Types::ApplicationPolicy

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-pcaconnectorad/types.rb

Overview

Note:

ApplicationPolicy is a union - when making an API calls you must set exactly one of the members.

Note:

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

Application policies describe what the certificate can be used for.

Direct Known Subclasses

PolicyObjectIdentifier, PolicyType, Unknown

Defined Under Namespace

Classes: PolicyObjectIdentifier, PolicyType, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_object_identifierString

The object identifier (OID) of an application policy.

Returns:

  • (String)


188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/aws-sdk-pcaconnectorad/types.rb', line 188

class ApplicationPolicy < Struct.new(
  :policy_object_identifier,
  :policy_type,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyObjectIdentifier < ApplicationPolicy; end
  class PolicyType < ApplicationPolicy; end
  class Unknown < ApplicationPolicy; end
end

#policy_typeString

The type of application policy

Returns:

  • (String)


188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/aws-sdk-pcaconnectorad/types.rb', line 188

class ApplicationPolicy < Struct.new(
  :policy_object_identifier,
  :policy_type,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyObjectIdentifier < ApplicationPolicy; end
  class PolicyType < ApplicationPolicy; end
  class Unknown < ApplicationPolicy; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



188
189
190
# File 'lib/aws-sdk-pcaconnectorad/types.rb', line 188

def unknown
  @unknown
end