@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-08T16:00:26.910Z") @Stability(value=Stable) public interface CfnPortfolioPrincipalAssociationProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicecatalog.*;
CfnPortfolioPrincipalAssociationProps cfnPortfolioPrincipalAssociationProps = CfnPortfolioPrincipalAssociationProps.builder()
.portfolioId("portfolioId")
.principalArn("principalArn")
.principalType("principalType")
// the properties below are optional
.acceptLanguage("acceptLanguage")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPortfolioPrincipalAssociationProps.Builder
A builder for
CfnPortfolioPrincipalAssociationProps |
static class |
CfnPortfolioPrincipalAssociationProps.Jsii$Proxy
An implementation for
CfnPortfolioPrincipalAssociationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPortfolioPrincipalAssociationProps.Builder |
builder() |
default String |
getAcceptLanguage()
The language code.
|
String |
getPortfolioId()
The portfolio identifier.
|
String |
getPrincipalArn()
The ARN of the principal (IAM user, role, or group).
|
String |
getPrincipalType()
The principal type.
|
@Stability(value=Stable) @NotNull String getPortfolioId()
@Stability(value=Stable) @NotNull String getPrincipalArn()
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.
@Stability(value=Stable) @NotNull String getPrincipalType()
The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use an ARN with no accountID .
@Stability(value=Stable) @Nullable default String getAcceptLanguage()
en - English (default)jp - Japanesezh - Chinese@Stability(value=Stable) static CfnPortfolioPrincipalAssociationProps.Builder builder()
Copyright © 2023. All rights reserved.