Class: AWSCDK::EFS::AccessPointAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EFS::AccessPointAttributes
- Defined in:
- efs/access_point_attributes.rb
Overview
Attributes that can be specified when importing an AccessPoint.
Instance Attribute Summary collapse
-
#access_point_arn ⇒ String?
readonly
The ARN of the AccessPoint One of this, or
accessPointIdis required. -
#access_point_id ⇒ String?
readonly
The ID of the AccessPoint One of this, or
accessPointArnis required. -
#file_system ⇒ AWSCDK::Interfaces::AWSEFS::IFileSystemRef?
readonly
The EFS file system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_point_arn: nil, access_point_id: nil, file_system: nil) ⇒ AccessPointAttributes
constructor
A new instance of AccessPointAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_point_arn: nil, access_point_id: nil, file_system: nil) ⇒ AccessPointAttributes
Returns a new instance of AccessPointAttributes.
10 11 12 13 14 15 16 17 |
# File 'efs/access_point_attributes.rb', line 10 def initialize(access_point_arn: nil, access_point_id: nil, file_system: nil) @access_point_arn = access_point_arn Jsii::Type.check_type(@access_point_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessPointArn") unless @access_point_arn.nil? @access_point_id = access_point_id Jsii::Type.check_type(@access_point_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessPointId") unless @access_point_id.nil? @file_system = file_system Jsii::Type.check_type(@file_system, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19lZnMuSUZpbGVTeXN0ZW1SZWYifQ==")), "fileSystem") unless @file_system.nil? end |
Instance Attribute Details
#access_point_arn ⇒ String? (readonly)
Note:
Default: - determined based on accessPointId
The ARN of the AccessPoint One of this, or accessPointId is required.
23 24 25 |
# File 'efs/access_point_attributes.rb', line 23 def access_point_arn @access_point_arn end |
#access_point_id ⇒ String? (readonly)
Note:
Default: - determined based on accessPointArn
The ID of the AccessPoint One of this, or accessPointArn is required.
28 29 30 |
# File 'efs/access_point_attributes.rb', line 28 def access_point_id @access_point_id end |
#file_system ⇒ AWSCDK::Interfaces::AWSEFS::IFileSystemRef? (readonly)
Note:
Default: - no EFS file system
The EFS file system.
33 34 35 |
# File 'efs/access_point_attributes.rb', line 33 def file_system @file_system end |
Class Method Details
.jsii_properties ⇒ Object
35 36 37 38 39 40 41 |
# File 'efs/access_point_attributes.rb', line 35 def self.jsii_properties { :access_point_arn => "accessPointArn", :access_point_id => "accessPointId", :file_system => "fileSystem", } end |
Instance Method Details
#to_jsii ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'efs/access_point_attributes.rb', line 43 def to_jsii result = {} result.merge!({ "accessPointArn" => @access_point_arn, "accessPointId" => @access_point_id, "fileSystem" => @file_system, }) result.compact end |