ecs

package
v0.0.0-...-acf68d5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEcsCluster

func CreateEcsCluster(e aws.Environment, name string) (*ecs.Cluster, error)

func FargateFirelensContainerDefinition

func FargateFirelensContainerDefinition() *ecs.TaskDefinitionContainerDefinitionArgs

func FargateTaskDefinitionWithAgent

func FargateTaskDefinitionWithAgent(
	e aws.Environment,
	name string,
	family pulumi.StringInput,
	cpu, memory int,
	containers map[string]ecs.TaskDefinitionContainerDefinitionArgs,
	apiKeySSMParamName pulumi.StringInput,
	fakeintake *fakeintake.Fakeintake,
	image string,
	opts ...pulumi.ResourceOption,
) (*ecs.FargateTaskDefinition, error)

func FargateWindowsTaskDefinitionWithAgent

func FargateWindowsTaskDefinitionWithAgent(
	e aws.Environment,
	name string,
	family pulumi.StringInput,
	cpu, memory int,
	containers map[string]ecs.TaskDefinitionContainerDefinitionArgs,
	apiKeySSMParamName pulumi.StringInput,
	fakeintake *fakeintake.Fakeintake,
	image string,
	opts ...pulumi.ResourceOption,
) (*ecs.FargateTaskDefinition, error)

FargateWindowsTaskDefinitionWithAgent creates a Fargate task definition with the Datadog agent and log router containers. This is for Windows containers.

func GetFirelensLogConfiguration

func GetFirelensLogConfiguration(source, service, apiKeyParamName pulumi.StringInput) ecs.TaskDefinitionLogConfigurationPtrInput

func NewBottlerocketNodeGroup

func NewBottlerocketNodeGroup(e aws.Environment, clusterName pulumi.StringInput) (pulumi.StringOutput, error)

func NewCapacityProvider

func NewCapacityProvider(e aws.Environment, name string, asgArn pulumi.StringInput) (*ecs.CapacityProvider, error)

func NewClusterCapacityProvider

func NewClusterCapacityProvider(e aws.Environment, name string, clusterName pulumi.StringInput, capacityProviders pulumi.StringArray) (*ecs.ClusterCapacityProviders, error)

func NewECSOptimizedNodeGroup

func NewECSOptimizedNodeGroup(e aws.Environment, clusterName pulumi.StringInput, armInstance bool) (pulumi.StringOutput, error)

func NewWindowsNodeGroup

func NewWindowsNodeGroup(e aws.Environment, clusterName pulumi.StringInput) (pulumi.StringOutput, error)

Types

type Client

type Client struct {
	*awsECS.Client
	// contains filtered or unexported fields
}

func NewECSClient

func NewECSClient(ctx context.Context, e aws.Environment) (*Client, error)

func (*Client) GetTaskPrivateIP

func (c *Client) GetTaskPrivateIP(clusterArn, serviceName string) (string, error)

type Instance

type Instance struct {
	pulumi.ResourceState

	Host pulumi.StringOutput
}

Jump to

Keyboard shortcuts

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