Enum Class ManagerAwsCapabilityCatalog.Capability
java.lang.Object
java.lang.Enum<ManagerAwsCapabilityCatalog.Capability>
com.cloudforge.core.manager.ManagerAwsCapabilityCatalog.Capability
- All Implemented Interfaces:
Serializable, Comparable<ManagerAwsCapabilityCatalog.Capability>, Constable
- Enclosing class:
ManagerAwsCapabilityCatalog
public static enum ManagerAwsCapabilityCatalog.Capability
extends Enum<ManagerAwsCapabilityCatalog.Capability>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDirect-deploy path for creating/updating CloudForge-managed AWS infrastructure —deploy:createinManagerPolicyCatalog(admin-only) routes here."Cognito as the whole Users directory" -- the separate, admin-opted-in feature that lets the Users page and its API manage a Cognito User Pool's users directly instead of the local DB (seeCognitoUserManagementService/CognitoPoolLookupServiceandmanager_auth_backend.cognito_enabled).deploy:catalog(constrained, manager+admin) routes here — Service Catalog provisioning against pre-published products only; no CFN/IAM/EC2 permissions on Manager's own role for this path at all.Lets a cross-account connection's role verify its own effective permissions viaiam:SimulatePrincipalPolicy— this is howAccountsController's "Validate connection" surfaces a real least-privilege report (which ofCrossAccountRoleTemplateFactory's granted actions actually evaluate to Allow) instead of just provingsts:AssumeRoleworks. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CFN_INVENTORY
-
CFN_DELETE
-
ECS_DESCRIBE
-
ECS_UPDATE_SERVICE
-
ECS_STOP_TASK
-
RDS_DESCRIBE
-
RDS_SNAPSHOT
-
RDS_RESTORE
-
RDS_ENGINE_UPGRADE
-
LOGS_READ
-
AUDIT_MANAGER_READ
-
COGNITO_USER_MANAGEMENT
"Cognito as the whole Users directory" -- the separate, admin-opted-in feature that lets the Users page and its API manage a Cognito User Pool's users directly instead of the local DB (seeCognitoUserManagementService/CognitoPoolLookupServiceandmanager_auth_backend.cognito_enabled). Without this in the operator baseline, even the pool-lookup step fails withcognito-idp:ListUserPoolsdenied before the feature can do anything.ListUserPoolsitself has no per-pool resource to scope by (it's what discovers the pool ID in the first place), so this whole group staysResource: "*"like every other operator-baseline capability in this catalog. -
CFN_DEPLOY
Direct-deploy path for creating/updating CloudForge-managed AWS infrastructure —deploy:createinManagerPolicyCatalog(admin-only) routes here. Deliberately NOT part ofManagerAwsCapabilityCatalog.operatorBaseline()— unlike every other capability in this catalog, these actions can create/modify arbitrary infrastructure, not just operate on what already exists, so they must never be silently included in the default operator policy.ManagerOperatorIamSupport(cloudforge-api) attaches these withaws:RequestTag/aws:ResourceTag/iam:ResourceTagconditions scoping them to CloudForge-managed resources — this catalog only lists the actions; the conditions live where the CDKPolicyStatementactually gets built, since this module has no CDK dependency. -
SC_PROVISION
deploy:catalog(constrained, manager+admin) routes here — Service Catalog provisioning against pre-published products only; no CFN/IAM/EC2 permissions on Manager's own role for this path at all. Also not part ofManagerAwsCapabilityCatalog.operatorBaseline(). -
SELF_PERMISSION_CHECK
Lets a cross-account connection's role verify its own effective permissions viaiam:SimulatePrincipalPolicy— this is howAccountsController's "Validate connection" surfaces a real least-privilege report (which ofCrossAccountRoleTemplateFactory's granted actions actually evaluate to Allow) instead of just provingsts:AssumeRoleworks. Simulate-only — never executes anything, so this is safe to grant broadly. Connections whose role predates this capability simply report "unable to verify" rather than failing validation outright; seeStsAssumeRoleService#checkPermissions.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
iamActions
-