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

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

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

Overview

Note:

When making an API call, you may pass AssociatePrincipalWithPortfolioInput data as a hash:

{
  accept_language: "AcceptLanguage",
  portfolio_id: "Id", # required
  principal_arn: "PrincipalARN", # required
  principal_type: "IAM", # required, accepts IAM
}

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code to use for this operation. Supported language codes are as follows:

"en" (English)

"jp" (Japanese)

"zh" (Chinese)

If no code is specified, "en" is used as the default.

Returns:

  • (String)


119
120
121
122
123
124
125
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 119

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

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)


119
120
121
122
123
124
125
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 119

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

#principal_arnString

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

Returns:

  • (String)


119
120
121
122
123
124
125
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 119

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

#principal_typeString

The principal type. Must be IAM

Returns:

  • (String)


119
120
121
122
123
124
125
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 119

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