Class: AWSCDK::PCAConnectorAD::CfnConnectorProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnConnectorProps
- Defined in:
- pca_connector_ad/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 being used.
-
#directory_id ⇒ String
readonly
The identifier of the Active Directory.
-
#tags ⇒ Hash{String => String}?
readonly
Metadata assigned to a connector consisting of a key-value pair.
-
#vpc_information ⇒ AWSCDK::IResolvable, AWSCDK::PCAConnectorAD::CfnConnector::VPCInformationProperty
readonly
Information of the VPC and security group(s) used with the connector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_authority_arn:, directory_id:, vpc_information:, tags: nil) ⇒ CfnConnectorProps
constructor
A new instance of CfnConnectorProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_authority_arn:, directory_id:, vpc_information:, tags: nil) ⇒ CfnConnectorProps
Returns a new instance of CfnConnectorProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'pca_connector_ad/cfn_connector_props.rb', line 13 def initialize(certificate_authority_arn:, directory_id:, vpc_information:, tags: nil) @certificate_authority_arn = Jsii::Type.check_type(@certificate_authority_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateAuthorityArn") @directory_id = directory_id Jsii::Type.check_type(@directory_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "directoryId") @vpc_information = vpc_information.is_a?(Hash) ? ::AWSCDK::PCAConnectorAD::CfnConnector::VPCInformationProperty.new(**vpc_information.transform_keys(&:to_sym)) : vpc_information Jsii::Type.check_type(@vpc_information, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wY2Fjb25uZWN0b3JhZC5DZm5Db25uZWN0b3IuVnBjSW5mb3JtYXRpb25Qcm9wZXJ0eSJ9XX19")), "vpcInformation") @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#certificate_authority_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the certificate authority being used.
28 29 30 |
# File 'pca_connector_ad/cfn_connector_props.rb', line 28 def @certificate_authority_arn end |
#directory_id ⇒ String (readonly)
The identifier of the Active Directory.
33 34 35 |
# File 'pca_connector_ad/cfn_connector_props.rb', line 33 def directory_id @directory_id end |
#tags ⇒ Hash{String => String}? (readonly)
Metadata assigned to a connector consisting of a key-value pair.
43 44 45 |
# File 'pca_connector_ad/cfn_connector_props.rb', line 43 def @tags end |
#vpc_information ⇒ AWSCDK::IResolvable, AWSCDK::PCAConnectorAD::CfnConnector::VPCInformationProperty (readonly)
Information of the VPC and security group(s) used with the connector.
38 39 40 |
# File 'pca_connector_ad/cfn_connector_props.rb', line 38 def vpc_information @vpc_information end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'pca_connector_ad/cfn_connector_props.rb', line 45 def self.jsii_properties { :certificate_authority_arn => "certificateAuthorityArn", :directory_id => "directoryId", :vpc_information => "vpcInformation", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'pca_connector_ad/cfn_connector_props.rb', line 54 def to_jsii result = {} result.merge!({ "certificateAuthorityArn" => @certificate_authority_arn, "directoryId" => @directory_id, "vpcInformation" => @vpc_information, "tags" => @tags, }) result.compact end |