Class: AWSCDK::PCAConnectorSCEP::CfnChallengeProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorSCEP::CfnChallengeProps
- Defined in:
- pca_connector_scep/cfn_challenge_props.rb
Overview
Properties for defining a CfnChallenge.
Instance Attribute Summary collapse
-
#connector_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the connector.
- #tags ⇒ Hash{String => String}? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connector_arn:, tags: nil) ⇒ CfnChallengeProps
constructor
A new instance of CfnChallengeProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connector_arn:, tags: nil) ⇒ CfnChallengeProps
Returns a new instance of CfnChallengeProps.
11 12 13 14 15 16 |
# File 'pca_connector_scep/cfn_challenge_props.rb', line 11 def initialize(connector_arn:, tags: nil) @connector_arn = connector_arn Jsii::Type.check_type(@connector_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectorArn") @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#connector_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the connector.
22 23 24 |
# File 'pca_connector_scep/cfn_challenge_props.rb', line 22 def connector_arn @connector_arn end |
#tags ⇒ Hash{String => String}? (readonly)
25 26 27 |
# File 'pca_connector_scep/cfn_challenge_props.rb', line 25 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'pca_connector_scep/cfn_challenge_props.rb', line 27 def self.jsii_properties { :connector_arn => "connectorArn", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'pca_connector_scep/cfn_challenge_props.rb', line 34 def to_jsii result = {} result.merge!({ "connectorArn" => @connector_arn, "tags" => @tags, }) result.compact end |