Skip to content

Updates the specified service

Description

Updates the specified service.

Usage

vpclattice_update_service(serviceIdentifier, certificateArn, authType,
  idleTimeoutSeconds)

Arguments

  • serviceIdentifier

[required] The ID or ARN of the service.

  • certificateArn

The Amazon Resource Name (ARN) of the certificate.

  • authType

The type of IAM policy.

  • NONE: The resource does not use an IAM policy. This is the default.
  • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

  • idleTimeoutSeconds

The amount of time, in seconds, that a connection can remain idle (no data sent) before VPC Lattice closes it. The valid range is 60 to 600 seconds. If you don't specify a value, the default is 60 seconds. This setting does not change the maximum connection duration of 10 minutes; connections are still closed when they reach that limit.

Value

A list with the following syntax:

list(
  id = "string",
  arn = "string",
  name = "string",
  customDomainName = "string",
  certificateArn = "string",
  authType = "NONE"|"AWS_IAM",
  idleTimeoutSeconds = 123
)

Request syntax

svc$update_service(
  serviceIdentifier = "string",
  certificateArn = "string",
  authType = "NONE"|"AWS_IAM",
  idleTimeoutSeconds = 123
)