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)


2553
2554
2555
2556
2557
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2553

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

#policy_nameString

The policy name.

Returns:

  • (String)


2553
2554
2555
2556
2557
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2553

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