ecs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2016 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cluster = Resource{
	AwsType: "AWS::ECS::Cluster",

	ReturnValue: Schema{
		Type: ValueString,
	},

	Properties: Properties{},
}

see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html

View Source
var Service = Resource{
	AwsType: "AWS::ECS::Service",

	ReturnValue: Schema{
		Type: ARN,
	},

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

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

		"LoadBalancers": Schema{
			Type: Multiple(loadBalancer),
		},

		"Role": Schema{
			Type:     ValueString,
			Required: constraints.PropertyExists("LoadBalancers"),
		},

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

see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html

View Source
var TaskDefinition = Resource{
	AwsType: "AWS::ECS::TaskDefinition",

	ReturnValue: Schema{
		Type: ValueString,
	},

	Properties: Properties{
		"ContainerDefinitions": Schema{
			Type:     Multiple(containerDefinition),
			Required: constraints.Always,
		},

		"Volumes": Schema{
			Type:     Multiple(volume),
			Required: constraints.Always,
		},
	},
}

see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.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