@@ -9,6 +9,7 @@ import { StackOutput } from '@aws-accelerator/common-outputs/src/stack-output';
99import { StructuredOutput , createCfnStructuredOutput } from '../../common/structured-output' ;
1010import { EbsKmsOutput } from '@aws-accelerator/common-outputs/src/ebs' ;
1111import { SsmKmsOutput } from '@aws-accelerator/common-outputs/src/ssm' ;
12+ import { optional } from '@aws-accelerator/common-types' ;
1213
1314export const CfnEbsKmsOutput = createCfnStructuredOutput ( EbsKmsOutput ) ;
1415
@@ -43,8 +44,8 @@ const AccountBucketOutputType = t.interface(
4344 bucketArn : t . string ,
4445 encryptionKeyArn : t . string ,
4546 region : t . string ,
46- encryptionKeyName : t . string ,
47- encryptionKeyId : t . string ,
47+ encryptionKeyName : optional ( t . string ) ,
48+ encryptionKeyId : optional ( t . string ) ,
4849 } ,
4950 'AccountBucket' ,
5051) ;
@@ -57,8 +58,8 @@ const LogBucketOutputType = t.interface(
5758 bucketArn : t . string ,
5859 encryptionKeyArn : t . string ,
5960 region : t . string ,
60- encryptionKeyName : t . string ,
61- encryptionKeyId : t . string ,
61+ encryptionKeyName : optional ( t . string ) ,
62+ encryptionKeyId : optional ( t . string ) ,
6263 } ,
6364 'LogBucket' ,
6465) ;
0 commit comments