rights reserved. CfnOutput で CDK のリソースを出⼒しておく $ cdk deploy ... ✅ CdkStack ✨ Deployment time: 55.77s Outputs: CdkStack.ApplicationPrivateSubnetIds = subnet-0ca67b7ea914244b1,subnet-04bf4f7894a3c17d2,subnet-06c2443b4887f63fe CdkStack.AuroraClusterSecretName = AuroraClusterSecret8E4F2BC8-eB3B8HAhbmuF CdkStack.ECSTaskSecurityGroupId = sg-0d95b978462ddf4e9 CdkStack.ElastiCacheRedisClusterConfigEndpoint = abc12defg12hi12.1jklm3.clustercfg.apne1.cache.amazonaws.com:6379 CdkStack.IngressPublicSubnetIds = subnet-03d9e899632926b72,subnet-00722e20f8ac61fd2,subnet-0ad496ab093a199b5 CdkStack.VpcId = vpc-01bb6548eb2f8ae3f Stack ARN: arn:aws:cloudformation:ap-northeast-1:123456789012:stack/CdkStack/e682f0a0-6ecf-11ed-97fb-0e6a2c4e429d ✨ Total time: 64.05s // Output new cdk.CfnOutput(this, 'VpcId', { value: vpc.vpcId, }); …