Class: AWSCDK::PCAConnectorAD::CfnTemplate::ApplicationPolicyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplate::ApplicationPolicyProperty
- Defined in:
- pca_connector_ad/cfn_template.rb
Overview
Application policies describe what the certificate can be used for.
Instance Attribute Summary collapse
-
#policy_object_identifier ⇒ String?
readonly
The object identifier (OID) of an application policy.
-
#policy_type ⇒ String?
readonly
The type of application policy.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(policy_object_identifier: nil, policy_type: nil) ⇒ ApplicationPolicyProperty
constructor
A new instance of ApplicationPolicyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(policy_object_identifier: nil, policy_type: nil) ⇒ ApplicationPolicyProperty
Returns a new instance of ApplicationPolicyProperty.
615 616 617 618 619 620 |
# File 'pca_connector_ad/cfn_template.rb', line 615 def initialize(policy_object_identifier: nil, policy_type: nil) @policy_object_identifier = policy_object_identifier Jsii::Type.check_type(@policy_object_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "policyObjectIdentifier") unless @policy_object_identifier.nil? @policy_type = policy_type Jsii::Type.check_type(@policy_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "policyType") unless @policy_type.nil? end |
Instance Attribute Details
#policy_object_identifier ⇒ String? (readonly)
The object identifier (OID) of an application policy.
626 627 628 |
# File 'pca_connector_ad/cfn_template.rb', line 626 def policy_object_identifier @policy_object_identifier end |
#policy_type ⇒ String? (readonly)
The type of application policy.
631 632 633 |
# File 'pca_connector_ad/cfn_template.rb', line 631 def policy_type @policy_type end |
Class Method Details
.jsii_properties ⇒ Object
633 634 635 636 637 638 |
# File 'pca_connector_ad/cfn_template.rb', line 633 def self.jsii_properties { :policy_object_identifier => "policyObjectIdentifier", :policy_type => "policyType", } end |
Instance Method Details
#to_jsii ⇒ Object
640 641 642 643 644 645 646 647 |
# File 'pca_connector_ad/cfn_template.rb', line 640 def to_jsii result = {} result.merge!({ "policyObjectIdentifier" => @policy_object_identifier, "policyType" => @policy_type, }) result.compact end |