Class: AWSCDK::FSX::CfnS3AccessPointAttachment::OpenZFSFileSystemIdentityProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(posix_user:, type:) ⇒ OpenZFSFileSystemIdentityProperty

Returns a new instance of OpenZFSFileSystemIdentityProperty.

Parameters:



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

#typeString (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_propertiesObject



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_jsiiObject



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