INNER CODE UNIT · Go

main

rebuy-de/aws-nuke · dev/list-cloudcontrol/main.go:22

func main() {
	ctx := cmdutil.SignalRootContext()

	sess, err := session.NewSession(&aws.Config{
		Region: aws.String(endpoints.UsEast1RegionID),
	})
	if err != nil {
		logrus.Fatal(err)
	}

	cf := cloudformation.New(sess)

	mapping := resources.GetCloudControlMapping()

	in := &cloudformation.ListTypesInput{
		Type:       aws.String(cloudformation.RegistryTypeResource),
		Visibility: aws.String(cloudformation.VisibilityPublic),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…