Class: AWSCDK::ElasticLoadBalancingv2::CfnTrustStoreRevocation::RevocationContentProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(revocation_type: nil, s3_bucket: nil, s3_key: nil, s3_object_version: nil) ⇒ RevocationContentProperty

Returns a new instance of RevocationContentProperty.

Parameters:

  • revocation_type (String, nil) (defaults to: nil)

    The type of revocation file.

  • s3_bucket (String, nil) (defaults to: nil)

    The Amazon S3 bucket for the revocation file.

  • s3_key (String, nil) (defaults to: nil)

    The Amazon S3 path for the revocation file.

  • s3_object_version (String, nil) (defaults to: nil)

    The Amazon S3 object version of the revocation file.



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_typeString? (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_bucketString? (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_keyString? (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_versionString? (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_propertiesObject



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_jsiiObject



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