alicloud.nlb.SecurityPolicy
Explore with Pulumi AI
Provides a NLB Security Policy resource.
For information about NLB Security Policy and how to use it, see What is Security Policy.
NOTE: Available since v1.187.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const default = alicloud.resourcemanager.getResourceGroups({});
const defaultSecurityPolicy = new alicloud.nlb.SecurityPolicy("default", {
resourceGroupId: _default.then(_default => _default.ids?.[0]),
securityPolicyName: name,
ciphers: [
"ECDHE-RSA-AES128-SHA",
"ECDHE-ECDSA-AES128-SHA",
],
tlsVersions: [
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
],
tags: {
Created: "TF",
For: "example",
},
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default = alicloud.resourcemanager.get_resource_groups()
default_security_policy = alicloud.nlb.SecurityPolicy("default",
resource_group_id=default.ids[0],
security_policy_name=name,
ciphers=[
"ECDHE-RSA-AES128-SHA",
"ECDHE-ECDSA-AES128-SHA",
],
tls_versions=[
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
],
tags={
"Created": "TF",
"For": "example",
})
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nlb"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
if err != nil {
return err
}
_, err = nlb.NewSecurityPolicy(ctx, "default", &nlb.SecurityPolicyArgs{
ResourceGroupId: pulumi.String(_default.Ids[0]),
SecurityPolicyName: pulumi.String(name),
Ciphers: pulumi.StringArray{
pulumi.String("ECDHE-RSA-AES128-SHA"),
pulumi.String("ECDHE-ECDSA-AES128-SHA"),
},
TlsVersions: pulumi.StringArray{
pulumi.String("TLSv1.0"),
pulumi.String("TLSv1.1"),
pulumi.String("TLSv1.2"),
},
Tags: pulumi.Map{
"Created": pulumi.Any("TF"),
"For": pulumi.Any("example"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
var defaultSecurityPolicy = new AliCloud.Nlb.SecurityPolicy("default", new()
{
ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[0])),
SecurityPolicyName = name,
Ciphers = new[]
{
"ECDHE-RSA-AES128-SHA",
"ECDHE-ECDSA-AES128-SHA",
},
TlsVersions = new[]
{
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
},
Tags =
{
{ "Created", "TF" },
{ "For", "example" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.nlb.SecurityPolicy;
import com.pulumi.alicloud.nlb.SecurityPolicyArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var default = ResourcemanagerFunctions.getResourceGroups();
var defaultSecurityPolicy = new SecurityPolicy("defaultSecurityPolicy", SecurityPolicyArgs.builder()
.resourceGroupId(default_.ids()[0])
.securityPolicyName(name)
.ciphers(
"ECDHE-RSA-AES128-SHA",
"ECDHE-ECDSA-AES128-SHA")
.tlsVersions(
"TLSv1.0",
"TLSv1.1",
"TLSv1.2")
.tags(Map.ofEntries(
Map.entry("Created", "TF"),
Map.entry("For", "example")
))
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
defaultSecurityPolicy:
type: alicloud:nlb:SecurityPolicy
name: default
properties:
resourceGroupId: ${default.ids[0]}
securityPolicyName: ${name}
ciphers:
- ECDHE-RSA-AES128-SHA
- ECDHE-ECDSA-AES128-SHA
tlsVersions:
- TLSv1.0
- TLSv1.1
- TLSv1.2
tags:
Created: TF
For: example
variables:
default:
fn::invoke:
Function: alicloud:resourcemanager:getResourceGroups
Arguments: {}
Create SecurityPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityPolicy(name: string, args: SecurityPolicyArgs, opts?: CustomResourceOptions);
@overload
def SecurityPolicy(resource_name: str,
args: SecurityPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
ciphers: Optional[Sequence[str]] = None,
tls_versions: Optional[Sequence[str]] = None,
resource_group_id: Optional[str] = None,
security_policy_name: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None)
func NewSecurityPolicy(ctx *Context, name string, args SecurityPolicyArgs, opts ...ResourceOption) (*SecurityPolicy, error)
public SecurityPolicy(string name, SecurityPolicyArgs args, CustomResourceOptions? opts = null)
public SecurityPolicy(String name, SecurityPolicyArgs args)
public SecurityPolicy(String name, SecurityPolicyArgs args, CustomResourceOptions options)
type: alicloud:nlb:SecurityPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecurityPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecurityPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecurityPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alicloudSecurityPolicyResource = new AliCloud.Nlb.SecurityPolicy("alicloudSecurityPolicyResource", new()
{
Ciphers = new[]
{
"string",
},
TlsVersions = new[]
{
"string",
},
ResourceGroupId = "string",
SecurityPolicyName = "string",
Tags =
{
{ "string", "any" },
},
});
example, err := nlb.NewSecurityPolicy(ctx, "alicloudSecurityPolicyResource", &nlb.SecurityPolicyArgs{
Ciphers: pulumi.StringArray{
pulumi.String("string"),
},
TlsVersions: pulumi.StringArray{
pulumi.String("string"),
},
ResourceGroupId: pulumi.String("string"),
SecurityPolicyName: pulumi.String("string"),
Tags: pulumi.Map{
"string": pulumi.Any("any"),
},
})
var alicloudSecurityPolicyResource = new SecurityPolicy("alicloudSecurityPolicyResource", SecurityPolicyArgs.builder()
.ciphers("string")
.tlsVersions("string")
.resourceGroupId("string")
.securityPolicyName("string")
.tags(Map.of("string", "any"))
.build());
alicloud_security_policy_resource = alicloud.nlb.SecurityPolicy("alicloudSecurityPolicyResource",
ciphers=["string"],
tls_versions=["string"],
resource_group_id="string",
security_policy_name="string",
tags={
"string": "any",
})
const alicloudSecurityPolicyResource = new alicloud.nlb.SecurityPolicy("alicloudSecurityPolicyResource", {
ciphers: ["string"],
tlsVersions: ["string"],
resourceGroupId: "string",
securityPolicyName: "string",
tags: {
string: "any",
},
});
type: alicloud:nlb:SecurityPolicy
properties:
ciphers:
- string
resourceGroupId: string
securityPolicyName: string
tags:
string: any
tlsVersions:
- string
SecurityPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SecurityPolicy resource accepts the following input properties:
- Ciphers List<string>
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- Tls
Versions List<string> - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions. - Resource
Group stringId - The ID of the resource group.
- Security
Policy stringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- Dictionary<string, object>
- The tag of the resource.
- Ciphers []string
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- Tls
Versions []string - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions. - Resource
Group stringId - The ID of the resource group.
- Security
Policy stringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- map[string]interface{}
- The tag of the resource.
- ciphers List<String>
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- tls
Versions List<String> - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions. - resource
Group StringId - The ID of the resource group.
- security
Policy StringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- Map<String,Object>
- The tag of the resource.
- ciphers string[]
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- tls
Versions string[] - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions. - resource
Group stringId - The ID of the resource group.
- security
Policy stringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- {[key: string]: any}
- The tag of the resource.
- ciphers Sequence[str]
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- tls_
versions Sequence[str] - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions. - resource_
group_ strid - The ID of the resource group.
- security_
policy_ strname - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- Mapping[str, Any]
- The tag of the resource.
- ciphers List<String>
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- tls
Versions List<String> - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions. - resource
Group StringId - The ID of the resource group.
- security
Policy StringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- Map<Any>
- The tag of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityPolicy resource produces the following output properties:
Look up Existing SecurityPolicy Resource
Get an existing SecurityPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecurityPolicyState, opts?: CustomResourceOptions): SecurityPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ciphers: Optional[Sequence[str]] = None,
resource_group_id: Optional[str] = None,
security_policy_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
tls_versions: Optional[Sequence[str]] = None) -> SecurityPolicy
func GetSecurityPolicy(ctx *Context, name string, id IDInput, state *SecurityPolicyState, opts ...ResourceOption) (*SecurityPolicy, error)
public static SecurityPolicy Get(string name, Input<string> id, SecurityPolicyState? state, CustomResourceOptions? opts = null)
public static SecurityPolicy get(String name, Output<String> id, SecurityPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ciphers List<string>
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- Resource
Group stringId - The ID of the resource group.
- Security
Policy stringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- Status string
- The status of the resource.
- Dictionary<string, object>
- The tag of the resource.
- Tls
Versions List<string> - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions.
- Ciphers []string
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- Resource
Group stringId - The ID of the resource group.
- Security
Policy stringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- Status string
- The status of the resource.
- map[string]interface{}
- The tag of the resource.
- Tls
Versions []string - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions.
- ciphers List<String>
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- resource
Group StringId - The ID of the resource group.
- security
Policy StringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- status String
- The status of the resource.
- Map<String,Object>
- The tag of the resource.
- tls
Versions List<String> - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions.
- ciphers string[]
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- resource
Group stringId - The ID of the resource group.
- security
Policy stringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- status string
- The status of the resource.
- {[key: string]: any}
- The tag of the resource.
- tls
Versions string[] - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions.
- ciphers Sequence[str]
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- resource_
group_ strid - The ID of the resource group.
- security_
policy_ strname - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- status str
- The status of the resource.
- Mapping[str, Any]
- The tag of the resource.
- tls_
versions Sequence[str] - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions.
- ciphers List<String>
- The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA
,DES-CBC3-SHA
- TLS 1.2 supports the following cipher suites:
ECDHE-ECDSA-AES128-SHA
,ECDHE-ECDSA-AES256-SHA
,ECDHE-RSA-AES128-SHA
,ECDHE-RSA-AES256-SHA
,AES128-SHA
,AES256-SHA, DES-CBC3-SHA
,ECDHE-ECDSA-AES128-GCM-SHA256
,ECDHE-ECDSA-AES256-GCM-SHA384
,ECDHE-ECDSA-AES128-SHA256
,ECDHE-ECDSA-AES256-SHA384
,ECDHE-RSA-AES128-GCM-SHA256
,ECDHE-RSA-AES256-GCM-SHA384
,ECDHE-RSA-AES128-SHA256
,ECDHE-RSA-AES256-SHA384
,AES128-GCM-SHA256
,AES256-GCM-SHA384
,AES128-SHA256
,AES256-SHA256
- TLS 1.3 supports the following cipher suites:
TLS_AES_128_GCM_SHA256
,TLS_AES_256_GCM_SHA384
,TLS_CHACHA20_POLY1305_SHA256
,TLS_AES_128_CCM_SHA256
,TLS_AES_128_CCM_8_SHA256
.
- TLS 1.0 and TLS 1.1 support the following cipher suites:
- resource
Group StringId - The ID of the resource group.
- security
Policy StringName - The name of the security policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
- status String
- The status of the resource.
- Map<Any>
- The tag of the resource.
- tls
Versions List<String> - The supported versions of the Transport Layer Security (TLS) protocol. Valid values:
TLSv1.0
,TLSv1.1
,TLSv1.2
, andTLSv1.3
. You can specify at most four TLS versions.
Import
NLB Security Policy can be imported using the id, e.g.
$ pulumi import alicloud:nlb/securityPolicy:SecurityPolicy example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.