Show / Hide Table of Contents

Class GetAmiResult

Inheritance
System.Object
GetAmiResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GetAmiResult

Fields

View Source

Architecture

The OS architecture of the AMI (ie: i386 or x86_64).

Declaration
public readonly string Architecture
Field Value
Type Description
System.String
View Source

BlockDeviceMappings

The block device mappings of the AMI.

  • block_device_mappings.#.device_name - The physical name of the device.
  • block_device_mappings.#.ebs.delete_on_termination - true if the EBS volume will be deleted on termination.
  • block_device_mappings.#.ebs.encrypted - true if the EBS volume is encrypted.
  • block_device_mappings.#.ebs.iops - 0 if the EBS volume is not a provisioned IOPS image, otherwise the supported IOPS count.
  • block_device_mappings.#.ebs.snapshot_id - The ID of the snapshot.
  • block_device_mappings.#.ebs.volume_size - The size of the volume, in GiB.
  • block_device_mappings.#.ebs.volume_type - The volume type.
  • block_device_mappings.#.no_device - Suppresses the specified device included in the block device mapping of the AMI.
  • block_device_mappings.#.virtual_name - The virtual device name (for instance stores).
Declaration
public readonly ImmutableArray<GetAmiBlockDeviceMappingResult> BlockDeviceMappings
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<GetAmiBlockDeviceMappingResult>
View Source

CreationDate

The date and time the image was created.

Declaration
public readonly string CreationDate
Field Value
Type Description
System.String
View Source

Description

The description of the AMI that was provided during image creation.

Declaration
public readonly string Description
Field Value
Type Description
System.String
View Source

ExecutableUsers

Declaration
public readonly ImmutableArray<string> ExecutableUsers
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Filters

Declaration
public readonly ImmutableArray<GetAmiFilterResult> Filters
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<GetAmiFilterResult>
View Source

Hypervisor

The hypervisor type of the image.

Declaration
public readonly string Hypervisor
Field Value
Type Description
System.String
View Source

Id

The provider-assigned unique ID for this managed resource.

Declaration
public readonly string Id
Field Value
Type Description
System.String
View Source

ImageId

The ID of the AMI. Should be the same as the resource id.

Declaration
public readonly string ImageId
Field Value
Type Description
System.String
View Source

ImageLocation

The location of the AMI.

Declaration
public readonly string ImageLocation
Field Value
Type Description
System.String
View Source

ImageOwnerAlias

The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.

Declaration
public readonly string ImageOwnerAlias
Field Value
Type Description
System.String
View Source

ImageType

The type of image.

Declaration
public readonly string ImageType
Field Value
Type Description
System.String
View Source

KernelId

The kernel associated with the image, if any. Only applicable for machine images.

Declaration
public readonly string KernelId
Field Value
Type Description
System.String
View Source

MostRecent

Declaration
public readonly bool? MostRecent
Field Value
Type Description
System.Nullable<System.Boolean>
View Source

Name

The name of the AMI that was provided during image creation.

Declaration
public readonly string Name
Field Value
Type Description
System.String
View Source

NameRegex

Declaration
public readonly string NameRegex
Field Value
Type Description
System.String
View Source

OwnerId

The AWS account ID of the image owner.

Declaration
public readonly string OwnerId
Field Value
Type Description
System.String
View Source

Owners

Declaration
public readonly ImmutableArray<string> Owners
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Platform

The value is Windows for Windows AMIs; otherwise blank.

Declaration
public readonly string Platform
Field Value
Type Description
System.String
View Source

ProductCodes

Any product codes associated with the AMI.

  • product_codes.#.product_code_id - The product code.
  • product_codes.#.product_code_type - The type of product code.
Declaration
public readonly ImmutableArray<GetAmiProductCodeResult> ProductCodes
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<GetAmiProductCodeResult>
View Source

Public

true if the image has public launch permissions.

Declaration
public readonly bool Public
Field Value
Type Description
System.Boolean
View Source

RamdiskId

The RAM disk associated with the image, if any. Only applicable for machine images.

Declaration
public readonly string RamdiskId
Field Value
Type Description
System.String
View Source

RootDeviceName

The device name of the root device.

Declaration
public readonly string RootDeviceName
Field Value
Type Description
System.String
View Source

RootDeviceType

The type of root device (ie: ebs or instance-store).

Declaration
public readonly string RootDeviceType
Field Value
Type Description
System.String
View Source

RootSnapshotId

The snapshot id associated with the root device, if any (only applies to ebs root devices).

Declaration
public readonly string RootSnapshotId
Field Value
Type Description
System.String
View Source

SriovNetSupport

Specifies whether enhanced networking is enabled.

Declaration
public readonly string SriovNetSupport
Field Value
Type Description
System.String
View Source

State

The current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.

Declaration
public readonly string State
Field Value
Type Description
System.String
View Source

StateReason

Describes a state change. Fields are UNSET if not available.

  • state_reason.code - The reason code for the state change.
  • state_reason.message - The message for the state change.
Declaration
public readonly ImmutableDictionary<string, object> StateReason
Field Value
Type Description
System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>
View Source

Tags

Any tags assigned to the image.

  • tags.#.key - The key name of the tag.
  • tags.#.value - The value of the tag.
Declaration
public readonly ImmutableDictionary<string, object> Tags
Field Value
Type Description
System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>
View Source

VirtualizationType

The type of virtualization of the AMI (ie: hvm or paravirtual).

Declaration
public readonly string VirtualizationType
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.