Class: AWSCDK::FSX::CfnS3AccessPointAttachment::S3AccessPointOpenZFSConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FSX::CfnS3AccessPointAttachment::S3AccessPointOpenZFSConfigurationProperty
- Defined in:
- fsx/cfn_s3_access_point_attachment.rb
Overview
Describes the FSx for OpenZFS attachment configuration of an S3 access point attachment.
Instance Attribute Summary collapse
-
#file_system_identity ⇒ AWSCDK::IResolvable, AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSFileSystemIdentityProperty
readonly
The file system identity used to authorize file access requests made using the S3 access point.
-
#volume_id ⇒ String
readonly
The ID of the FSx for OpenZFS volume that the S3 access point is attached to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file_system_identity:, volume_id:) ⇒ S3AccessPointOpenZFSConfigurationProperty
constructor
A new instance of S3AccessPointOpenZFSConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(file_system_identity:, volume_id:) ⇒ S3AccessPointOpenZFSConfigurationProperty
Returns a new instance of S3AccessPointOpenZFSConfigurationProperty.
871 872 873 874 875 876 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 871 def initialize(file_system_identity:, volume_id:) @file_system_identity = file_system_identity.is_a?(Hash) ? ::AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSFileSystemIdentityProperty.new(**file_system_identity.transform_keys(&:to_sym)) : file_system_identity Jsii::Type.check_type(@file_system_identity, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19mc3guQ2ZuUzNBY2Nlc3NQb2ludEF0dGFjaG1lbnQuT3BlblpGU0ZpbGVTeXN0ZW1JZGVudGl0eVByb3BlcnR5In1dfX0=")), "fileSystemIdentity") @volume_id = volume_id Jsii::Type.check_type(@volume_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "volumeId") end |
Instance Attribute Details
#file_system_identity ⇒ AWSCDK::IResolvable, AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSFileSystemIdentityProperty (readonly)
The file system identity used to authorize file access requests made using the S3 access point.
882 883 884 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 882 def file_system_identity @file_system_identity end |
#volume_id ⇒ String (readonly)
The ID of the FSx for OpenZFS volume that the S3 access point is attached to.
887 888 889 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 887 def volume_id @volume_id end |
Class Method Details
.jsii_properties ⇒ Object
889 890 891 892 893 894 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 889 def self.jsii_properties { :file_system_identity => "fileSystemIdentity", :volume_id => "volumeId", } end |
Instance Method Details
#to_jsii ⇒ Object
896 897 898 899 900 901 902 903 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 896 def to_jsii result = {} result.merge!({ "fileSystemIdentity" => @file_system_identity, "volumeId" => @volume_id, }) result.compact end |