You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ServiceCatalog::Types::Principal

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb

Overview

A principal's ARN and type.

Instance Attribute Summary collapse

Instance Attribute Details

#principal_arnString

The ARN representing the principal (IAM user, role, or group).

Returns:

  • (String)


2466
2467
2468
2469
2470
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 2466

class Principal < Struct.new(
  :principal_arn,
  :principal_type)
  include Aws::Structure
end

#principal_typeString

The principal type. Must be IAM

Returns:

  • (String)


2466
2467
2468
2469
2470
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 2466

class Principal < Struct.new(
  :principal_arn,
  :principal_type)
  include Aws::Structure
end