flexibleengine.ElbSecurityPolicy
Explore with Pulumi AI
Manages an ELB security policy resource within FlexibleEngine.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const test = new flexibleengine.ElbSecurityPolicy("test", {
ciphers: [
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-AES128-GCM-SHA256",
"ECDHE-ECDSA-AES128-SHA",
"TLS_AES_128_CCM_8_SHA256",
],
description: "this is a security policy",
protocols: [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
],
});
import pulumi
import pulumi_flexibleengine as flexibleengine
test = flexibleengine.ElbSecurityPolicy("test",
ciphers=[
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-AES128-GCM-SHA256",
"ECDHE-ECDSA-AES128-SHA",
"TLS_AES_128_CCM_8_SHA256",
],
description="this is a security policy",
protocols=[
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.NewElbSecurityPolicy(ctx, "test", &flexibleengine.ElbSecurityPolicyArgs{
Ciphers: pulumi.StringArray{
pulumi.String("ECDHE-RSA-AES256-GCM-SHA384"),
pulumi.String("ECDHE-RSA-AES128-GCM-SHA256"),
pulumi.String("ECDHE-ECDSA-AES128-SHA"),
pulumi.String("TLS_AES_128_CCM_8_SHA256"),
},
Description: pulumi.String("this is a security policy"),
Protocols: pulumi.StringArray{
pulumi.String("TLSv1"),
pulumi.String("TLSv1.1"),
pulumi.String("TLSv1.2"),
pulumi.String("TLSv1.3"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var test = new Flexibleengine.ElbSecurityPolicy("test", new()
{
Ciphers = new[]
{
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-AES128-GCM-SHA256",
"ECDHE-ECDSA-AES128-SHA",
"TLS_AES_128_CCM_8_SHA256",
},
Description = "this is a security policy",
Protocols = new[]
{
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.ElbSecurityPolicy;
import com.pulumi.flexibleengine.ElbSecurityPolicyArgs;
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 test = new ElbSecurityPolicy("test", ElbSecurityPolicyArgs.builder()
.ciphers(
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-AES128-GCM-SHA256",
"ECDHE-ECDSA-AES128-SHA",
"TLS_AES_128_CCM_8_SHA256")
.description("this is a security policy")
.protocols(
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3")
.build());
}
}
resources:
test:
type: flexibleengine:ElbSecurityPolicy
properties:
ciphers:
- ECDHE-RSA-AES256-GCM-SHA384
- ECDHE-RSA-AES128-GCM-SHA256
- ECDHE-ECDSA-AES128-SHA
- TLS_AES_128_CCM_8_SHA256
description: this is a security policy
protocols:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
Create ElbSecurityPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ElbSecurityPolicy(name: string, args: ElbSecurityPolicyArgs, opts?: CustomResourceOptions);
@overload
def ElbSecurityPolicy(resource_name: str,
args: ElbSecurityPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ElbSecurityPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
ciphers: Optional[Sequence[str]] = None,
protocols: Optional[Sequence[str]] = None,
description: Optional[str] = None,
elb_security_policy_id: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None)
func NewElbSecurityPolicy(ctx *Context, name string, args ElbSecurityPolicyArgs, opts ...ResourceOption) (*ElbSecurityPolicy, error)
public ElbSecurityPolicy(string name, ElbSecurityPolicyArgs args, CustomResourceOptions? opts = null)
public ElbSecurityPolicy(String name, ElbSecurityPolicyArgs args)
public ElbSecurityPolicy(String name, ElbSecurityPolicyArgs args, CustomResourceOptions options)
type: flexibleengine:ElbSecurityPolicy
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 ElbSecurityPolicyArgs
- 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 ElbSecurityPolicyArgs
- 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 ElbSecurityPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElbSecurityPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ElbSecurityPolicyArgs
- 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 elbSecurityPolicyResource = new Flexibleengine.ElbSecurityPolicy("elbSecurityPolicyResource", new()
{
Ciphers = new[]
{
"string",
},
Protocols = new[]
{
"string",
},
Description = "string",
ElbSecurityPolicyId = "string",
EnterpriseProjectId = "string",
Name = "string",
Region = "string",
});
example, err := flexibleengine.NewElbSecurityPolicy(ctx, "elbSecurityPolicyResource", &flexibleengine.ElbSecurityPolicyArgs{
Ciphers: pulumi.StringArray{
pulumi.String("string"),
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
ElbSecurityPolicyId: pulumi.String("string"),
EnterpriseProjectId: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
})
var elbSecurityPolicyResource = new ElbSecurityPolicy("elbSecurityPolicyResource", ElbSecurityPolicyArgs.builder()
.ciphers("string")
.protocols("string")
.description("string")
.elbSecurityPolicyId("string")
.enterpriseProjectId("string")
.name("string")
.region("string")
.build());
elb_security_policy_resource = flexibleengine.ElbSecurityPolicy("elbSecurityPolicyResource",
ciphers=["string"],
protocols=["string"],
description="string",
elb_security_policy_id="string",
enterprise_project_id="string",
name="string",
region="string")
const elbSecurityPolicyResource = new flexibleengine.ElbSecurityPolicy("elbSecurityPolicyResource", {
ciphers: ["string"],
protocols: ["string"],
description: "string",
elbSecurityPolicyId: "string",
enterpriseProjectId: "string",
name: "string",
region: "string",
});
type: flexibleengine:ElbSecurityPolicy
properties:
ciphers:
- string
description: string
elbSecurityPolicyId: string
enterpriseProjectId: string
name: string
protocols:
- string
region: string
ElbSecurityPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ElbSecurityPolicy resource accepts the following input properties:
- Ciphers List<string>
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- Protocols List<string>
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- Description string
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- Elb
Security stringPolicy Id - The listener id.
- Enterprise
Project stringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- Name string
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- Ciphers []string
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- Protocols []string
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- Description string
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- Elb
Security stringPolicy Id - The listener id.
- Enterprise
Project stringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- Name string
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers List<String>
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- protocols List<String>
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- description String
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb
Security StringPolicy Id - The listener id.
- enterprise
Project StringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- name String
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers string[]
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- protocols string[]
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- description string
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb
Security stringPolicy Id - The listener id.
- enterprise
Project stringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- name string
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers Sequence[str]
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- protocols Sequence[str]
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- description str
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb_
security_ strpolicy_ id - The listener id.
- enterprise_
project_ strid Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- name str
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- region str
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers List<String>
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- protocols List<String>
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- description String
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb
Security StringPolicy Id - The listener id.
- enterprise
Project StringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- name String
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ElbSecurityPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
List<Elb
Security Policy Listener> - The listener which the security policy associated with. The listeners structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]Elb
Security Policy Listener - The listener which the security policy associated with. The listeners structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<Elb
Security Policy Listener> - The listener which the security policy associated with. The listeners structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
Elb
Security Policy Listener[] - The listener which the security policy associated with. The listeners structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[Elb
Security Policy Listener] - The listener which the security policy associated with. The listeners structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- listeners List<Property Map>
- The listener which the security policy associated with. The listeners structure is documented below.
Look up Existing ElbSecurityPolicy Resource
Get an existing ElbSecurityPolicy 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?: ElbSecurityPolicyState, opts?: CustomResourceOptions): ElbSecurityPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ciphers: Optional[Sequence[str]] = None,
description: Optional[str] = None,
elb_security_policy_id: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
listeners: Optional[Sequence[ElbSecurityPolicyListenerArgs]] = None,
name: Optional[str] = None,
protocols: Optional[Sequence[str]] = None,
region: Optional[str] = None) -> ElbSecurityPolicy
func GetElbSecurityPolicy(ctx *Context, name string, id IDInput, state *ElbSecurityPolicyState, opts ...ResourceOption) (*ElbSecurityPolicy, error)
public static ElbSecurityPolicy Get(string name, Input<string> id, ElbSecurityPolicyState? state, CustomResourceOptions? opts = null)
public static ElbSecurityPolicy get(String name, Output<String> id, ElbSecurityPolicyState state, CustomResourceOptions options)
resources: _: type: flexibleengine:ElbSecurityPolicy get: id: ${id}
- 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>
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- Description string
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- Elb
Security stringPolicy Id - The listener id.
- Enterprise
Project stringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- Listeners
List<Elb
Security Policy Listener> - The listener which the security policy associated with. The listeners structure is documented below.
- Name string
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- Protocols List<string>
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- Ciphers []string
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- Description string
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- Elb
Security stringPolicy Id - The listener id.
- Enterprise
Project stringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- Listeners
[]Elb
Security Policy Listener Args - The listener which the security policy associated with. The listeners structure is documented below.
- Name string
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- Protocols []string
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers List<String>
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- description String
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb
Security StringPolicy Id - The listener id.
- enterprise
Project StringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- listeners
List<Elb
Security Policy Listener> - The listener which the security policy associated with. The listeners structure is documented below.
- name String
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- protocols List<String>
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers string[]
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- description string
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb
Security stringPolicy Id - The listener id.
- enterprise
Project stringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- listeners
Elb
Security Policy Listener[] - The listener which the security policy associated with. The listeners structure is documented below.
- name string
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- protocols string[]
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers Sequence[str]
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- description str
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb_
security_ strpolicy_ id - The listener id.
- enterprise_
project_ strid Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- listeners
Sequence[Elb
Security Policy Listener Args] - The listener which the security policy associated with. The listeners structure is documented below.
- name str
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- protocols Sequence[str]
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- region str
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- ciphers List<String>
- Specifies the cipher suite list of the security policy. The protocol and cipher suite must match. That is to say, there must be at least one cipher suite in ciphers that matches the protocol. The following cipher suites are supported: ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-GCM-SHA256, AES128-GCM-SHA256, AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-RSA-AES128-SHA256, AES128-SHA256, AES256-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, ECDHE-ECDSA-AES256-SHA, AES128-SHA, AES256-SHA, CAMELLIA128-SHA, DES-CBC3-SHA, CAMELLIA256-SHA, ECDHE-RSA-CHACHA20-POLY1305, ECDHE-ECDSA-CHACHA20-POLY1305, 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.
- description String
- Specifies the description of the ELB security policy. The value can contain 0 to 255 characters.
- elb
Security StringPolicy Id - The listener id.
- enterprise
Project StringId Specifies the enterprise project ID to which the Enterprise router belongs.
Changing this parameter will create a new resource.
- listeners List<Property Map>
- The listener which the security policy associated with. The listeners structure is documented below.
- name String
- Specifies the ELB security policy name. The name contains only Chinese characters, letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- protocols List<String>
- Specifies the TSL protocol list which the security policy select. Value options: TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
Supporting Types
ElbSecurityPolicyListener, ElbSecurityPolicyListenerArgs
- Id string
- The listener id.
- Id string
- The listener id.
- id String
- The listener id.
- id string
- The listener id.
- id str
- The listener id.
- id String
- The listener id.
Import
The elb security policies can be imported using the id
, e.g.
bash
$ pulumi import flexibleengine:index/elbSecurityPolicy:ElbSecurityPolicy test 0ce123456a00f2591fabc00385ff1234
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.