add: iam construct

This commit is contained in:
nsxshota 2023-11-23 12:34:34 +09:00
commit 34eac25963
5 changed files with 82 additions and 69 deletions

View file

@ -95,6 +95,7 @@ export class BackEndCluster extends Construct {
vpcSubnets: { subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS },
});
// Secrets ManagerからのSecret取得ロール
const ecsBackEndExecutionRole = iam.Role.fromRoleArn(
this,
"ecsBackEndExecutionRole",