Class CfnLaunchRoleConstraintProps
Properties for defining a CfnLaunchRoleConstraint
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ServiceCatalog
Assembly: Amazon.CDK.AWS.ServiceCatalog.dll
Syntax (csharp)
public class CfnLaunchRoleConstraintProps : Object, ICfnLaunchRoleConstraintProps
Syntax (vb)
Public Class CfnLaunchRoleConstraintProps
Inherits Object
Implements ICfnLaunchRoleConstraintProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ServiceCatalog;
var cfnLaunchRoleConstraintProps = new CfnLaunchRoleConstraintProps {
PortfolioId = "portfolioId",
ProductId = "productId",
// the properties below are optional
AcceptLanguage = "acceptLanguage",
Description = "description",
LocalRoleName = "localRoleName",
RoleArn = "roleArn"
};
Synopsis
Constructors
CfnLaunchRoleConstraintProps() |
Properties
AcceptLanguage | The language code. |
Description | The description of the constraint. |
LocalRoleName | You are required to specify either the |
PortfolioId | The portfolio identifier. |
ProductId | The product identifier. |
RoleArn | The ARN of the launch role. |
Constructors
CfnLaunchRoleConstraintProps()
public CfnLaunchRoleConstraintProps()
Properties
AcceptLanguage
The language code.
public string AcceptLanguage { get; set; }
Property Value
System.String
Remarks
Description
The description of the constraint.
public string Description { get; set; }
Property Value
System.String
Remarks
LocalRoleName
You are required to specify either the RoleArn
or the LocalRoleName
but can't use both.
public string LocalRoleName { get; set; }
Property Value
System.String
Remarks
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.
PortfolioId
The portfolio identifier.
public string PortfolioId { get; set; }
Property Value
System.String
Remarks
ProductId
The product identifier.
public string ProductId { get; set; }
Property Value
System.String
Remarks
RoleArn
The ARN of the launch role.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
You are required to specify RoleArn
or LocalRoleName
but can't use both.