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)


4914
4915
4916
4917
4918
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4914

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

#policy_nameString

The policy name.

Returns:

  • (String)


4914
4915
4916
4917
4918
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4914

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