Class: AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSFileSystemIdentityProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSFileSystemIdentityProperty
- Defined in:
- fsx/cfn_s3_access_point_attachment.rb
Overview
Specifies the file system user identity that will be used for authorizing all file access requests that are made using the S3 access point.
Instance Attribute Summary collapse
-
#posix_user ⇒ AWSCDK::IResolvable, AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSPosixFileSystemUserProperty
readonly
Specifies the UID and GIDs of the file system POSIX user.
-
#type ⇒ String
readonly
Specifies the FSx for OpenZFS user identity type, accepts only
POSIX.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(posix_user:, type:) ⇒ OpenZFSFileSystemIdentityProperty
constructor
A new instance of OpenZFSFileSystemIdentityProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(posix_user:, type:) ⇒ OpenZFSFileSystemIdentityProperty
Returns a new instance of OpenZFSFileSystemIdentityProperty.
732 733 734 735 736 737 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 732 def initialize(posix_user:, type:) @posix_user = posix_user.is_a?(Hash) ? ::AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSPosixFileSystemUserProperty.new(**posix_user.transform_keys(&:to_sym)) : posix_user Jsii::Type.check_type(@posix_user, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19mc3guQ2ZuUzNBY2Nlc3NQb2ludEF0dGFjaG1lbnQuT3BlblpGU1Bvc2l4RmlsZVN5c3RlbVVzZXJQcm9wZXJ0eSJ9XX19")), "posixUser") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#posix_user ⇒ AWSCDK::IResolvable, AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSPosixFileSystemUserProperty (readonly)
Specifies the UID and GIDs of the file system POSIX user.
743 744 745 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 743 def posix_user @posix_user end |
#type ⇒ String (readonly)
Specifies the FSx for OpenZFS user identity type, accepts only POSIX .
748 749 750 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 748 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
750 751 752 753 754 755 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 750 def self.jsii_properties { :posix_user => "posixUser", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
757 758 759 760 761 762 763 764 |
# File 'fsx/cfn_s3_access_point_attachment.rb', line 757 def to_jsii result = {} result.merge!({ "posixUser" => @posix_user, "type" => @type, }) result.compact end |