awsdoc

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

DO NOT EDIT This file was automatically generated with go generate

Index

Constants

This section is empty.

Variables

View Source
var EnumDoc = map[string][]string{
	"update.securitygroup.inbound":  {"revoke", "authorize"},
	"update.securitygroup.outbound": {"revoke", "authorize"},
	"update.securitygroup.protocol": {"tcp", "udp", "icmp", "any"},

	"attach.policy.access":  {"readonly", "full"},
	"attach.policy.service": {"iam", "ec2", "s3", "route53", "elbv2", "rds", "autoscaling", "lambda", "sns", "sqs", "cloudwatch", "cloudfront", "ecr", "ecs", "applicationautoscaling", "acm", "sts", "cloudformation"},

	"create.subnet.public": {"true", "false"},
	"update.subnet.public": {"true", "false"},

	"create.instance.distro": {"amazonlinux", "canonical", "redhat", "debian", "suselinux", "windows"},
	"create.instance.type":   {"t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "m4.large", "m4.xlarge", "c4.large", "c4.xlarge"},
	"create.instance.lock":   {"true", "false"},

	"create.launchconfiguration.distro": {"amazonlinux", "canonical", "redhat", "debian", "suselinux", "windows"},
	"create.launchconfiguration.type":   {"t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "m4.large", "m4.xlarge", "c4.large", "c4.xlarge"},

	"create.policy.action":   {""},
	"create.policy.effect":   {"Allow", "Deny"},
	"create.policy.resource": {"*"},
}
View Source
var ParamTypeDoc = map[string]*ParamType{
	"create.accesskey.user":     {ResourceType: cloud.User, PropertyName: properties.Name},
	"update.securitygroup.cidr": {ResourceType: cloud.Subnet, PropertyName: properties.CIDR},
}

Functions

func AwlessExamplesDoc added in v0.1.3

func AwlessExamplesDoc(action, entity string) string

func TemplateParamsDoc

func TemplateParamsDoc(templateDef, param string) (string, bool)

Types

type ParamType added in v0.1.7

type ParamType struct {
	ResourceType, PropertyName string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL