Class: AWSCDK::Macie::CfnAllowList::S3WordsListProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Macie::CfnAllowList::S3WordsListProperty
- Defined in:
- macie/cfn_allow_list.rb
Overview
Specifies the location and name of an Amazon Simple Storage Service ( Amazon S3 ) object that lists specific, predefined text to ignore when inspecting data sources for sensitive data.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The full name of the S3 bucket that contains the object.
-
#object_key ⇒ String
readonly
The full name of the S3 object.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, object_key:) ⇒ S3WordsListProperty
constructor
A new instance of S3WordsListProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, object_key:) ⇒ S3WordsListProperty
Returns a new instance of S3WordsListProperty.
655 656 657 658 659 660 |
# File 'macie/cfn_allow_list.rb', line 655 def initialize(bucket_name:, object_key:) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") @object_key = object_key Jsii::Type.check_type(@object_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "objectKey") end |
Instance Attribute Details
#bucket_name ⇒ String (readonly)
The full name of the S3 bucket that contains the object.
This value correlates to the Name field of a bucket's properties in Amazon S3 .
This value is case sensitive. In addition, don't use wildcard characters or specify partial values for the name.
670 671 672 |
# File 'macie/cfn_allow_list.rb', line 670 def bucket_name @bucket_name end |
#object_key ⇒ String (readonly)
The full name of the S3 object.
This value correlates to the Key field of an object's properties in Amazon S3 . If the name includes a path, include the complete path. For example, AllowLists/Macie/MyList.txt .
This value is case sensitive. In addition, don't use wildcard characters or specify partial values for the name.
679 680 681 |
# File 'macie/cfn_allow_list.rb', line 679 def object_key @object_key end |
Class Method Details
.jsii_properties ⇒ Object
681 682 683 684 685 686 |
# File 'macie/cfn_allow_list.rb', line 681 def self.jsii_properties { :bucket_name => "bucketName", :object_key => "objectKey", } end |
Instance Method Details
#to_jsii ⇒ Object
688 689 690 691 692 693 694 695 |
# File 'macie/cfn_allow_list.rb', line 688 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "objectKey" => @object_key, }) result.compact end |