Class: AWSCDK::Datasync::CfnLocationAzureBlob::AzureBlobSasConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationAzureBlob::AzureBlobSasConfigurationProperty
- Defined in:
- datasync/cfn_location_azure_blob.rb
Overview
The shared access signature (SAS) configuration that allows AWS DataSync to access your Microsoft Azure Blob Storage.
For more information, see SAS tokens for accessing your Azure Blob Storage.
Instance Attribute Summary collapse
-
#azure_blob_sas_token ⇒ String
readonly
Specifies a SAS token that provides permissions to access your Azure Blob Storage.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(azure_blob_sas_token:) ⇒ AzureBlobSasConfigurationProperty
constructor
A new instance of AzureBlobSasConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(azure_blob_sas_token:) ⇒ AzureBlobSasConfigurationProperty
Returns a new instance of AzureBlobSasConfigurationProperty.
664 665 666 667 |
# File 'datasync/cfn_location_azure_blob.rb', line 664 def initialize(azure_blob_sas_token:) @azure_blob_sas_token = azure_blob_sas_token Jsii::Type.check_type(@azure_blob_sas_token, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "azureBlobSasToken") end |
Instance Attribute Details
#azure_blob_sas_token ⇒ String (readonly)
Specifies a SAS token that provides permissions to access your Azure Blob Storage.
The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:
sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D
677 678 679 |
# File 'datasync/cfn_location_azure_blob.rb', line 677 def azure_blob_sas_token @azure_blob_sas_token end |
Class Method Details
.jsii_properties ⇒ Object
679 680 681 682 683 |
# File 'datasync/cfn_location_azure_blob.rb', line 679 def self.jsii_properties { :azure_blob_sas_token => "azureBlobSasToken", } end |
Instance Method Details
#to_jsii ⇒ Object
685 686 687 688 689 690 691 |
# File 'datasync/cfn_location_azure_blob.rb', line 685 def to_jsii result = {} result.merge!({ "azureBlobSasToken" => @azure_blob_sas_token, }) result.compact end |