Class: Aws::LexModelsV2::Types::Principal
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::LexModelsV2::Types::Principal
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-lexmodelsv2/types.rb
 
Overview
The IAM principal that you allowing or denying access to an Amazon Lex action. You must provide a ‘service` or an `arn`, but not both in the same statement. For more information, see [ AWS JSON policy elements: Principal ][1].
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Amazon Resource Name (ARN) of the principal.
 - 
  
    
      #service  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the Amazon Web Services service that should allowed or denied access to an Amazon Lex action.
 
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the principal.
      11497 11498 11499 11500 11501 11502  | 
    
      # File 'lib/aws-sdk-lexmodelsv2/types.rb', line 11497 class Principal < Struct.new( :service, :arn) SENSITIVE = [] include Aws::Structure end  | 
  
#service ⇒ String
The name of the Amazon Web Services service that should allowed or denied access to an Amazon Lex action.
      11497 11498 11499 11500 11501 11502  | 
    
      # File 'lib/aws-sdk-lexmodelsv2/types.rb', line 11497 class Principal < Struct.new( :service, :arn) SENSITIVE = [] include Aws::Structure end  |