Class: AWSCDK::PCAConnectorSCEP::CfnConnectorProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorSCEP::CfnConnectorProps
- Defined in:
- pca_connector_scep/cfn_connector_props.rb
Overview
Properties for defining a CfnConnector.
Instance Attribute Summary collapse
-
#certificate_authority_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the certificate authority associated with the connector.
-
#mobile_device_management ⇒ AWSCDK::IResolvable, ...
readonly
Contains settings relevant to the mobile device management system that you chose for the connector.
- #tags ⇒ Hash{String => String}? readonly
- #vpc_endpoint_id ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_authority_arn:, mobile_device_management: nil, tags: nil, vpc_endpoint_id: nil) ⇒ CfnConnectorProps
constructor
A new instance of CfnConnectorProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_authority_arn:, mobile_device_management: nil, tags: nil, vpc_endpoint_id: nil) ⇒ CfnConnectorProps
Returns a new instance of CfnConnectorProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'pca_connector_scep/cfn_connector_props.rb', line 13 def initialize(certificate_authority_arn:, mobile_device_management: nil, tags: nil, vpc_endpoint_id: nil) @certificate_authority_arn = Jsii::Type.check_type(@certificate_authority_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateAuthorityArn") @mobile_device_management = mobile_device_management.is_a?(Hash) ? ::AWSCDK::PCAConnectorSCEP::CfnConnector::MobileDeviceManagementProperty.new(**mobile_device_management.transform_keys(&:to_sym)) : mobile_device_management Jsii::Type.check_type(@mobile_device_management, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wY2Fjb25uZWN0b3JzY2VwLkNmbkNvbm5lY3Rvci5Nb2JpbGVEZXZpY2VNYW5hZ2VtZW50UHJvcGVydHkifV19fQ==")), "mobileDeviceManagement") unless @mobile_device_management.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? @vpc_endpoint_id = vpc_endpoint_id Jsii::Type.check_type(@vpc_endpoint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcEndpointId") unless @vpc_endpoint_id.nil? end |
Instance Attribute Details
#certificate_authority_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the certificate authority associated with the connector.
28 29 30 |
# File 'pca_connector_scep/cfn_connector_props.rb', line 28 def @certificate_authority_arn end |
#mobile_device_management ⇒ AWSCDK::IResolvable, ... (readonly)
Contains settings relevant to the mobile device management system that you chose for the connector.
If you didn't configure MobileDeviceManagement , then the connector is for general-purpose use and this object is empty.
35 36 37 |
# File 'pca_connector_scep/cfn_connector_props.rb', line 35 def mobile_device_management @mobile_device_management end |
#tags ⇒ Hash{String => String}? (readonly)
38 39 40 |
# File 'pca_connector_scep/cfn_connector_props.rb', line 38 def @tags end |
#vpc_endpoint_id ⇒ String? (readonly)
41 42 43 |
# File 'pca_connector_scep/cfn_connector_props.rb', line 41 def vpc_endpoint_id @vpc_endpoint_id end |
Class Method Details
.jsii_properties ⇒ Object
43 44 45 46 47 48 49 50 |
# File 'pca_connector_scep/cfn_connector_props.rb', line 43 def self.jsii_properties { :certificate_authority_arn => "certificateAuthorityArn", :mobile_device_management => "mobileDeviceManagement", :tags => "tags", :vpc_endpoint_id => "vpcEndpointId", } end |
Instance Method Details
#to_jsii ⇒ Object
52 53 54 55 56 57 58 59 60 61 |
# File 'pca_connector_scep/cfn_connector_props.rb', line 52 def to_jsii result = {} result.merge!({ "certificateAuthorityArn" => @certificate_authority_arn, "mobileDeviceManagement" => @mobile_device_management, "tags" => @tags, "vpcEndpointId" => @vpc_endpoint_id, }) result.compact end |