Class: AWSCDK::PCAConnectorSCEP::CfnChallengeProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pca_connector_scep/cfn_challenge_props.rb

Overview

Properties for defining a CfnChallenge.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connector_arn:, tags: nil) ⇒ CfnChallengeProps

Returns a new instance of CfnChallengeProps.

Parameters:

  • connector_arn (String)

    The Amazon Resource Name (ARN) of the connector.

  • tags (Hash{String => String}, nil) (defaults to: nil)


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 = tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil?
end

Instance Attribute Details

#connector_arnString (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

#tagsHash{String => String}? (readonly)



25
26
27
# File 'pca_connector_scep/cfn_challenge_props.rb', line 25

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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