@gradientedge/cdk-utils 9.16.0 → 9.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/lib/aws/construct/application-configuration/main.js +1 -1
- package/dist/src/lib/aws/services/identity-access-management/main.js +1 -1
- package/package.json +1 -1
- package/src/lib/aws/construct/application-configuration/main.ts +4 -1
- package/src/lib/aws/services/identity-access-management/main.ts +1 -1
|
@@ -49,7 +49,7 @@ class ApplicationConfiguration extends common_1.CommonConstruct {
|
|
|
49
49
|
this.appConfigDeploymentStrategy = new aws_appconfig_1.CfnDeploymentStrategy(this, `${this.id}-ac-deployment-strategy`, {
|
|
50
50
|
deploymentDurationInMinutes: this.props.appConfig.deploymentStrategy.deploymentDurationInMinutes,
|
|
51
51
|
growthFactor: this.props.appConfig.deploymentStrategy.growthFactor,
|
|
52
|
-
name: this.resourceNameFormatter.format(this.props.appConfig.deploymentStrategy.name),
|
|
52
|
+
name: this.resourceNameFormatter.format(this.props.appConfig.deploymentStrategy.name, this.props.resourceNameOptions?.appconfig),
|
|
53
53
|
replicateTo: this.props.appConfig.deploymentStrategy.replicateTo,
|
|
54
54
|
});
|
|
55
55
|
}
|
|
@@ -525,7 +525,7 @@ class IamManager {
|
|
|
525
525
|
assumedBy: servicePrincipal ?? new aws_iam_1.ServicePrincipal('appconfig.amazonaws.com'),
|
|
526
526
|
description: `Role for ${id} AppConfig Secrets`,
|
|
527
527
|
inlinePolicies: { policy },
|
|
528
|
-
roleName: scope.resourceNameFormatter.format(`${id}-
|
|
528
|
+
roleName: scope.resourceNameFormatter.format(`${id}-config`, scope.props.resourceNameOptions?.iam),
|
|
529
529
|
});
|
|
530
530
|
(0, utils_1.createCfnOutput)(`${id}Arn`, scope, role.roleArn);
|
|
531
531
|
(0, utils_1.createCfnOutput)(`${id}Name`, scope, role.roleName);
|
package/package.json
CHANGED
|
@@ -79,7 +79,10 @@ export class ApplicationConfiguration extends CommonConstruct {
|
|
|
79
79
|
this.appConfigDeploymentStrategy = new CfnDeploymentStrategy(this, `${this.id}-ac-deployment-strategy`, {
|
|
80
80
|
deploymentDurationInMinutes: this.props.appConfig.deploymentStrategy.deploymentDurationInMinutes,
|
|
81
81
|
growthFactor: this.props.appConfig.deploymentStrategy.growthFactor,
|
|
82
|
-
name: this.resourceNameFormatter.format(
|
|
82
|
+
name: this.resourceNameFormatter.format(
|
|
83
|
+
this.props.appConfig.deploymentStrategy.name,
|
|
84
|
+
this.props.resourceNameOptions?.appconfig
|
|
85
|
+
),
|
|
83
86
|
replicateTo: this.props.appConfig.deploymentStrategy.replicateTo,
|
|
84
87
|
})
|
|
85
88
|
}
|
|
@@ -608,7 +608,7 @@ export class IamManager {
|
|
|
608
608
|
assumedBy: servicePrincipal ?? new ServicePrincipal('appconfig.amazonaws.com'),
|
|
609
609
|
description: `Role for ${id} AppConfig Secrets`,
|
|
610
610
|
inlinePolicies: { policy },
|
|
611
|
-
roleName: scope.resourceNameFormatter.format(`${id}-
|
|
611
|
+
roleName: scope.resourceNameFormatter.format(`${id}-config`, scope.props.resourceNameOptions?.iam),
|
|
612
612
|
})
|
|
613
613
|
|
|
614
614
|
createCfnOutput(`${id}Arn`, scope, role.roleArn)
|