Skip to content

Get Container Services

lightsail_get_container_services R Documentation

Returns information about one or more of your Amazon Lightsail container services

Description

Returns information about one or more of your Amazon Lightsail container services.

Usage

lightsail_get_container_services(serviceName)

Arguments

serviceName

The name of the container service for which to return information.

When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.

Value

A list with the following syntax:

list(
  containerServices = list(
    list(
      containerServiceName = "string",
      arn = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      location = list(
        availabilityZone = "string",
        regionName = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"eu-central-1"|"ca-central-1"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|"eu-north-1"
      ),
      resourceType = "ContainerService"|"Instance"|"StaticIp"|"KeyPair"|"InstanceSnapshot"|"Domain"|"PeeredVpc"|"LoadBalancer"|"LoadBalancerTlsCertificate"|"Disk"|"DiskSnapshot"|"RelationalDatabase"|"RelationalDatabaseSnapshot"|"ExportSnapshotRecord"|"CloudFormationStackRecord"|"Alarm"|"ContactMethod"|"Distribution"|"Certificate"|"Bucket",
      tags = list(
        list(
          key = "string",
          value = "string"
        )
      ),
      power = "nano"|"micro"|"small"|"medium"|"large"|"xlarge",
      powerId = "string",
      state = "PENDING"|"READY"|"RUNNING"|"UPDATING"|"DELETING"|"DISABLED"|"DEPLOYING",
      stateDetail = list(
        code = "CREATING_SYSTEM_RESOURCES"|"CREATING_NETWORK_INFRASTRUCTURE"|"PROVISIONING_CERTIFICATE"|"PROVISIONING_SERVICE"|"CREATING_DEPLOYMENT"|"EVALUATING_HEALTH_CHECK"|"ACTIVATING_DEPLOYMENT"|"CERTIFICATE_LIMIT_EXCEEDED"|"UNKNOWN_ERROR",
        message = "string"
      ),
      scale = 123,
      currentDeployment = list(
        version = 123,
        state = "ACTIVATING"|"ACTIVE"|"INACTIVE"|"FAILED",
        containers = list(
          list(
            image = "string",
            command = list(
              "string"
            ),
            environment = list(
              "string"
            ),
            ports = list(
              "HTTP"|"HTTPS"|"TCP"|"UDP"
            )
          )
        ),
        publicEndpoint = list(
          containerName = "string",
          containerPort = 123,
          healthCheck = list(
            healthyThreshold = 123,
            unhealthyThreshold = 123,
            timeoutSeconds = 123,
            intervalSeconds = 123,
            path = "string",
            successCodes = "string"
          )
        ),
        createdAt = as.POSIXct(
          "2015-01-01"
        )
      ),
      nextDeployment = list(
        version = 123,
        state = "ACTIVATING"|"ACTIVE"|"INACTIVE"|"FAILED",
        containers = list(
          list(
            image = "string",
            command = list(
              "string"
            ),
            environment = list(
              "string"
            ),
            ports = list(
              "HTTP"|"HTTPS"|"TCP"|"UDP"
            )
          )
        ),
        publicEndpoint = list(
          containerName = "string",
          containerPort = 123,
          healthCheck = list(
            healthyThreshold = 123,
            unhealthyThreshold = 123,
            timeoutSeconds = 123,
            intervalSeconds = 123,
            path = "string",
            successCodes = "string"
          )
        ),
        createdAt = as.POSIXct(
          "2015-01-01"
        )
      ),
      isDisabled = TRUE|FALSE,
      principalArn = "string",
      privateDomainName = "string",
      publicDomainNames = list(
        list(
          "string"
        )
      ),
      url = "string",
      privateRegistryAccess = list(
        ecrImagePullerRole = list(
          isActive = TRUE|FALSE,
          principalArn = "string"
        )
      )
    )
  )
)

Request syntax

svc$get_container_services(
  serviceName = "string"
)