elastic_beanstalk

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2016 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Application = Resource{
	AwsType: "AWS::ElasticBeanstalk::Application",

	ReturnValue: Schema{
		Type: ValueString,
	},

	Properties: Properties{
		"ApplicationName": Schema{
			Type: ValueString,
		},

		"ApplicationVersions": Schema{
			Deprecated: deprecations.Deprecated("Application Versions should be created by using the separate AWS::ElasticBeanstalk::ApplicationVersion resource, and linked using the ApplicationName property."),
		},

		"ConfigurationTemplates": Schema{
			Deprecated: deprecations.Deprecated("Configuration Templates should be created by using the separate AWS::ElasticBeanstalk::ConfigurationTemplate resource, and linked using the ApplicationName property."),
		},

		"Description": Schema{
			Type: ValueString,
		},
	},
}

see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html

View Source
var ApplicationVersion = Resource{
	AwsType: "AWS::ElasticBeanstalk::ApplicationVersion",

	ReturnValue: Schema{
		Type: ValueString,
	},

	Properties: Properties{
		"ApplicationName": Schema{
			Type:     ValueString,
			Required: constraints.Always,
		},

		"Description": Schema{
			Type: ValueString,
		},

		"SourceBundle": Schema{
			Required: constraints.Always,
			Type:     sourceBundle,
		},
	},
}

see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-version.html

View Source
var ConfigurationTemplate = Resource{
	AwsType: "AWS::ElasticBeanstalk::ConfigurationTemplate",

	ReturnValue: Schema{
		Type: ValueString,
	},

	Properties: Properties{
		"ApplicationName": Schema{
			Type:     ValueString,
			Required: constraints.Always,
		},

		"Description": Schema{
			Type: ValueString,
		},

		"EnvironmentId": Schema{
			Type: ValueString,
			Required: constraints.All{
				constraints.PropertyNotExists("SolutionStackName"),
				constraints.PropertyNotExists("SourceConfiguration"),
			},
		},

		"OptionSettings": Schema{
			Type: Multiple(optionsSettings),
		},

		"SolutionStackName": Schema{
			Type: ValueString,
			Required: constraints.All{
				constraints.PropertyNotExists("EnvironmentId"),
				constraints.PropertyNotExists("SourceConfiguration"),
			},
		},

		"SourceConfiguration": Schema{
			Type: sourceConfiguration,
			Required: constraints.All{
				constraints.PropertyNotExists("EnvironmentId"),
				constraints.PropertyNotExists("SolutionStackName"),
			},
		},
	},
}

see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-beanstalk-configurationtemplate.html

View Source
var Environment = Resource{
	AwsType: "AWS::ElasticBeanstalk::Environment",

	Attributes: map[string]Schema{
		"EndpointURL": Schema{
			Type: ValueString,
		},
	},

	ReturnValue: Schema{
		Type: ValueString,
	},

	Properties: Properties{
		"ApplicationName": Schema{
			Type:     ValueString,
			Required: constraints.Always,
		},

		"CNAMEPrefix": Schema{
			Type: ValueString,
		},

		"Description": Schema{
			Type: ValueString,
		},

		"EnvironmentName": Schema{
			Type: ValueString,
		},

		"OptionSettings": Schema{
			Type: Multiple(optionsSettings),
		},

		"SolutionStackName": Schema{
			Type:     ValueString,
			Required: constraints.PropertyNotExists("TemplateName"),
		},

		"Tags": Schema{
			Type: Multiple(common.ResourceTag),
		},

		"TemplateName": Schema{
			Type:     ValueString,
			Required: constraints.PropertyNotExists("SolutionStackName"),
		},

		"Tier": Schema{
			Type: tier,
		},

		"VersionLabel": Schema{
			Type: ValueString,
		},
	},
}

see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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