複合までしてくれる
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/ssm" ) func main() { sess, err := session.NewSessionWithOptions(session.Options{ Config: aws.Config{Region: aws.String("us-east-1")}, Profile: "default", }) if err != nil { panic(err) } svc := ssm.New(sess) res, err := svc.GetParameter(&ssm.GetParameterInput{ Name: aws.String("PARAMETER_NAME"), })