Class GetAmiIdsArgs
Inherited Members
Namespace: Pulumi.Aws
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GetAmiIdsArgs : InvokeArgs
Constructors
View SourceGetAmiIdsArgs()
Declaration
public GetAmiIdsArgs()
Properties
View SourceExecutableUsers
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> |
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<GetAmiIdsFilterArgs> Filters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GetAmiIdsFilterArgs> |
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 |
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> |
SortAscending
Used to sort AMIs by creation time.
Declaration
public bool? SortAscending { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |