Uses of Enum Class
com.cloudforge.core.local.DeploymentTarget
Packages that use DeploymentTarget
Package
Description
Cross-module contracts for post-synthesis local CloudFormation deployment and emulator lifecycle.
Central deploy orchestration for CloudForge local and (future) AWS targets.
-
Uses of DeploymentTarget in com.cloudforge.core.deploy
Methods in com.cloudforge.core.deploy with parameters of type DeploymentTargetModifier and TypeMethodDescriptiondefault voidApplicationDeploymentExtension.afterDeploy(DeploymentConfig config, DeploymentTarget target, Path workingDirectory) Invoked after a successful local deployment.default voidApplicationDeploymentExtension.beforeDeploy(DeploymentConfig config, DeploymentTarget target, Path workingDirectory) Invoked before the generic deployer synthesizes or deploys the application.default booleanApplicationDeploymentExtension.supports(DeploymentTarget target) Whether this extension applies to the requested target. -
Uses of DeploymentTarget in com.cloudforge.core.local
Subclasses with type arguments of type DeploymentTarget in com.cloudforge.core.localModifier and TypeClassDescriptionenumPost-synthesis deployment target for CloudForge templates.Methods in com.cloudforge.core.local that return DeploymentTargetModifier and TypeMethodDescriptionstatic DeploymentTargetDeploymentTarget.fromConfigKey(String key) Parses a wire-format target id (DeploymentTarget.configKey()'s inverse) — case-insensitive, defaults toDeploymentTarget.AWSfor blank input (matching every other target-selector default in this codebase).AbstractLocalEmulatorRuntime.target()AbstractStackPortRuntime.target()LocalDeploymentRequest.target()Returns the value of thetargetrecord component.LocalEmulatorRuntime.target()Deployment target this runtime serves.LocalEmulatorSpec.target()Returns the value of thetargetrecord component.PlatformRuntimeProvider.target()PreflightResult.target()Returns the value of thetargetrecord component.StackPortRuntime.target()StackPortSpec.target()Returns the value of thetargetrecord component.static DeploymentTargetReturns the enum constant of this class with the specified name.static DeploymentTarget[]DeploymentTarget.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.cloudforge.core.local that return types with arguments of type DeploymentTargetModifier and TypeMethodDescriptionstatic Map<DeploymentTarget, PlatformRuntimeProvider> PlatformRuntimeProviders.all()Methods in com.cloudforge.core.local with parameters of type DeploymentTargetModifier and TypeMethodDescriptionstatic PreflightResultPreflightResult.allowed(DeploymentTarget target) LocalDeploymentCatalog.applicationIdForCfnStack(Path catalogDirectory, String cfnStackName, DeploymentTarget target) ReadapplicationIdfromcatalogDirectory/{logicalStack}.jsonwhen present.static StringLocalDeploymentNaming.artifactSuffix(DeploymentTarget target) static StringPreflightMessages.envKey(DeploymentTarget target) static voidEmulatorLifecycle.execute(DeploymentTarget target, EmulatorLifecycleAction action) static voidStackPortLifecycle.execute(DeploymentTarget target, StackPortLifecycleAction action) static voidEmulatorLifecycle.executeUnchecked(DeploymentTarget target, EmulatorLifecycleAction action) static LocalDeploymentArtifactPathsLocalDeploymentArtifactPaths.forTarget(Path outputDirectory, String contextStackName, DeploymentTarget target) static LocalDeploymentRequestLocalDeploymentRequest.forTarget(DeploymentTarget target, String contextStackName, Path canonicalTemplate, Path outputDirectory) static LocalEmulatorRuntimeLocalEmulatorRuntimes.forTarget(DeploymentTarget target) static LocalEmulatorSpecLocalEmulatorSpec.forTarget(DeploymentTarget target) static PlatformRuntimeProviderPlatformRuntimeProviders.forTarget(DeploymentTarget target) static StackPortRuntimeStackPortRuntimes.forTarget(DeploymentTarget target) static StackPortSpecStackPortSpec.forTarget(DeploymentTarget target) static StringLocalDeploymentNaming.localStackName(String stackName, DeploymentTarget target) static StringLocalDeploymentCatalog.logicalStackName(String cfnStackName, DeploymentTarget target) Logical stack name from a CFN stack name (strips-ministack/-localstack).static PreflightResultPreflightResult.of(DeploymentTarget target, List<PreflightViolation> violations) static StringLocalHostPortPolicy.portConflictSuggestion(DeploymentTarget target) static List<LocalHostPortOccupant> LocalEmulatorHostPortProbe.probe(URI endpoint, DeploymentTarget target) LocalSameApplicationStackReplacer.replace(String applicationId, String keepCfnStack, String replaceEnvVar, DeploymentTarget target, Supplier<List<String>> activeStacks, Function<String, Map<String, String>> tagsForStack, Function<String, Optional<String>> catalogApplicationId, LocalSameApplicationStackReplacer.StackDeleter deleter) static PathLocalEmulatorPaths.stackPortVolumeDir(DeploymentTarget target) Persisted StackPort endpoint config (endpoints.json) per emulator target.static PathLocalEmulatorPaths.stackPortVolumeDir(Path workingDirectory, DeploymentTarget target) static voidLocalHostPortConflictChecker.validate(DeploymentTarget target, URI endpoint, String deployingLocalStackName, ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode template, List<PreflightViolation> violations) static voidLocalHostPortConflictChecker.validateAgainstOccupants(DeploymentTarget target, String deployingLocalStackName, ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode template, List<LocalHostPortOccupant> occupants, List<PreflightViolation> violations) Constructors in com.cloudforge.core.local with parameters of type DeploymentTargetModifierConstructorDescriptionLocalDeploymentRequest(DeploymentTarget target, String localStackName, Path canonicalTemplate, Path localTemplate, Path adaptationReport, String contextStackName) Creates an instance of aLocalDeploymentRequestrecord class.LocalEmulatorSpec(DeploymentTarget target, String containerName, String conflictingContainerName, String image, String healthPath, String displayName) Creates an instance of aLocalEmulatorSpecrecord class.PreflightResult(DeploymentTarget target, List<PreflightViolation> violations) Creates an instance of aPreflightResultrecord class.StackPortSpec(DeploymentTarget target, String containerName, String conflictingContainerName, String emulatorContainerName, String image, int hostPort, int containerPort, String displayName) Creates an instance of aStackPortSpecrecord class. -
Uses of DeploymentTarget in com.cloudforge.core.manager
Methods in com.cloudforge.core.manager with parameters of type DeploymentTargetModifier and TypeMethodDescriptionstatic StringManagerEndpointSupport.resolveLocalEmulatorEndpoint(DeploymentTarget target) The one authoritative, target-gated answer to "should this call be redirected to a local emulator instead of real AWS" —nullimmediately forDeploymentTarget.AWSOR an unresolved/nulltarget, without even reading the env vars, otherwise the sameLOCALSTACK_ENDPOINTthenAWS_ENDPOINT_URLfallback chainManagerEndpointSupport.resolveLocalStackEndpoint()uses. -
Uses of DeploymentTarget in com.cloudforgeci.api.deploy
Methods in com.cloudforgeci.api.deploy that return DeploymentTargetModifier and TypeMethodDescriptionDeploymentRequest.target()Returns the value of thetargetrecord component.DeploymentResult.target()Returns the value of thetargetrecord component.Methods in com.cloudforgeci.api.deploy with parameters of type DeploymentTargetModifier and TypeMethodDescriptionstatic DeploymentRequestDeploymentRequest.deploy(DeploymentConfig config, DeploymentTarget target, Path canonicalTemplate, Path outputDirectory) static DeploymentRequestDeploymentRequest.dryRun(DeploymentConfig config, DeploymentTarget target, Path canonicalTemplate, Path outputDirectory) static PreflightModeLocalDeployPreflight.modeFor(DeploymentTarget target) static DeploymentRequestDeploymentRequest.verify(DeploymentConfig config, DeploymentTarget target) Constructors in com.cloudforgeci.api.deploy with parameters of type DeploymentTargetModifierConstructorDescriptionDeploymentRequest(DeploymentConfig config, DeploymentTarget target, DeployMode mode, Path canonicalTemplate, Path outputDirectory, DeployOptions options) Creates an instance of aDeploymentRequestrecord class.DeploymentResult(DeploymentTarget target, DeployMode mode, String localStackName, String endpoint, Path adaptationReport, TemplateAdaptationResult adaptation, LocalDeployResult deployment, LocalSameApplicationStackReplacer.Result replaceResult, Map<String, String> outputs, List<Path> catalogPaths, List<String> messages, boolean historyRecorded) Creates an instance of aDeploymentResultrecord class. -
Uses of DeploymentTarget in com.cloudforgeci.api.deploy.aws
Constructors in com.cloudforgeci.api.deploy.aws with parameters of type DeploymentTargetModifierConstructorDescriptionAwsDirectDeployer(DeploymentConfig config, DeploymentTarget target) Real AWS by default (default credential/region chain, region fromconfig.region); redirects to a local emulator instead whentargetisDeploymentTarget.LOCALSTACK/DeploymentTarget.MINISTACKandManagerEndpointSupport.resolveLocalEmulatorEndpoint(DeploymentTarget)finds one — see class javadoc.AwsDirectDeployer(DeploymentConfig config, DeploymentTarget target, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsOverride) Same asAwsDirectDeployer(DeploymentConfig, DeploymentTarget), but with an explicit credentials provider for AWS calls instead of the default chain, e.g.