Skip to content

Commit ba1ccb6

Browse files
committed
style: remove comment
1 parent 34d393e commit ba1ccb6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-ses/test/integ.email-identity-from-arn.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,24 @@ class TestStack extends Stack {
1414
zoneName: 'cdk.dev',
1515
});
1616

17-
// 通常の方法でEmailIdentityを作成
1817
const emailIdentity = new ses.EmailIdentity(this, 'EmailIdentity', {
1918
identity: ses.Identity.publicHostedZone(hostedZone),
2019
mailFromDomain: 'mail.cdk.dev',
2120
});
2221

23-
// fromEmailIdentityArnメソッドを使用して、ARNからEmailIdentityを取得
2422
const importedEmailIdentity = ses.EmailIdentity.fromEmailIdentityArn(
2523
this,
2624
'ImportedEmailIdentity',
2725
emailIdentity.emailIdentityArn
2826
);
2927

30-
// Lambda関数を作成
3128
const lambdaFunction = new Function(this, 'Function', {
3229
functionName: 'email-sending-lambda-from-arn',
3330
runtime: Runtime.PYTHON_3_11,
3431
code: Code.fromAsset(path.join(__dirname, 'fixtures', 'send-email')),
3532
handler: 'index.lambda_handler',
3633
});
3734

38-
// インポートしたEmailIdentityを使用して、Lambda関数に送信権限を付与
3935
importedEmailIdentity.grantSendEmail(lambdaFunction);
4036
}
4137
}

0 commit comments

Comments
 (0)