Class: Aws::LexModelsV2::Types::Principal
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::Principal
- Defined in:
- gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
Overview
Note:
When making an API call, you may pass Principal data as a hash:
{
service: "ServicePrincipal",
arn: "PrincipalArn",
}
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 .
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the principal.
-
#service ⇒ String
The name of the AWS 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.
9190 9191 9192 9193 9194 9195 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9190 class Principal < Struct.new( :service, :arn) SENSITIVE = [] include Aws::Structure end |
#service ⇒ String
The name of the AWS service that should allowed or denied access to an Amazon Lex action.
9190 9191 9192 9193 9194 9195 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9190 class Principal < Struct.new( :service, :arn) SENSITIVE = [] include Aws::Structure end |