AuthPolicyDefinition constructor
const
AuthPolicyDefinition({
- Input<
List< ? authorizedPermissions,AuthPolicyPermissionLevel> > - required Input<
AuthPolicyDecision> decision, - required Input<
Map< rules,String, String> > - Input<
String> ? runnerID, - Input<
String> ? teamName, - required Input<
AuthPolicyTokenType> tokenType, - Input<
String> ? userLogin,
Creates a new AuthPolicyDefinition.
authorizedPermissions The permission level for organization tokens.
decision The rule type of this policy definition.
rules OIDC rules to set for this policy.
runnerID The runner ID for deployment runner tokens.
teamName The team name for team tokens.
tokenType The token type for this policy definition.
userLogin The user login for personal tokens.
Implementation
const AuthPolicyDefinition({
this.authorizedPermissions,
required this.decision,
required this.rules,
this.runnerID,
this.teamName,
required this.tokenType,
this.userLogin,
});