Show / Hide Table of Contents

Class GetAmiArgs

Inheritance
System.Object
InputArgs
InvokeArgs
GetAmiArgs
Inherited Members
InvokeArgs.Empty
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 GetAmiArgs : InvokeArgs

Constructors

View Source

GetAmiArgs()

Declaration
public GetAmiArgs()

Properties

View Source

ExecutableUsers

Limit search to users with explicit launch permission on the image. Valid items are the numeric account ID or self.

Declaration
public List<string> ExecutableUsers { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
View Source

Filters

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out [describe-images in the AWS CLI reference][1].

Declaration
public List<GetAmiFilterArgs> Filters { get; set; }
Property Value
Type Description
System.Collections.Generic.List<GetAmiFilterArgs>
View Source

MostRecent

If more than one result is returned, use the most recent AMI.

Declaration
public bool? MostRecent { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
View Source

NameRegex

A regex string to apply to the AMI list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. It is recommended to combine this with other options to narrow down the list AWS returns.

Declaration
public string NameRegex { get; set; }
Property Value
Type Description
System.String
View Source

Owners

List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, self (the current account), or an AWS owner alias (e.g. amazon, aws-marketplace, microsoft).

Declaration
public List<string> Owners { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
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 Dictionary<string, object> Tags { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.