Class: AWSCDK::RolesAnywhere::CfnCRLProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RolesAnywhere::CfnCRLProps
- Defined in:
- roles_anywhere/cfn_crl_props.rb
Overview
Properties for defining a CfnCRL.
Instance Attribute Summary collapse
-
#crl_data ⇒ String
readonly
The x509 v3 specified certificate revocation list (CRL).
-
#enabled ⇒ Boolean, ...
readonly
Specifies whether the certificate revocation list (CRL) is enabled.
-
#name ⇒ String
readonly
The name of the certificate revocation list (CRL).
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
A list of tags to attach to the certificate revocation list (CRL).
-
#trust_anchor_arn ⇒ String?
readonly
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(crl_data:, name:, enabled: nil, tags: nil, trust_anchor_arn: nil) ⇒ CfnCRLProps
constructor
A new instance of CfnCRLProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(crl_data:, name:, enabled: nil, tags: nil, trust_anchor_arn: nil) ⇒ CfnCRLProps
Returns a new instance of CfnCRLProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'roles_anywhere/cfn_crl_props.rb', line 14 def initialize(crl_data:, name:, enabled: nil, tags: nil, trust_anchor_arn: nil) @crl_data = crl_data Jsii::Type.check_type(@crl_data, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "crlData") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? @trust_anchor_arn = trust_anchor_arn Jsii::Type.check_type(@trust_anchor_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trustAnchorArn") unless @trust_anchor_arn.nil? end |
Instance Attribute Details
#crl_data ⇒ String (readonly)
The x509 v3 specified certificate revocation list (CRL).
31 32 33 |
# File 'roles_anywhere/cfn_crl_props.rb', line 31 def crl_data @crl_data end |
#enabled ⇒ Boolean, ... (readonly)
Specifies whether the certificate revocation list (CRL) is enabled.
41 42 43 |
# File 'roles_anywhere/cfn_crl_props.rb', line 41 def enabled @enabled end |
#name ⇒ String (readonly)
The name of the certificate revocation list (CRL).
36 37 38 |
# File 'roles_anywhere/cfn_crl_props.rb', line 36 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
A list of tags to attach to the certificate revocation list (CRL).
46 47 48 |
# File 'roles_anywhere/cfn_crl_props.rb', line 46 def @tags end |
#trust_anchor_arn ⇒ String? (readonly)
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
51 52 53 |
# File 'roles_anywhere/cfn_crl_props.rb', line 51 def trust_anchor_arn @trust_anchor_arn end |
Class Method Details
.jsii_properties ⇒ Object
53 54 55 56 57 58 59 60 61 |
# File 'roles_anywhere/cfn_crl_props.rb', line 53 def self.jsii_properties { :crl_data => "crlData", :name => "name", :enabled => "enabled", :tags => "tags", :trust_anchor_arn => "trustAnchorArn", } end |
Instance Method Details
#to_jsii ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 |
# File 'roles_anywhere/cfn_crl_props.rb', line 63 def to_jsii result = {} result.merge!({ "crlData" => @crl_data, "name" => @name, "enabled" => @enabled, "tags" => @tags, "trustAnchorArn" => @trust_anchor_arn, }) result.compact end |