Skip to content

Commit

Permalink
refactor(appconfig): deprecate deploy method
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjane-dev committed Feb 7, 2024
1 parent 7eedb54 commit e0bdae5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-appconfig-alpha/lib/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ abstract class ConfigurationBase extends Construct implements IConfiguration, IE
* Deploys the configuration to the specified environment.
*
* @param environment The environment to deploy the configuration to
* @deprecated Use `deployTo` as a property instead. We do not recommend
* creating resources in multiple stacks. If you want to do this still,
* please take a look into https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appconfig.CfnDeployment.html.
*/
public deploy(environment: IEnvironment) {
const logicalId = `Deployment${this.getDeploymentHash(environment)}`;
Expand Down

0 comments on commit e0bdae5

Please sign in to comment.