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

Class: Aws::IoT::Types::Policy

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

Overview

Describes an AWS IoT policy.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The policy ARN.

Returns:

  • (String)


7207
7208
7209
7210
7211
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7207

class Policy < Struct.new(
  :policy_name,
  :policy_arn)
  include Aws::Structure
end

#policy_nameString

The policy name.

Returns:

  • (String)


7207
7208
7209
7210
7211
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7207

class Policy < Struct.new(
  :policy_name,
  :policy_arn)
  include Aws::Structure
end