Interface CfnLaunchRoleConstraintProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchRoleConstraintProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:06.112Z")
@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();
- See Also:
-
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.- See Also:
-
getProductId
The product identifier.- See Also:
-
getAcceptLanguage
The language code.jp
- Japanesezh
- Chinese
- See Also:
-
getDescription
The description of the constraint.- See Also:
-
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.
- See Also:
-
getRoleArn
The ARN of the launch role.You are required to specify
RoleArn
orLocalRoleName
but can't use both.- See Also:
-
builder
-