Class: Aws::ServiceCatalog::Types::AssociatePrincipalWithPortfolioInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 138

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

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 138

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

#principal_arnString

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

You can associate multiple IAM patterns even if the account has no principal with that name. This is useful in Principal Name Sharing if you want to share a principal without creating it in the account that owns the portfolio.

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 138

class AssociatePrincipalWithPortfolioInput < Struct.new(
  :accept_language,
  :portfolio_id,
  :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.

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 138

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