polite-sandwich-68547
05/05/2023, 9:03 AM_lg.Name
in a task definition as a go string
value.
is there a way I can get the string Name out of _lg.Name
?
_lg, err := cloudwatch.NewLogGroup(ctx, "logs", &cloudwatch.LogGroupArgs{
Name: pulumi.String("logs"),
RetentionInDays: <http://pulumi.Int|pulumi.Int>(30),
})
if err != nil {
return err
}
ctx.Export("log group", _lg.Name)
calm-queen-58154
05/05/2023, 1:34 PMaloof-easter-15696
05/07/2023, 5:24 PM_lg.name
polite-sandwich-68547
05/10/2023, 11:34 AMaloof-easter-15696
05/21/2023, 4:29 PMpulumi.String(_lg.Name)
?