alicloud_slb_tls_cipher_policy

更新时间:

Provides a SLB Tls Cipher Policy resource.

For information about SLB Tls Cipher Policy and how to use it, see What is Tls Cipher Policy.

-> NOTE: Available in v1.135.0+.

Example Usage

Basic Usage


resource "alicloud_slb_tls_cipher_policy" "example" {
  tls_cipher_policy_name = "Test-example_value"
  tls_versions           = ["TLSv1.2"]
  ciphers                = ["AES256-SHA256", "AES128-GCM-SHA256"]
}

Argument Reference

The following arguments are supported:

  • tls_cipher_policy_name - (Required) TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot ., underscore _ or dash -.
  • tls_versions - (Required) The version of TLS protocol. You can find the corresponding value description in the document center What is Tls Cipher Policy.
  • ciphers - (Required) The encryption algorithms supported. It depends on the value of tls_versions.

Attributes Reference

The following attributes are exported:

  • id - The resource ID in terraform of Tls Cipher Policy.
  • status - TLS policy instance state.

Import

SLB Tls Cipher Policy can be imported using the id, e.g.

$ terraform import alicloud_slb_tls_cipher_policy.example <id>