ecs

package
v3.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapacityProvider

type CapacityProvider struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) that identifies the capacity provider.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Nested argument defining the provider for the ECS auto scaling group. Defined below.
	AutoScalingGroupProvider CapacityProviderAutoScalingGroupProviderOutput `pulumi:"autoScalingGroupProvider"`
	// The name of the capacity provider.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides an ECS cluster capacity provider. More information can be found on the [ECS Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html).

> **NOTE:** Associating an ECS Capacity Provider to an Auto Scaling Group will automatically add the `AmazonECSManaged` tag to the Auto Scaling Group. This tag should be included in the `autoscaling.Group` resource configuration to prevent the provider from removing it in subsequent executions as well as ensuring the `AmazonECSManaged` tag is propagated to all EC2 Instances in the Auto Scaling Group if `minSize` is above 0 on creation. Any EC2 Instances in the Auto Scaling Group without this tag must be manually be updated, otherwise they may cause unexpected scaling behavior and metrics.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/autoscaling"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testGroup, err := autoscaling.NewGroup(ctx, "testGroup", &autoscaling.GroupArgs{
			Tags: autoscaling.GroupTagArray{
				&autoscaling.GroupTagArgs{
					Key:               pulumi.String("AmazonECSManaged"),
					Value:             pulumi.String(""),
					PropagateAtLaunch: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewCapacityProvider(ctx, "testCapacityProvider", &ecs.CapacityProviderArgs{
			AutoScalingGroupProvider: &ecs.CapacityProviderAutoScalingGroupProviderArgs{
				AutoScalingGroupArn:          testGroup.Arn,
				ManagedTerminationProtection: pulumi.String("ENABLED"),
				ManagedScaling: &ecs.CapacityProviderAutoScalingGroupProviderManagedScalingArgs{
					MaximumScalingStepSize: pulumi.Int(1000),
					MinimumScalingStepSize: pulumi.Int(1),
					Status:                 pulumi.String("ENABLED"),
					TargetCapacity:         pulumi.Int(10),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS Capacity Providers can be imported using the `name`, e.g.

```sh

$ pulumi import aws:ecs/capacityProvider:CapacityProvider example example

```

func GetCapacityProvider

func GetCapacityProvider(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CapacityProviderState, opts ...pulumi.ResourceOption) (*CapacityProvider, error)

GetCapacityProvider gets an existing CapacityProvider resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCapacityProvider

func NewCapacityProvider(ctx *pulumi.Context,
	name string, args *CapacityProviderArgs, opts ...pulumi.ResourceOption) (*CapacityProvider, error)

NewCapacityProvider registers a new resource with the given unique name, arguments, and options.

func (*CapacityProvider) ElementType added in v3.13.0

func (*CapacityProvider) ElementType() reflect.Type

func (*CapacityProvider) ToCapacityProviderOutput added in v3.13.0

func (i *CapacityProvider) ToCapacityProviderOutput() CapacityProviderOutput

func (*CapacityProvider) ToCapacityProviderOutputWithContext added in v3.13.0

func (i *CapacityProvider) ToCapacityProviderOutputWithContext(ctx context.Context) CapacityProviderOutput

func (*CapacityProvider) ToCapacityProviderPtrOutput added in v3.25.0

func (i *CapacityProvider) ToCapacityProviderPtrOutput() CapacityProviderPtrOutput

func (*CapacityProvider) ToCapacityProviderPtrOutputWithContext added in v3.25.0

func (i *CapacityProvider) ToCapacityProviderPtrOutputWithContext(ctx context.Context) CapacityProviderPtrOutput

type CapacityProviderArgs

type CapacityProviderArgs struct {
	// Nested argument defining the provider for the ECS auto scaling group. Defined below.
	AutoScalingGroupProvider CapacityProviderAutoScalingGroupProviderInput
	// The name of the capacity provider.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a CapacityProvider resource.

func (CapacityProviderArgs) ElementType

func (CapacityProviderArgs) ElementType() reflect.Type

type CapacityProviderArray added in v3.25.0

type CapacityProviderArray []CapacityProviderInput

func (CapacityProviderArray) ElementType added in v3.25.0

func (CapacityProviderArray) ElementType() reflect.Type

func (CapacityProviderArray) ToCapacityProviderArrayOutput added in v3.25.0

func (i CapacityProviderArray) ToCapacityProviderArrayOutput() CapacityProviderArrayOutput

func (CapacityProviderArray) ToCapacityProviderArrayOutputWithContext added in v3.25.0

func (i CapacityProviderArray) ToCapacityProviderArrayOutputWithContext(ctx context.Context) CapacityProviderArrayOutput

type CapacityProviderArrayInput added in v3.25.0

type CapacityProviderArrayInput interface {
	pulumi.Input

	ToCapacityProviderArrayOutput() CapacityProviderArrayOutput
	ToCapacityProviderArrayOutputWithContext(context.Context) CapacityProviderArrayOutput
}

CapacityProviderArrayInput is an input type that accepts CapacityProviderArray and CapacityProviderArrayOutput values. You can construct a concrete instance of `CapacityProviderArrayInput` via:

CapacityProviderArray{ CapacityProviderArgs{...} }

type CapacityProviderArrayOutput added in v3.25.0

type CapacityProviderArrayOutput struct{ *pulumi.OutputState }

func (CapacityProviderArrayOutput) ElementType added in v3.25.0

func (CapacityProviderArrayOutput) Index added in v3.25.0

func (CapacityProviderArrayOutput) ToCapacityProviderArrayOutput added in v3.25.0

func (o CapacityProviderArrayOutput) ToCapacityProviderArrayOutput() CapacityProviderArrayOutput

func (CapacityProviderArrayOutput) ToCapacityProviderArrayOutputWithContext added in v3.25.0

func (o CapacityProviderArrayOutput) ToCapacityProviderArrayOutputWithContext(ctx context.Context) CapacityProviderArrayOutput

type CapacityProviderAutoScalingGroupProvider

type CapacityProviderAutoScalingGroupProvider struct {
	// - The Amazon Resource Name (ARN) of the associated auto scaling group.
	AutoScalingGroupArn string `pulumi:"autoScalingGroupArn"`
	// - Nested argument defining the parameters of the auto scaling. Defined below.
	ManagedScaling *CapacityProviderAutoScalingGroupProviderManagedScaling `pulumi:"managedScaling"`
	// - Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`.
	ManagedTerminationProtection *string `pulumi:"managedTerminationProtection"`
}

type CapacityProviderAutoScalingGroupProviderArgs

type CapacityProviderAutoScalingGroupProviderArgs struct {
	// - The Amazon Resource Name (ARN) of the associated auto scaling group.
	AutoScalingGroupArn pulumi.StringInput `pulumi:"autoScalingGroupArn"`
	// - Nested argument defining the parameters of the auto scaling. Defined below.
	ManagedScaling CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput `pulumi:"managedScaling"`
	// - Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`.
	ManagedTerminationProtection pulumi.StringPtrInput `pulumi:"managedTerminationProtection"`
}

func (CapacityProviderAutoScalingGroupProviderArgs) ElementType

func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput

func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput

func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext

func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput

func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput

func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput

func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext

func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput

type CapacityProviderAutoScalingGroupProviderInput

type CapacityProviderAutoScalingGroupProviderInput interface {
	pulumi.Input

	ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
	ToCapacityProviderAutoScalingGroupProviderOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderOutput
}

CapacityProviderAutoScalingGroupProviderInput is an input type that accepts CapacityProviderAutoScalingGroupProviderArgs and CapacityProviderAutoScalingGroupProviderOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderInput` via:

CapacityProviderAutoScalingGroupProviderArgs{...}

type CapacityProviderAutoScalingGroupProviderManagedScaling

type CapacityProviderAutoScalingGroupProviderManagedScaling struct {
	// The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used.
	InstanceWarmupPeriod *int `pulumi:"instanceWarmupPeriod"`
	// The maximum step adjustment size. A number between 1 and 10,000.
	MaximumScalingStepSize *int `pulumi:"maximumScalingStepSize"`
	// The minimum step adjustment size. A number between 1 and 10,000.
	MinimumScalingStepSize *int `pulumi:"minimumScalingStepSize"`
	// Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`.
	Status *string `pulumi:"status"`
	// The target utilization for the capacity provider. A number between 1 and 100.
	TargetCapacity *int `pulumi:"targetCapacity"`
}

type CapacityProviderAutoScalingGroupProviderManagedScalingArgs

type CapacityProviderAutoScalingGroupProviderManagedScalingArgs struct {
	// The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used.
	InstanceWarmupPeriod pulumi.IntPtrInput `pulumi:"instanceWarmupPeriod"`
	// The maximum step adjustment size. A number between 1 and 10,000.
	MaximumScalingStepSize pulumi.IntPtrInput `pulumi:"maximumScalingStepSize"`
	// The minimum step adjustment size. A number between 1 and 10,000.
	MinimumScalingStepSize pulumi.IntPtrInput `pulumi:"minimumScalingStepSize"`
	// Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The target utilization for the capacity provider. A number between 1 and 100.
	TargetCapacity pulumi.IntPtrInput `pulumi:"targetCapacity"`
}

func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ElementType

func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput

func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext

func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput

func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput

func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext

func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput

type CapacityProviderAutoScalingGroupProviderManagedScalingInput

type CapacityProviderAutoScalingGroupProviderManagedScalingInput interface {
	pulumi.Input

	ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
	ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
}

CapacityProviderAutoScalingGroupProviderManagedScalingInput is an input type that accepts CapacityProviderAutoScalingGroupProviderManagedScalingArgs and CapacityProviderAutoScalingGroupProviderManagedScalingOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderManagedScalingInput` via:

CapacityProviderAutoScalingGroupProviderManagedScalingArgs{...}

type CapacityProviderAutoScalingGroupProviderManagedScalingOutput

type CapacityProviderAutoScalingGroupProviderManagedScalingOutput struct{ *pulumi.OutputState }

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ElementType

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) InstanceWarmupPeriod added in v3.30.0

The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used.

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MaximumScalingStepSize

The maximum step adjustment size. A number between 1 and 10,000.

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MinimumScalingStepSize

The minimum step adjustment size. A number between 1 and 10,000.

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) Status

Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`.

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) TargetCapacity

The target utilization for the capacity provider. A number between 1 and 100.

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext

func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput

func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext

func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput

type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput

type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput interface {
	pulumi.Input

	ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
	ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
}

CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput is an input type that accepts CapacityProviderAutoScalingGroupProviderManagedScalingArgs, CapacityProviderAutoScalingGroupProviderManagedScalingPtr and CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput` via:

        CapacityProviderAutoScalingGroupProviderManagedScalingArgs{...}

or:

        nil

type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput

type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput struct{ *pulumi.OutputState }

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Elem

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ElementType

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) InstanceWarmupPeriod added in v3.30.0

The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used.

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MaximumScalingStepSize

The maximum step adjustment size. A number between 1 and 10,000.

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MinimumScalingStepSize

The minimum step adjustment size. A number between 1 and 10,000.

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Status

Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`.

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) TargetCapacity

The target utilization for the capacity provider. A number between 1 and 100.

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput

func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext

func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput

type CapacityProviderAutoScalingGroupProviderOutput

type CapacityProviderAutoScalingGroupProviderOutput struct{ *pulumi.OutputState }

func (CapacityProviderAutoScalingGroupProviderOutput) AutoScalingGroupArn

- The Amazon Resource Name (ARN) of the associated auto scaling group.

func (CapacityProviderAutoScalingGroupProviderOutput) ElementType

func (CapacityProviderAutoScalingGroupProviderOutput) ManagedScaling

- Nested argument defining the parameters of the auto scaling. Defined below.

func (CapacityProviderAutoScalingGroupProviderOutput) ManagedTerminationProtection

- Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`.

func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput

func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput

func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext

func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput

func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput

func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput

func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext

func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput

type CapacityProviderAutoScalingGroupProviderPtrInput

type CapacityProviderAutoScalingGroupProviderPtrInput interface {
	pulumi.Input

	ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
	ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
}

CapacityProviderAutoScalingGroupProviderPtrInput is an input type that accepts CapacityProviderAutoScalingGroupProviderArgs, CapacityProviderAutoScalingGroupProviderPtr and CapacityProviderAutoScalingGroupProviderPtrOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderPtrInput` via:

        CapacityProviderAutoScalingGroupProviderArgs{...}

or:

        nil

type CapacityProviderAutoScalingGroupProviderPtrOutput

type CapacityProviderAutoScalingGroupProviderPtrOutput struct{ *pulumi.OutputState }

func (CapacityProviderAutoScalingGroupProviderPtrOutput) AutoScalingGroupArn

- The Amazon Resource Name (ARN) of the associated auto scaling group.

func (CapacityProviderAutoScalingGroupProviderPtrOutput) Elem

func (CapacityProviderAutoScalingGroupProviderPtrOutput) ElementType

func (CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedScaling

- Nested argument defining the parameters of the auto scaling. Defined below.

func (CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedTerminationProtection

- Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`.

func (CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput

func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput

func (CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext

func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput

type CapacityProviderInput added in v3.13.0

type CapacityProviderInput interface {
	pulumi.Input

	ToCapacityProviderOutput() CapacityProviderOutput
	ToCapacityProviderOutputWithContext(ctx context.Context) CapacityProviderOutput
}

type CapacityProviderMap added in v3.25.0

type CapacityProviderMap map[string]CapacityProviderInput

func (CapacityProviderMap) ElementType added in v3.25.0

func (CapacityProviderMap) ElementType() reflect.Type

func (CapacityProviderMap) ToCapacityProviderMapOutput added in v3.25.0

func (i CapacityProviderMap) ToCapacityProviderMapOutput() CapacityProviderMapOutput

func (CapacityProviderMap) ToCapacityProviderMapOutputWithContext added in v3.25.0

func (i CapacityProviderMap) ToCapacityProviderMapOutputWithContext(ctx context.Context) CapacityProviderMapOutput

type CapacityProviderMapInput added in v3.25.0

type CapacityProviderMapInput interface {
	pulumi.Input

	ToCapacityProviderMapOutput() CapacityProviderMapOutput
	ToCapacityProviderMapOutputWithContext(context.Context) CapacityProviderMapOutput
}

CapacityProviderMapInput is an input type that accepts CapacityProviderMap and CapacityProviderMapOutput values. You can construct a concrete instance of `CapacityProviderMapInput` via:

CapacityProviderMap{ "key": CapacityProviderArgs{...} }

type CapacityProviderMapOutput added in v3.25.0

type CapacityProviderMapOutput struct{ *pulumi.OutputState }

func (CapacityProviderMapOutput) ElementType added in v3.25.0

func (CapacityProviderMapOutput) ElementType() reflect.Type

func (CapacityProviderMapOutput) MapIndex added in v3.25.0

func (CapacityProviderMapOutput) ToCapacityProviderMapOutput added in v3.25.0

func (o CapacityProviderMapOutput) ToCapacityProviderMapOutput() CapacityProviderMapOutput

func (CapacityProviderMapOutput) ToCapacityProviderMapOutputWithContext added in v3.25.0

func (o CapacityProviderMapOutput) ToCapacityProviderMapOutputWithContext(ctx context.Context) CapacityProviderMapOutput

type CapacityProviderOutput added in v3.13.0

type CapacityProviderOutput struct {
	*pulumi.OutputState
}

func (CapacityProviderOutput) ElementType added in v3.13.0

func (CapacityProviderOutput) ElementType() reflect.Type

func (CapacityProviderOutput) ToCapacityProviderOutput added in v3.13.0

func (o CapacityProviderOutput) ToCapacityProviderOutput() CapacityProviderOutput

func (CapacityProviderOutput) ToCapacityProviderOutputWithContext added in v3.13.0

func (o CapacityProviderOutput) ToCapacityProviderOutputWithContext(ctx context.Context) CapacityProviderOutput

func (CapacityProviderOutput) ToCapacityProviderPtrOutput added in v3.25.0

func (o CapacityProviderOutput) ToCapacityProviderPtrOutput() CapacityProviderPtrOutput

func (CapacityProviderOutput) ToCapacityProviderPtrOutputWithContext added in v3.25.0

func (o CapacityProviderOutput) ToCapacityProviderPtrOutputWithContext(ctx context.Context) CapacityProviderPtrOutput

type CapacityProviderPtrInput added in v3.25.0

type CapacityProviderPtrInput interface {
	pulumi.Input

	ToCapacityProviderPtrOutput() CapacityProviderPtrOutput
	ToCapacityProviderPtrOutputWithContext(ctx context.Context) CapacityProviderPtrOutput
}

type CapacityProviderPtrOutput added in v3.25.0

type CapacityProviderPtrOutput struct {
	*pulumi.OutputState
}

func (CapacityProviderPtrOutput) ElementType added in v3.25.0

func (CapacityProviderPtrOutput) ElementType() reflect.Type

func (CapacityProviderPtrOutput) ToCapacityProviderPtrOutput added in v3.25.0

func (o CapacityProviderPtrOutput) ToCapacityProviderPtrOutput() CapacityProviderPtrOutput

func (CapacityProviderPtrOutput) ToCapacityProviderPtrOutputWithContext added in v3.25.0

func (o CapacityProviderPtrOutput) ToCapacityProviderPtrOutputWithContext(ctx context.Context) CapacityProviderPtrOutput

type CapacityProviderState

type CapacityProviderState struct {
	// The Amazon Resource Name (ARN) that identifies the capacity provider.
	Arn pulumi.StringPtrInput
	// Nested argument defining the provider for the ECS auto scaling group. Defined below.
	AutoScalingGroupProvider CapacityProviderAutoScalingGroupProviderPtrInput
	// The name of the capacity provider.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags.
	Tags pulumi.StringMapInput
}

func (CapacityProviderState) ElementType

func (CapacityProviderState) ElementType() reflect.Type

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) that identifies the cluster
	Arn pulumi.StringOutput `pulumi:"arn"`
	// List of short names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`.
	CapacityProviders pulumi.StringArrayOutput `pulumi:"capacityProviders"`
	// The capacity provider strategy to use by default for the cluster. Can be one or more.  Defined below.
	DefaultCapacityProviderStrategies ClusterDefaultCapacityProviderStrategyArrayOutput `pulumi:"defaultCapacityProviderStrategies"`
	// The name of the cluster (up to 255 letters, numbers, hyphens, and underscores)
	Name pulumi.StringOutput `pulumi:"name"`
	// Configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Defined below.
	Settings ClusterSettingArrayOutput `pulumi:"settings"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides an ECS cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewCluster(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS clusters can be imported using the `name`, e.g.

```sh

$ pulumi import aws:ecs/cluster:Cluster stateless stateless-app

```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType added in v3.13.0

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput added in v3.13.0

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext added in v3.13.0

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (*Cluster) ToClusterPtrOutput added in v3.25.0

func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput

func (*Cluster) ToClusterPtrOutputWithContext added in v3.25.0

func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterArgs

type ClusterArgs struct {
	// List of short names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`.
	CapacityProviders pulumi.StringArrayInput
	// The capacity provider strategy to use by default for the cluster. Can be one or more.  Defined below.
	DefaultCapacityProviderStrategies ClusterDefaultCapacityProviderStrategyArrayInput
	// The name of the cluster (up to 255 letters, numbers, hyphens, and underscores)
	Name pulumi.StringPtrInput
	// Configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Defined below.
	Settings ClusterSettingArrayInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray added in v3.25.0

type ClusterArray []ClusterInput

func (ClusterArray) ElementType added in v3.25.0

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput added in v3.25.0

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext added in v3.25.0

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput added in v3.25.0

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput added in v3.25.0

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType added in v3.25.0

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index added in v3.25.0

func (ClusterArrayOutput) ToClusterArrayOutput added in v3.25.0

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext added in v3.25.0

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterDefaultCapacityProviderStrategy

type ClusterDefaultCapacityProviderStrategy struct {
	// The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
	Base *int `pulumi:"base"`
	// The short name of the capacity provider.
	CapacityProvider string `pulumi:"capacityProvider"`
	// The relative percentage of the total number of launched tasks that should use the specified capacity provider.
	Weight *int `pulumi:"weight"`
}

type ClusterDefaultCapacityProviderStrategyArgs

type ClusterDefaultCapacityProviderStrategyArgs struct {
	// The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
	Base pulumi.IntPtrInput `pulumi:"base"`
	// The short name of the capacity provider.
	CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"`
	// The relative percentage of the total number of launched tasks that should use the specified capacity provider.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ClusterDefaultCapacityProviderStrategyArgs) ElementType

func (ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput

func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput

func (ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext

func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput

type ClusterDefaultCapacityProviderStrategyArray

type ClusterDefaultCapacityProviderStrategyArray []ClusterDefaultCapacityProviderStrategyInput

func (ClusterDefaultCapacityProviderStrategyArray) ElementType

func (ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput

func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput

func (ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext

func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput

type ClusterDefaultCapacityProviderStrategyArrayInput

type ClusterDefaultCapacityProviderStrategyArrayInput interface {
	pulumi.Input

	ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
	ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
}

ClusterDefaultCapacityProviderStrategyArrayInput is an input type that accepts ClusterDefaultCapacityProviderStrategyArray and ClusterDefaultCapacityProviderStrategyArrayOutput values. You can construct a concrete instance of `ClusterDefaultCapacityProviderStrategyArrayInput` via:

ClusterDefaultCapacityProviderStrategyArray{ ClusterDefaultCapacityProviderStrategyArgs{...} }

type ClusterDefaultCapacityProviderStrategyArrayOutput

type ClusterDefaultCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }

func (ClusterDefaultCapacityProviderStrategyArrayOutput) ElementType

func (ClusterDefaultCapacityProviderStrategyArrayOutput) Index

func (ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput

func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput

func (ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext

func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput

type ClusterDefaultCapacityProviderStrategyInput

type ClusterDefaultCapacityProviderStrategyInput interface {
	pulumi.Input

	ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
	ToClusterDefaultCapacityProviderStrategyOutputWithContext(context.Context) ClusterDefaultCapacityProviderStrategyOutput
}

ClusterDefaultCapacityProviderStrategyInput is an input type that accepts ClusterDefaultCapacityProviderStrategyArgs and ClusterDefaultCapacityProviderStrategyOutput values. You can construct a concrete instance of `ClusterDefaultCapacityProviderStrategyInput` via:

ClusterDefaultCapacityProviderStrategyArgs{...}

type ClusterDefaultCapacityProviderStrategyOutput

type ClusterDefaultCapacityProviderStrategyOutput struct{ *pulumi.OutputState }

func (ClusterDefaultCapacityProviderStrategyOutput) Base

The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.

func (ClusterDefaultCapacityProviderStrategyOutput) CapacityProvider

The short name of the capacity provider.

func (ClusterDefaultCapacityProviderStrategyOutput) ElementType

func (ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput

func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput

func (ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext

func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput

func (ClusterDefaultCapacityProviderStrategyOutput) Weight

The relative percentage of the total number of launched tasks that should use the specified capacity provider.

type ClusterInput added in v3.13.0

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap added in v3.25.0

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType added in v3.25.0

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput added in v3.25.0

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext added in v3.25.0

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput added in v3.25.0

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput added in v3.25.0

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType added in v3.25.0

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex added in v3.25.0

func (ClusterMapOutput) ToClusterMapOutput added in v3.25.0

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext added in v3.25.0

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput added in v3.13.0

type ClusterOutput struct {
	*pulumi.OutputState
}

func (ClusterOutput) ElementType added in v3.13.0

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput added in v3.13.0

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v3.13.0

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) ToClusterPtrOutput added in v3.25.0

func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterOutput) ToClusterPtrOutputWithContext added in v3.25.0

func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterPtrInput added in v3.25.0

type ClusterPtrInput interface {
	pulumi.Input

	ToClusterPtrOutput() ClusterPtrOutput
	ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
}

type ClusterPtrOutput added in v3.25.0

type ClusterPtrOutput struct {
	*pulumi.OutputState
}

func (ClusterPtrOutput) ElementType added in v3.25.0

func (ClusterPtrOutput) ElementType() reflect.Type

func (ClusterPtrOutput) ToClusterPtrOutput added in v3.25.0

func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterPtrOutput) ToClusterPtrOutputWithContext added in v3.25.0

func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterSetting

type ClusterSetting struct {
	// Name of the setting to manage. Valid values: `containerInsights`.
	Name string `pulumi:"name"`
	// The value to assign to the setting. Value values are `enabled` and `disabled`.
	Value string `pulumi:"value"`
}

type ClusterSettingArgs

type ClusterSettingArgs struct {
	// Name of the setting to manage. Valid values: `containerInsights`.
	Name pulumi.StringInput `pulumi:"name"`
	// The value to assign to the setting. Value values are `enabled` and `disabled`.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ClusterSettingArgs) ElementType

func (ClusterSettingArgs) ElementType() reflect.Type

func (ClusterSettingArgs) ToClusterSettingOutput

func (i ClusterSettingArgs) ToClusterSettingOutput() ClusterSettingOutput

func (ClusterSettingArgs) ToClusterSettingOutputWithContext

func (i ClusterSettingArgs) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput

type ClusterSettingArray

type ClusterSettingArray []ClusterSettingInput

func (ClusterSettingArray) ElementType

func (ClusterSettingArray) ElementType() reflect.Type

func (ClusterSettingArray) ToClusterSettingArrayOutput

func (i ClusterSettingArray) ToClusterSettingArrayOutput() ClusterSettingArrayOutput

func (ClusterSettingArray) ToClusterSettingArrayOutputWithContext

func (i ClusterSettingArray) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput

type ClusterSettingArrayInput

type ClusterSettingArrayInput interface {
	pulumi.Input

	ToClusterSettingArrayOutput() ClusterSettingArrayOutput
	ToClusterSettingArrayOutputWithContext(context.Context) ClusterSettingArrayOutput
}

ClusterSettingArrayInput is an input type that accepts ClusterSettingArray and ClusterSettingArrayOutput values. You can construct a concrete instance of `ClusterSettingArrayInput` via:

ClusterSettingArray{ ClusterSettingArgs{...} }

type ClusterSettingArrayOutput

type ClusterSettingArrayOutput struct{ *pulumi.OutputState }

func (ClusterSettingArrayOutput) ElementType

func (ClusterSettingArrayOutput) ElementType() reflect.Type

func (ClusterSettingArrayOutput) Index

func (ClusterSettingArrayOutput) ToClusterSettingArrayOutput

func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutput() ClusterSettingArrayOutput

func (ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext

func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput

type ClusterSettingInput

type ClusterSettingInput interface {
	pulumi.Input

	ToClusterSettingOutput() ClusterSettingOutput
	ToClusterSettingOutputWithContext(context.Context) ClusterSettingOutput
}

ClusterSettingInput is an input type that accepts ClusterSettingArgs and ClusterSettingOutput values. You can construct a concrete instance of `ClusterSettingInput` via:

ClusterSettingArgs{...}

type ClusterSettingOutput

type ClusterSettingOutput struct{ *pulumi.OutputState }

func (ClusterSettingOutput) ElementType

func (ClusterSettingOutput) ElementType() reflect.Type

func (ClusterSettingOutput) Name

Name of the setting to manage. Valid values: `containerInsights`.

func (ClusterSettingOutput) ToClusterSettingOutput

func (o ClusterSettingOutput) ToClusterSettingOutput() ClusterSettingOutput

func (ClusterSettingOutput) ToClusterSettingOutputWithContext

func (o ClusterSettingOutput) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput

func (ClusterSettingOutput) Value

The value to assign to the setting. Value values are `enabled` and `disabled`.

type ClusterState

type ClusterState struct {
	// The Amazon Resource Name (ARN) that identifies the cluster
	Arn pulumi.StringPtrInput
	// List of short names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`.
	CapacityProviders pulumi.StringArrayInput
	// The capacity provider strategy to use by default for the cluster. Can be one or more.  Defined below.
	DefaultCapacityProviderStrategies ClusterDefaultCapacityProviderStrategyArrayInput
	// The name of the cluster (up to 255 letters, numbers, hyphens, and underscores)
	Name pulumi.StringPtrInput
	// Configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Defined below.
	Settings ClusterSettingArrayInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetClusterSetting

type GetClusterSetting struct {
	Name  string `pulumi:"name"`
	Value string `pulumi:"value"`
}

type GetClusterSettingArgs

type GetClusterSettingArgs struct {
	Name  pulumi.StringInput `pulumi:"name"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetClusterSettingArgs) ElementType

func (GetClusterSettingArgs) ElementType() reflect.Type

func (GetClusterSettingArgs) ToGetClusterSettingOutput

func (i GetClusterSettingArgs) ToGetClusterSettingOutput() GetClusterSettingOutput

func (GetClusterSettingArgs) ToGetClusterSettingOutputWithContext

func (i GetClusterSettingArgs) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput

type GetClusterSettingArray

type GetClusterSettingArray []GetClusterSettingInput

func (GetClusterSettingArray) ElementType

func (GetClusterSettingArray) ElementType() reflect.Type

func (GetClusterSettingArray) ToGetClusterSettingArrayOutput

func (i GetClusterSettingArray) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput

func (GetClusterSettingArray) ToGetClusterSettingArrayOutputWithContext

func (i GetClusterSettingArray) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput

type GetClusterSettingArrayInput

type GetClusterSettingArrayInput interface {
	pulumi.Input

	ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput
	ToGetClusterSettingArrayOutputWithContext(context.Context) GetClusterSettingArrayOutput
}

GetClusterSettingArrayInput is an input type that accepts GetClusterSettingArray and GetClusterSettingArrayOutput values. You can construct a concrete instance of `GetClusterSettingArrayInput` via:

GetClusterSettingArray{ GetClusterSettingArgs{...} }

type GetClusterSettingArrayOutput

type GetClusterSettingArrayOutput struct{ *pulumi.OutputState }

func (GetClusterSettingArrayOutput) ElementType

func (GetClusterSettingArrayOutput) Index

func (GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput

func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput

func (GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext

func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput

type GetClusterSettingInput

type GetClusterSettingInput interface {
	pulumi.Input

	ToGetClusterSettingOutput() GetClusterSettingOutput
	ToGetClusterSettingOutputWithContext(context.Context) GetClusterSettingOutput
}

GetClusterSettingInput is an input type that accepts GetClusterSettingArgs and GetClusterSettingOutput values. You can construct a concrete instance of `GetClusterSettingInput` via:

GetClusterSettingArgs{...}

type GetClusterSettingOutput

type GetClusterSettingOutput struct{ *pulumi.OutputState }

func (GetClusterSettingOutput) ElementType

func (GetClusterSettingOutput) ElementType() reflect.Type

func (GetClusterSettingOutput) Name

func (GetClusterSettingOutput) ToGetClusterSettingOutput

func (o GetClusterSettingOutput) ToGetClusterSettingOutput() GetClusterSettingOutput

func (GetClusterSettingOutput) ToGetClusterSettingOutputWithContext

func (o GetClusterSettingOutput) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput

func (GetClusterSettingOutput) Value

type GetContainerDefinitionArgs

type GetContainerDefinitionArgs struct {
	// The name of the container definition
	ContainerName string `pulumi:"containerName"`
	// The ARN of the task definition which contains the container
	TaskDefinition string `pulumi:"taskDefinition"`
}

A collection of arguments for invoking getContainerDefinition.

type GetContainerDefinitionResult

type GetContainerDefinitionResult struct {
	ContainerName string `pulumi:"containerName"`
	// The CPU limit for this container definition
	Cpu int `pulumi:"cpu"`
	// Indicator if networking is disabled
	DisableNetworking bool `pulumi:"disableNetworking"`
	// Set docker labels
	DockerLabels map[string]string `pulumi:"dockerLabels"`
	// The environment in use
	Environment map[string]string `pulumi:"environment"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The docker image in use, including the digest
	Image string `pulumi:"image"`
	// The digest of the docker image in use
	ImageDigest string `pulumi:"imageDigest"`
	// The memory limit for this container definition
	Memory int `pulumi:"memory"`
	// The soft limit (in MiB) of memory to reserve for the container. When system memory is under contention, Docker attempts to keep the container memory to this soft limit
	MemoryReservation int    `pulumi:"memoryReservation"`
	TaskDefinition    string `pulumi:"taskDefinition"`
}

A collection of values returned by getContainerDefinition.

func GetContainerDefinition

func GetContainerDefinition(ctx *pulumi.Context, args *GetContainerDefinitionArgs, opts ...pulumi.InvokeOption) (*GetContainerDefinitionResult, error)

The ECS container definition data source allows access to details of a specific container within an AWS ECS service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.GetContainerDefinition(ctx, &ecs.GetContainerDefinitionArgs{
			TaskDefinition: aws_ecs_task_definition.Mongo.Id,
			ContainerName:  "mongodb",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupClusterArgs

type LookupClusterArgs struct {
	// The name of the ECS Cluster
	ClusterName string `pulumi:"clusterName"`
}

A collection of arguments for invoking getCluster.

type LookupClusterResult

type LookupClusterResult struct {
	// The ARN of the ECS Cluster
	Arn         string `pulumi:"arn"`
	ClusterName string `pulumi:"clusterName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The number of pending tasks for the ECS Cluster
	PendingTasksCount int `pulumi:"pendingTasksCount"`
	// The number of registered container instances for the ECS Cluster
	RegisteredContainerInstancesCount int `pulumi:"registeredContainerInstancesCount"`
	// The number of running tasks for the ECS Cluster
	RunningTasksCount int `pulumi:"runningTasksCount"`
	// The settings associated with the ECS Cluster.
	Settings []GetClusterSetting `pulumi:"settings"`
	// The status of the ECS Cluster
	Status string `pulumi:"status"`
}

A collection of values returned by getCluster.

func LookupCluster

func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)

The ECS Cluster data source allows access to details of a specific cluster within an AWS ECS service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.LookupCluster(ctx, &ecs.LookupClusterArgs{
			ClusterName: "ecs-mongo-production",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceArgs

type LookupServiceArgs struct {
	// The arn of the ECS Cluster
	ClusterArn string `pulumi:"clusterArn"`
	// The name of the ECS Service
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getService.

type LookupServiceResult

type LookupServiceResult struct {
	// The ARN of the ECS Service
	Arn        string `pulumi:"arn"`
	ClusterArn string `pulumi:"clusterArn"`
	// The number of tasks for the ECS Service
	DesiredCount int `pulumi:"desiredCount"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The launch type for the ECS Service
	LaunchType string `pulumi:"launchType"`
	// The scheduling strategy for the ECS Service
	SchedulingStrategy string `pulumi:"schedulingStrategy"`
	ServiceName        string `pulumi:"serviceName"`
	// The family for the latest ACTIVE revision
	TaskDefinition string `pulumi:"taskDefinition"`
}

A collection of values returned by getService.

func LookupService

func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)

The ECS Service data source allows access to details of a specific Service within a AWS ECS Cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.LookupService(ctx, &ecs.LookupServiceArgs{
			ServiceName: "example",
			ClusterArn:  data.Aws_ecs_cluster.Example.Arn,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTaskDefinitionArgs

type LookupTaskDefinitionArgs struct {
	// The family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
	TaskDefinition string `pulumi:"taskDefinition"`
}

A collection of arguments for invoking getTaskDefinition.

type LookupTaskDefinitionResult

type LookupTaskDefinitionResult struct {
	// The family of this task definition
	Family string `pulumi:"family"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Docker networking mode to use for the containers in this task.
	NetworkMode string `pulumi:"networkMode"`
	// The revision of this task definition
	Revision int `pulumi:"revision"`
	// The status of this task definition
	Status         string `pulumi:"status"`
	TaskDefinition string `pulumi:"taskDefinition"`
	// The ARN of the IAM role that containers in this task can assume
	TaskRoleArn string `pulumi:"taskRoleArn"`
}

A collection of values returned by getTaskDefinition.

func LookupTaskDefinition

func LookupTaskDefinition(ctx *pulumi.Context, args *LookupTaskDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupTaskDefinitionResult, error)

The ECS task definition data source allows access to details of a specific AWS ECS task definition.

type Service

type Service struct {
	pulumi.CustomResourceState

	// Capacity provider strategy to use for the service. Can be one or more.  Detailed below.
	CapacityProviderStrategies ServiceCapacityProviderStrategyArrayOutput `pulumi:"capacityProviderStrategies"`
	// ARN of an ECS cluster
	Cluster pulumi.StringOutput `pulumi:"cluster"`
	// Configuration block for deployment circuit breaker. Detailed below.
	DeploymentCircuitBreaker ServiceDeploymentCircuitBreakerPtrOutput `pulumi:"deploymentCircuitBreaker"`
	// Configuration block for deployment controller configuration. Detailed below.
	DeploymentController ServiceDeploymentControllerPtrOutput `pulumi:"deploymentController"`
	// Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy.
	DeploymentMaximumPercent pulumi.IntPtrOutput `pulumi:"deploymentMaximumPercent"`
	// Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment.
	DeploymentMinimumHealthyPercent pulumi.IntPtrOutput `pulumi:"deploymentMinimumHealthyPercent"`
	// Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy.
	DesiredCount pulumi.IntPtrOutput `pulumi:"desiredCount"`
	// Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
	EnableEcsManagedTags pulumi.BoolPtrOutput `pulumi:"enableEcsManagedTags"`
	// Specifies whether to enable Amazon ECS Exec for the tasks within the service.
	EnableExecuteCommand pulumi.BoolPtrOutput `pulumi:"enableExecuteCommand"`
	// Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g. `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates.
	ForceNewDeployment pulumi.BoolPtrOutput `pulumi:"forceNewDeployment"`
	// Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers.
	HealthCheckGracePeriodSeconds pulumi.IntPtrOutput `pulumi:"healthCheckGracePeriodSeconds"`
	// ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here.
	IamRole pulumi.StringOutput `pulumi:"iamRole"`
	// Launch type on which to run your service. The valid values are `EC2` and `FARGATE`. Defaults to `EC2`.
	LaunchType pulumi.StringOutput `pulumi:"launchType"`
	// Configuration block for load balancers. Detailed below.
	LoadBalancers ServiceLoadBalancerArrayOutput `pulumi:"loadBalancers"`
	// Name of the service (up to 255 letters, numbers, hyphens, and underscores)
	Name pulumi.StringOutput `pulumi:"name"`
	// Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below.
	NetworkConfiguration ServiceNetworkConfigurationPtrOutput `pulumi:"networkConfiguration"`
	// Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. Detailed below.
	OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayOutput `pulumi:"orderedPlacementStrategies"`
	// Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. Detailed below.
	PlacementConstraints ServicePlacementConstraintArrayOutput `pulumi:"placementConstraints"`
	// Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
	PlatformVersion pulumi.StringOutput `pulumi:"platformVersion"`
	// Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`.
	PropagateTags pulumi.StringPtrOutput `pulumi:"propagateTags"`
	// Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html).
	SchedulingStrategy pulumi.StringPtrOutput `pulumi:"schedulingStrategy"`
	// Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below.
	ServiceRegistries ServiceServiceRegistriesPtrOutput `pulumi:"serviceRegistries"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used.
	TaskDefinition pulumi.StringPtrOutput `pulumi:"taskDefinition"`
	// If `true`, the provider will wait for the service to reach a steady state (like `aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. The provider will wait for a maximum of 15 minutes for the state to be achieved.
	WaitForSteadyState pulumi.BoolPtrOutput `pulumi:"waitForSteadyState"`
}

> **Note:** To prevent a race condition during service deletion, make sure to set `dependsOn` to the related `iam.RolePolicy`; otherwise, the policy may be destroyed too soon and the ECS service will then get stuck in the `DRAINING` state.

Provides an ECS service - effectively a task that is expected to run until an error occurs or a user terminates it (typically a webserver or a database).

See [ECS Services section in AWS developer guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewService(ctx, "mongo", &ecs.ServiceArgs{
			Cluster:        pulumi.Any(aws_ecs_cluster.Foo.Id),
			TaskDefinition: pulumi.Any(aws_ecs_task_definition.Mongo.Arn),
			DesiredCount:   pulumi.Int(3),
			IamRole:        pulumi.Any(aws_iam_role.Foo.Arn),
			OrderedPlacementStrategies: ecs.ServiceOrderedPlacementStrategyArray{
				&ecs.ServiceOrderedPlacementStrategyArgs{
					Type:  pulumi.String("binpack"),
					Field: pulumi.String("cpu"),
				},
			},
			LoadBalancers: ecs.ServiceLoadBalancerArray{
				&ecs.ServiceLoadBalancerArgs{
					TargetGroupArn: pulumi.Any(aws_lb_target_group.Foo.Arn),
					ContainerName:  pulumi.String("mongo"),
					ContainerPort:  pulumi.Int(8080),
				},
			},
			PlacementConstraints: ecs.ServicePlacementConstraintArray{
				&ecs.ServicePlacementConstraintArgs{
					Type:       pulumi.String("memberOf"),
					Expression: pulumi.String("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]"),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			aws_iam_role_policy.Foo,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Ignoring Changes to Desired Count

You can use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to create an ECS service with an initial count of running instances, then ignore any changes to that count caused externally (e.g. Application Autoscaling).

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewService(ctx, "example", &ecs.ServiceArgs{
			DesiredCount: pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Daemon Scheduling Strategy

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewService(ctx, "bar", &ecs.ServiceArgs{
			Cluster:            pulumi.Any(aws_ecs_cluster.Foo.Id),
			TaskDefinition:     pulumi.Any(aws_ecs_task_definition.Bar.Arn),
			SchedulingStrategy: pulumi.String("DAEMON"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### External Deployment Controller

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewService(ctx, "example", &ecs.ServiceArgs{
			Cluster: pulumi.Any(aws_ecs_cluster.Example.Id),
			DeploymentController: &ecs.ServiceDeploymentControllerArgs{
				Type: pulumi.String("EXTERNAL"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS services can be imported using the `name` together with ecs cluster `name`, e.g.

```sh

$ pulumi import aws:ecs/service:Service imported cluster-name/service-name

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

func (*Service) ElementType added in v3.13.0

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput added in v3.13.0

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext added in v3.13.0

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (*Service) ToServicePtrOutput added in v3.25.0

func (i *Service) ToServicePtrOutput() ServicePtrOutput

func (*Service) ToServicePtrOutputWithContext added in v3.25.0

func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

type ServiceArgs

type ServiceArgs struct {
	// Capacity provider strategy to use for the service. Can be one or more.  Detailed below.
	CapacityProviderStrategies ServiceCapacityProviderStrategyArrayInput
	// ARN of an ECS cluster
	Cluster pulumi.StringPtrInput
	// Configuration block for deployment circuit breaker. Detailed below.
	DeploymentCircuitBreaker ServiceDeploymentCircuitBreakerPtrInput
	// Configuration block for deployment controller configuration. Detailed below.
	DeploymentController ServiceDeploymentControllerPtrInput
	// Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy.
	DeploymentMaximumPercent pulumi.IntPtrInput
	// Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment.
	DeploymentMinimumHealthyPercent pulumi.IntPtrInput
	// Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy.
	DesiredCount pulumi.IntPtrInput
	// Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
	EnableEcsManagedTags pulumi.BoolPtrInput
	// Specifies whether to enable Amazon ECS Exec for the tasks within the service.
	EnableExecuteCommand pulumi.BoolPtrInput
	// Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g. `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates.
	ForceNewDeployment pulumi.BoolPtrInput
	// Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers.
	HealthCheckGracePeriodSeconds pulumi.IntPtrInput
	// ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here.
	IamRole pulumi.StringPtrInput
	// Launch type on which to run your service. The valid values are `EC2` and `FARGATE`. Defaults to `EC2`.
	LaunchType pulumi.StringPtrInput
	// Configuration block for load balancers. Detailed below.
	LoadBalancers ServiceLoadBalancerArrayInput
	// Name of the service (up to 255 letters, numbers, hyphens, and underscores)
	Name pulumi.StringPtrInput
	// Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below.
	NetworkConfiguration ServiceNetworkConfigurationPtrInput
	// Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. Detailed below.
	OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayInput
	// Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. Detailed below.
	PlacementConstraints ServicePlacementConstraintArrayInput
	// Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
	PlatformVersion pulumi.StringPtrInput
	// Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`.
	PropagateTags pulumi.StringPtrInput
	// Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html).
	SchedulingStrategy pulumi.StringPtrInput
	// Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below.
	ServiceRegistries ServiceServiceRegistriesPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used.
	TaskDefinition pulumi.StringPtrInput
	// If `true`, the provider will wait for the service to reach a steady state (like `aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. The provider will wait for a maximum of 15 minutes for the state to be achieved.
	WaitForSteadyState pulumi.BoolPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray added in v3.25.0

type ServiceArray []ServiceInput

func (ServiceArray) ElementType added in v3.25.0

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput added in v3.25.0

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext added in v3.25.0

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput added in v3.25.0

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput added in v3.25.0

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType added in v3.25.0

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index added in v3.25.0

func (ServiceArrayOutput) ToServiceArrayOutput added in v3.25.0

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext added in v3.25.0

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceCapacityProviderStrategy

type ServiceCapacityProviderStrategy struct {
	// Number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
	Base *int `pulumi:"base"`
	// Short name of the capacity provider.
	CapacityProvider string `pulumi:"capacityProvider"`
	// Relative percentage of the total number of launched tasks that should use the specified capacity provider.
	Weight *int `pulumi:"weight"`
}

type ServiceCapacityProviderStrategyArgs

type ServiceCapacityProviderStrategyArgs struct {
	// Number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
	Base pulumi.IntPtrInput `pulumi:"base"`
	// Short name of the capacity provider.
	CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"`
	// Relative percentage of the total number of launched tasks that should use the specified capacity provider.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ServiceCapacityProviderStrategyArgs) ElementType

func (ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput

func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput

func (ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext

func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput

type ServiceCapacityProviderStrategyArray

type ServiceCapacityProviderStrategyArray []ServiceCapacityProviderStrategyInput

func (ServiceCapacityProviderStrategyArray) ElementType

func (ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput

func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput

func (ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext

func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput

type ServiceCapacityProviderStrategyArrayInput

type ServiceCapacityProviderStrategyArrayInput interface {
	pulumi.Input

	ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
	ToServiceCapacityProviderStrategyArrayOutputWithContext(context.Context) ServiceCapacityProviderStrategyArrayOutput
}

ServiceCapacityProviderStrategyArrayInput is an input type that accepts ServiceCapacityProviderStrategyArray and ServiceCapacityProviderStrategyArrayOutput values. You can construct a concrete instance of `ServiceCapacityProviderStrategyArrayInput` via:

ServiceCapacityProviderStrategyArray{ ServiceCapacityProviderStrategyArgs{...} }

type ServiceCapacityProviderStrategyArrayOutput

type ServiceCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }

func (ServiceCapacityProviderStrategyArrayOutput) ElementType

func (ServiceCapacityProviderStrategyArrayOutput) Index

func (ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput

func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput

func (ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext

func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput

type ServiceCapacityProviderStrategyInput

type ServiceCapacityProviderStrategyInput interface {
	pulumi.Input

	ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
	ToServiceCapacityProviderStrategyOutputWithContext(context.Context) ServiceCapacityProviderStrategyOutput
}

ServiceCapacityProviderStrategyInput is an input type that accepts ServiceCapacityProviderStrategyArgs and ServiceCapacityProviderStrategyOutput values. You can construct a concrete instance of `ServiceCapacityProviderStrategyInput` via:

ServiceCapacityProviderStrategyArgs{...}

type ServiceCapacityProviderStrategyOutput

type ServiceCapacityProviderStrategyOutput struct{ *pulumi.OutputState }

func (ServiceCapacityProviderStrategyOutput) Base

Number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.

func (ServiceCapacityProviderStrategyOutput) CapacityProvider

Short name of the capacity provider.

func (ServiceCapacityProviderStrategyOutput) ElementType

func (ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput

func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput

func (ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext

func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput

func (ServiceCapacityProviderStrategyOutput) Weight

Relative percentage of the total number of launched tasks that should use the specified capacity provider.

type ServiceDeploymentCircuitBreaker added in v3.36.0

type ServiceDeploymentCircuitBreaker struct {
	// Whether to enable the deployment circuit breaker logic for the service.
	Enable bool `pulumi:"enable"`
	// Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
	Rollback bool `pulumi:"rollback"`
}

type ServiceDeploymentCircuitBreakerArgs added in v3.36.0

type ServiceDeploymentCircuitBreakerArgs struct {
	// Whether to enable the deployment circuit breaker logic for the service.
	Enable pulumi.BoolInput `pulumi:"enable"`
	// Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
	Rollback pulumi.BoolInput `pulumi:"rollback"`
}

func (ServiceDeploymentCircuitBreakerArgs) ElementType added in v3.36.0

func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutput added in v3.36.0

func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput

func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutputWithContext added in v3.36.0

func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerOutput

func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutput added in v3.36.0

func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput

func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutputWithContext added in v3.36.0

func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput

type ServiceDeploymentCircuitBreakerInput added in v3.36.0

type ServiceDeploymentCircuitBreakerInput interface {
	pulumi.Input

	ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput
	ToServiceDeploymentCircuitBreakerOutputWithContext(context.Context) ServiceDeploymentCircuitBreakerOutput
}

ServiceDeploymentCircuitBreakerInput is an input type that accepts ServiceDeploymentCircuitBreakerArgs and ServiceDeploymentCircuitBreakerOutput values. You can construct a concrete instance of `ServiceDeploymentCircuitBreakerInput` via:

ServiceDeploymentCircuitBreakerArgs{...}

type ServiceDeploymentCircuitBreakerOutput added in v3.36.0

type ServiceDeploymentCircuitBreakerOutput struct{ *pulumi.OutputState }

func (ServiceDeploymentCircuitBreakerOutput) ElementType added in v3.36.0

func (ServiceDeploymentCircuitBreakerOutput) Enable added in v3.36.0

Whether to enable the deployment circuit breaker logic for the service.

func (ServiceDeploymentCircuitBreakerOutput) Rollback added in v3.36.0

Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutput added in v3.36.0

func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput

func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutputWithContext added in v3.36.0

func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerOutput

func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutput added in v3.36.0

func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput

func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext added in v3.36.0

func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput

type ServiceDeploymentCircuitBreakerPtrInput added in v3.36.0

type ServiceDeploymentCircuitBreakerPtrInput interface {
	pulumi.Input

	ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput
	ToServiceDeploymentCircuitBreakerPtrOutputWithContext(context.Context) ServiceDeploymentCircuitBreakerPtrOutput
}

ServiceDeploymentCircuitBreakerPtrInput is an input type that accepts ServiceDeploymentCircuitBreakerArgs, ServiceDeploymentCircuitBreakerPtr and ServiceDeploymentCircuitBreakerPtrOutput values. You can construct a concrete instance of `ServiceDeploymentCircuitBreakerPtrInput` via:

        ServiceDeploymentCircuitBreakerArgs{...}

or:

        nil

type ServiceDeploymentCircuitBreakerPtrOutput added in v3.36.0

type ServiceDeploymentCircuitBreakerPtrOutput struct{ *pulumi.OutputState }

func (ServiceDeploymentCircuitBreakerPtrOutput) Elem added in v3.36.0

func (ServiceDeploymentCircuitBreakerPtrOutput) ElementType added in v3.36.0

func (ServiceDeploymentCircuitBreakerPtrOutput) Enable added in v3.36.0

Whether to enable the deployment circuit breaker logic for the service.

func (ServiceDeploymentCircuitBreakerPtrOutput) Rollback added in v3.36.0

Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

func (ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutput added in v3.36.0

func (o ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput

func (ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext added in v3.36.0

func (o ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput

type ServiceDeploymentController

type ServiceDeploymentController struct {
	// Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.
	Type *string `pulumi:"type"`
}

type ServiceDeploymentControllerArgs

type ServiceDeploymentControllerArgs struct {
	// Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceDeploymentControllerArgs) ElementType

func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput

func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput

func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext

func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput

func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput

func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput

func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext

func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput

type ServiceDeploymentControllerInput

type ServiceDeploymentControllerInput interface {
	pulumi.Input

	ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
	ToServiceDeploymentControllerOutputWithContext(context.Context) ServiceDeploymentControllerOutput
}

ServiceDeploymentControllerInput is an input type that accepts ServiceDeploymentControllerArgs and ServiceDeploymentControllerOutput values. You can construct a concrete instance of `ServiceDeploymentControllerInput` via:

ServiceDeploymentControllerArgs{...}

type ServiceDeploymentControllerOutput

type ServiceDeploymentControllerOutput struct{ *pulumi.OutputState }

func (ServiceDeploymentControllerOutput) ElementType

func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput

func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput

func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext

func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput

func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput

func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput

func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext

func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput

func (ServiceDeploymentControllerOutput) Type

Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.

type ServiceDeploymentControllerPtrInput

type ServiceDeploymentControllerPtrInput interface {
	pulumi.Input

	ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
	ToServiceDeploymentControllerPtrOutputWithContext(context.Context) ServiceDeploymentControllerPtrOutput
}

ServiceDeploymentControllerPtrInput is an input type that accepts ServiceDeploymentControllerArgs, ServiceDeploymentControllerPtr and ServiceDeploymentControllerPtrOutput values. You can construct a concrete instance of `ServiceDeploymentControllerPtrInput` via:

        ServiceDeploymentControllerArgs{...}

or:

        nil

type ServiceDeploymentControllerPtrOutput

type ServiceDeploymentControllerPtrOutput struct{ *pulumi.OutputState }

func (ServiceDeploymentControllerPtrOutput) Elem

func (ServiceDeploymentControllerPtrOutput) ElementType

func (ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput

func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput

func (ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext

func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput

func (ServiceDeploymentControllerPtrOutput) Type

Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.

type ServiceInput added in v3.13.0

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceLoadBalancer

type ServiceLoadBalancer struct {
	// Name of the container to associate with the load balancer (as it appears in a container definition).
	ContainerName string `pulumi:"containerName"`
	// Port on the container to associate with the load balancer.
	ContainerPort int `pulumi:"containerPort"`
	// Name of the ELB (Classic) to associate with the service.
	ElbName *string `pulumi:"elbName"`
	// ARN of the Load Balancer target group to associate with the service.
	TargetGroupArn *string `pulumi:"targetGroupArn"`
}

type ServiceLoadBalancerArgs

type ServiceLoadBalancerArgs struct {
	// Name of the container to associate with the load balancer (as it appears in a container definition).
	ContainerName pulumi.StringInput `pulumi:"containerName"`
	// Port on the container to associate with the load balancer.
	ContainerPort pulumi.IntInput `pulumi:"containerPort"`
	// Name of the ELB (Classic) to associate with the service.
	ElbName pulumi.StringPtrInput `pulumi:"elbName"`
	// ARN of the Load Balancer target group to associate with the service.
	TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"`
}

func (ServiceLoadBalancerArgs) ElementType

func (ServiceLoadBalancerArgs) ElementType() reflect.Type

func (ServiceLoadBalancerArgs) ToServiceLoadBalancerOutput

func (i ServiceLoadBalancerArgs) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput

func (ServiceLoadBalancerArgs) ToServiceLoadBalancerOutputWithContext

func (i ServiceLoadBalancerArgs) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput

type ServiceLoadBalancerArray

type ServiceLoadBalancerArray []ServiceLoadBalancerInput

func (ServiceLoadBalancerArray) ElementType

func (ServiceLoadBalancerArray) ElementType() reflect.Type

func (ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutput

func (i ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput

func (ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutputWithContext

func (i ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput

type ServiceLoadBalancerArrayInput

type ServiceLoadBalancerArrayInput interface {
	pulumi.Input

	ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput
	ToServiceLoadBalancerArrayOutputWithContext(context.Context) ServiceLoadBalancerArrayOutput
}

ServiceLoadBalancerArrayInput is an input type that accepts ServiceLoadBalancerArray and ServiceLoadBalancerArrayOutput values. You can construct a concrete instance of `ServiceLoadBalancerArrayInput` via:

ServiceLoadBalancerArray{ ServiceLoadBalancerArgs{...} }

type ServiceLoadBalancerArrayOutput

type ServiceLoadBalancerArrayOutput struct{ *pulumi.OutputState }

func (ServiceLoadBalancerArrayOutput) ElementType

func (ServiceLoadBalancerArrayOutput) Index

func (ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput

func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput

func (ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext

func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput

type ServiceLoadBalancerInput

type ServiceLoadBalancerInput interface {
	pulumi.Input

	ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput
	ToServiceLoadBalancerOutputWithContext(context.Context) ServiceLoadBalancerOutput
}

ServiceLoadBalancerInput is an input type that accepts ServiceLoadBalancerArgs and ServiceLoadBalancerOutput values. You can construct a concrete instance of `ServiceLoadBalancerInput` via:

ServiceLoadBalancerArgs{...}

type ServiceLoadBalancerOutput

type ServiceLoadBalancerOutput struct{ *pulumi.OutputState }

func (ServiceLoadBalancerOutput) ContainerName

func (o ServiceLoadBalancerOutput) ContainerName() pulumi.StringOutput

Name of the container to associate with the load balancer (as it appears in a container definition).

func (ServiceLoadBalancerOutput) ContainerPort

func (o ServiceLoadBalancerOutput) ContainerPort() pulumi.IntOutput

Port on the container to associate with the load balancer.

func (ServiceLoadBalancerOutput) ElbName

Name of the ELB (Classic) to associate with the service.

func (ServiceLoadBalancerOutput) ElementType

func (ServiceLoadBalancerOutput) ElementType() reflect.Type

func (ServiceLoadBalancerOutput) TargetGroupArn

ARN of the Load Balancer target group to associate with the service.

func (ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput

func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput

func (ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext

func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput

type ServiceMap added in v3.25.0

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType added in v3.25.0

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput added in v3.25.0

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext added in v3.25.0

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput added in v3.25.0

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput added in v3.25.0

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType added in v3.25.0

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex added in v3.25.0

func (ServiceMapOutput) ToServiceMapOutput added in v3.25.0

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext added in v3.25.0

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceNetworkConfiguration

type ServiceNetworkConfiguration struct {
	// Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
	AssignPublicIp *bool `pulumi:"assignPublicIp"`
	// Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
	SecurityGroups []string `pulumi:"securityGroups"`
	// Subnets associated with the task or service.
	Subnets []string `pulumi:"subnets"`
}

type ServiceNetworkConfigurationArgs

type ServiceNetworkConfigurationArgs struct {
	// Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
	AssignPublicIp pulumi.BoolPtrInput `pulumi:"assignPublicIp"`
	// Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
	SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
	// Subnets associated with the task or service.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
}

func (ServiceNetworkConfigurationArgs) ElementType

func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput

func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput

func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext

func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput

func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput

func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput

func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext

func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput

type ServiceNetworkConfigurationInput

type ServiceNetworkConfigurationInput interface {
	pulumi.Input

	ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
	ToServiceNetworkConfigurationOutputWithContext(context.Context) ServiceNetworkConfigurationOutput
}

ServiceNetworkConfigurationInput is an input type that accepts ServiceNetworkConfigurationArgs and ServiceNetworkConfigurationOutput values. You can construct a concrete instance of `ServiceNetworkConfigurationInput` via:

ServiceNetworkConfigurationArgs{...}

type ServiceNetworkConfigurationOutput

type ServiceNetworkConfigurationOutput struct{ *pulumi.OutputState }

func (ServiceNetworkConfigurationOutput) AssignPublicIp

Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.

func (ServiceNetworkConfigurationOutput) ElementType

func (ServiceNetworkConfigurationOutput) SecurityGroups

Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.

func (ServiceNetworkConfigurationOutput) Subnets

Subnets associated with the task or service.

func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput

func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput

func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext

func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput

func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput

func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput

func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext

func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput

type ServiceNetworkConfigurationPtrInput

type ServiceNetworkConfigurationPtrInput interface {
	pulumi.Input

	ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
	ToServiceNetworkConfigurationPtrOutputWithContext(context.Context) ServiceNetworkConfigurationPtrOutput
}

ServiceNetworkConfigurationPtrInput is an input type that accepts ServiceNetworkConfigurationArgs, ServiceNetworkConfigurationPtr and ServiceNetworkConfigurationPtrOutput values. You can construct a concrete instance of `ServiceNetworkConfigurationPtrInput` via:

        ServiceNetworkConfigurationArgs{...}

or:

        nil

type ServiceNetworkConfigurationPtrOutput

type ServiceNetworkConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ServiceNetworkConfigurationPtrOutput) AssignPublicIp

Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.

func (ServiceNetworkConfigurationPtrOutput) Elem

func (ServiceNetworkConfigurationPtrOutput) ElementType

func (ServiceNetworkConfigurationPtrOutput) SecurityGroups

Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.

func (ServiceNetworkConfigurationPtrOutput) Subnets

Subnets associated with the task or service.

func (ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput

func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput

func (ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext

func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput

type ServiceOrderedPlacementStrategy

type ServiceOrderedPlacementStrategy struct {
	// For the `spread` placement strategy, valid values are `instanceId` (or `host`,
	// which has the same effect), or any platform or custom attribute that is applied to a container instance.
	// For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not
	// needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
	Field *string `pulumi:"field"`
	// Type of placement strategy. Must be one of: `binpack`, `random`, or `spread`
	Type string `pulumi:"type"`
}

type ServiceOrderedPlacementStrategyArgs

type ServiceOrderedPlacementStrategyArgs struct {
	// For the `spread` placement strategy, valid values are `instanceId` (or `host`,
	// which has the same effect), or any platform or custom attribute that is applied to a container instance.
	// For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not
	// needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
	Field pulumi.StringPtrInput `pulumi:"field"`
	// Type of placement strategy. Must be one of: `binpack`, `random`, or `spread`
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceOrderedPlacementStrategyArgs) ElementType

func (ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput

func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput

func (ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext

func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput

type ServiceOrderedPlacementStrategyArray

type ServiceOrderedPlacementStrategyArray []ServiceOrderedPlacementStrategyInput

func (ServiceOrderedPlacementStrategyArray) ElementType

func (ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput

func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput

func (ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext

func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput

type ServiceOrderedPlacementStrategyArrayInput

type ServiceOrderedPlacementStrategyArrayInput interface {
	pulumi.Input

	ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
	ToServiceOrderedPlacementStrategyArrayOutputWithContext(context.Context) ServiceOrderedPlacementStrategyArrayOutput
}

ServiceOrderedPlacementStrategyArrayInput is an input type that accepts ServiceOrderedPlacementStrategyArray and ServiceOrderedPlacementStrategyArrayOutput values. You can construct a concrete instance of `ServiceOrderedPlacementStrategyArrayInput` via:

ServiceOrderedPlacementStrategyArray{ ServiceOrderedPlacementStrategyArgs{...} }

type ServiceOrderedPlacementStrategyArrayOutput

type ServiceOrderedPlacementStrategyArrayOutput struct{ *pulumi.OutputState }

func (ServiceOrderedPlacementStrategyArrayOutput) ElementType

func (ServiceOrderedPlacementStrategyArrayOutput) Index

func (ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput

func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput

func (ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext

func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput

type ServiceOrderedPlacementStrategyInput

type ServiceOrderedPlacementStrategyInput interface {
	pulumi.Input

	ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
	ToServiceOrderedPlacementStrategyOutputWithContext(context.Context) ServiceOrderedPlacementStrategyOutput
}

ServiceOrderedPlacementStrategyInput is an input type that accepts ServiceOrderedPlacementStrategyArgs and ServiceOrderedPlacementStrategyOutput values. You can construct a concrete instance of `ServiceOrderedPlacementStrategyInput` via:

ServiceOrderedPlacementStrategyArgs{...}

type ServiceOrderedPlacementStrategyOutput

type ServiceOrderedPlacementStrategyOutput struct{ *pulumi.OutputState }

func (ServiceOrderedPlacementStrategyOutput) ElementType

func (ServiceOrderedPlacementStrategyOutput) Field

For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).

func (ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput

func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput

func (ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext

func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput

func (ServiceOrderedPlacementStrategyOutput) Type

Type of placement strategy. Must be one of: `binpack`, `random`, or `spread`

type ServiceOutput added in v3.13.0

type ServiceOutput struct {
	*pulumi.OutputState
}

func (ServiceOutput) ElementType added in v3.13.0

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) ToServiceOutput added in v3.13.0

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext added in v3.13.0

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) ToServicePtrOutput added in v3.25.0

func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput

func (ServiceOutput) ToServicePtrOutputWithContext added in v3.25.0

func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

type ServicePlacementConstraint

type ServicePlacementConstraint struct {
	// Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
	Expression *string `pulumi:"expression"`
	// Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
	Type string `pulumi:"type"`
}

type ServicePlacementConstraintArgs

type ServicePlacementConstraintArgs struct {
	// Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServicePlacementConstraintArgs) ElementType

func (ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput

func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput

func (ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext

func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput

type ServicePlacementConstraintArray

type ServicePlacementConstraintArray []ServicePlacementConstraintInput

func (ServicePlacementConstraintArray) ElementType

func (ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput

func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput

func (ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext

func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput

type ServicePlacementConstraintArrayInput

type ServicePlacementConstraintArrayInput interface {
	pulumi.Input

	ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
	ToServicePlacementConstraintArrayOutputWithContext(context.Context) ServicePlacementConstraintArrayOutput
}

ServicePlacementConstraintArrayInput is an input type that accepts ServicePlacementConstraintArray and ServicePlacementConstraintArrayOutput values. You can construct a concrete instance of `ServicePlacementConstraintArrayInput` via:

ServicePlacementConstraintArray{ ServicePlacementConstraintArgs{...} }

type ServicePlacementConstraintArrayOutput

type ServicePlacementConstraintArrayOutput struct{ *pulumi.OutputState }

func (ServicePlacementConstraintArrayOutput) ElementType

func (ServicePlacementConstraintArrayOutput) Index

func (ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput

func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput

func (ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext

func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput

type ServicePlacementConstraintInput

type ServicePlacementConstraintInput interface {
	pulumi.Input

	ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
	ToServicePlacementConstraintOutputWithContext(context.Context) ServicePlacementConstraintOutput
}

ServicePlacementConstraintInput is an input type that accepts ServicePlacementConstraintArgs and ServicePlacementConstraintOutput values. You can construct a concrete instance of `ServicePlacementConstraintInput` via:

ServicePlacementConstraintArgs{...}

type ServicePlacementConstraintOutput

type ServicePlacementConstraintOutput struct{ *pulumi.OutputState }

func (ServicePlacementConstraintOutput) ElementType

func (ServicePlacementConstraintOutput) Expression

Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).

func (ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput

func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput

func (ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext

func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput

func (ServicePlacementConstraintOutput) Type

Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.

type ServicePtrInput added in v3.25.0

type ServicePtrInput interface {
	pulumi.Input

	ToServicePtrOutput() ServicePtrOutput
	ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
}

type ServicePtrOutput added in v3.25.0

type ServicePtrOutput struct {
	*pulumi.OutputState
}

func (ServicePtrOutput) ElementType added in v3.25.0

func (ServicePtrOutput) ElementType() reflect.Type

func (ServicePtrOutput) ToServicePtrOutput added in v3.25.0

func (o ServicePtrOutput) ToServicePtrOutput() ServicePtrOutput

func (ServicePtrOutput) ToServicePtrOutputWithContext added in v3.25.0

func (o ServicePtrOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

type ServiceServiceRegistries

type ServiceServiceRegistries struct {
	// Container name value, already specified in the task definition, to be used for your service discovery service.
	ContainerName *string `pulumi:"containerName"`
	// Port value, already specified in the task definition, to be used for your service discovery service.
	ContainerPort *int `pulumi:"containerPort"`
	// Port value used if your Service Discovery service specified an SRV record.
	Port *int `pulumi:"port"`
	// ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see [Service](https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html)
	RegistryArn string `pulumi:"registryArn"`
}

type ServiceServiceRegistriesArgs

type ServiceServiceRegistriesArgs struct {
	// Container name value, already specified in the task definition, to be used for your service discovery service.
	ContainerName pulumi.StringPtrInput `pulumi:"containerName"`
	// Port value, already specified in the task definition, to be used for your service discovery service.
	ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"`
	// Port value used if your Service Discovery service specified an SRV record.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see [Service](https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html)
	RegistryArn pulumi.StringInput `pulumi:"registryArn"`
}

func (ServiceServiceRegistriesArgs) ElementType

func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput

func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput

func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext

func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput

func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput

func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput

func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext

func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput

type ServiceServiceRegistriesInput

type ServiceServiceRegistriesInput interface {
	pulumi.Input

	ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
	ToServiceServiceRegistriesOutputWithContext(context.Context) ServiceServiceRegistriesOutput
}

ServiceServiceRegistriesInput is an input type that accepts ServiceServiceRegistriesArgs and ServiceServiceRegistriesOutput values. You can construct a concrete instance of `ServiceServiceRegistriesInput` via:

ServiceServiceRegistriesArgs{...}

type ServiceServiceRegistriesOutput

type ServiceServiceRegistriesOutput struct{ *pulumi.OutputState }

func (ServiceServiceRegistriesOutput) ContainerName

Container name value, already specified in the task definition, to be used for your service discovery service.

func (ServiceServiceRegistriesOutput) ContainerPort

Port value, already specified in the task definition, to be used for your service discovery service.

func (ServiceServiceRegistriesOutput) ElementType

func (ServiceServiceRegistriesOutput) Port

Port value used if your Service Discovery service specified an SRV record.

func (ServiceServiceRegistriesOutput) RegistryArn

ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see Service(https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html)

func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput

func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput

func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext

func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput

func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput

func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput

func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext

func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput

type ServiceServiceRegistriesPtrInput

type ServiceServiceRegistriesPtrInput interface {
	pulumi.Input

	ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
	ToServiceServiceRegistriesPtrOutputWithContext(context.Context) ServiceServiceRegistriesPtrOutput
}

ServiceServiceRegistriesPtrInput is an input type that accepts ServiceServiceRegistriesArgs, ServiceServiceRegistriesPtr and ServiceServiceRegistriesPtrOutput values. You can construct a concrete instance of `ServiceServiceRegistriesPtrInput` via:

        ServiceServiceRegistriesArgs{...}

or:

        nil

type ServiceServiceRegistriesPtrOutput

type ServiceServiceRegistriesPtrOutput struct{ *pulumi.OutputState }

func (ServiceServiceRegistriesPtrOutput) ContainerName

Container name value, already specified in the task definition, to be used for your service discovery service.

func (ServiceServiceRegistriesPtrOutput) ContainerPort

Port value, already specified in the task definition, to be used for your service discovery service.

func (ServiceServiceRegistriesPtrOutput) Elem

func (ServiceServiceRegistriesPtrOutput) ElementType

func (ServiceServiceRegistriesPtrOutput) Port

Port value used if your Service Discovery service specified an SRV record.

func (ServiceServiceRegistriesPtrOutput) RegistryArn

ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see Service(https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html)

func (ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput

func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput

func (ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext

func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput

type ServiceState

type ServiceState struct {
	// Capacity provider strategy to use for the service. Can be one or more.  Detailed below.
	CapacityProviderStrategies ServiceCapacityProviderStrategyArrayInput
	// ARN of an ECS cluster
	Cluster pulumi.StringPtrInput
	// Configuration block for deployment circuit breaker. Detailed below.
	DeploymentCircuitBreaker ServiceDeploymentCircuitBreakerPtrInput
	// Configuration block for deployment controller configuration. Detailed below.
	DeploymentController ServiceDeploymentControllerPtrInput
	// Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy.
	DeploymentMaximumPercent pulumi.IntPtrInput
	// Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment.
	DeploymentMinimumHealthyPercent pulumi.IntPtrInput
	// Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy.
	DesiredCount pulumi.IntPtrInput
	// Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
	EnableEcsManagedTags pulumi.BoolPtrInput
	// Specifies whether to enable Amazon ECS Exec for the tasks within the service.
	EnableExecuteCommand pulumi.BoolPtrInput
	// Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g. `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates.
	ForceNewDeployment pulumi.BoolPtrInput
	// Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers.
	HealthCheckGracePeriodSeconds pulumi.IntPtrInput
	// ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here.
	IamRole pulumi.StringPtrInput
	// Launch type on which to run your service. The valid values are `EC2` and `FARGATE`. Defaults to `EC2`.
	LaunchType pulumi.StringPtrInput
	// Configuration block for load balancers. Detailed below.
	LoadBalancers ServiceLoadBalancerArrayInput
	// Name of the service (up to 255 letters, numbers, hyphens, and underscores)
	Name pulumi.StringPtrInput
	// Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below.
	NetworkConfiguration ServiceNetworkConfigurationPtrInput
	// Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. Detailed below.
	OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayInput
	// Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. Detailed below.
	PlacementConstraints ServicePlacementConstraintArrayInput
	// Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
	PlatformVersion pulumi.StringPtrInput
	// Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`.
	PropagateTags pulumi.StringPtrInput
	// Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html).
	SchedulingStrategy pulumi.StringPtrInput
	// Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below.
	ServiceRegistries ServiceServiceRegistriesPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used.
	TaskDefinition pulumi.StringPtrInput
	// If `true`, the provider will wait for the service to reach a steady state (like `aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. The provider will wait for a maximum of 15 minutes for the state to be achieved.
	WaitForSteadyState pulumi.BoolPtrInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type TaskDefinition

type TaskDefinition struct {
	pulumi.CustomResourceState

	// Full ARN of the Task Definition (including both `family` and `revision`).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A list of valid [container
	// definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html)
	// provided as a single valid JSON document. Please note that you should only
	// provide values that are part of the container definition document. For a
	// detailed description of what parameters are available, see the [Task Definition
	// Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html)
	// section from the official [Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide).
	ContainerDefinitions pulumi.StringOutput `pulumi:"containerDefinitions"`
	// The number of cpu units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
	Cpu pulumi.StringPtrOutput `pulumi:"cpu"`
	// The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
	ExecutionRoleArn pulumi.StringPtrOutput `pulumi:"executionRoleArn"`
	// A unique name for your task definition.
	Family pulumi.StringOutput `pulumi:"family"`
	// Configuration block(s) with Inference Accelerators settings. Detailed below.
	InferenceAccelerators TaskDefinitionInferenceAcceleratorArrayOutput `pulumi:"inferenceAccelerators"`
	// The IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`.
	IpcMode pulumi.StringPtrOutput `pulumi:"ipcMode"`
	// The amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
	Memory pulumi.StringPtrOutput `pulumi:"memory"`
	// The Docker networking mode to use for the containers in the task. The valid values are `none`, `bridge`, `awsvpc`, and `host`.
	NetworkMode pulumi.StringOutput `pulumi:"networkMode"`
	// The process namespace to use for the containers in the task. The valid values are `host` and `task`.
	PidMode pulumi.StringPtrOutput `pulumi:"pidMode"`
	// A set of placement constraints rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`.
	PlacementConstraints TaskDefinitionPlacementConstraintArrayOutput `pulumi:"placementConstraints"`
	// The proxy configuration details for the App Mesh proxy.
	ProxyConfiguration TaskDefinitionProxyConfigurationPtrOutput `pulumi:"proxyConfiguration"`
	// A set of launch types required by the task. The valid values are `EC2` and `FARGATE`.
	RequiresCompatibilities pulumi.StringArrayOutput `pulumi:"requiresCompatibilities"`
	// The revision of the task in a particular family.
	Revision pulumi.IntOutput `pulumi:"revision"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
	TaskRoleArn pulumi.StringPtrOutput `pulumi:"taskRoleArn"`
	// A set of volume blocks that containers in your task may use.
	Volumes TaskDefinitionVolumeArrayOutput `pulumi:"volumes"`
}

Manages a revision of an ECS task definition to be used in `ecs.Service`.

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ecs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal([]map[string]interface{}{
			map[string]interface{}{
				"name":      "first",
				"image":     "service-first",
				"cpu":       10,
				"memory":    512,
				"essential": true,
				"portMappings": []map[string]interface{}{
					map[string]interface{}{
						"containerPort": 80,
						"hostPort":      80,
					},
				},
			},
			map[string]interface{}{
				"name":      "second",
				"image":     "service-second",
				"cpu":       10,
				"memory":    256,
				"essential": true,
				"portMappings": []map[string]interface{}{
					map[string]interface{}{
						"containerPort": 443,
						"hostPort":      443,
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err := ecs.NewTaskDefinition(ctx, "service", &ecs.TaskDefinitionArgs{
			Family:               pulumi.String("service"),
			ContainerDefinitions: pulumi.String(json0),
			Volumes: ecs.TaskDefinitionVolumeArray{
				&ecs.TaskDefinitionVolumeArgs{
					Name:     pulumi.String("service-storage"),
					HostPath: pulumi.String("/ecs/service-storage"),
				},
			},
			PlacementConstraints: ecs.TaskDefinitionPlacementConstraintArray{
				&ecs.TaskDefinitionPlacementConstraintArgs{
					Type:       pulumi.String("memberOf"),
					Expression: pulumi.String("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS Task Definitions can be imported via their Amazon Resource Name (ARN)

```sh

$ pulumi import aws:ecs/taskDefinition:TaskDefinition example arn:aws:ecs:us-east-1:012345678910:task-definition/mytaskfamily:123

```

func GetTaskDefinition

func GetTaskDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TaskDefinitionState, opts ...pulumi.ResourceOption) (*TaskDefinition, error)

GetTaskDefinition gets an existing TaskDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTaskDefinition

func NewTaskDefinition(ctx *pulumi.Context,
	name string, args *TaskDefinitionArgs, opts ...pulumi.ResourceOption) (*TaskDefinition, error)

NewTaskDefinition registers a new resource with the given unique name, arguments, and options.

func (*TaskDefinition) ElementType added in v3.13.0

func (*TaskDefinition) ElementType() reflect.Type

func (*TaskDefinition) ToTaskDefinitionOutput added in v3.13.0

func (i *TaskDefinition) ToTaskDefinitionOutput() TaskDefinitionOutput

func (*TaskDefinition) ToTaskDefinitionOutputWithContext added in v3.13.0

func (i *TaskDefinition) ToTaskDefinitionOutputWithContext(ctx context.Context) TaskDefinitionOutput

func (*TaskDefinition) ToTaskDefinitionPtrOutput added in v3.25.0

func (i *TaskDefinition) ToTaskDefinitionPtrOutput() TaskDefinitionPtrOutput

func (*TaskDefinition) ToTaskDefinitionPtrOutputWithContext added in v3.25.0

func (i *TaskDefinition) ToTaskDefinitionPtrOutputWithContext(ctx context.Context) TaskDefinitionPtrOutput

type TaskDefinitionArgs

type TaskDefinitionArgs struct {
	// A list of valid [container
	// definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html)
	// provided as a single valid JSON document. Please note that you should only
	// provide values that are part of the container definition document. For a
	// detailed description of what parameters are available, see the [Task Definition
	// Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html)
	// section from the official [Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide).
	ContainerDefinitions pulumi.StringInput
	// The number of cpu units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
	Cpu pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
	ExecutionRoleArn pulumi.StringPtrInput
	// A unique name for your task definition.
	Family pulumi.StringInput
	// Configuration block(s) with Inference Accelerators settings. Detailed below.
	InferenceAccelerators TaskDefinitionInferenceAcceleratorArrayInput
	// The IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`.
	IpcMode pulumi.StringPtrInput
	// The amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
	Memory pulumi.StringPtrInput
	// The Docker networking mode to use for the containers in the task. The valid values are `none`, `bridge`, `awsvpc`, and `host`.
	NetworkMode pulumi.StringPtrInput
	// The process namespace to use for the containers in the task. The valid values are `host` and `task`.
	PidMode pulumi.StringPtrInput
	// A set of placement constraints rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`.
	PlacementConstraints TaskDefinitionPlacementConstraintArrayInput
	// The proxy configuration details for the App Mesh proxy.
	ProxyConfiguration TaskDefinitionProxyConfigurationPtrInput
	// A set of launch types required by the task. The valid values are `EC2` and `FARGATE`.
	RequiresCompatibilities pulumi.StringArrayInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
	TaskRoleArn pulumi.StringPtrInput
	// A set of volume blocks that containers in your task may use.
	Volumes TaskDefinitionVolumeArrayInput
}

The set of arguments for constructing a TaskDefinition resource.

func (TaskDefinitionArgs) ElementType

func (TaskDefinitionArgs) ElementType() reflect.Type

type TaskDefinitionArray added in v3.25.0

type TaskDefinitionArray []TaskDefinitionInput

func (TaskDefinitionArray) ElementType added in v3.25.0

func (TaskDefinitionArray) ElementType() reflect.Type

func (TaskDefinitionArray) ToTaskDefinitionArrayOutput added in v3.25.0

func (i TaskDefinitionArray) ToTaskDefinitionArrayOutput() TaskDefinitionArrayOutput

func (TaskDefinitionArray) ToTaskDefinitionArrayOutputWithContext added in v3.25.0

func (i TaskDefinitionArray) ToTaskDefinitionArrayOutputWithContext(ctx context.Context) TaskDefinitionArrayOutput

type TaskDefinitionArrayInput added in v3.25.0

type TaskDefinitionArrayInput interface {
	pulumi.Input

	ToTaskDefinitionArrayOutput() TaskDefinitionArrayOutput
	ToTaskDefinitionArrayOutputWithContext(context.Context) TaskDefinitionArrayOutput
}

TaskDefinitionArrayInput is an input type that accepts TaskDefinitionArray and TaskDefinitionArrayOutput values. You can construct a concrete instance of `TaskDefinitionArrayInput` via:

TaskDefinitionArray{ TaskDefinitionArgs{...} }

type TaskDefinitionArrayOutput added in v3.25.0

type TaskDefinitionArrayOutput struct{ *pulumi.OutputState }

func (TaskDefinitionArrayOutput) ElementType added in v3.25.0

func (TaskDefinitionArrayOutput) ElementType() reflect.Type

func (TaskDefinitionArrayOutput) Index added in v3.25.0

func (TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutput added in v3.25.0

func (o TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutput() TaskDefinitionArrayOutput

func (TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutputWithContext added in v3.25.0

func (o TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutputWithContext(ctx context.Context) TaskDefinitionArrayOutput

type TaskDefinitionInferenceAccelerator

type TaskDefinitionInferenceAccelerator struct {
	// The Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement.
	DeviceName string `pulumi:"deviceName"`
	// The Elastic Inference accelerator type to use.
	DeviceType string `pulumi:"deviceType"`
}

type TaskDefinitionInferenceAcceleratorArgs

type TaskDefinitionInferenceAcceleratorArgs struct {
	// The Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// The Elastic Inference accelerator type to use.
	DeviceType pulumi.StringInput `pulumi:"deviceType"`
}

func (TaskDefinitionInferenceAcceleratorArgs) ElementType

func (TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutput

func (i TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput

func (TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutputWithContext

func (i TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorOutput

type TaskDefinitionInferenceAcceleratorArray

type TaskDefinitionInferenceAcceleratorArray []TaskDefinitionInferenceAcceleratorInput

func (TaskDefinitionInferenceAcceleratorArray) ElementType

func (TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutput

func (i TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput

func (TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext

func (i TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorArrayOutput

type TaskDefinitionInferenceAcceleratorArrayInput

type TaskDefinitionInferenceAcceleratorArrayInput interface {
	pulumi.Input

	ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput
	ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(context.Context) TaskDefinitionInferenceAcceleratorArrayOutput
}

TaskDefinitionInferenceAcceleratorArrayInput is an input type that accepts TaskDefinitionInferenceAcceleratorArray and TaskDefinitionInferenceAcceleratorArrayOutput values. You can construct a concrete instance of `TaskDefinitionInferenceAcceleratorArrayInput` via:

TaskDefinitionInferenceAcceleratorArray{ TaskDefinitionInferenceAcceleratorArgs{...} }

type TaskDefinitionInferenceAcceleratorArrayOutput

type TaskDefinitionInferenceAcceleratorArrayOutput struct{ *pulumi.OutputState }

func (TaskDefinitionInferenceAcceleratorArrayOutput) ElementType

func (TaskDefinitionInferenceAcceleratorArrayOutput) Index

func (TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutput

func (o TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput

func (TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext

func (o TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorArrayOutput

type TaskDefinitionInferenceAcceleratorInput

type TaskDefinitionInferenceAcceleratorInput interface {
	pulumi.Input

	ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput
	ToTaskDefinitionInferenceAcceleratorOutputWithContext(context.Context) TaskDefinitionInferenceAcceleratorOutput
}

TaskDefinitionInferenceAcceleratorInput is an input type that accepts TaskDefinitionInferenceAcceleratorArgs and TaskDefinitionInferenceAcceleratorOutput values. You can construct a concrete instance of `TaskDefinitionInferenceAcceleratorInput` via:

TaskDefinitionInferenceAcceleratorArgs{...}

type TaskDefinitionInferenceAcceleratorOutput

type TaskDefinitionInferenceAcceleratorOutput struct{ *pulumi.OutputState }

func (TaskDefinitionInferenceAcceleratorOutput) DeviceName

The Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement.

func (TaskDefinitionInferenceAcceleratorOutput) DeviceType

The Elastic Inference accelerator type to use.

func (TaskDefinitionInferenceAcceleratorOutput) ElementType

func (TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutput

func (o TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput

func (TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutputWithContext

func (o TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorOutput

type TaskDefinitionInput added in v3.13.0

type TaskDefinitionInput interface {
	pulumi.Input

	ToTaskDefinitionOutput() TaskDefinitionOutput
	ToTaskDefinitionOutputWithContext(ctx context.Context) TaskDefinitionOutput
}

type TaskDefinitionMap added in v3.25.0

type TaskDefinitionMap map[string]TaskDefinitionInput

func (TaskDefinitionMap) ElementType added in v3.25.0

func (TaskDefinitionMap) ElementType() reflect.Type

func (TaskDefinitionMap) ToTaskDefinitionMapOutput added in v3.25.0

func (i TaskDefinitionMap) ToTaskDefinitionMapOutput() TaskDefinitionMapOutput

func (TaskDefinitionMap) ToTaskDefinitionMapOutputWithContext added in v3.25.0

func (i TaskDefinitionMap) ToTaskDefinitionMapOutputWithContext(ctx context.Context) TaskDefinitionMapOutput

type TaskDefinitionMapInput added in v3.25.0

type TaskDefinitionMapInput interface {
	pulumi.Input

	ToTaskDefinitionMapOutput() TaskDefinitionMapOutput
	ToTaskDefinitionMapOutputWithContext(context.Context) TaskDefinitionMapOutput
}

TaskDefinitionMapInput is an input type that accepts TaskDefinitionMap and TaskDefinitionMapOutput values. You can construct a concrete instance of `TaskDefinitionMapInput` via:

TaskDefinitionMap{ "key": TaskDefinitionArgs{...} }

type TaskDefinitionMapOutput added in v3.25.0

type TaskDefinitionMapOutput struct{ *pulumi.OutputState }

func (TaskDefinitionMapOutput) ElementType added in v3.25.0

func (TaskDefinitionMapOutput) ElementType() reflect.Type

func (TaskDefinitionMapOutput) MapIndex added in v3.25.0

func (TaskDefinitionMapOutput) ToTaskDefinitionMapOutput added in v3.25.0

func (o TaskDefinitionMapOutput) ToTaskDefinitionMapOutput() TaskDefinitionMapOutput

func (TaskDefinitionMapOutput) ToTaskDefinitionMapOutputWithContext added in v3.25.0

func (o TaskDefinitionMapOutput) ToTaskDefinitionMapOutputWithContext(ctx context.Context) TaskDefinitionMapOutput

type TaskDefinitionOutput added in v3.13.0

type TaskDefinitionOutput struct {
	*pulumi.OutputState
}

func (TaskDefinitionOutput) ElementType added in v3.13.0

func (TaskDefinitionOutput) ElementType() reflect.Type

func (TaskDefinitionOutput) ToTaskDefinitionOutput added in v3.13.0

func (o TaskDefinitionOutput) ToTaskDefinitionOutput() TaskDefinitionOutput

func (TaskDefinitionOutput) ToTaskDefinitionOutputWithContext added in v3.13.0

func (o TaskDefinitionOutput) ToTaskDefinitionOutputWithContext(ctx context.Context) TaskDefinitionOutput

func (TaskDefinitionOutput) ToTaskDefinitionPtrOutput added in v3.25.0

func (o TaskDefinitionOutput) ToTaskDefinitionPtrOutput() TaskDefinitionPtrOutput

func (TaskDefinitionOutput) ToTaskDefinitionPtrOutputWithContext added in v3.25.0

func (o TaskDefinitionOutput) ToTaskDefinitionPtrOutputWithContext(ctx context.Context) TaskDefinitionPtrOutput

type TaskDefinitionPlacementConstraint

type TaskDefinitionPlacementConstraint struct {
	// Cluster Query Language expression to apply to the constraint.
	// For more information, see [Cluster Query Language in the Amazon EC2 Container
	// Service Developer
	// Guide](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
	Expression *string `pulumi:"expression"`
	// The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
	Type string `pulumi:"type"`
}

type TaskDefinitionPlacementConstraintArgs

type TaskDefinitionPlacementConstraintArgs struct {
	// Cluster Query Language expression to apply to the constraint.
	// For more information, see [Cluster Query Language in the Amazon EC2 Container
	// Service Developer
	// Guide](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (TaskDefinitionPlacementConstraintArgs) ElementType

func (TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput

func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput

func (TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext

func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput

type TaskDefinitionPlacementConstraintArray

type TaskDefinitionPlacementConstraintArray []TaskDefinitionPlacementConstraintInput

func (TaskDefinitionPlacementConstraintArray) ElementType

func (TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput

func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput

func (TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext

func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput

type TaskDefinitionPlacementConstraintArrayInput

type TaskDefinitionPlacementConstraintArrayInput interface {
	pulumi.Input

	ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
	ToTaskDefinitionPlacementConstraintArrayOutputWithContext(context.Context) TaskDefinitionPlacementConstraintArrayOutput
}

TaskDefinitionPlacementConstraintArrayInput is an input type that accepts TaskDefinitionPlacementConstraintArray and TaskDefinitionPlacementConstraintArrayOutput values. You can construct a concrete instance of `TaskDefinitionPlacementConstraintArrayInput` via:

TaskDefinitionPlacementConstraintArray{ TaskDefinitionPlacementConstraintArgs{...} }

type TaskDefinitionPlacementConstraintArrayOutput

type TaskDefinitionPlacementConstraintArrayOutput struct{ *pulumi.OutputState }

func (TaskDefinitionPlacementConstraintArrayOutput) ElementType

func (TaskDefinitionPlacementConstraintArrayOutput) Index

func (TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput

func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput

func (TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext

func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput

type TaskDefinitionPlacementConstraintInput

type TaskDefinitionPlacementConstraintInput interface {
	pulumi.Input

	ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
	ToTaskDefinitionPlacementConstraintOutputWithContext(context.Context) TaskDefinitionPlacementConstraintOutput
}

TaskDefinitionPlacementConstraintInput is an input type that accepts TaskDefinitionPlacementConstraintArgs and TaskDefinitionPlacementConstraintOutput values. You can construct a concrete instance of `TaskDefinitionPlacementConstraintInput` via:

TaskDefinitionPlacementConstraintArgs{...}

type TaskDefinitionPlacementConstraintOutput

type TaskDefinitionPlacementConstraintOutput struct{ *pulumi.OutputState }

func (TaskDefinitionPlacementConstraintOutput) ElementType

func (TaskDefinitionPlacementConstraintOutput) Expression

Cluster Query Language expression to apply to the constraint. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).

func (TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutput

func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput

func (TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext

func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput

func (TaskDefinitionPlacementConstraintOutput) Type

The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.

type TaskDefinitionProxyConfiguration

type TaskDefinitionProxyConfiguration struct {
	// The name of the container that will serve as the App Mesh proxy.
	ContainerName string `pulumi:"containerName"`
	// The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
	Properties map[string]string `pulumi:"properties"`
	// The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
	Type *string `pulumi:"type"`
}

type TaskDefinitionProxyConfigurationArgs

type TaskDefinitionProxyConfigurationArgs struct {
	// The name of the container that will serve as the App Mesh proxy.
	ContainerName pulumi.StringInput `pulumi:"containerName"`
	// The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
	Properties pulumi.StringMapInput `pulumi:"properties"`
	// The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (TaskDefinitionProxyConfigurationArgs) ElementType

func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput

func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput

func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext

func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput

func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput

func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput

func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext

func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput

type TaskDefinitionProxyConfigurationInput

type TaskDefinitionProxyConfigurationInput interface {
	pulumi.Input

	ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
	ToTaskDefinitionProxyConfigurationOutputWithContext(context.Context) TaskDefinitionProxyConfigurationOutput
}

TaskDefinitionProxyConfigurationInput is an input type that accepts TaskDefinitionProxyConfigurationArgs and TaskDefinitionProxyConfigurationOutput values. You can construct a concrete instance of `TaskDefinitionProxyConfigurationInput` via:

TaskDefinitionProxyConfigurationArgs{...}

type TaskDefinitionProxyConfigurationOutput

type TaskDefinitionProxyConfigurationOutput struct{ *pulumi.OutputState }

func (TaskDefinitionProxyConfigurationOutput) ContainerName

The name of the container that will serve as the App Mesh proxy.

func (TaskDefinitionProxyConfigurationOutput) ElementType

func (TaskDefinitionProxyConfigurationOutput) Properties

The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.

func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput

func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput

func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext

func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput

func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput

func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput

func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext

func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput

func (TaskDefinitionProxyConfigurationOutput) Type

The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.

type TaskDefinitionProxyConfigurationPtrInput

type TaskDefinitionProxyConfigurationPtrInput interface {
	pulumi.Input

	ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
	ToTaskDefinitionProxyConfigurationPtrOutputWithContext(context.Context) TaskDefinitionProxyConfigurationPtrOutput
}

TaskDefinitionProxyConfigurationPtrInput is an input type that accepts TaskDefinitionProxyConfigurationArgs, TaskDefinitionProxyConfigurationPtr and TaskDefinitionProxyConfigurationPtrOutput values. You can construct a concrete instance of `TaskDefinitionProxyConfigurationPtrInput` via:

        TaskDefinitionProxyConfigurationArgs{...}

or:

        nil

type TaskDefinitionProxyConfigurationPtrOutput

type TaskDefinitionProxyConfigurationPtrOutput struct{ *pulumi.OutputState }

func (TaskDefinitionProxyConfigurationPtrOutput) ContainerName

The name of the container that will serve as the App Mesh proxy.

func (TaskDefinitionProxyConfigurationPtrOutput) Elem

func (TaskDefinitionProxyConfigurationPtrOutput) ElementType

func (TaskDefinitionProxyConfigurationPtrOutput) Properties

The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.

func (TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput

func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput

func (TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext

func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput

func (TaskDefinitionProxyConfigurationPtrOutput) Type

The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.

type TaskDefinitionPtrInput added in v3.25.0

type TaskDefinitionPtrInput interface {
	pulumi.Input

	ToTaskDefinitionPtrOutput() TaskDefinitionPtrOutput
	ToTaskDefinitionPtrOutputWithContext(ctx context.Context) TaskDefinitionPtrOutput
}

type TaskDefinitionPtrOutput added in v3.25.0

type TaskDefinitionPtrOutput struct {
	*pulumi.OutputState
}

func (TaskDefinitionPtrOutput) ElementType added in v3.25.0

func (TaskDefinitionPtrOutput) ElementType() reflect.Type

func (TaskDefinitionPtrOutput) ToTaskDefinitionPtrOutput added in v3.25.0

func (o TaskDefinitionPtrOutput) ToTaskDefinitionPtrOutput() TaskDefinitionPtrOutput

func (TaskDefinitionPtrOutput) ToTaskDefinitionPtrOutputWithContext added in v3.25.0

func (o TaskDefinitionPtrOutput) ToTaskDefinitionPtrOutputWithContext(ctx context.Context) TaskDefinitionPtrOutput

type TaskDefinitionState

type TaskDefinitionState struct {
	// Full ARN of the Task Definition (including both `family` and `revision`).
	Arn pulumi.StringPtrInput
	// A list of valid [container
	// definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html)
	// provided as a single valid JSON document. Please note that you should only
	// provide values that are part of the container definition document. For a
	// detailed description of what parameters are available, see the [Task Definition
	// Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html)
	// section from the official [Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide).
	ContainerDefinitions pulumi.StringPtrInput
	// The number of cpu units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
	Cpu pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
	ExecutionRoleArn pulumi.StringPtrInput
	// A unique name for your task definition.
	Family pulumi.StringPtrInput
	// Configuration block(s) with Inference Accelerators settings. Detailed below.
	InferenceAccelerators TaskDefinitionInferenceAcceleratorArrayInput
	// The IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`.
	IpcMode pulumi.StringPtrInput
	// The amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
	Memory pulumi.StringPtrInput
	// The Docker networking mode to use for the containers in the task. The valid values are `none`, `bridge`, `awsvpc`, and `host`.
	NetworkMode pulumi.StringPtrInput
	// The process namespace to use for the containers in the task. The valid values are `host` and `task`.
	PidMode pulumi.StringPtrInput
	// A set of placement constraints rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`.
	PlacementConstraints TaskDefinitionPlacementConstraintArrayInput
	// The proxy configuration details for the App Mesh proxy.
	ProxyConfiguration TaskDefinitionProxyConfigurationPtrInput
	// A set of launch types required by the task. The valid values are `EC2` and `FARGATE`.
	RequiresCompatibilities pulumi.StringArrayInput
	// The revision of the task in a particular family.
	Revision pulumi.IntPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
	// The ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
	TaskRoleArn pulumi.StringPtrInput
	// A set of volume blocks that containers in your task may use.
	Volumes TaskDefinitionVolumeArrayInput
}

func (TaskDefinitionState) ElementType

func (TaskDefinitionState) ElementType() reflect.Type

type TaskDefinitionVolume

type TaskDefinitionVolume struct {
	// Used to configure a docker volume
	DockerVolumeConfiguration *TaskDefinitionVolumeDockerVolumeConfiguration `pulumi:"dockerVolumeConfiguration"`
	// Used to configure a EFS volume.
	EfsVolumeConfiguration *TaskDefinitionVolumeEfsVolumeConfiguration `pulumi:"efsVolumeConfiguration"`
	// The path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished.
	HostPath *string `pulumi:"hostPath"`
	// The name of the volume. This name is referenced in the `sourceVolume`
	// parameter of container definition in the `mountPoints` section.
	Name string `pulumi:"name"`
}

type TaskDefinitionVolumeArgs

type TaskDefinitionVolumeArgs struct {
	// Used to configure a docker volume
	DockerVolumeConfiguration TaskDefinitionVolumeDockerVolumeConfigurationPtrInput `pulumi:"dockerVolumeConfiguration"`
	// Used to configure a EFS volume.
	EfsVolumeConfiguration TaskDefinitionVolumeEfsVolumeConfigurationPtrInput `pulumi:"efsVolumeConfiguration"`
	// The path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished.
	HostPath pulumi.StringPtrInput `pulumi:"hostPath"`
	// The name of the volume. This name is referenced in the `sourceVolume`
	// parameter of container definition in the `mountPoints` section.
	Name pulumi.StringInput `pulumi:"name"`
}

func (TaskDefinitionVolumeArgs) ElementType

func (TaskDefinitionVolumeArgs) ElementType() reflect.Type

func (TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutput

func (i TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput

func (TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutputWithContext

func (i TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput

type TaskDefinitionVolumeArray

type TaskDefinitionVolumeArray []TaskDefinitionVolumeInput

func (TaskDefinitionVolumeArray) ElementType

func (TaskDefinitionVolumeArray) ElementType() reflect.Type

func (TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutput

func (i TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput

func (TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutputWithContext

func (i TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput

type TaskDefinitionVolumeArrayInput

type TaskDefinitionVolumeArrayInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput
	ToTaskDefinitionVolumeArrayOutputWithContext(context.Context) TaskDefinitionVolumeArrayOutput
}

TaskDefinitionVolumeArrayInput is an input type that accepts TaskDefinitionVolumeArray and TaskDefinitionVolumeArrayOutput values. You can construct a concrete instance of `TaskDefinitionVolumeArrayInput` via:

TaskDefinitionVolumeArray{ TaskDefinitionVolumeArgs{...} }

type TaskDefinitionVolumeArrayOutput

type TaskDefinitionVolumeArrayOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeArrayOutput) ElementType

func (TaskDefinitionVolumeArrayOutput) Index

func (TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput

func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput

func (TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext

func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput

type TaskDefinitionVolumeDockerVolumeConfiguration

type TaskDefinitionVolumeDockerVolumeConfiguration struct {
	// If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`.
	Autoprovision *bool `pulumi:"autoprovision"`
	// The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.
	Driver *string `pulumi:"driver"`
	// A map of Docker driver specific options.
	DriverOpts map[string]string `pulumi:"driverOpts"`
	// A map of custom metadata to add to your Docker volume.
	Labels map[string]string `pulumi:"labels"`
	// The scope for the Docker volume, which determines its lifecycle, either `task` or `shared`.  Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops.
	Scope *string `pulumi:"scope"`
}

type TaskDefinitionVolumeDockerVolumeConfigurationArgs

type TaskDefinitionVolumeDockerVolumeConfigurationArgs struct {
	// If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`.
	Autoprovision pulumi.BoolPtrInput `pulumi:"autoprovision"`
	// The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.
	Driver pulumi.StringPtrInput `pulumi:"driver"`
	// A map of Docker driver specific options.
	DriverOpts pulumi.StringMapInput `pulumi:"driverOpts"`
	// A map of custom metadata to add to your Docker volume.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// The scope for the Docker volume, which determines its lifecycle, either `task` or `shared`.  Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
}

func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ElementType

func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput

func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput

func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext

func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput

func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext

func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

type TaskDefinitionVolumeDockerVolumeConfigurationInput

type TaskDefinitionVolumeDockerVolumeConfigurationInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
	ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
}

TaskDefinitionVolumeDockerVolumeConfigurationInput is an input type that accepts TaskDefinitionVolumeDockerVolumeConfigurationArgs and TaskDefinitionVolumeDockerVolumeConfigurationOutput values. You can construct a concrete instance of `TaskDefinitionVolumeDockerVolumeConfigurationInput` via:

TaskDefinitionVolumeDockerVolumeConfigurationArgs{...}

type TaskDefinitionVolumeDockerVolumeConfigurationOutput

type TaskDefinitionVolumeDockerVolumeConfigurationOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Autoprovision

If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`.

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Driver

The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) DriverOpts

A map of Docker driver specific options.

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ElementType

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Labels

A map of custom metadata to add to your Docker volume.

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Scope

The scope for the Docker volume, which determines its lifecycle, either `task` or `shared`. Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops.

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput

func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext

func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext

func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput

type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
	ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
}

TaskDefinitionVolumeDockerVolumeConfigurationPtrInput is an input type that accepts TaskDefinitionVolumeDockerVolumeConfigurationArgs, TaskDefinitionVolumeDockerVolumeConfigurationPtr and TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeDockerVolumeConfigurationPtrInput` via:

        TaskDefinitionVolumeDockerVolumeConfigurationArgs{...}

or:

        nil

type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Autoprovision

If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`.

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Driver

The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) DriverOpts

A map of Docker driver specific options.

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Elem

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ElementType

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Labels

A map of custom metadata to add to your Docker volume.

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Scope

The scope for the Docker volume, which determines its lifecycle, either `task` or `shared`. Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops.

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext

func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput

type TaskDefinitionVolumeEfsVolumeConfiguration

type TaskDefinitionVolumeEfsVolumeConfiguration struct {
	// The authorization configuration details for the Amazon EFS file system.
	AuthorizationConfig *TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig `pulumi:"authorizationConfig"`
	// The ID of the EFS File System.
	FileSystemId string `pulumi:"fileSystemId"`
	// The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting this parameter. This argument is ignored when using `authorizationConfig`.
	RootDirectory *string `pulumi:"rootDirectory"`
	// Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
	TransitEncryption *string `pulumi:"transitEncryption"`
	// The port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.
	TransitEncryptionPort *int `pulumi:"transitEncryptionPort"`
}

type TaskDefinitionVolumeEfsVolumeConfigurationArgs

type TaskDefinitionVolumeEfsVolumeConfigurationArgs struct {
	// The authorization configuration details for the Amazon EFS file system.
	AuthorizationConfig TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput `pulumi:"authorizationConfig"`
	// The ID of the EFS File System.
	FileSystemId pulumi.StringInput `pulumi:"fileSystemId"`
	// The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting this parameter. This argument is ignored when using `authorizationConfig`.
	RootDirectory pulumi.StringPtrInput `pulumi:"rootDirectory"`
	// Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
	TransitEncryption pulumi.StringPtrInput `pulumi:"transitEncryption"`
	// The port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.
	TransitEncryptionPort pulumi.IntPtrInput `pulumi:"transitEncryptionPort"`
}

func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ElementType

func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput

func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext

func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext

func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig struct {
	// The access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.
	AccessPointId *string `pulumi:"accessPointId"`
	// Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
	Iam *string `pulumi:"iam"`
}

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs struct {
	// The access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.
	AccessPointId pulumi.StringPtrInput `pulumi:"accessPointId"`
	// Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
	Iam pulumi.StringPtrInput `pulumi:"iam"`
}

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ElementType

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext

func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext

func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
	ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
}

TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs and TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput` via:

TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs{...}

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) AccessPointId

The access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ElementType

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) Iam

Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext

func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext

func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
	ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
}

TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs, TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtr and TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput` via:

        TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs{...}

or:

        nil

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput

type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) AccessPointId

The access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) Elem

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ElementType

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) Iam

Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext

func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput

type TaskDefinitionVolumeEfsVolumeConfigurationInput

type TaskDefinitionVolumeEfsVolumeConfigurationInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
	ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
}

TaskDefinitionVolumeEfsVolumeConfigurationInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationArgs and TaskDefinitionVolumeEfsVolumeConfigurationOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationInput` via:

TaskDefinitionVolumeEfsVolumeConfigurationArgs{...}

type TaskDefinitionVolumeEfsVolumeConfigurationOutput

type TaskDefinitionVolumeEfsVolumeConfigurationOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) AuthorizationConfig

The authorization configuration details for the Amazon EFS file system.

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ElementType

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) FileSystemId

The ID of the EFS File System.

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) RootDirectory

The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting this parameter. This argument is ignored when using `authorizationConfig`.

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput

func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext

func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext

func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryption

Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.

func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryptionPort

The port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.

type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput

type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
	ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
}

TaskDefinitionVolumeEfsVolumeConfigurationPtrInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationArgs, TaskDefinitionVolumeEfsVolumeConfigurationPtr and TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationPtrInput` via:

        TaskDefinitionVolumeEfsVolumeConfigurationArgs{...}

or:

        nil

type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) AuthorizationConfig

The authorization configuration details for the Amazon EFS file system.

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) Elem

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ElementType

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) FileSystemId

The ID of the EFS File System.

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) RootDirectory

The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting this parameter. This argument is ignored when using `authorizationConfig`.

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext

func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryption

Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.

func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryptionPort

The port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.

type TaskDefinitionVolumeInput

type TaskDefinitionVolumeInput interface {
	pulumi.Input

	ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput
	ToTaskDefinitionVolumeOutputWithContext(context.Context) TaskDefinitionVolumeOutput
}

TaskDefinitionVolumeInput is an input type that accepts TaskDefinitionVolumeArgs and TaskDefinitionVolumeOutput values. You can construct a concrete instance of `TaskDefinitionVolumeInput` via:

TaskDefinitionVolumeArgs{...}

type TaskDefinitionVolumeOutput

type TaskDefinitionVolumeOutput struct{ *pulumi.OutputState }

func (TaskDefinitionVolumeOutput) DockerVolumeConfiguration

Used to configure a docker volume

func (TaskDefinitionVolumeOutput) EfsVolumeConfiguration

Used to configure a EFS volume.

func (TaskDefinitionVolumeOutput) ElementType

func (TaskDefinitionVolumeOutput) ElementType() reflect.Type

func (TaskDefinitionVolumeOutput) HostPath

The path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished.

func (TaskDefinitionVolumeOutput) Name

The name of the volume. This name is referenced in the `sourceVolume` parameter of container definition in the `mountPoints` section.

func (TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput

func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput

func (TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext

func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput

Jump to

Keyboard shortcuts

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