Class: AWSCDK::CertificateManager::KeyAlgorithm
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::CertificateManager::KeyAlgorithm
- Defined in:
- certificate_manager/key_algorithm.rb
Overview
Certificate Manager key algorithm.
If you need to use an algorithm that doesn't exist as a static member, you
can instantiate a KeyAlgorithm object, e.g: new KeyAlgorithm('RSA_2048').
Class Method Summary collapse
-
.EC_PRIME256_V1 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
EC_prime256v1 algorithm.
-
.EC_SECP384_R1 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
EC_secp384r1 algorithm.
-
.EC_SECP521_R1 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
EC_secp521r1 algorithm.
- .jsii_overridable_methods ⇒ Object
-
.RSA_1024 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_1024 algorithm.
-
.RSA_2048 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_2048 algorithm.
-
.RSA_3072 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_3072 algorithm.
-
.RSA_4096 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_4096 algorithm.
Instance Method Summary collapse
-
#initialize(name) ⇒ KeyAlgorithm
constructor
A new instance of KeyAlgorithm.
-
#name ⇒ String
The name of the algorithm.
Constructor Details
#initialize(name) ⇒ KeyAlgorithm
Returns a new instance of KeyAlgorithm.
14 15 16 17 |
# File 'certificate_manager/key_algorithm.rb', line 14 def initialize(name) Jsii::Type.check_type(name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") Jsii::Object.instance_method(:initialize).bind(self).call(name) end |
Class Method Details
.EC_PRIME256_V1 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
EC_prime256v1 algorithm.
28 29 30 |
# File 'certificate_manager/key_algorithm.rb', line 28 def self.EC_PRIME256_V1() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_certificatemanager.KeyAlgorithm", "EC_PRIME256V1") end |
.EC_SECP384_R1 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
EC_secp384r1 algorithm.
35 36 37 |
# File 'certificate_manager/key_algorithm.rb', line 35 def self.EC_SECP384_R1() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_certificatemanager.KeyAlgorithm", "EC_SECP384R1") end |
.EC_SECP521_R1 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
EC_secp521r1 algorithm.
42 43 44 |
# File 'certificate_manager/key_algorithm.rb', line 42 def self.EC_SECP521_R1() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_certificatemanager.KeyAlgorithm", "EC_SECP521R1") end |
.jsii_overridable_methods ⇒ Object
19 20 21 22 23 |
# File 'certificate_manager/key_algorithm.rb', line 19 def self.jsii_overridable_methods { :name => { kind: :property, name: "name", is_optional: false }, } end |
.RSA_1024 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_1024 algorithm.
49 50 51 |
# File 'certificate_manager/key_algorithm.rb', line 49 def self.RSA_1024() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_certificatemanager.KeyAlgorithm", "RSA_1024") end |
.RSA_2048 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_2048 algorithm.
56 57 58 |
# File 'certificate_manager/key_algorithm.rb', line 56 def self.RSA_2048() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_certificatemanager.KeyAlgorithm", "RSA_2048") end |
.RSA_3072 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_3072 algorithm.
63 64 65 |
# File 'certificate_manager/key_algorithm.rb', line 63 def self.RSA_3072() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_certificatemanager.KeyAlgorithm", "RSA_3072") end |
.RSA_4096 ⇒ AWSCDK::CertificateManager::KeyAlgorithm
RSA_4096 algorithm.
70 71 72 |
# File 'certificate_manager/key_algorithm.rb', line 70 def self.RSA_4096() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_certificatemanager.KeyAlgorithm", "RSA_4096") end |
Instance Method Details
#name ⇒ String
The name of the algorithm.
77 78 79 |
# File 'certificate_manager/key_algorithm.rb', line 77 def name() jsii_get_property("name") end |