oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.LoadBalancer.SslCipherSuite

This resource provides the Ssl Cipher Suite resource in Oracle Cloud Infrastructure Load Balancer service.

Creates a custom SSL cipher suite.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testSslCipherSuite = new Oci.LoadBalancer.SslCipherSuite("testSslCipherSuite", new()
    {
        Ciphers = @var.Ssl_cipher_suite_ciphers,
        LoadBalancerId = oci_load_balancer_load_balancer.Test_load_balancer.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/LoadBalancer"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := LoadBalancer.NewSslCipherSuite(ctx, "testSslCipherSuite", &LoadBalancer.SslCipherSuiteArgs{
			Ciphers:        pulumi.Any(_var.Ssl_cipher_suite_ciphers),
			LoadBalancerId: pulumi.Any(oci_load_balancer_load_balancer.Test_load_balancer.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LoadBalancer.SslCipherSuite;
import com.pulumi.oci.LoadBalancer.SslCipherSuiteArgs;
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 testSslCipherSuite = new SslCipherSuite("testSslCipherSuite", SslCipherSuiteArgs.builder()        
            .ciphers(var_.ssl_cipher_suite_ciphers())
            .loadBalancerId(oci_load_balancer_load_balancer.test_load_balancer().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_ssl_cipher_suite = oci.load_balancer.SslCipherSuite("testSslCipherSuite",
    ciphers=var["ssl_cipher_suite_ciphers"],
    load_balancer_id=oci_load_balancer_load_balancer["test_load_balancer"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testSslCipherSuite = new oci.loadbalancer.SslCipherSuite("testSslCipherSuite", {
    ciphers: _var.ssl_cipher_suite_ciphers,
    loadBalancerId: oci_load_balancer_load_balancer.test_load_balancer.id,
});
resources:
  testSslCipherSuite:
    type: oci:LoadBalancer:SslCipherSuite
    properties:
      #Required
      ciphers: ${var.ssl_cipher_suite_ciphers}
      #Optional
      loadBalancerId: ${oci_load_balancer_load_balancer.test_load_balancer.id}

Create SslCipherSuite Resource

new SslCipherSuite(name: string, args: SslCipherSuiteArgs, opts?: CustomResourceOptions);
@overload
def SslCipherSuite(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   ciphers: Optional[Sequence[str]] = None,
                   load_balancer_id: Optional[str] = None,
                   name: Optional[str] = None)
@overload
def SslCipherSuite(resource_name: str,
                   args: SslCipherSuiteArgs,
                   opts: Optional[ResourceOptions] = None)
func NewSslCipherSuite(ctx *Context, name string, args SslCipherSuiteArgs, opts ...ResourceOption) (*SslCipherSuite, error)
public SslCipherSuite(string name, SslCipherSuiteArgs args, CustomResourceOptions? opts = null)
public SslCipherSuite(String name, SslCipherSuiteArgs args)
public SslCipherSuite(String name, SslCipherSuiteArgs args, CustomResourceOptions options)
type: oci:LoadBalancer:SslCipherSuite
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SslCipherSuiteArgs
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 SslCipherSuiteArgs
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 SslCipherSuiteArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SslCipherSuiteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SslCipherSuiteArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SslCipherSuite 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 SslCipherSuite resource accepts the following input properties:

Ciphers List<string>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

LoadBalancerId string

The OCID of the associated load balancer.

Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

Ciphers []string

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

LoadBalancerId string

The OCID of the associated load balancer.

Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

ciphers List<String>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId String

The OCID of the associated load balancer.

name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

ciphers string[]

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId string

The OCID of the associated load balancer.

name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

ciphers Sequence[str]

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

load_balancer_id str

The OCID of the associated load balancer.

name str

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

ciphers List<String>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId String

The OCID of the associated load balancer.

name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

Outputs

All input properties are implicitly available as output properties. Additionally, the SslCipherSuite resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

State string
Id string

The provider-assigned unique ID for this managed resource.

State string
id String

The provider-assigned unique ID for this managed resource.

state String
id string

The provider-assigned unique ID for this managed resource.

state string
id str

The provider-assigned unique ID for this managed resource.

state str
id String

The provider-assigned unique ID for this managed resource.

state String

Look up Existing SslCipherSuite Resource

Get an existing SslCipherSuite 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?: SslCipherSuiteState, opts?: CustomResourceOptions): SslCipherSuite
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ciphers: Optional[Sequence[str]] = None,
        load_balancer_id: Optional[str] = None,
        name: Optional[str] = None,
        state: Optional[str] = None) -> SslCipherSuite
func GetSslCipherSuite(ctx *Context, name string, id IDInput, state *SslCipherSuiteState, opts ...ResourceOption) (*SslCipherSuite, error)
public static SslCipherSuite Get(string name, Input<string> id, SslCipherSuiteState? state, CustomResourceOptions? opts = null)
public static SslCipherSuite get(String name, Output<String> id, SslCipherSuiteState 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.
The following state arguments are supported:
Ciphers List<string>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

LoadBalancerId string

The OCID of the associated load balancer.

Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

State string
Ciphers []string

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

LoadBalancerId string

The OCID of the associated load balancer.

Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

State string
ciphers List<String>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId String

The OCID of the associated load balancer.

name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state String
ciphers string[]

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId string

The OCID of the associated load balancer.

name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state string
ciphers Sequence[str]

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

load_balancer_id str

The OCID of the associated load balancer.

name str

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state str
ciphers List<String>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId String

The OCID of the associated load balancer.

name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state String

Import

SslCipherSuites can be imported using the id, e.g.

 $ pulumi import oci:LoadBalancer/sslCipherSuite:SslCipherSuite test_ssl_cipher_suite "loadBalancers/{loadBalancerId}/sslCipherSuites/{name}"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.