Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-aws.Go to Latest
upbound/provider-aws@v1.1.0
Service
ecs.aws.upbound.io
Service
upbound/provider-aws@v1.1.0ecs.aws.upbound.io

Service is the Schema for the Services API. Provides an ECS service.

Type

CRD

Group

ecs.aws.upbound.io

Version

v1beta1

apiVersion: ecs.aws.upbound.io/v1beta1

kind: Service

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

ServiceSpec defines the desired state of Service

forProvider
requiredobject
requiredobject

No description provided.

alarms
array
array

Information about the CloudWatch alarms. See below.

array

One or more CloudWatch alarm names.

enable
boolean
rollback
boolean
array

Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if force_new_deployment = true and not changing from 0 capacity_provider_strategy blocks to greater than 0, or vice versa. See below.

base
number
weight
number
cluster
string
object

Reference to a Cluster to populate cluster.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Cluster to populate cluster.

policy
object
object

Policies for selection.

resolve
string
array

Configuration block for deployment circuit breaker. See below.

enable
boolean
rollback
boolean
array

Configuration block for deployment controller configuration. See below.

type
string
iamRole
string
object

Reference to a Role in iam to populate iamRole.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Role in iam to populate iamRole.

policy
object
object

Policies for selection.

resolve
string
array

Configuration block for load balancers. See below.

elbName
string
object

Reference to a LBTargetGroup in elbv2 to populate targetGroupArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBTargetGroup in elbv2 to populate targetGroupArn.

policy
object
object

Policies for selection.

resolve
string
array

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. See below.

array

References to SecurityGroup in ec2 to populate securityGroups.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate securityGroups.

policy
object
object

Policies for selection.

resolve
string
array

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.

array

References to Subnet in ec2 to populate subnets.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of Subnet in ec2 to populate subnets.

policy
object
object

Policies for selection.

resolve
string
subnets
array
array

Subnets associated with the task or service.

array

Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless force_new_deployment is enabled. The maximum number of ordered_placement_strategy blocks is 5. See below.

field
string
type
string
array

Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless force_new_deployment is enabled. Maximum number of placement_constraints is 10. See below.

type
string
region
requiredstring
array

The ECS Service Connect configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. See below.

enabled
boolean
array

The log configuration for the container. See below.

logDriver
string
options
object
array

The secrets to pass to the log configuration. See below.

name
string
valueFrom
string
namespace
string
service
array
array

The list of Service Connect service objects. See below.

array

The list of client aliases for this Service Connect service. You use these to assign names that can be used by client applications. The maximum number of client aliases that you can have in this list is 1. See below.

dnsName
string
port
number
portName
string
array

Service discovery registries for the service. The maximum number of service_registries blocks is 1. See below.

tags
object
object

Reference to a TaskDefinition to populate taskDefinition.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a TaskDefinition to populate taskDefinition.

policy
object
object

Policies for selection.

resolve
string
triggers
object
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

alarms
array
array

Information about the CloudWatch alarms. See below.

array

One or more CloudWatch alarm names.

enable
boolean
rollback
boolean
array

Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if force_new_deployment = true and not changing from 0 capacity_provider_strategy blocks to greater than 0, or vice versa. See below.

base
number
weight
number
cluster
string
object

Reference to a Cluster to populate cluster.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Cluster to populate cluster.

policy
object
object

Policies for selection.

resolve
string
array

Configuration block for deployment circuit breaker. See below.

enable
boolean
rollback
boolean
array

Configuration block for deployment controller configuration. See below.

type
string
iamRole
string
object

Reference to a Role in iam to populate iamRole.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Role in iam to populate iamRole.

policy
object
object

Policies for selection.

resolve
string
array

Configuration block for load balancers. See below.

elbName
string
object

Reference to a LBTargetGroup in elbv2 to populate targetGroupArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LBTargetGroup in elbv2 to populate targetGroupArn.

policy
object
object

Policies for selection.

resolve
string
array

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. See below.

array

References to SecurityGroup in ec2 to populate securityGroups.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate securityGroups.

policy
object
object

Policies for selection.

resolve
string
array

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.

array

References to Subnet in ec2 to populate subnets.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of Subnet in ec2 to populate subnets.

policy
object
object

Policies for selection.

resolve
string
subnets
array
array

Subnets associated with the task or service.

array

Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless force_new_deployment is enabled. The maximum number of ordered_placement_strategy blocks is 5. See below.

field
string
type
string
array

Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless force_new_deployment is enabled. Maximum number of placement_constraints is 10. See below.

type
string
array

The ECS Service Connect configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. See below.

enabled
boolean
array

The log configuration for the container. See below.

logDriver
string
options
object
array

The secrets to pass to the log configuration. See below.

name
string
valueFrom
string
namespace
string
service
array
array

The list of Service Connect service objects. See below.

array

The list of client aliases for this Service Connect service. You use these to assign names that can be used by client applications. The maximum number of client aliases that you can have in this list is 1. See below.

dnsName
string
port
number
portName
string
array

Service discovery registries for the service. The maximum number of service_registries blocks is 1. See below.

tags
object
object

Reference to a TaskDefinition to populate taskDefinition.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a TaskDefinition to populate taskDefinition.

policy
object
object

Policies for selection.

resolve
string
triggers
object
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

ServiceStatus defines the observed state of Service.

object

No description provided.

alarms
array
array

Information about the CloudWatch alarms. See below.

array

One or more CloudWatch alarm names.

enable
boolean
rollback
boolean
array

Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if force_new_deployment = true and not changing from 0 capacity_provider_strategy blocks to greater than 0, or vice versa. See below.

base
number
weight
number
cluster
string
array

Configuration block for deployment circuit breaker. See below.

enable
boolean
rollback
boolean
array

Configuration block for deployment controller configuration. See below.

type
string
iamRole
string
id
string
array

Configuration block for load balancers. See below.

array

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. See below.

array

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.

subnets
array
array

Subnets associated with the task or service.

array

Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless force_new_deployment is enabled. The maximum number of ordered_placement_strategy blocks is 5. See below.

field
string
type
string
array

Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless force_new_deployment is enabled. Maximum number of placement_constraints is 10. See below.

type
string
array

The ECS Service Connect configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. See below.

enabled
boolean
array

The log configuration for the container. See below.

logDriver
string
options
object
array

The secrets to pass to the log configuration. See below.

name
string
valueFrom
string
namespace
string
service
array
array

The list of Service Connect service objects. See below.

array

The list of client aliases for this Service Connect service. You use these to assign names that can be used by client applications. The maximum number of client aliases that you can have in this list is 1. See below.

dnsName
string
port
number
portName
string
array

Service discovery registries for the service. The maximum number of service_registries blocks is 1. See below.

tags
object
tagsAll
object
triggers
object
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.