Class: AWSCDK::FSX::CfnS3AccessPointAttachment::S3AccessPointOntapConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
fsx/cfn_s3_access_point_attachment.rb

Overview

Describes the FSx for ONTAP attachment configuration of an S3 access point attachment.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_system_identity:, volume_id:) ⇒ S3AccessPointOntapConfigurationProperty

Returns a new instance of S3AccessPointOntapConfigurationProperty.

Parameters:



828
829
830
831
832
833
# File 'fsx/cfn_s3_access_point_attachment.rb', line 828

def initialize(file_system_identity:, volume_id:)
  @file_system_identity = file_system_identity.is_a?(Hash) ? ::AWSCDK::FSX::CfnS3AccessPointAttachment::OntapFileSystemIdentityProperty.new(**file_system_identity.transform_keys(&:to_sym)) : file_system_identity
  Jsii::Type.check_type(@file_system_identity, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19mc3guQ2ZuUzNBY2Nlc3NQb2ludEF0dGFjaG1lbnQuT250YXBGaWxlU3lzdGVtSWRlbnRpdHlQcm9wZXJ0eSJ9XX19")), "fileSystemIdentity")
  @volume_id = volume_id
  Jsii::Type.check_type(@volume_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "volumeId")
end

Instance Attribute Details

#file_system_identityAWSCDK::IResolvable, AWSCDK::FSX::CfnS3AccessPointAttachment::OntapFileSystemIdentityProperty (readonly)

The file system identity used to authorize file access requests made using the S3 access point.



839
840
841
# File 'fsx/cfn_s3_access_point_attachment.rb', line 839

def file_system_identity
  @file_system_identity
end

#volume_idString (readonly)

The ID of the FSx for ONTAP volume that the S3 access point is attached to.



844
845
846
# File 'fsx/cfn_s3_access_point_attachment.rb', line 844

def volume_id
  @volume_id
end

Class Method Details

.jsii_propertiesObject



846
847
848
849
850
851
# File 'fsx/cfn_s3_access_point_attachment.rb', line 846

def self.jsii_properties
  {
    :file_system_identity => "fileSystemIdentity",
    :volume_id => "volumeId",
  }
end

Instance Method Details

#to_jsiiObject



853
854
855
856
857
858
859
860
# File 'fsx/cfn_s3_access_point_attachment.rb', line 853

def to_jsii
  result = {}
  result.merge!({
    "fileSystemIdentity" => @file_system_identity,
    "volumeId" => @volume_id,
  })
  result.compact
end