@@ -329,7 +329,8 @@ export = {
329329 const bucketRef = bucket . export ( ) ;
330330 test . deepEqual ( cdk . resolve ( bucketRef ) , {
331331 bucketArn : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketArnE260558C' } ,
332- bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' }
332+ bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' } ,
333+ bucketDomainName : { 'Fn::ImportValue' : 'MyStack:MyBucketDomainNameF76B9A7A' }
333334 } ) ;
334335 test . done ( ) ;
335336 } ,
@@ -340,7 +341,8 @@ export = {
340341 const bucketRef = bucket . export ( ) ;
341342 test . deepEqual ( cdk . resolve ( bucketRef ) , {
342343 bucketArn : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketArnE260558C' } ,
343- bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' }
344+ bucketName : { 'Fn::ImportValue' : 'MyStack:MyBucketBucketName8A027014' } ,
345+ bucketDomainName : { 'Fn::ImportValue' : 'MyStack:MyBucketDomainNameF76B9A7A' }
344346 } ) ;
345347 test . done ( ) ;
346348 } ,
@@ -457,6 +459,17 @@ export = {
457459 "Export" : {
458460 "Name" : "S1:MyBucketBucketName8A027014"
459461 }
462+ } ,
463+ "MyBucketDomainNameF76B9A7A" : {
464+ "Value" : {
465+ "Fn::GetAtt" : [
466+ "MyBucketF68F3FF0" ,
467+ "DomainName"
468+ ]
469+ } ,
470+ "Export" : {
471+ "Name" : "S1:MyBucketDomainNameF76B9A7A"
472+ }
460473 }
461474 }
462475 } ) ;
@@ -881,6 +894,17 @@ export = {
881894 "Export" : {
882895 "Name" : "MyBucketBucketName8A027014"
883896 }
897+ } ,
898+ "MyBucketDomainNameF76B9A7A" : {
899+ "Value" : {
900+ "Fn::GetAtt" : [
901+ "MyBucketF68F3FF0" ,
902+ "DomainName"
903+ ]
904+ } ,
905+ "Export" : {
906+ "Name" : "MyBucketDomainNameF76B9A7A"
907+ }
884908 }
885909 }
886910 } ) ;
0 commit comments