Class: Aws::IoT::Types::AttachPrincipalPolicyRequest

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

Overview

The input for the AttachPrincipalPolicy operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The policy name.

Returns:

  • (String)


642
643
644
645
646
647
# File 'lib/aws-sdk-iot/types.rb', line 642

class AttachPrincipalPolicyRequest < Struct.new(
  :policy_name,
  :principal)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

Returns:

  • (String)


642
643
644
645
646
647
# File 'lib/aws-sdk-iot/types.rb', line 642

class AttachPrincipalPolicyRequest < Struct.new(
  :policy_name,
  :principal)
  SENSITIVE = []
  include Aws::Structure
end