TlsCipherPolicy

class TlsCipherPolicy : KotlinCustomResource

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

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.slb.TlsCipherPolicy;
import com.pulumi.alicloud.slb.TlsCipherPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TlsCipherPolicy("example", TlsCipherPolicyArgs.builder()
.ciphers(
"AES256-SHA256",
"AES128-GCM-SHA256")
.tlsCipherPolicyName("Test-example_value")
.tlsVersions("TLSv1.2")
.build());
}
}

Import

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

$ pulumi import alicloud:slb/tlsCipherPolicy:TlsCipherPolicy example <id>

Properties

Link copied to clipboard
val ciphers: Output<List<String>>

The encryption algorithms supported. It depends on the value of tls_versions.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

TLS policy instance state.

Link copied to clipboard

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

Link copied to clipboard
val tlsVersions: Output<List<String>>

The version of TLS protocol. You can find the corresponding value description in the document center What is Tls Cipher Policy.

Link copied to clipboard
val urn: Output<String>