UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

207 lines 7.73 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.DecryptionProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * DecryptionProfile resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const scmDecryptionProfileBase = new scm.DecryptionProfile("scm_decryption_profile_base", { * folder: "ngfw-shared", * name: "dp_base", * }); * const scmDecryptionProfileForwardProxy = new scm.DecryptionProfile("scm_decryption_profile_forward_proxy", { * folder: "ngfw-shared", * name: "dp_forward_proxy", * sslForwardProxy: { * autoIncludeAltname: false, * blockClientCert: true, * blockExpiredCertificate: true, * blockTimeoutCert: true, * blockTls13DowngradeNoResource: false, * blockUnknownCert: false, * blockUnsupportedCipher: true, * blockUnsupportedVersion: true, * blockUntrustedIssuer: true, * restrictCertExts: false, * stripAlpn: true, * }, * }); * const scmDecryptionProfileInboundProxy = new scm.DecryptionProfile("scm_decryption_profile_inbound_proxy", { * folder: "ngfw-shared", * name: "dp_inbound_proxy", * sslInboundProxy: { * blockIfHsmUnavailable: true, * blockIfNoResource: true, * blockUnsupportedCipher: false, * blockUnsupportedVersion: true, * }, * }); * const scmDecryptionProfileNoProxy = new scm.DecryptionProfile("scm_decryption_profile_no_proxy", { * folder: "ngfw-shared", * name: "dp_no_proxy", * sslNoProxy: { * blockExpiredCertificate: true, * blockUntrustedIssuer: false, * }, * }); * const scmDecryptionProfileProtocolSettings = new scm.DecryptionProfile("scm_decryption_profile_protocol_settings", { * folder: "ngfw-shared", * name: "dp_protocol_settings", * sslProtocolSettings: { * authAlgoMd5: true, * authAlgoSha1: true, * authAlgoSha256: true, * authAlgoSha384: false, * encAlgo3des: false, * encAlgoAes128Cbc: false, * encAlgoAes128Gcm: true, * encAlgoAes256Cbc: false, * encAlgoAes256Gcm: true, * encAlgoChacha20Poly1305: false, * encAlgoRc4: false, * keyxchgAlgoDhe: true, * keyxchgAlgoEcdhe: true, * keyxchgAlgoRsa: false, * maxVersion: "max", * minVersion: "tls1-2", * }, * }); * const mixedDecryptionProfile = new scm.DecryptionProfile("mixed_decryption_profile", { * folder: "ngfw-shared", * name: "mixed_dp", * sslForwardProxy: { * autoIncludeAltname: true, * blockClientCert: true, * blockExpiredCertificate: false, * restrictCertExts: false, * stripAlpn: true, * }, * sslInboundProxy: { * blockIfHsmUnavailable: true, * blockIfNoResource: true, * blockUnsupportedCipher: true, * blockUnsupportedVersion: true, * }, * sslProtocolSettings: { * authAlgoMd5: true, * authAlgoSha1: true, * authAlgoSha256: false, * authAlgoSha384: true, * encAlgo3des: true, * encAlgoRc4: true, * keyxchgAlgoDhe: false, * keyxchgAlgoEcdhe: false, * maxVersion: "tls1-3", * minVersion: "tls1-1", * }, * }); * const fullMixedDecryptionProfile = new scm.DecryptionProfile("full_mixed_decryption_profile", { * folder: "ngfw-shared", * name: "full_mixed_dp", * sslForwardProxy: { * autoIncludeAltname: true, * blockClientCert: true, * blockExpiredCertificate: false, * blockTimeoutCert: true, * blockUnknownCert: false, * blockUnsupportedCipher: true, * blockUntrustedIssuer: false, * restrictCertExts: false, * stripAlpn: true, * }, * sslInboundProxy: { * blockIfHsmUnavailable: true, * blockIfNoResource: false, * blockUnsupportedCipher: true, * blockUnsupportedVersion: false, * }, * sslNoProxy: { * blockExpiredCertificate: false, * blockUntrustedIssuer: true, * }, * sslProtocolSettings: { * authAlgoMd5: false, * authAlgoSha1: true, * authAlgoSha256: false, * authAlgoSha384: true, * encAlgo3des: false, * encAlgoAes128Gcm: true, * encAlgoAes256Cbc: false, * encAlgoAes256Gcm: true, * encAlgoRc4: true, * keyxchgAlgoDhe: false, * keyxchgAlgoEcdhe: true, * keyxchgAlgoRsa: false, * maxVersion: "tls1-0", * minVersion: "sslv3", * }, * }); * ``` */ class DecryptionProfile extends pulumi.CustomResource { /** * Get an existing DecryptionProfile resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name, id, state, opts) { return new DecryptionProfile(name, state, { ...opts, id: id }); } /** * Returns true if the given object is an instance of DecryptionProfile. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === DecryptionProfile.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["device"] = state?.device; resourceInputs["folder"] = state?.folder; resourceInputs["name"] = state?.name; resourceInputs["snippet"] = state?.snippet; resourceInputs["sslForwardProxy"] = state?.sslForwardProxy; resourceInputs["sslInboundProxy"] = state?.sslInboundProxy; resourceInputs["sslNoProxy"] = state?.sslNoProxy; resourceInputs["sslProtocolSettings"] = state?.sslProtocolSettings; resourceInputs["tfid"] = state?.tfid; } else { const args = argsOrState; resourceInputs["device"] = args?.device; resourceInputs["folder"] = args?.folder; resourceInputs["name"] = args?.name; resourceInputs["snippet"] = args?.snippet; resourceInputs["sslForwardProxy"] = args?.sslForwardProxy; resourceInputs["sslInboundProxy"] = args?.sslInboundProxy; resourceInputs["sslNoProxy"] = args?.sslNoProxy; resourceInputs["sslProtocolSettings"] = args?.sslProtocolSettings; resourceInputs["tfid"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(DecryptionProfile.__pulumiType, name, resourceInputs, opts); } } exports.DecryptionProfile = DecryptionProfile; /** @internal */ DecryptionProfile.__pulumiType = 'scm:index/decryptionProfile:DecryptionProfile'; //# sourceMappingURL=decryptionProfile.js.map