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();
 
  • Method Details

    • getPortfolioId

      @Stability(Stable) @NotNull String getPortfolioId()
      The portfolio identifier.
    • getProductId

      @Stability(Stable) @NotNull String getProductId()
      The product identifier.
    • getAcceptLanguage

      @Stability(Stable) @Nullable default String getAcceptLanguage()
      The language code.

      • jp - Japanese
      • zh - Chinese
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the constraint.
    • getLocalRoleName

      @Stability(Stable) @Nullable default String getLocalRoleName()
      You are required to specify either the RoleArn or the LocalRoleName 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

      @Stability(Stable) @Nullable default String getRoleArn()
      The ARN of the launch role.

      You are required to specify RoleArn or LocalRoleName but can't use both.

    • builder

      @Stability(Stable) static CfnLaunchRoleConstraintProps.Builder builder()
      Returns:
      a CfnLaunchRoleConstraintProps.Builder of CfnLaunchRoleConstraintProps