Class: AWSCDK::S3Files::CfnAccessPoint::RootDirectoryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Files::CfnAccessPoint::RootDirectoryProperty
- Defined in:
- s3_files/cfn_access_point.rb
Overview
Instance Attribute Summary collapse
- #creation_permissions ⇒ AWSCDK::IResolvable, ... readonly
-
#path ⇒ String?
readonly
Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(creation_permissions: nil, path: nil) ⇒ RootDirectoryProperty
constructor
A new instance of RootDirectoryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(creation_permissions: nil, path: nil) ⇒ RootDirectoryProperty
Returns a new instance of RootDirectoryProperty.
723 724 725 726 727 728 |
# File 's3_files/cfn_access_point.rb', line 723 def initialize(creation_permissions: nil, path: nil) @creation_permissions = .is_a?(Hash) ? ::AWSCDK::S3Files::CfnAccessPoint::CreationPermissionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@creation_permissions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zM2ZpbGVzLkNmbkFjY2Vzc1BvaW50LkNyZWF0aW9uUGVybWlzc2lvbnNQcm9wZXJ0eSJ9XX19")), "creationPermissions") unless @creation_permissions.nil? @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") unless @path.nil? end |
Instance Attribute Details
#creation_permissions ⇒ AWSCDK::IResolvable, ... (readonly)
732 733 734 |
# File 's3_files/cfn_access_point.rb', line 732 def @creation_permissions end |
#path ⇒ String? (readonly)
Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system.
A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationPermissions.
739 740 741 |
# File 's3_files/cfn_access_point.rb', line 739 def path @path end |
Class Method Details
.jsii_properties ⇒ Object
741 742 743 744 745 746 |
# File 's3_files/cfn_access_point.rb', line 741 def self.jsii_properties { :creation_permissions => "creationPermissions", :path => "path", } end |
Instance Method Details
#to_jsii ⇒ Object
748 749 750 751 752 753 754 755 |
# File 's3_files/cfn_access_point.rb', line 748 def to_jsii result = {} result.merge!({ "creationPermissions" => @creation_permissions, "path" => @path, }) result.compact end |