@@ -329,7 +329,8 @@ export = {
329
329
const bucketRef = bucket . export ( ) ;
330
330
test . deepEqual ( cdk . resolve ( bucketRef ) , {
331
331
bucketArn : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketArnE260558C' } ,
332
- bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' }
332
+ bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' } ,
333
+ bucketDomainName : { 'Fn::ImportValue' : 'MyStack:MyBucketDomainNameF76B9A7A' }
333
334
} ) ;
334
335
test . done ( ) ;
335
336
} ,
@@ -340,7 +341,8 @@ export = {
340
341
const bucketRef = bucket . export ( ) ;
341
342
test . deepEqual ( cdk . resolve ( bucketRef ) , {
342
343
bucketArn : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketArnE260558C' } ,
343
- bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' }
344
+ bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' } ,
345
+ bucketDomainName : { 'Fn::ImportValue' : 'MyStack:MyBucketDomainNameF76B9A7A' }
344
346
} ) ;
345
347
test . done ( ) ;
346
348
} ,
@@ -457,6 +459,17 @@ export = {
457
459
"Export" : {
458
460
"Name" : "S1:MyBucketBucketName8A027014"
459
461
}
462
+ } ,
463
+ "MyBucketDomainNameF76B9A7A" : {
464
+ "Value" : {
465
+ "Fn::GetAtt" : [
466
+ "MyBucketF68F3FF0" ,
467
+ "DomainName"
468
+ ]
469
+ } ,
470
+ "Export" : {
471
+ "Name" : "S1:MyBucketDomainNameF76B9A7A"
472
+ }
460
473
}
461
474
}
462
475
} ) ;
@@ -881,6 +894,17 @@ export = {
881
894
"Export" : {
882
895
"Name" : "MyBucketBucketName8A027014"
883
896
}
897
+ } ,
898
+ "MyBucketDomainNameF76B9A7A" : {
899
+ "Value" : {
900
+ "Fn::GetAtt" : [
901
+ "MyBucketF68F3FF0" ,
902
+ "DomainName"
903
+ ]
904
+ } ,
905
+ "Export" : {
906
+ "Name" : "MyBucketDomainNameF76B9A7A"
907
+ }
884
908
}
885
909
}
886
910
} ) ;
0 commit comments