You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::PolicyVersion

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

Overview

Describes a policy version.

Instance Attribute Summary collapse

Instance Attribute Details

#create_dateTime

The date and time the policy was created.

Returns:

  • (Time)


2573
2574
2575
2576
2577
2578
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2573

class PolicyVersion < Struct.new(
  :version_id,
  :is_default_version,
  :create_date)
  include Aws::Structure
end

#is_default_versionBoolean

Specifies whether the policy version is the default.

Returns:

  • (Boolean)


2573
2574
2575
2576
2577
2578
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2573

class PolicyVersion < Struct.new(
  :version_id,
  :is_default_version,
  :create_date)
  include Aws::Structure
end

#version_idString

The policy version ID.

Returns:

  • (String)


2573
2574
2575
2576
2577
2578
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2573

class PolicyVersion < Struct.new(
  :version_id,
  :is_default_version,
  :create_date)
  include Aws::Structure
end