Interface CfnLaunchRoleConstraintProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchRoleConstraintProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.736Z")
@Stability(Stable)
public interface CfnLaunchRoleConstraintProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLaunchRoleConstraint
.
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.*; CfnLaunchRoleConstraintProps cfnLaunchRoleConstraintProps = CfnLaunchRoleConstraintProps.builder() .portfolioId("portfolioId") .productId("productId") // the properties below are optional .acceptLanguage("acceptLanguage") .description("description") .localRoleName("localRoleName") .roleArn("roleArn") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLaunchRoleConstraintProps
static final class
An implementation forCfnLaunchRoleConstraintProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The language code.default String
The description of the constraint.default String
You are required to specify either theRoleArn
or theLocalRoleName
but can't use both.The portfolio identifier.The product identifier.default String
The ARN of the launch role.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPortfolioId
The portfolio identifier. -
getProductId
The product identifier. -
getAcceptLanguage
The language code.jp
- Japanesezh
- Chinese
-
getDescription
The description of the constraint. -
getLocalRoleName
You are required to specify either theRoleArn
or theLocalRoleName
but can't use both.If you specify the
LocalRoleName
property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.
-
getRoleArn
The ARN of the launch role.You are required to specify
RoleArn
orLocalRoleName
but can't use both. -
builder
-