Class: Aws::IoT::Types::AttachPrincipalPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AttachPrincipalPolicyRequest
- 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
-
#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.
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 |
#principal ⇒ String
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
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 |