Class: Aws::IoT::Types::AttachPrincipalPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AttachPrincipalPolicyRequest
- Defined in:
- gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
Overview
The input for the AttachPrincipalPolicy operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy_name ⇒ String
The policy name.
-
#principal ⇒ String
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
Instance Attribute Details
#policy_name ⇒ String
The policy name.
583 584 585 586 587 588 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 583 class AttachPrincipalPolicyRequest < Struct.new( :policy_name, :principal) SENSITIVE = [] include Aws::Structure end |
#principal ⇒ String
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
583 584 585 586 587 588 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 583 class AttachPrincipalPolicyRequest < Struct.new( :policy_name, :principal) SENSITIVE = [] include Aws::Structure end |