Interface ICfnLaunchRoleConstraintProps
Properties for defining a CfnLaunchRoleConstraint
.
Namespace: Amazon.CDK.AWS.ServiceCatalog
Assembly: Amazon.CDK.AWS.ServiceCatalog.dll
Syntax (csharp)
public interface ICfnLaunchRoleConstraintProps
Syntax (vb)
Public Interface 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
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. |
Properties
AcceptLanguage
The language code.
virtual string AcceptLanguage { get; }
Property Value
System.String
Remarks
Description
The description of the constraint.
virtual string Description { get; }
Property Value
System.String
Remarks
LocalRoleName
You are required to specify either the RoleArn
or the LocalRoleName
but can't use both.
virtual string LocalRoleName { get; }
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.
string PortfolioId { get; }
Property Value
System.String
Remarks
ProductId
The product identifier.
string ProductId { get; }
Property Value
System.String
Remarks
RoleArn
The ARN of the launch role.
virtual string RoleArn { get; }
Property Value
System.String
Remarks
You are required to specify RoleArn
or LocalRoleName
but can't use both.