Class: AWSCDK::PCAConnectorAD::CfnTemplate::GeneralFlagsV4Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplate::GeneralFlagsV4Property
- Defined in:
- pca_connector_ad/cfn_template.rb
Overview
General flags for v4 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) ⇒ GeneralFlagsV4Property
constructor
A new instance of GeneralFlagsV4Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_enrollment: nil, machine_type: nil) ⇒ GeneralFlagsV4Property
Returns a new instance of GeneralFlagsV4Property.
1147 1148 1149 1150 1151 1152 |
# File 'pca_connector_ad/cfn_template.rb', line 1147 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.
1160 1161 1162 |
# File 'pca_connector_ad/cfn_template.rb', line 1160 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
1167 1168 1169 |
# File 'pca_connector_ad/cfn_template.rb', line 1167 def machine_type @machine_type end |
Class Method Details
.jsii_properties ⇒ Object
1169 1170 1171 1172 1173 1174 |
# File 'pca_connector_ad/cfn_template.rb', line 1169 def self.jsii_properties { :auto_enrollment => "autoEnrollment", :machine_type => "machineType", } end |
Instance Method Details
#to_jsii ⇒ Object
1176 1177 1178 1179 1180 1181 1182 1183 |
# File 'pca_connector_ad/cfn_template.rb', line 1176 def to_jsii result = {} result.merge!({ "autoEnrollment" => @auto_enrollment, "machineType" => @machine_type, }) result.compact end |