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

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

Overview

Information about a principal.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principal_arnString

The ARN of the principal (user, role, or group). This field allows for an ARN with no accountID, with or without wildcard characters if the PrincipalType is an IAM_PATTERN.

For more information, review associate-principal-with-portfolio in the Amazon Web Services CLI Command Reference.

Returns:

  • (String)


4315
4316
4317
4318
4319
4320
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 4315

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

#principal_typeString

The principal type. The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.

Returns:

  • (String)


4315
4316
4317
4318
4319
4320
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 4315

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