Uses of Class
com.cloudforgeci.api.core.DeploymentContext
Packages that use DeploymentContext
Package
Description
-
Uses of DeploymentContext in com.cloudforge.core.utilities
Methods in com.cloudforge.core.utilities with parameters of type DeploymentContextModifier and TypeMethodDescriptionbooleanDeploymentValidation.Validator.isValid(DeploymentContext c, jakarta.validation.ConstraintValidatorContext ctx) -
Uses of DeploymentContext in com.cloudforgeci.api.compute
Methods in com.cloudforgeci.api.compute with parameters of type DeploymentContextModifier and TypeMethodDescriptionApplicationFactory.createEc2(software.constructs.Construct scope, String id, DeploymentContext cfc, SecurityProfile security, IAMProfile iamProfile, ApplicationSpec applicationSpec) Static helper method for creating an EC2-based application deployment with explicit IAM profile.ApplicationFactory.createEc2(software.constructs.Construct scope, String id, DeploymentContext cfc, SecurityProfile security, ApplicationSpec applicationSpec) Creates an EC2-based application deployment with specific security profile.ApplicationFactory.createEc2(software.constructs.Construct scope, String id, DeploymentContext cfc, ApplicationSpec applicationSpec) Creates an EC2-based application deployment.ApplicationFactory.createFargate(software.constructs.Construct scope, String id, DeploymentContext cfc, SecurityProfile security, IAMProfile iamProfile, ApplicationSpec applicationSpec) Static helper method for creating a Fargate-based application deployment with explicit IAM profile.ApplicationFactory.createFargate(software.constructs.Construct scope, String id, DeploymentContext cfc, SecurityProfile security, ApplicationSpec applicationSpec) Static helper method for creating a Fargate-based application deployment with specific security profile.ApplicationFactory.createFargate(software.constructs.Construct scope, String id, DeploymentContext cfc, ApplicationSpec applicationSpec) Static helper method for creating a Fargate-based application deployment. -
Uses of DeploymentContext in com.cloudforgeci.api.core
Fields in com.cloudforgeci.api.core declared as DeploymentContextMethods in com.cloudforgeci.api.core that return DeploymentContextModifier and TypeMethodDescriptionstatic DeploymentContextDeploymentContext.from(software.amazon.awscdk.App app) Build from the 'cfc' context object on the App.static DeploymentContextDeploymentContext.from(software.constructs.Construct scope) Build from the 'cfc' context object on any Construct scope.Methods in com.cloudforgeci.api.core with parameters of type DeploymentContextModifier and TypeMethodDescriptionstatic SystemContextSystemContext.start(software.constructs.Construct scope, TopologyType topology, RuntimeType runtime, SecurityProfile security, IAMProfile iamProfile, DeploymentContext cfc) Start once at the entry point; installs runtime + topology + security + iam rules and wiring. -
Uses of DeploymentContext in com.cloudforgeci.api.core.annotation
Fields in com.cloudforgeci.api.core.annotation declared as DeploymentContextMethods in com.cloudforgeci.api.core.annotation that return DeploymentContextModifier and TypeMethodDescriptionprotected DeploymentContextBaseFactory.getDeploymentContext()Convenience method to get DeploymentContext.Methods in com.cloudforgeci.api.core.annotation with parameters of type DeploymentContextModifier and TypeMethodDescriptionstatic voidContextInjector.inject(Object target, SystemContext systemContext, DeploymentContext deploymentContext) Inject context values into all annotated fields of the given object. -
Uses of DeploymentContext in com.cloudforgeci.api.core.security
Constructors in com.cloudforgeci.api.core.security with parameters of type DeploymentContextModifierConstructorDescriptionDevSecurityProfileConfiguration(DeploymentContext deploymentContext) Create DevSecurityProfileConfiguration.ProductionSecurityProfileConfiguration(DeploymentContext deploymentContext) Create ProductionSecurityProfileConfiguration.StagingSecurityProfileConfiguration(DeploymentContext deploymentContext) Create StagingSecurityProfileConfiguration. -
Uses of DeploymentContext in com.cloudforgeci.api.examples
Methods in com.cloudforgeci.api.examples with parameters of type DeploymentContextModifier and TypeMethodDescriptionstatic voidSecurityExample.createDevJenkins(software.constructs.Construct scope, String id, DeploymentContext cfc) Example of creating a Jenkins deployment with development security settings.static voidSecurityExample.createProductionJenkins(software.constructs.Construct scope, String id, DeploymentContext cfc) Example of creating a Jenkins deployment with production security settings.static voidSecurityExample.createStagingJenkins(software.constructs.Construct scope, String id, DeploymentContext cfc) Example of creating a Jenkins deployment with staging security settings.static voidIAMExample.createWithAutomaticIAM(software.constructs.Construct scope, String id, DeploymentContext cfc) Example of creating Jenkins deployments with automatic IAM profile mapping.static voidIAMExample.createWithExplicitIAM(software.constructs.Construct scope, String id, DeploymentContext cfc) Example of creating Jenkins deployments with explicit IAM profile selection.static voidIAMExample.demonstrateAllFeatures(software.constructs.Construct scope, String id, DeploymentContext cfc) Complete example showing all IAM features.static voidIAMExample.demonstrateIAMValidation(software.constructs.Construct scope, String id, DeploymentContext cfc) Example demonstrating IAM profile validation and mapping.static voidSecurityExample.demonstrateSecurityProfiles(software.constructs.Construct scope, String id, DeploymentContext cfc) Example showing how different security profiles affect the deployment: DEV Security Profile: - SSH access from anywhere (0.0.0.0/0) - Jenkins port accessible from anywhere - HTTP/HTTPS accessible from anywhere - Minimal security restrictions for development convenience STAGING Security Profile: - SSH access restricted to VPC CIDR - Jenkins port only accessible from ALB security group - HTTP/HTTPS accessible from anywhere (needed for external testing) - Moderate security restrictions PRODUCTION Security Profile: - SSH access restricted to specific bastion/VPN CIDR (10.0.1.0/24) - Jenkins port only accessible from ALB security group - HTTPS only (HTTP redirects to HTTPS) - Maximum security restrictions for compliance - WAF protection can be added (placeholder for future implementation)