Documentation
¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type CapacityProvider
- type CapacityProviderArgs
- type CapacityProviderAutoScalingGroupProvider
- type CapacityProviderAutoScalingGroupProviderArgs
- func (CapacityProviderAutoScalingGroupProviderArgs) ElementType() reflect.Type
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
- type CapacityProviderAutoScalingGroupProviderInput
- type CapacityProviderAutoScalingGroupProviderManagedScaling
- type CapacityProviderAutoScalingGroupProviderManagedScalingArgs
- func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ElementType() reflect.Type
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- type CapacityProviderAutoScalingGroupProviderManagedScalingInput
- type CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) Status() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) TargetCapacity() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput
- type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Elem() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Status() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) TargetCapacity() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- type CapacityProviderAutoScalingGroupProviderOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) AutoScalingGroupArn() pulumi.StringOutput
- func (CapacityProviderAutoScalingGroupProviderOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderOutput) ManagedScaling() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
- type CapacityProviderAutoScalingGroupProviderPtrInput
- type CapacityProviderAutoScalingGroupProviderPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) AutoScalingGroupArn() pulumi.StringOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) Elem() CapacityProviderAutoScalingGroupProviderOutput
- func (CapacityProviderAutoScalingGroupProviderPtrOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedScaling() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
- type CapacityProviderState
- type Cluster
- type ClusterArgs
- type ClusterDefaultCapacityProviderStrategy
- type ClusterDefaultCapacityProviderStrategyArgs
- func (ClusterDefaultCapacityProviderStrategyArgs) ElementType() reflect.Type
- func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
- func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
- type ClusterDefaultCapacityProviderStrategyArray
- func (ClusterDefaultCapacityProviderStrategyArray) ElementType() reflect.Type
- func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
- func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
- type ClusterDefaultCapacityProviderStrategyArrayInput
- type ClusterDefaultCapacityProviderStrategyArrayOutput
- func (ClusterDefaultCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
- func (o ClusterDefaultCapacityProviderStrategyArrayOutput) Index(i pulumi.IntInput) ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
- func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
- type ClusterDefaultCapacityProviderStrategyInput
- type ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
- func (ClusterDefaultCapacityProviderStrategyOutput) ElementType() reflect.Type
- func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
- type ClusterSetting
- type ClusterSettingArgs
- type ClusterSettingArray
- type ClusterSettingArrayInput
- type ClusterSettingArrayOutput
- func (ClusterSettingArrayOutput) ElementType() reflect.Type
- func (o ClusterSettingArrayOutput) Index(i pulumi.IntInput) ClusterSettingOutput
- func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutput() ClusterSettingArrayOutput
- func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput
- type ClusterSettingInput
- type ClusterSettingOutput
- func (ClusterSettingOutput) ElementType() reflect.Type
- func (o ClusterSettingOutput) Name() pulumi.StringOutput
- func (o ClusterSettingOutput) ToClusterSettingOutput() ClusterSettingOutput
- func (o ClusterSettingOutput) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput
- func (o ClusterSettingOutput) Value() pulumi.StringOutput
- type ClusterState
- type GetClusterSetting
- type GetClusterSettingArgs
- type GetClusterSettingArray
- type GetClusterSettingArrayInput
- type GetClusterSettingArrayOutput
- func (GetClusterSettingArrayOutput) ElementType() reflect.Type
- func (o GetClusterSettingArrayOutput) Index(i pulumi.IntInput) GetClusterSettingOutput
- func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput
- func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput
- type GetClusterSettingInput
- type GetClusterSettingOutput
- func (GetClusterSettingOutput) ElementType() reflect.Type
- func (o GetClusterSettingOutput) Name() pulumi.StringOutput
- func (o GetClusterSettingOutput) ToGetClusterSettingOutput() GetClusterSettingOutput
- func (o GetClusterSettingOutput) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput
- func (o GetClusterSettingOutput) Value() pulumi.StringOutput
- type GetContainerDefinitionArgs
- type GetContainerDefinitionResult
- type LookupClusterArgs
- type LookupClusterResult
- type LookupServiceArgs
- type LookupServiceResult
- type LookupTaskDefinitionArgs
- type LookupTaskDefinitionResult
- type Service
- type ServiceArgs
- type ServiceCapacityProviderStrategy
- type ServiceCapacityProviderStrategyArgs
- func (ServiceCapacityProviderStrategyArgs) ElementType() reflect.Type
- func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
- func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
- type ServiceCapacityProviderStrategyArray
- func (ServiceCapacityProviderStrategyArray) ElementType() reflect.Type
- func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
- func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
- type ServiceCapacityProviderStrategyArrayInput
- type ServiceCapacityProviderStrategyArrayOutput
- func (ServiceCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
- func (o ServiceCapacityProviderStrategyArrayOutput) Index(i pulumi.IntInput) ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
- func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
- type ServiceCapacityProviderStrategyInput
- type ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
- func (o ServiceCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
- func (ServiceCapacityProviderStrategyOutput) ElementType() reflect.Type
- func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
- type ServiceDeploymentController
- type ServiceDeploymentControllerArgs
- func (ServiceDeploymentControllerArgs) ElementType() reflect.Type
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
- type ServiceDeploymentControllerInput
- type ServiceDeploymentControllerOutput
- func (ServiceDeploymentControllerOutput) ElementType() reflect.Type
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerOutput) Type() pulumi.StringPtrOutput
- type ServiceDeploymentControllerPtrInput
- type ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerPtrOutput) Elem() ServiceDeploymentControllerOutput
- func (ServiceDeploymentControllerPtrOutput) ElementType() reflect.Type
- func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerPtrOutput) Type() pulumi.StringPtrOutput
- type ServiceLoadBalancer
- type ServiceLoadBalancerArgs
- type ServiceLoadBalancerArray
- type ServiceLoadBalancerArrayInput
- type ServiceLoadBalancerArrayOutput
- func (ServiceLoadBalancerArrayOutput) ElementType() reflect.Type
- func (o ServiceLoadBalancerArrayOutput) Index(i pulumi.IntInput) ServiceLoadBalancerOutput
- func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput
- func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput
- type ServiceLoadBalancerInput
- type ServiceLoadBalancerOutput
- func (o ServiceLoadBalancerOutput) ContainerName() pulumi.StringOutput
- func (o ServiceLoadBalancerOutput) ContainerPort() pulumi.IntOutput
- func (o ServiceLoadBalancerOutput) ElbName() pulumi.StringPtrOutput
- func (ServiceLoadBalancerOutput) ElementType() reflect.Type
- func (o ServiceLoadBalancerOutput) TargetGroupArn() pulumi.StringPtrOutput
- func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput
- func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput
- type ServiceNetworkConfiguration
- type ServiceNetworkConfigurationArgs
- func (ServiceNetworkConfigurationArgs) ElementType() reflect.Type
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
- type ServiceNetworkConfigurationInput
- type ServiceNetworkConfigurationOutput
- func (o ServiceNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (ServiceNetworkConfigurationOutput) ElementType() reflect.Type
- func (o ServiceNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
- type ServiceNetworkConfigurationPtrInput
- type ServiceNetworkConfigurationPtrOutput
- func (o ServiceNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (o ServiceNetworkConfigurationPtrOutput) Elem() ServiceNetworkConfigurationOutput
- func (ServiceNetworkConfigurationPtrOutput) ElementType() reflect.Type
- func (o ServiceNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
- func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
- type ServiceOrderedPlacementStrategy
- type ServiceOrderedPlacementStrategyArgs
- func (ServiceOrderedPlacementStrategyArgs) ElementType() reflect.Type
- func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
- func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
- type ServiceOrderedPlacementStrategyArray
- func (ServiceOrderedPlacementStrategyArray) ElementType() reflect.Type
- func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
- func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
- type ServiceOrderedPlacementStrategyArrayInput
- type ServiceOrderedPlacementStrategyArrayOutput
- func (ServiceOrderedPlacementStrategyArrayOutput) ElementType() reflect.Type
- func (o ServiceOrderedPlacementStrategyArrayOutput) Index(i pulumi.IntInput) ServiceOrderedPlacementStrategyOutput
- func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
- func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
- type ServiceOrderedPlacementStrategyInput
- type ServiceOrderedPlacementStrategyOutput
- func (ServiceOrderedPlacementStrategyOutput) ElementType() reflect.Type
- func (o ServiceOrderedPlacementStrategyOutput) Field() pulumi.StringPtrOutput
- func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
- func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
- func (o ServiceOrderedPlacementStrategyOutput) Type() pulumi.StringOutput
- type ServicePlacementConstraint
- type ServicePlacementConstraintArgs
- func (ServicePlacementConstraintArgs) ElementType() reflect.Type
- func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
- func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
- type ServicePlacementConstraintArray
- func (ServicePlacementConstraintArray) ElementType() reflect.Type
- func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
- func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
- type ServicePlacementConstraintArrayInput
- type ServicePlacementConstraintArrayOutput
- func (ServicePlacementConstraintArrayOutput) ElementType() reflect.Type
- func (o ServicePlacementConstraintArrayOutput) Index(i pulumi.IntInput) ServicePlacementConstraintOutput
- func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
- func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
- type ServicePlacementConstraintInput
- type ServicePlacementConstraintOutput
- func (ServicePlacementConstraintOutput) ElementType() reflect.Type
- func (o ServicePlacementConstraintOutput) Expression() pulumi.StringPtrOutput
- func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
- func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
- func (o ServicePlacementConstraintOutput) Type() pulumi.StringOutput
- type ServiceServiceRegistries
- type ServiceServiceRegistriesArgs
- func (ServiceServiceRegistriesArgs) ElementType() reflect.Type
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
- type ServiceServiceRegistriesInput
- type ServiceServiceRegistriesOutput
- func (o ServiceServiceRegistriesOutput) ContainerName() pulumi.StringPtrOutput
- func (o ServiceServiceRegistriesOutput) ContainerPort() pulumi.IntPtrOutput
- func (ServiceServiceRegistriesOutput) ElementType() reflect.Type
- func (o ServiceServiceRegistriesOutput) Port() pulumi.IntPtrOutput
- func (o ServiceServiceRegistriesOutput) RegistryArn() pulumi.StringOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
- type ServiceServiceRegistriesPtrInput
- type ServiceServiceRegistriesPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) ContainerName() pulumi.StringPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) ContainerPort() pulumi.IntPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) Elem() ServiceServiceRegistriesOutput
- func (ServiceServiceRegistriesPtrOutput) ElementType() reflect.Type
- func (o ServiceServiceRegistriesPtrOutput) Port() pulumi.IntPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) RegistryArn() pulumi.StringOutput
- func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
- type ServiceState
- type TaskDefinition
- type TaskDefinitionArgs
- type TaskDefinitionPlacementConstraint
- type TaskDefinitionPlacementConstraintArgs
- func (TaskDefinitionPlacementConstraintArgs) ElementType() reflect.Type
- func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
- func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
- type TaskDefinitionPlacementConstraintArray
- func (TaskDefinitionPlacementConstraintArray) ElementType() reflect.Type
- func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
- func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
- type TaskDefinitionPlacementConstraintArrayInput
- type TaskDefinitionPlacementConstraintArrayOutput
- func (TaskDefinitionPlacementConstraintArrayOutput) ElementType() reflect.Type
- func (o TaskDefinitionPlacementConstraintArrayOutput) Index(i pulumi.IntInput) TaskDefinitionPlacementConstraintOutput
- func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
- func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
- type TaskDefinitionPlacementConstraintInput
- type TaskDefinitionPlacementConstraintOutput
- func (TaskDefinitionPlacementConstraintOutput) ElementType() reflect.Type
- func (o TaskDefinitionPlacementConstraintOutput) Expression() pulumi.StringPtrOutput
- func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
- func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
- func (o TaskDefinitionPlacementConstraintOutput) Type() pulumi.StringOutput
- type TaskDefinitionProxyConfiguration
- type TaskDefinitionProxyConfigurationArgs
- func (TaskDefinitionProxyConfigurationArgs) ElementType() reflect.Type
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
- type TaskDefinitionProxyConfigurationInput
- type TaskDefinitionProxyConfigurationOutput
- func (o TaskDefinitionProxyConfigurationOutput) ContainerName() pulumi.StringOutput
- func (TaskDefinitionProxyConfigurationOutput) ElementType() reflect.Type
- func (o TaskDefinitionProxyConfigurationOutput) Properties() pulumi.StringMapOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationOutput) Type() pulumi.StringPtrOutput
- type TaskDefinitionProxyConfigurationPtrInput
- type TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) ContainerName() pulumi.StringOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) Elem() TaskDefinitionProxyConfigurationOutput
- func (TaskDefinitionProxyConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionProxyConfigurationPtrOutput) Properties() pulumi.StringMapOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) Type() pulumi.StringPtrOutput
- type TaskDefinitionState
- type TaskDefinitionVolume
- type TaskDefinitionVolumeArgs
- type TaskDefinitionVolumeArray
- type TaskDefinitionVolumeArrayInput
- type TaskDefinitionVolumeArrayOutput
- func (TaskDefinitionVolumeArrayOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeArrayOutput) Index(i pulumi.IntInput) TaskDefinitionVolumeOutput
- func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput
- func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput
- type TaskDefinitionVolumeDockerVolumeConfiguration
- type TaskDefinitionVolumeDockerVolumeConfigurationArgs
- func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ElementType() reflect.Type
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeDockerVolumeConfigurationInput
- type TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Autoprovision() pulumi.BoolPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Driver() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) DriverOpts() pulumi.StringMapOutput
- func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Labels() pulumi.StringMapOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Scope() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput
- type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Autoprovision() pulumi.BoolPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Driver() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) DriverOpts() pulumi.StringMapOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Elem() TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Labels() pulumi.StringMapOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Scope() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfiguration
- type TaskDefinitionVolumeEfsVolumeConfigurationArgs
- func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ElementType() reflect.Type
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfigurationInput
- type TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) RootDirectory() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput
- type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) Elem() TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeInput
- type TaskDefinitionVolumeOutput
- func (o TaskDefinitionVolumeOutput) DockerVolumeConfiguration() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeOutput) EfsVolumeConfiguration() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (TaskDefinitionVolumeOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeOutput) HostPath() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeOutput) Name() pulumi.StringOutput
- func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput
- func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapacityProvider ¶ added in v1.16.0
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 mapping of resource tags. Tags pulumi.MapOutput `pulumi:"tags"` }
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ecs_capacity_provider.html.markdown.
func GetCapacityProvider ¶ added in v1.16.0
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 ¶ added in v1.16.0
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.
type CapacityProviderArgs ¶ added in v1.16.0
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 mapping of resource tags. Tags pulumi.MapInput }
The set of arguments for constructing a CapacityProvider resource.
func (CapacityProviderArgs) ElementType ¶ added in v1.19.0
func (CapacityProviderArgs) ElementType() reflect.Type
type CapacityProviderAutoScalingGroupProvider ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProvider struct { AutoScalingGroupArn string `pulumi:"autoScalingGroupArn"` ManagedScaling *CapacityProviderAutoScalingGroupProviderManagedScaling `pulumi:"managedScaling"` ManagedTerminationProtection *string `pulumi:"managedTerminationProtection"` }
type CapacityProviderAutoScalingGroupProviderArgs ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderArgs struct { AutoScalingGroupArn pulumi.StringInput `pulumi:"autoScalingGroupArn"` ManagedScaling CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput `pulumi:"managedScaling"` ManagedTerminationProtection pulumi.StringPtrInput `pulumi:"managedTerminationProtection"` }
func (CapacityProviderAutoScalingGroupProviderArgs) ElementType ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderArgs) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
type CapacityProviderAutoScalingGroupProviderInput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput ToCapacityProviderAutoScalingGroupProviderOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderOutput }
type CapacityProviderAutoScalingGroupProviderManagedScaling ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderManagedScalingArgs ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderManagedScalingArgs struct { MaximumScalingStepSize pulumi.IntPtrInput `pulumi:"maximumScalingStepSize"` MinimumScalingStepSize pulumi.IntPtrInput `pulumi:"minimumScalingStepSize"` Status pulumi.StringPtrInput `pulumi:"status"` TargetCapacity pulumi.IntPtrInput `pulumi:"targetCapacity"` }
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ElementType ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext ¶ added in v1.19.0
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
type CapacityProviderAutoScalingGroupProviderManagedScalingInput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderManagedScalingInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput }
type CapacityProviderAutoScalingGroupProviderManagedScalingOutput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderManagedScalingOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ElementType ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MaximumScalingStepSize ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MinimumScalingStepSize ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) TargetCapacity ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) TargetCapacity() pulumi.IntPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput }
func CapacityProviderAutoScalingGroupProviderManagedScalingPtr ¶ added in v1.19.0
func CapacityProviderAutoScalingGroupProviderManagedScalingPtr(v *CapacityProviderAutoScalingGroupProviderManagedScalingArgs) CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ElementType ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MaximumScalingStepSize ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MinimumScalingStepSize ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) TargetCapacity ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) TargetCapacity() pulumi.IntPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
type CapacityProviderAutoScalingGroupProviderOutput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderOutput) AutoScalingGroupArn ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderOutput) AutoScalingGroupArn() pulumi.StringOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ElementType ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderOutput) ManagedScaling ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderOutput) ManagedTerminationProtection ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
type CapacityProviderAutoScalingGroupProviderPtrInput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderPtrInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput }
func CapacityProviderAutoScalingGroupProviderPtr ¶ added in v1.19.0
func CapacityProviderAutoScalingGroupProviderPtr(v *CapacityProviderAutoScalingGroupProviderArgs) CapacityProviderAutoScalingGroupProviderPtrInput
type CapacityProviderAutoScalingGroupProviderPtrOutput ¶ added in v1.19.0
type CapacityProviderAutoScalingGroupProviderPtrOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderPtrOutput) AutoScalingGroupArn ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) AutoScalingGroupArn() pulumi.StringOutput
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ElementType ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedScaling ¶ added in v1.19.0
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedTerminationProtection ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext ¶ added in v1.19.0
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
type CapacityProviderState ¶ added in v1.16.0
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 mapping of resource tags. Tags pulumi.MapInput }
func (CapacityProviderState) ElementType ¶ added in v1.19.0
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 mapping of resource tags Tags pulumi.MapOutput `pulumi:"tags"` }
Provides an ECS cluster.
## setting
The `setting` configuration block supports the following:
* `name` - (Required) Name of the setting to manage. Valid values: `containerInsights`. * `value` - (Required) The value to assign to the setting. Value values are `enabled` and `disabled`.
## defaultCapacityProviderStrategy
The `defaultCapacityProviderStrategy` configuration block supports the following:
* `capacityProvider` - (Required) The short name of the capacity provider. * `weight` - (Optional) The relative percentage of the total number of launched tasks that should use the specified capacity provider. * `base` - (Optional) 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ecs_cluster.html.markdown.
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.
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 mapping of resource tags Tags pulumi.MapInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶ added in v1.19.0
func (ClusterArgs) ElementType() reflect.Type
type ClusterDefaultCapacityProviderStrategy ¶ added in v1.19.0
type ClusterDefaultCapacityProviderStrategyArgs ¶ added in v1.19.0
type ClusterDefaultCapacityProviderStrategyArgs struct { Base pulumi.IntPtrInput `pulumi:"base"` CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"` Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (ClusterDefaultCapacityProviderStrategyArgs) ElementType ¶ added in v1.19.0
func (ClusterDefaultCapacityProviderStrategyArgs) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput ¶ added in v1.19.0
func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
func (ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext ¶ added in v1.19.0
func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
type ClusterDefaultCapacityProviderStrategyArray ¶ added in v1.19.0
type ClusterDefaultCapacityProviderStrategyArray []ClusterDefaultCapacityProviderStrategyInput
func (ClusterDefaultCapacityProviderStrategyArray) ElementType ¶ added in v1.19.0
func (ClusterDefaultCapacityProviderStrategyArray) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput ¶ added in v1.19.0
func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
func (ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext ¶ added in v1.19.0
func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
type ClusterDefaultCapacityProviderStrategyArrayInput ¶ added in v1.19.0
type ClusterDefaultCapacityProviderStrategyArrayInput interface { pulumi.Input ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput }
type ClusterDefaultCapacityProviderStrategyArrayOutput ¶ added in v1.19.0
type ClusterDefaultCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ElementType ¶ added in v1.19.0
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput ¶ added in v1.19.0
func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext ¶ added in v1.19.0
func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
type ClusterDefaultCapacityProviderStrategyInput ¶ added in v1.19.0
type ClusterDefaultCapacityProviderStrategyInput interface { pulumi.Input ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput ToClusterDefaultCapacityProviderStrategyOutputWithContext(context.Context) ClusterDefaultCapacityProviderStrategyOutput }
type ClusterDefaultCapacityProviderStrategyOutput ¶ added in v1.19.0
type ClusterDefaultCapacityProviderStrategyOutput struct{ *pulumi.OutputState }
func (ClusterDefaultCapacityProviderStrategyOutput) Base ¶ added in v1.19.0
func (o ClusterDefaultCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
func (ClusterDefaultCapacityProviderStrategyOutput) CapacityProvider ¶ added in v1.19.0
func (o ClusterDefaultCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
func (ClusterDefaultCapacityProviderStrategyOutput) ElementType ¶ added in v1.19.0
func (ClusterDefaultCapacityProviderStrategyOutput) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput ¶ added in v1.19.0
func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
func (ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext ¶ added in v1.19.0
func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
func (ClusterDefaultCapacityProviderStrategyOutput) Weight ¶ added in v1.19.0
func (o ClusterDefaultCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
type ClusterSetting ¶ added in v1.19.0
type ClusterSettingArgs ¶ added in v1.19.0
type ClusterSettingArgs struct { // The name of the cluster (up to 255 letters, numbers, hyphens, and underscores) Name pulumi.StringInput `pulumi:"name"` Value pulumi.StringInput `pulumi:"value"` }
func (ClusterSettingArgs) ElementType ¶ added in v1.19.0
func (ClusterSettingArgs) ElementType() reflect.Type
func (ClusterSettingArgs) ToClusterSettingOutput ¶ added in v1.19.0
func (i ClusterSettingArgs) ToClusterSettingOutput() ClusterSettingOutput
func (ClusterSettingArgs) ToClusterSettingOutputWithContext ¶ added in v1.19.0
func (i ClusterSettingArgs) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput
type ClusterSettingArray ¶ added in v1.19.0
type ClusterSettingArray []ClusterSettingInput
func (ClusterSettingArray) ElementType ¶ added in v1.19.0
func (ClusterSettingArray) ElementType() reflect.Type
func (ClusterSettingArray) ToClusterSettingArrayOutput ¶ added in v1.19.0
func (i ClusterSettingArray) ToClusterSettingArrayOutput() ClusterSettingArrayOutput
func (ClusterSettingArray) ToClusterSettingArrayOutputWithContext ¶ added in v1.19.0
func (i ClusterSettingArray) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput
type ClusterSettingArrayInput ¶ added in v1.19.0
type ClusterSettingArrayInput interface { pulumi.Input ToClusterSettingArrayOutput() ClusterSettingArrayOutput ToClusterSettingArrayOutputWithContext(context.Context) ClusterSettingArrayOutput }
type ClusterSettingArrayOutput ¶ added in v1.19.0
type ClusterSettingArrayOutput struct{ *pulumi.OutputState }
func (ClusterSettingArrayOutput) ElementType ¶ added in v1.19.0
func (ClusterSettingArrayOutput) ElementType() reflect.Type
func (ClusterSettingArrayOutput) Index ¶ added in v1.19.0
func (o ClusterSettingArrayOutput) Index(i pulumi.IntInput) ClusterSettingOutput
func (ClusterSettingArrayOutput) ToClusterSettingArrayOutput ¶ added in v1.19.0
func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutput() ClusterSettingArrayOutput
func (ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext ¶ added in v1.19.0
func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput
type ClusterSettingInput ¶ added in v1.19.0
type ClusterSettingInput interface { pulumi.Input ToClusterSettingOutput() ClusterSettingOutput ToClusterSettingOutputWithContext(context.Context) ClusterSettingOutput }
type ClusterSettingOutput ¶ added in v1.19.0
type ClusterSettingOutput struct{ *pulumi.OutputState }
func (ClusterSettingOutput) ElementType ¶ added in v1.19.0
func (ClusterSettingOutput) ElementType() reflect.Type
func (ClusterSettingOutput) Name ¶ added in v1.19.0
func (o ClusterSettingOutput) Name() pulumi.StringOutput
The name of the cluster (up to 255 letters, numbers, hyphens, and underscores)
func (ClusterSettingOutput) ToClusterSettingOutput ¶ added in v1.19.0
func (o ClusterSettingOutput) ToClusterSettingOutput() ClusterSettingOutput
func (ClusterSettingOutput) ToClusterSettingOutputWithContext ¶ added in v1.19.0
func (o ClusterSettingOutput) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput
func (ClusterSettingOutput) Value ¶ added in v1.19.0
func (o ClusterSettingOutput) Value() pulumi.StringOutput
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 mapping of resource tags Tags pulumi.MapInput }
func (ClusterState) ElementType ¶ added in v1.19.0
func (ClusterState) ElementType() reflect.Type
type GetClusterSetting ¶ added in v1.19.0
type GetClusterSettingArgs ¶ added in v1.19.0
type GetClusterSettingArgs struct { Name pulumi.StringInput `pulumi:"name"` Value pulumi.StringInput `pulumi:"value"` }
func (GetClusterSettingArgs) ElementType ¶ added in v1.19.0
func (GetClusterSettingArgs) ElementType() reflect.Type
func (GetClusterSettingArgs) ToGetClusterSettingOutput ¶ added in v1.19.0
func (i GetClusterSettingArgs) ToGetClusterSettingOutput() GetClusterSettingOutput
func (GetClusterSettingArgs) ToGetClusterSettingOutputWithContext ¶ added in v1.19.0
func (i GetClusterSettingArgs) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput
type GetClusterSettingArray ¶ added in v1.19.0
type GetClusterSettingArray []GetClusterSettingInput
func (GetClusterSettingArray) ElementType ¶ added in v1.19.0
func (GetClusterSettingArray) ElementType() reflect.Type
func (GetClusterSettingArray) ToGetClusterSettingArrayOutput ¶ added in v1.19.0
func (i GetClusterSettingArray) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput
func (GetClusterSettingArray) ToGetClusterSettingArrayOutputWithContext ¶ added in v1.19.0
func (i GetClusterSettingArray) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput
type GetClusterSettingArrayInput ¶ added in v1.19.0
type GetClusterSettingArrayInput interface { pulumi.Input ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput ToGetClusterSettingArrayOutputWithContext(context.Context) GetClusterSettingArrayOutput }
type GetClusterSettingArrayOutput ¶ added in v1.19.0
type GetClusterSettingArrayOutput struct{ *pulumi.OutputState }
func (GetClusterSettingArrayOutput) ElementType ¶ added in v1.19.0
func (GetClusterSettingArrayOutput) ElementType() reflect.Type
func (GetClusterSettingArrayOutput) Index ¶ added in v1.19.0
func (o GetClusterSettingArrayOutput) Index(i pulumi.IntInput) GetClusterSettingOutput
func (GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput ¶ added in v1.19.0
func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput
func (GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext ¶ added in v1.19.0
func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput
type GetClusterSettingInput ¶ added in v1.19.0
type GetClusterSettingInput interface { pulumi.Input ToGetClusterSettingOutput() GetClusterSettingOutput ToGetClusterSettingOutputWithContext(context.Context) GetClusterSettingOutput }
type GetClusterSettingOutput ¶ added in v1.19.0
type GetClusterSettingOutput struct{ *pulumi.OutputState }
func (GetClusterSettingOutput) ElementType ¶ added in v1.19.0
func (GetClusterSettingOutput) ElementType() reflect.Type
func (GetClusterSettingOutput) Name ¶ added in v1.19.0
func (o GetClusterSettingOutput) Name() pulumi.StringOutput
func (GetClusterSettingOutput) ToGetClusterSettingOutput ¶ added in v1.19.0
func (o GetClusterSettingOutput) ToGetClusterSettingOutput() GetClusterSettingOutput
func (GetClusterSettingOutput) ToGetClusterSettingOutputWithContext ¶ added in v1.19.0
func (o GetClusterSettingOutput) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput
func (GetClusterSettingOutput) Value ¶ added in v1.19.0
func (o GetClusterSettingOutput) Value() pulumi.StringOutput
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"` // id is 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 ¶ added in v1.19.0
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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ecs_container_definition.html.markdown.
type LookupClusterArgs ¶ added in v1.19.0
type LookupClusterArgs struct { // The name of the ECS Cluster ClusterName string `pulumi:"clusterName"` }
A collection of arguments for invoking getCluster.
type LookupClusterResult ¶ added in v1.19.0
type LookupClusterResult struct { // The ARN of the ECS Cluster Arn string `pulumi:"arn"` ClusterName string `pulumi:"clusterName"` // id is 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ecs_cluster.html.markdown.
type LookupServiceArgs ¶ added in v1.19.0
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 ¶ added in v1.19.0
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"` // id is 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ecs_service.html.markdown.
type LookupTaskDefinitionArgs ¶ added in v1.19.0
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 ¶ added in v1.19.0
type LookupTaskDefinitionResult struct { // The family of this task definition Family string `pulumi:"family"` // id is 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ecs_task_definition.html.markdown.
type Service ¶
type Service struct { pulumi.CustomResourceState // The capacity provider strategy to use for the service. Can be one or more. Defined below. CapacityProviderStrategies ServiceCapacityProviderStrategyArrayOutput `pulumi:"capacityProviderStrategies"` // ARN of an ECS cluster Cluster pulumi.StringOutput `pulumi:"cluster"` // Configuration block containing deployment controller configuration. Defined below. DeploymentController ServiceDeploymentControllerPtrOutput `pulumi:"deploymentController"` // The 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"` // The 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"` // The 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"` // 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"` // The launch type on which to run your service. The valid values are `EC2` and `FARGATE`. Defaults to `EC2`. LaunchType pulumi.StringOutput `pulumi:"launchType"` // A load balancer block. Load balancers documented below. LoadBalancers ServiceLoadBalancerArrayOutput `pulumi:"loadBalancers"` // The name of the service (up to 255 letters, numbers, hyphens, and underscores) Name pulumi.StringOutput `pulumi:"name"` // The 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. 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. The maximum number of `orderedPlacementStrategy` blocks is `5`. Defined below. OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayOutput `pulumi:"orderedPlacementStrategies"` // rules that are taken into consideration during task placement. Maximum number of // `placementConstraints` is `10`. Defined below. PlacementConstraints ServicePlacementConstraintArrayOutput `pulumi:"placementConstraints"` // The 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"` // The scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Fargate tasks do not support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html). SchedulingStrategy pulumi.StringPtrOutput `pulumi:"schedulingStrategy"` // The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. ServiceRegistries ServiceServiceRegistriesPtrOutput `pulumi:"serviceRegistries"` // Key-value mapping of resource tags Tags pulumi.MapOutput `pulumi:"tags"` // The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. TaskDefinition pulumi.StringOutput `pulumi:"taskDefinition"` // If `true`, this 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`. 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).
## capacityProviderStrategy
The `capacityProviderStrategy` configuration block supports the following:
* `capacityProvider` - (Required) The short name or full Amazon Resource Name (ARN) of the capacity provider. * `weight` - (Required) The relative percentage of the total number of launched tasks that should use the specified capacity provider. * `base` - (Optional) 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.
## deploymentController
The `deploymentController` configuration block supports the following:
* `type` - (Optional) Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`. Default: `ECS`.
## loadBalancer
`loadBalancer` supports the following:
* `elbName` - (Required for ELB Classic) The name of the ELB (Classic) to associate with the service. * `targetGroupArn` - (Required for ALB/NLB) The ARN of the Load Balancer target group to associate with the service. * `containerName` - (Required) The name of the container to associate with the load balancer (as it appears in a container definition). * `containerPort` - (Required) The port on the container to associate with the load balancer.
> **Version note:** Multiple `loadBalancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).
## orderedPlacementStrategy
`orderedPlacementStrategy` supports the following:
- `type` - (Required) The type of placement strategy. Must be one of: `binpack`, `random`, or `spread`
- `field` - (Optional) 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).
> **Note:** for `spread`, `host` and `instanceId` will be normalized, by AWS, to be `instanceId`. This means the statefile will show `instanceId` but your config will differ if you use `host`.
## placementConstraints
`placementConstraints` support the following:
* `type` - (Required) The type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`. * `expression` - (Optional) 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).
## networkConfiguration
`networkConfiguration` support the following:
* `subnets` - (Required) The subnets associated with the task or service. * `securityGroups` - (Optional) The 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. * `assignPublicIp` - (Optional) Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
## serviceRegistries
`serviceRegistries` support the following:
* `registryArn` - (Required) The 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) * `port` - (Optional) The port value used if your Service Discovery service specified an SRV record. * `containerPort` - (Optional) The port value, already specified in the task definition, to be used for your service discovery service. * `containerName` - (Optional) The container name value, already specified in the task definition, to be used for your service discovery service.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ecs_service.html.markdown.
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.
type ServiceArgs ¶
type ServiceArgs struct { // The capacity provider strategy to use for the service. Can be one or more. Defined below. CapacityProviderStrategies ServiceCapacityProviderStrategyArrayInput // ARN of an ECS cluster Cluster pulumi.StringPtrInput // Configuration block containing deployment controller configuration. Defined below. DeploymentController ServiceDeploymentControllerPtrInput // The 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 // The 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 // The 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 // 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 // The launch type on which to run your service. The valid values are `EC2` and `FARGATE`. Defaults to `EC2`. LaunchType pulumi.StringPtrInput // A load balancer block. Load balancers documented below. LoadBalancers ServiceLoadBalancerArrayInput // The name of the service (up to 255 letters, numbers, hyphens, and underscores) Name pulumi.StringPtrInput // The 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. NetworkConfiguration ServiceNetworkConfigurationPtrInput // Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. The maximum number of `orderedPlacementStrategy` blocks is `5`. Defined below. OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayInput // rules that are taken into consideration during task placement. Maximum number of // `placementConstraints` is `10`. Defined below. PlacementConstraints ServicePlacementConstraintArrayInput // The 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 // The scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Fargate tasks do not support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html). SchedulingStrategy pulumi.StringPtrInput // The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. ServiceRegistries ServiceServiceRegistriesPtrInput // Key-value mapping of resource tags Tags pulumi.MapInput // The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. TaskDefinition pulumi.StringInput // If `true`, this 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`. WaitForSteadyState pulumi.BoolPtrInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶ added in v1.19.0
func (ServiceArgs) ElementType() reflect.Type
type ServiceCapacityProviderStrategy ¶ added in v1.19.0
type ServiceCapacityProviderStrategyArgs ¶ added in v1.19.0
type ServiceCapacityProviderStrategyArgs struct { Base pulumi.IntPtrInput `pulumi:"base"` CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"` Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (ServiceCapacityProviderStrategyArgs) ElementType ¶ added in v1.19.0
func (ServiceCapacityProviderStrategyArgs) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput ¶ added in v1.19.0
func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
func (ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext ¶ added in v1.19.0
func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
type ServiceCapacityProviderStrategyArray ¶ added in v1.19.0
type ServiceCapacityProviderStrategyArray []ServiceCapacityProviderStrategyInput
func (ServiceCapacityProviderStrategyArray) ElementType ¶ added in v1.19.0
func (ServiceCapacityProviderStrategyArray) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput ¶ added in v1.19.0
func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
func (ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext ¶ added in v1.19.0
func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
type ServiceCapacityProviderStrategyArrayInput ¶ added in v1.19.0
type ServiceCapacityProviderStrategyArrayInput interface { pulumi.Input ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput ToServiceCapacityProviderStrategyArrayOutputWithContext(context.Context) ServiceCapacityProviderStrategyArrayOutput }
type ServiceCapacityProviderStrategyArrayOutput ¶ added in v1.19.0
type ServiceCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }
func (ServiceCapacityProviderStrategyArrayOutput) ElementType ¶ added in v1.19.0
func (ServiceCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput ¶ added in v1.19.0
func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
func (ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext ¶ added in v1.19.0
func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
type ServiceCapacityProviderStrategyInput ¶ added in v1.19.0
type ServiceCapacityProviderStrategyInput interface { pulumi.Input ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput ToServiceCapacityProviderStrategyOutputWithContext(context.Context) ServiceCapacityProviderStrategyOutput }
type ServiceCapacityProviderStrategyOutput ¶ added in v1.19.0
type ServiceCapacityProviderStrategyOutput struct{ *pulumi.OutputState }
func (ServiceCapacityProviderStrategyOutput) Base ¶ added in v1.19.0
func (o ServiceCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
func (ServiceCapacityProviderStrategyOutput) CapacityProvider ¶ added in v1.19.0
func (o ServiceCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
func (ServiceCapacityProviderStrategyOutput) ElementType ¶ added in v1.19.0
func (ServiceCapacityProviderStrategyOutput) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput ¶ added in v1.19.0
func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
func (ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext ¶ added in v1.19.0
func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
func (ServiceCapacityProviderStrategyOutput) Weight ¶ added in v1.19.0
func (o ServiceCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
type ServiceDeploymentController ¶ added in v1.19.0
type ServiceDeploymentController struct {
Type *string `pulumi:"type"`
}
type ServiceDeploymentControllerArgs ¶ added in v1.19.0
type ServiceDeploymentControllerArgs struct {
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (ServiceDeploymentControllerArgs) ElementType ¶ added in v1.19.0
func (ServiceDeploymentControllerArgs) ElementType() reflect.Type
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput ¶ added in v1.19.0
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext ¶ added in v1.19.0
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput ¶ added in v1.19.0
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext ¶ added in v1.19.0
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
type ServiceDeploymentControllerInput ¶ added in v1.19.0
type ServiceDeploymentControllerInput interface { pulumi.Input ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput ToServiceDeploymentControllerOutputWithContext(context.Context) ServiceDeploymentControllerOutput }
type ServiceDeploymentControllerOutput ¶ added in v1.19.0
type ServiceDeploymentControllerOutput struct{ *pulumi.OutputState }
func (ServiceDeploymentControllerOutput) ElementType ¶ added in v1.19.0
func (ServiceDeploymentControllerOutput) ElementType() reflect.Type
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput ¶ added in v1.19.0
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext ¶ added in v1.19.0
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput ¶ added in v1.19.0
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext ¶ added in v1.19.0
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerOutput) Type ¶ added in v1.19.0
func (o ServiceDeploymentControllerOutput) Type() pulumi.StringPtrOutput
type ServiceDeploymentControllerPtrInput ¶ added in v1.19.0
type ServiceDeploymentControllerPtrInput interface { pulumi.Input ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput ToServiceDeploymentControllerPtrOutputWithContext(context.Context) ServiceDeploymentControllerPtrOutput }
func ServiceDeploymentControllerPtr ¶ added in v1.19.0
func ServiceDeploymentControllerPtr(v *ServiceDeploymentControllerArgs) ServiceDeploymentControllerPtrInput
type ServiceDeploymentControllerPtrOutput ¶ added in v1.19.0
type ServiceDeploymentControllerPtrOutput struct{ *pulumi.OutputState }
func (ServiceDeploymentControllerPtrOutput) ElementType ¶ added in v1.19.0
func (ServiceDeploymentControllerPtrOutput) ElementType() reflect.Type
func (ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput ¶ added in v1.19.0
func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext ¶ added in v1.19.0
func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerPtrOutput) Type ¶ added in v1.19.0
func (o ServiceDeploymentControllerPtrOutput) Type() pulumi.StringPtrOutput
type ServiceLoadBalancer ¶ added in v1.19.0
type ServiceLoadBalancerArgs ¶ added in v1.19.0
type ServiceLoadBalancerArgs struct { ContainerName pulumi.StringInput `pulumi:"containerName"` ContainerPort pulumi.IntInput `pulumi:"containerPort"` ElbName pulumi.StringPtrInput `pulumi:"elbName"` TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"` }
func (ServiceLoadBalancerArgs) ElementType ¶ added in v1.19.0
func (ServiceLoadBalancerArgs) ElementType() reflect.Type
func (ServiceLoadBalancerArgs) ToServiceLoadBalancerOutput ¶ added in v1.19.0
func (i ServiceLoadBalancerArgs) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput
func (ServiceLoadBalancerArgs) ToServiceLoadBalancerOutputWithContext ¶ added in v1.19.0
func (i ServiceLoadBalancerArgs) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput
type ServiceLoadBalancerArray ¶ added in v1.19.0
type ServiceLoadBalancerArray []ServiceLoadBalancerInput
func (ServiceLoadBalancerArray) ElementType ¶ added in v1.19.0
func (ServiceLoadBalancerArray) ElementType() reflect.Type
func (ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutput ¶ added in v1.19.0
func (i ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput
func (ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutputWithContext ¶ added in v1.19.0
func (i ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput
type ServiceLoadBalancerArrayInput ¶ added in v1.19.0
type ServiceLoadBalancerArrayInput interface { pulumi.Input ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput ToServiceLoadBalancerArrayOutputWithContext(context.Context) ServiceLoadBalancerArrayOutput }
type ServiceLoadBalancerArrayOutput ¶ added in v1.19.0
type ServiceLoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (ServiceLoadBalancerArrayOutput) ElementType ¶ added in v1.19.0
func (ServiceLoadBalancerArrayOutput) ElementType() reflect.Type
func (ServiceLoadBalancerArrayOutput) Index ¶ added in v1.19.0
func (o ServiceLoadBalancerArrayOutput) Index(i pulumi.IntInput) ServiceLoadBalancerOutput
func (ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput ¶ added in v1.19.0
func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput
func (ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext ¶ added in v1.19.0
func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput
type ServiceLoadBalancerInput ¶ added in v1.19.0
type ServiceLoadBalancerInput interface { pulumi.Input ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput ToServiceLoadBalancerOutputWithContext(context.Context) ServiceLoadBalancerOutput }
type ServiceLoadBalancerOutput ¶ added in v1.19.0
type ServiceLoadBalancerOutput struct{ *pulumi.OutputState }
func (ServiceLoadBalancerOutput) ContainerName ¶ added in v1.19.0
func (o ServiceLoadBalancerOutput) ContainerName() pulumi.StringOutput
func (ServiceLoadBalancerOutput) ContainerPort ¶ added in v1.19.0
func (o ServiceLoadBalancerOutput) ContainerPort() pulumi.IntOutput
func (ServiceLoadBalancerOutput) ElbName ¶ added in v1.19.0
func (o ServiceLoadBalancerOutput) ElbName() pulumi.StringPtrOutput
func (ServiceLoadBalancerOutput) ElementType ¶ added in v1.19.0
func (ServiceLoadBalancerOutput) ElementType() reflect.Type
func (ServiceLoadBalancerOutput) TargetGroupArn ¶ added in v1.19.0
func (o ServiceLoadBalancerOutput) TargetGroupArn() pulumi.StringPtrOutput
func (ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput ¶ added in v1.19.0
func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput
func (ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext ¶ added in v1.19.0
func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput
type ServiceNetworkConfiguration ¶ added in v1.19.0
type ServiceNetworkConfigurationArgs ¶ added in v1.19.0
type ServiceNetworkConfigurationArgs struct { AssignPublicIp pulumi.BoolPtrInput `pulumi:"assignPublicIp"` SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` Subnets pulumi.StringArrayInput `pulumi:"subnets"` }
func (ServiceNetworkConfigurationArgs) ElementType ¶ added in v1.19.0
func (ServiceNetworkConfigurationArgs) ElementType() reflect.Type
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput ¶ added in v1.19.0
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext ¶ added in v1.19.0
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput ¶ added in v1.19.0
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
type ServiceNetworkConfigurationInput ¶ added in v1.19.0
type ServiceNetworkConfigurationInput interface { pulumi.Input ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput ToServiceNetworkConfigurationOutputWithContext(context.Context) ServiceNetworkConfigurationOutput }
type ServiceNetworkConfigurationOutput ¶ added in v1.19.0
type ServiceNetworkConfigurationOutput struct{ *pulumi.OutputState }
func (ServiceNetworkConfigurationOutput) AssignPublicIp ¶ added in v1.19.0
func (o ServiceNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
func (ServiceNetworkConfigurationOutput) ElementType ¶ added in v1.19.0
func (ServiceNetworkConfigurationOutput) ElementType() reflect.Type
func (ServiceNetworkConfigurationOutput) SecurityGroups ¶ added in v1.19.0
func (o ServiceNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
func (ServiceNetworkConfigurationOutput) Subnets ¶ added in v1.19.0
func (o ServiceNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput ¶ added in v1.19.0
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext ¶ added in v1.19.0
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput ¶ added in v1.19.0
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
type ServiceNetworkConfigurationPtrInput ¶ added in v1.19.0
type ServiceNetworkConfigurationPtrInput interface { pulumi.Input ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput ToServiceNetworkConfigurationPtrOutputWithContext(context.Context) ServiceNetworkConfigurationPtrOutput }
func ServiceNetworkConfigurationPtr ¶ added in v1.19.0
func ServiceNetworkConfigurationPtr(v *ServiceNetworkConfigurationArgs) ServiceNetworkConfigurationPtrInput
type ServiceNetworkConfigurationPtrOutput ¶ added in v1.19.0
type ServiceNetworkConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ServiceNetworkConfigurationPtrOutput) AssignPublicIp ¶ added in v1.19.0
func (o ServiceNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
func (ServiceNetworkConfigurationPtrOutput) ElementType ¶ added in v1.19.0
func (ServiceNetworkConfigurationPtrOutput) ElementType() reflect.Type
func (ServiceNetworkConfigurationPtrOutput) SecurityGroups ¶ added in v1.19.0
func (o ServiceNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
func (ServiceNetworkConfigurationPtrOutput) Subnets ¶ added in v1.19.0
func (o ServiceNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
func (ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput ¶ added in v1.19.0
func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
func (ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
type ServiceOrderedPlacementStrategy ¶ added in v1.19.0
type ServiceOrderedPlacementStrategyArgs ¶ added in v1.19.0
type ServiceOrderedPlacementStrategyArgs struct { Field pulumi.StringPtrInput `pulumi:"field"` Type pulumi.StringInput `pulumi:"type"` }
func (ServiceOrderedPlacementStrategyArgs) ElementType ¶ added in v1.19.0
func (ServiceOrderedPlacementStrategyArgs) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput ¶ added in v1.19.0
func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
func (ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext ¶ added in v1.19.0
func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
type ServiceOrderedPlacementStrategyArray ¶ added in v1.19.0
type ServiceOrderedPlacementStrategyArray []ServiceOrderedPlacementStrategyInput
func (ServiceOrderedPlacementStrategyArray) ElementType ¶ added in v1.19.0
func (ServiceOrderedPlacementStrategyArray) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput ¶ added in v1.19.0
func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
func (ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext ¶ added in v1.19.0
func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
type ServiceOrderedPlacementStrategyArrayInput ¶ added in v1.19.0
type ServiceOrderedPlacementStrategyArrayInput interface { pulumi.Input ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput ToServiceOrderedPlacementStrategyArrayOutputWithContext(context.Context) ServiceOrderedPlacementStrategyArrayOutput }
type ServiceOrderedPlacementStrategyArrayOutput ¶ added in v1.19.0
type ServiceOrderedPlacementStrategyArrayOutput struct{ *pulumi.OutputState }
func (ServiceOrderedPlacementStrategyArrayOutput) ElementType ¶ added in v1.19.0
func (ServiceOrderedPlacementStrategyArrayOutput) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput ¶ added in v1.19.0
func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
func (ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext ¶ added in v1.19.0
func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
type ServiceOrderedPlacementStrategyInput ¶ added in v1.19.0
type ServiceOrderedPlacementStrategyInput interface { pulumi.Input ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput ToServiceOrderedPlacementStrategyOutputWithContext(context.Context) ServiceOrderedPlacementStrategyOutput }
type ServiceOrderedPlacementStrategyOutput ¶ added in v1.19.0
type ServiceOrderedPlacementStrategyOutput struct{ *pulumi.OutputState }
func (ServiceOrderedPlacementStrategyOutput) ElementType ¶ added in v1.19.0
func (ServiceOrderedPlacementStrategyOutput) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyOutput) Field ¶ added in v1.19.0
func (o ServiceOrderedPlacementStrategyOutput) Field() pulumi.StringPtrOutput
func (ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput ¶ added in v1.19.0
func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
func (ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext ¶ added in v1.19.0
func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
func (ServiceOrderedPlacementStrategyOutput) Type ¶ added in v1.19.0
func (o ServiceOrderedPlacementStrategyOutput) Type() pulumi.StringOutput
type ServicePlacementConstraint ¶ added in v1.19.0
type ServicePlacementConstraintArgs ¶ added in v1.19.0
type ServicePlacementConstraintArgs struct { Expression pulumi.StringPtrInput `pulumi:"expression"` Type pulumi.StringInput `pulumi:"type"` }
func (ServicePlacementConstraintArgs) ElementType ¶ added in v1.19.0
func (ServicePlacementConstraintArgs) ElementType() reflect.Type
func (ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput ¶ added in v1.19.0
func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
func (ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext ¶ added in v1.19.0
func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
type ServicePlacementConstraintArray ¶ added in v1.19.0
type ServicePlacementConstraintArray []ServicePlacementConstraintInput
func (ServicePlacementConstraintArray) ElementType ¶ added in v1.19.0
func (ServicePlacementConstraintArray) ElementType() reflect.Type
func (ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput ¶ added in v1.19.0
func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
func (ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext ¶ added in v1.19.0
func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
type ServicePlacementConstraintArrayInput ¶ added in v1.19.0
type ServicePlacementConstraintArrayInput interface { pulumi.Input ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput ToServicePlacementConstraintArrayOutputWithContext(context.Context) ServicePlacementConstraintArrayOutput }
type ServicePlacementConstraintArrayOutput ¶ added in v1.19.0
type ServicePlacementConstraintArrayOutput struct{ *pulumi.OutputState }
func (ServicePlacementConstraintArrayOutput) ElementType ¶ added in v1.19.0
func (ServicePlacementConstraintArrayOutput) ElementType() reflect.Type
func (ServicePlacementConstraintArrayOutput) Index ¶ added in v1.19.0
func (o ServicePlacementConstraintArrayOutput) Index(i pulumi.IntInput) ServicePlacementConstraintOutput
func (ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput ¶ added in v1.19.0
func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
func (ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext ¶ added in v1.19.0
func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
type ServicePlacementConstraintInput ¶ added in v1.19.0
type ServicePlacementConstraintInput interface { pulumi.Input ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput ToServicePlacementConstraintOutputWithContext(context.Context) ServicePlacementConstraintOutput }
type ServicePlacementConstraintOutput ¶ added in v1.19.0
type ServicePlacementConstraintOutput struct{ *pulumi.OutputState }
func (ServicePlacementConstraintOutput) ElementType ¶ added in v1.19.0
func (ServicePlacementConstraintOutput) ElementType() reflect.Type
func (ServicePlacementConstraintOutput) Expression ¶ added in v1.19.0
func (o ServicePlacementConstraintOutput) Expression() pulumi.StringPtrOutput
func (ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput ¶ added in v1.19.0
func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
func (ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext ¶ added in v1.19.0
func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
func (ServicePlacementConstraintOutput) Type ¶ added in v1.19.0
func (o ServicePlacementConstraintOutput) Type() pulumi.StringOutput
type ServiceServiceRegistries ¶ added in v1.19.0
type ServiceServiceRegistriesArgs ¶ added in v1.19.0
type ServiceServiceRegistriesArgs struct { ContainerName pulumi.StringPtrInput `pulumi:"containerName"` ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"` Port pulumi.IntPtrInput `pulumi:"port"` RegistryArn pulumi.StringInput `pulumi:"registryArn"` }
func (ServiceServiceRegistriesArgs) ElementType ¶ added in v1.19.0
func (ServiceServiceRegistriesArgs) ElementType() reflect.Type
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput ¶ added in v1.19.0
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext ¶ added in v1.19.0
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput ¶ added in v1.19.0
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext ¶ added in v1.19.0
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
type ServiceServiceRegistriesInput ¶ added in v1.19.0
type ServiceServiceRegistriesInput interface { pulumi.Input ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput ToServiceServiceRegistriesOutputWithContext(context.Context) ServiceServiceRegistriesOutput }
type ServiceServiceRegistriesOutput ¶ added in v1.19.0
type ServiceServiceRegistriesOutput struct{ *pulumi.OutputState }
func (ServiceServiceRegistriesOutput) ContainerName ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) ContainerName() pulumi.StringPtrOutput
func (ServiceServiceRegistriesOutput) ContainerPort ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) ContainerPort() pulumi.IntPtrOutput
func (ServiceServiceRegistriesOutput) ElementType ¶ added in v1.19.0
func (ServiceServiceRegistriesOutput) ElementType() reflect.Type
func (ServiceServiceRegistriesOutput) Port ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) Port() pulumi.IntPtrOutput
func (ServiceServiceRegistriesOutput) RegistryArn ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) RegistryArn() pulumi.StringOutput
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext ¶ added in v1.19.0
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
type ServiceServiceRegistriesPtrInput ¶ added in v1.19.0
type ServiceServiceRegistriesPtrInput interface { pulumi.Input ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput ToServiceServiceRegistriesPtrOutputWithContext(context.Context) ServiceServiceRegistriesPtrOutput }
func ServiceServiceRegistriesPtr ¶ added in v1.19.0
func ServiceServiceRegistriesPtr(v *ServiceServiceRegistriesArgs) ServiceServiceRegistriesPtrInput
type ServiceServiceRegistriesPtrOutput ¶ added in v1.19.0
type ServiceServiceRegistriesPtrOutput struct{ *pulumi.OutputState }
func (ServiceServiceRegistriesPtrOutput) ContainerName ¶ added in v1.19.0
func (o ServiceServiceRegistriesPtrOutput) ContainerName() pulumi.StringPtrOutput
func (ServiceServiceRegistriesPtrOutput) ContainerPort ¶ added in v1.19.0
func (o ServiceServiceRegistriesPtrOutput) ContainerPort() pulumi.IntPtrOutput
func (ServiceServiceRegistriesPtrOutput) Elem ¶ added in v1.19.0
func (o ServiceServiceRegistriesPtrOutput) Elem() ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesPtrOutput) ElementType ¶ added in v1.19.0
func (ServiceServiceRegistriesPtrOutput) ElementType() reflect.Type
func (ServiceServiceRegistriesPtrOutput) Port ¶ added in v1.19.0
func (o ServiceServiceRegistriesPtrOutput) Port() pulumi.IntPtrOutput
func (ServiceServiceRegistriesPtrOutput) RegistryArn ¶ added in v1.19.0
func (o ServiceServiceRegistriesPtrOutput) RegistryArn() pulumi.StringOutput
func (ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput ¶ added in v1.19.0
func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
func (ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext ¶ added in v1.19.0
func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
type ServiceState ¶
type ServiceState struct { // The capacity provider strategy to use for the service. Can be one or more. Defined below. CapacityProviderStrategies ServiceCapacityProviderStrategyArrayInput // ARN of an ECS cluster Cluster pulumi.StringPtrInput // Configuration block containing deployment controller configuration. Defined below. DeploymentController ServiceDeploymentControllerPtrInput // The 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 // The 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 // The 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 // 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 // The launch type on which to run your service. The valid values are `EC2` and `FARGATE`. Defaults to `EC2`. LaunchType pulumi.StringPtrInput // A load balancer block. Load balancers documented below. LoadBalancers ServiceLoadBalancerArrayInput // The name of the service (up to 255 letters, numbers, hyphens, and underscores) Name pulumi.StringPtrInput // The 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. NetworkConfiguration ServiceNetworkConfigurationPtrInput // Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. The maximum number of `orderedPlacementStrategy` blocks is `5`. Defined below. OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayInput // rules that are taken into consideration during task placement. Maximum number of // `placementConstraints` is `10`. Defined below. PlacementConstraints ServicePlacementConstraintArrayInput // The 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 // The scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Fargate tasks do not support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html). SchedulingStrategy pulumi.StringPtrInput // The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. ServiceRegistries ServiceServiceRegistriesPtrInput // Key-value mapping of resource tags Tags pulumi.MapInput // The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. TaskDefinition pulumi.StringPtrInput // If `true`, this 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`. WaitForSteadyState pulumi.BoolPtrInput }
func (ServiceState) ElementType ¶ added in v1.19.0
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"` // 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 mapping of resource tags Tags pulumi.MapOutput `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`.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ecs_task_definition.html.markdown.
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.
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 // 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 mapping of resource tags Tags pulumi.MapInput // 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 ¶ added in v1.19.0
func (TaskDefinitionArgs) ElementType() reflect.Type
type TaskDefinitionPlacementConstraint ¶ added in v1.19.0
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 ¶ added in v1.19.0
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 ¶ added in v1.19.0
func (TaskDefinitionPlacementConstraintArgs) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput ¶ added in v1.19.0
func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
func (TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
type TaskDefinitionPlacementConstraintArray ¶ added in v1.19.0
type TaskDefinitionPlacementConstraintArray []TaskDefinitionPlacementConstraintInput
func (TaskDefinitionPlacementConstraintArray) ElementType ¶ added in v1.19.0
func (TaskDefinitionPlacementConstraintArray) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput ¶ added in v1.19.0
func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
func (TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
type TaskDefinitionPlacementConstraintArrayInput ¶ added in v1.19.0
type TaskDefinitionPlacementConstraintArrayInput interface { pulumi.Input ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput ToTaskDefinitionPlacementConstraintArrayOutputWithContext(context.Context) TaskDefinitionPlacementConstraintArrayOutput }
type TaskDefinitionPlacementConstraintArrayOutput ¶ added in v1.19.0
type TaskDefinitionPlacementConstraintArrayOutput struct{ *pulumi.OutputState }
func (TaskDefinitionPlacementConstraintArrayOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionPlacementConstraintArrayOutput) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput ¶ added in v1.19.0
func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
func (TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
type TaskDefinitionPlacementConstraintInput ¶ added in v1.19.0
type TaskDefinitionPlacementConstraintInput interface { pulumi.Input ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput ToTaskDefinitionPlacementConstraintOutputWithContext(context.Context) TaskDefinitionPlacementConstraintOutput }
type TaskDefinitionPlacementConstraintOutput ¶ added in v1.19.0
type TaskDefinitionPlacementConstraintOutput struct{ *pulumi.OutputState }
func (TaskDefinitionPlacementConstraintOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionPlacementConstraintOutput) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintOutput) Expression ¶ added in v1.19.0
func (o TaskDefinitionPlacementConstraintOutput) Expression() pulumi.StringPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
func (TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
func (TaskDefinitionPlacementConstraintOutput) Type ¶ added in v1.19.0
func (o TaskDefinitionPlacementConstraintOutput) Type() pulumi.StringOutput
The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
type TaskDefinitionProxyConfiguration ¶ added in v1.19.0
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 ¶ added in v1.19.0
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 ¶ added in v1.19.0
func (TaskDefinitionProxyConfigurationArgs) ElementType() reflect.Type
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput ¶ added in v1.19.0
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput ¶ added in v1.19.0
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
type TaskDefinitionProxyConfigurationInput ¶ added in v1.19.0
type TaskDefinitionProxyConfigurationInput interface { pulumi.Input ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput ToTaskDefinitionProxyConfigurationOutputWithContext(context.Context) TaskDefinitionProxyConfigurationOutput }
type TaskDefinitionProxyConfigurationOutput ¶ added in v1.19.0
type TaskDefinitionProxyConfigurationOutput struct{ *pulumi.OutputState }
func (TaskDefinitionProxyConfigurationOutput) ContainerName ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationOutput) ContainerName() pulumi.StringOutput
The name of the container that will serve as the App Mesh proxy.
func (TaskDefinitionProxyConfigurationOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionProxyConfigurationOutput) ElementType() reflect.Type
func (TaskDefinitionProxyConfigurationOutput) Properties ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationOutput) Properties() pulumi.StringMapOutput
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationOutput) Type ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationOutput) Type() pulumi.StringPtrOutput
The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
type TaskDefinitionProxyConfigurationPtrInput ¶ added in v1.19.0
type TaskDefinitionProxyConfigurationPtrInput interface { pulumi.Input ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput ToTaskDefinitionProxyConfigurationPtrOutputWithContext(context.Context) TaskDefinitionProxyConfigurationPtrOutput }
func TaskDefinitionProxyConfigurationPtr ¶ added in v1.19.0
func TaskDefinitionProxyConfigurationPtr(v *TaskDefinitionProxyConfigurationArgs) TaskDefinitionProxyConfigurationPtrInput
type TaskDefinitionProxyConfigurationPtrOutput ¶ added in v1.19.0
type TaskDefinitionProxyConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionProxyConfigurationPtrOutput) ContainerName ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationPtrOutput) ContainerName() pulumi.StringOutput
The name of the container that will serve as the App Mesh proxy.
func (TaskDefinitionProxyConfigurationPtrOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionProxyConfigurationPtrOutput) ElementType() reflect.Type
func (TaskDefinitionProxyConfigurationPtrOutput) Properties ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationPtrOutput) Properties() pulumi.StringMapOutput
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
func (TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationPtrOutput) Type ¶ added in v1.19.0
func (o TaskDefinitionProxyConfigurationPtrOutput) Type() pulumi.StringPtrOutput
The proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
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 // 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 mapping of resource tags Tags pulumi.MapInput // 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 ¶ added in v1.19.0
func (TaskDefinitionState) ElementType() reflect.Type
type TaskDefinitionVolume ¶ added in v1.19.0
type TaskDefinitionVolume struct { // Used to configure a docker volume DockerVolumeConfiguration *TaskDefinitionVolumeDockerVolumeConfiguration `pulumi:"dockerVolumeConfiguration"` // Used to configure a EFS volume. Can be used only with an EC2 type task. 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 ¶ added in v1.19.0
type TaskDefinitionVolumeArgs struct { // Used to configure a docker volume DockerVolumeConfiguration TaskDefinitionVolumeDockerVolumeConfigurationPtrInput `pulumi:"dockerVolumeConfiguration"` // Used to configure a EFS volume. Can be used only with an EC2 type task. 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 ¶ added in v1.19.0
func (TaskDefinitionVolumeArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutput ¶ added in v1.19.0
func (i TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput
func (TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput
type TaskDefinitionVolumeArray ¶ added in v1.19.0
type TaskDefinitionVolumeArray []TaskDefinitionVolumeInput
func (TaskDefinitionVolumeArray) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeArray) ElementType() reflect.Type
func (TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutput ¶ added in v1.19.0
func (i TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput
func (TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput
type TaskDefinitionVolumeArrayInput ¶ added in v1.19.0
type TaskDefinitionVolumeArrayInput interface { pulumi.Input ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput ToTaskDefinitionVolumeArrayOutputWithContext(context.Context) TaskDefinitionVolumeArrayOutput }
type TaskDefinitionVolumeArrayOutput ¶ added in v1.19.0
type TaskDefinitionVolumeArrayOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeArrayOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeArrayOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeArrayOutput) Index ¶ added in v1.19.0
func (o TaskDefinitionVolumeArrayOutput) Index(i pulumi.IntInput) TaskDefinitionVolumeOutput
func (TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput ¶ added in v1.19.0
func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput
func (TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput
type TaskDefinitionVolumeDockerVolumeConfiguration ¶ added in v1.19.0
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 ¶ added in v1.19.0
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 ¶ added in v1.19.0
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput ¶ added in v1.19.0
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ¶ added in v1.19.0
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeDockerVolumeConfigurationInput ¶ added in v1.19.0
type TaskDefinitionVolumeDockerVolumeConfigurationInput interface { pulumi.Input ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput }
type TaskDefinitionVolumeDockerVolumeConfigurationOutput ¶ added in v1.19.0
type TaskDefinitionVolumeDockerVolumeConfigurationOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Autoprovision ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Autoprovision() pulumi.BoolPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Driver() pulumi.StringPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) DriverOpts() pulumi.StringMapOutput
A map of Docker driver specific options.
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Labels ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Labels() pulumi.StringMapOutput
A map of custom metadata to add to your Docker volume.
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Scope ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Scope() pulumi.StringPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput ¶ added in v1.19.0
type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput interface { pulumi.Input ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput }
func TaskDefinitionVolumeDockerVolumeConfigurationPtr ¶ added in v1.19.0
func TaskDefinitionVolumeDockerVolumeConfigurationPtr(v *TaskDefinitionVolumeDockerVolumeConfigurationArgs) TaskDefinitionVolumeDockerVolumeConfigurationPtrInput
type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ¶ added in v1.19.0
type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Autoprovision ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Autoprovision() pulumi.BoolPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Driver() pulumi.StringPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) DriverOpts() pulumi.StringMapOutput
A map of Docker driver specific options.
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Labels ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Labels() pulumi.StringMapOutput
A map of custom metadata to add to your Docker volume.
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Scope ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Scope() pulumi.StringPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeEfsVolumeConfiguration ¶ added in v1.19.0
type TaskDefinitionVolumeEfsVolumeConfigurationArgs ¶ added in v1.19.0
type TaskDefinitionVolumeEfsVolumeConfigurationArgs struct { // The ID of the EFS File System. FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` // The path to mount on the host RootDirectory pulumi.StringPtrInput `pulumi:"rootDirectory"` }
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput ¶ added in v1.19.0
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶ added in v1.19.0
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
type TaskDefinitionVolumeEfsVolumeConfigurationInput ¶ added in v1.19.0
type TaskDefinitionVolumeEfsVolumeConfigurationInput interface { pulumi.Input ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput }
type TaskDefinitionVolumeEfsVolumeConfigurationOutput ¶ added in v1.19.0
type TaskDefinitionVolumeEfsVolumeConfigurationOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) FileSystemId ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
The ID of the EFS File System.
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) RootDirectory ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) RootDirectory() pulumi.StringPtrOutput
The path to mount on the host
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput ¶ added in v1.19.0
type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput interface { pulumi.Input ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput }
func TaskDefinitionVolumeEfsVolumeConfigurationPtr ¶ added in v1.19.0
func TaskDefinitionVolumeEfsVolumeConfigurationPtr(v *TaskDefinitionVolumeEfsVolumeConfigurationArgs) TaskDefinitionVolumeEfsVolumeConfigurationPtrInput
type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶ added in v1.19.0
type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) FileSystemId ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringOutput
The ID of the EFS File System.
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) RootDirectory ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
The path to mount on the host
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
type TaskDefinitionVolumeInput ¶ added in v1.19.0
type TaskDefinitionVolumeInput interface { pulumi.Input ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput ToTaskDefinitionVolumeOutputWithContext(context.Context) TaskDefinitionVolumeOutput }
type TaskDefinitionVolumeOutput ¶ added in v1.19.0
type TaskDefinitionVolumeOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeOutput) DockerVolumeConfiguration ¶ added in v1.19.0
func (o TaskDefinitionVolumeOutput) DockerVolumeConfiguration() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
Used to configure a docker volume
func (TaskDefinitionVolumeOutput) EfsVolumeConfiguration ¶ added in v1.19.0
func (o TaskDefinitionVolumeOutput) EfsVolumeConfiguration() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
Used to configure a EFS volume. Can be used only with an EC2 type task.
func (TaskDefinitionVolumeOutput) ElementType ¶ added in v1.19.0
func (TaskDefinitionVolumeOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeOutput) HostPath ¶ added in v1.19.0
func (o TaskDefinitionVolumeOutput) HostPath() pulumi.StringPtrOutput
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 ¶ added in v1.19.0
func (o TaskDefinitionVolumeOutput) Name() pulumi.StringOutput
The name of the volume. This name is referenced in the `sourceVolume` parameter of container definition in the `mountPoints` section.
func (TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput ¶ added in v1.19.0
func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput
func (TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext ¶ added in v1.19.0
func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput