:doc:`Instance <index>` / Attribute / block_device_mappings

*********************
block_device_mappings
*********************



.. py:attribute:: EC2.Instance.block_device_mappings

  

  - *(list) --* 

    Any block device mapping entries for the instance.

    
    

    - *(dict) --* 

      Describes a block device mapping.

      
      

      - **DeviceName** *(string) --* 

        The device name.

        
      

      - **Ebs** *(dict) --* 

        Parameters used to automatically set up EBS volumes when the instance is launched.

        
        

        - **AttachTime** *(datetime) --* 

          The time stamp when the attachment initiated.

          
        

        - **DeleteOnTermination** *(boolean) --* 

          Indicates whether the volume is deleted on instance termination.

          
        

        - **Status** *(string) --* 

          The attachment state.

          
        

        - **VolumeId** *(string) --* 

          The ID of the EBS volume.

          
        

        - **AssociatedResource** *(string) --* 

          The ARN of the Amazon Web Services-managed resource to which the volume is attached.

          
        

        - **VolumeOwnerId** *(string) --* 

          The ID of the Amazon Web Services account that owns the volume.

           

          This parameter is returned only for volumes that are attached to Amazon Web Services-managed resources.

          
        

        - **Operator** *(dict) --* 

          The service provider that manages the EBS volume.

          
          

          - **Managed** *(boolean) --* 

            If ``true``, the resource is managed by a service provider.

            
          

          - **Principal** *(string) --* 

            If ``managed`` is ``true``, then the principal is returned. The principal is the service provider that manages the resource.

            
      
        

        - **EbsCardIndex** *(integer) --* 

          The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.

          
    
  
