Class: AWSCDK::ElasticLoadBalancingv2::CfnTrustStoreRevocation::RevocationContentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::CfnTrustStoreRevocation::RevocationContentProperty
- Defined in:
- elastic_load_balancingv2/cfn_trust_store_revocation.rb
Overview
Information about a revocation file.
You must specify S3Bucket and S3Key .
Instance Attribute Summary collapse
-
#revocation_type ⇒ String?
readonly
The type of revocation file.
-
#s3_bucket ⇒ String?
readonly
The Amazon S3 bucket for the revocation file.
-
#s3_key ⇒ String?
readonly
The Amazon S3 path for the revocation file.
-
#s3_object_version ⇒ String?
readonly
The Amazon S3 object version of the revocation file.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(revocation_type: nil, s3_bucket: nil, s3_key: nil, s3_object_version: nil) ⇒ RevocationContentProperty
constructor
A new instance of RevocationContentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(revocation_type: nil, s3_bucket: nil, s3_key: nil, s3_object_version: nil) ⇒ RevocationContentProperty
Returns a new instance of RevocationContentProperty.
530 531 532 533 534 535 536 537 538 539 |
# File 'elastic_load_balancingv2/cfn_trust_store_revocation.rb', line 530 def initialize(revocation_type: nil, s3_bucket: nil, s3_key: nil, s3_object_version: nil) @revocation_type = revocation_type Jsii::Type.check_type(@revocation_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "revocationType") unless @revocation_type.nil? @s3_bucket = s3_bucket Jsii::Type.check_type(@s3_bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Bucket") unless @s3_bucket.nil? @s3_key = s3_key Jsii::Type.check_type(@s3_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Key") unless @s3_key.nil? @s3_object_version = s3_object_version Jsii::Type.check_type(@s3_object_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3ObjectVersion") unless @s3_object_version.nil? end |
Instance Attribute Details
#revocation_type ⇒ String? (readonly)
The type of revocation file.
545 546 547 |
# File 'elastic_load_balancingv2/cfn_trust_store_revocation.rb', line 545 def revocation_type @revocation_type end |
#s3_bucket ⇒ String? (readonly)
The Amazon S3 bucket for the revocation file.
550 551 552 |
# File 'elastic_load_balancingv2/cfn_trust_store_revocation.rb', line 550 def s3_bucket @s3_bucket end |
#s3_key ⇒ String? (readonly)
The Amazon S3 path for the revocation file.
555 556 557 |
# File 'elastic_load_balancingv2/cfn_trust_store_revocation.rb', line 555 def s3_key @s3_key end |
#s3_object_version ⇒ String? (readonly)
The Amazon S3 object version of the revocation file.
560 561 562 |
# File 'elastic_load_balancingv2/cfn_trust_store_revocation.rb', line 560 def s3_object_version @s3_object_version end |
Class Method Details
.jsii_properties ⇒ Object
562 563 564 565 566 567 568 569 |
# File 'elastic_load_balancingv2/cfn_trust_store_revocation.rb', line 562 def self.jsii_properties { :revocation_type => "revocationType", :s3_bucket => "s3Bucket", :s3_key => "s3Key", :s3_object_version => "s3ObjectVersion", } end |
Instance Method Details
#to_jsii ⇒ Object
571 572 573 574 575 576 577 578 579 580 |
# File 'elastic_load_balancingv2/cfn_trust_store_revocation.rb', line 571 def to_jsii result = {} result.merge!({ "revocationType" => @revocation_type, "s3Bucket" => @s3_bucket, "s3Key" => @s3_key, "s3ObjectVersion" => @s3_object_version, }) result.compact end |