Class: AWSCDK::PCAConnectorAD::CfnTemplate::TemplateDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplate::TemplateDefinitionProperty
- Defined in:
- pca_connector_ad/cfn_template.rb
Overview
Template configuration to define the information included in certificates.
Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
Instance Attribute Summary collapse
-
#template_v2 ⇒ AWSCDK::IResolvable, ...
readonly
Template configuration to define the information included in certificates.
-
#template_v3 ⇒ AWSCDK::IResolvable, ...
readonly
Template configuration to define the information included in certificates.
-
#template_v4 ⇒ AWSCDK::IResolvable, ...
readonly
Template configuration to define the information included in certificates.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(template_v2: nil, template_v3: nil, template_v4: nil) ⇒ TemplateDefinitionProperty
constructor
A new instance of TemplateDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(template_v2: nil, template_v3: nil, template_v4: nil) ⇒ TemplateDefinitionProperty
Returns a new instance of TemplateDefinitionProperty.
2200 2201 2202 2203 2204 2205 2206 2207 |
# File 'pca_connector_ad/cfn_template.rb', line 2200 def initialize(template_v2: nil, template_v3: nil, template_v4: nil) @template_v2 = template_v2.is_a?(Hash) ? ::AWSCDK::PCAConnectorAD::CfnTemplate::TemplateV2Property.new(**template_v2.transform_keys(&:to_sym)) : template_v2 Jsii::Type.check_type(@template_v2, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wY2Fjb25uZWN0b3JhZC5DZm5UZW1wbGF0ZS5UZW1wbGF0ZVYyUHJvcGVydHkifV19fQ==")), "templateV2") unless @template_v2.nil? @template_v3 = template_v3.is_a?(Hash) ? ::AWSCDK::PCAConnectorAD::CfnTemplate::TemplateV3Property.new(**template_v3.transform_keys(&:to_sym)) : template_v3 Jsii::Type.check_type(@template_v3, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wY2Fjb25uZWN0b3JhZC5DZm5UZW1wbGF0ZS5UZW1wbGF0ZVYzUHJvcGVydHkifV19fQ==")), "templateV3") unless @template_v3.nil? @template_v4 = template_v4.is_a?(Hash) ? ::AWSCDK::PCAConnectorAD::CfnTemplate::TemplateV4Property.new(**template_v4.transform_keys(&:to_sym)) : template_v4 Jsii::Type.check_type(@template_v4, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wY2Fjb25uZWN0b3JhZC5DZm5UZW1wbGF0ZS5UZW1wbGF0ZVY0UHJvcGVydHkifV19fQ==")), "templateV4") unless @template_v4.nil? end |
Instance Attribute Details
#template_v2 ⇒ AWSCDK::IResolvable, ... (readonly)
Template configuration to define the information included in certificates.
Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
2215 2216 2217 |
# File 'pca_connector_ad/cfn_template.rb', line 2215 def template_v2 @template_v2 end |
#template_v3 ⇒ AWSCDK::IResolvable, ... (readonly)
Template configuration to define the information included in certificates.
Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
2222 2223 2224 |
# File 'pca_connector_ad/cfn_template.rb', line 2222 def template_v3 @template_v3 end |
#template_v4 ⇒ AWSCDK::IResolvable, ... (readonly)
Template configuration to define the information included in certificates.
Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
2229 2230 2231 |
# File 'pca_connector_ad/cfn_template.rb', line 2229 def template_v4 @template_v4 end |
Class Method Details
.jsii_properties ⇒ Object
2231 2232 2233 2234 2235 2236 2237 |
# File 'pca_connector_ad/cfn_template.rb', line 2231 def self.jsii_properties { :template_v2 => "templateV2", :template_v3 => "templateV3", :template_v4 => "templateV4", } end |
Instance Method Details
#to_jsii ⇒ Object
2239 2240 2241 2242 2243 2244 2245 2246 2247 |
# File 'pca_connector_ad/cfn_template.rb', line 2239 def to_jsii result = {} result.merge!({ "templateV2" => @template_v2, "templateV3" => @template_v3, "templateV4" => @template_v4, }) result.compact end |