Class: AWSCDK::PCAConnectorAD::CfnTemplate::GeneralFlagsV3Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplate::GeneralFlagsV3Property
- Defined in:
- pca_connector_ad/cfn_template.rb
Overview
General flags for v3 template schema that defines if the template is for a machine or a user and if the template can be issued using autoenrollment.
Instance Attribute Summary collapse
-
#auto_enrollment ⇒ Boolean, ...
readonly
Allows certificate issuance using autoenrollment.
-
#machine_type ⇒ Boolean, ...
readonly
Defines if the template is for machines or users.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_enrollment: nil, machine_type: nil) ⇒ GeneralFlagsV3Property
constructor
A new instance of GeneralFlagsV3Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_enrollment: nil, machine_type: nil) ⇒ GeneralFlagsV3Property
Returns a new instance of GeneralFlagsV3Property.
1100 1101 1102 1103 1104 1105 |
# File 'pca_connector_ad/cfn_template.rb', line 1100 def initialize(auto_enrollment: nil, machine_type: nil) @auto_enrollment = auto_enrollment Jsii::Type.check_type(@auto_enrollment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "autoEnrollment") unless @auto_enrollment.nil? @machine_type = machine_type Jsii::Type.check_type(@machine_type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "machineType") unless @machine_type.nil? end |
Instance Attribute Details
#auto_enrollment ⇒ Boolean, ... (readonly)
Allows certificate issuance using autoenrollment.
Set to TRUE to allow autoenrollment.
1113 1114 1115 |
# File 'pca_connector_ad/cfn_template.rb', line 1113 def auto_enrollment @auto_enrollment end |
#machine_type ⇒ Boolean, ... (readonly)
Defines if the template is for machines or users.
Set to TRUE if the template is for machines. Set to FALSE if the template is for users
1120 1121 1122 |
# File 'pca_connector_ad/cfn_template.rb', line 1120 def machine_type @machine_type end |
Class Method Details
.jsii_properties ⇒ Object
1122 1123 1124 1125 1126 1127 |
# File 'pca_connector_ad/cfn_template.rb', line 1122 def self.jsii_properties { :auto_enrollment => "autoEnrollment", :machine_type => "machineType", } end |
Instance Method Details
#to_jsii ⇒ Object
1129 1130 1131 1132 1133 1134 1135 1136 |
# File 'pca_connector_ad/cfn_template.rb', line 1129 def to_jsii result = {} result.merge!({ "autoEnrollment" => @auto_enrollment, "machineType" => @machine_type, }) result.compact end |