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)


2428
2429
2430
2431
2432
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 2428

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

#principal_typeString

The principal type. Must be IAM

Returns:

  • (String)


2428
2429
2430
2431
2432
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 2428

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