Class GetAmiIdsPlainArgs


  • public final class GetAmiIdsPlainArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • executableUsers

        public java.util.Optional<java.util.List<java.lang.String>> executableUsers()
        Returns:
        Limit search to users with *explicit* launch permission on the image. Valid items are the numeric account ID or `self`.
      • filters

        public java.util.Optional<java.util.List<GetAmiIdsFilter>> filters()
        Returns:
        One or more name/value pairs to filter off of. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). See `filter` Block below.
      • includeDeprecated

        public java.util.Optional<java.lang.Boolean> includeDeprecated()
        Returns:
        If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is `false`.
      • nameRegex

        public java.util.Optional<java.lang.String> nameRegex()
        Returns:
        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. Combine this with other options to narrow down the list AWS returns.
      • owners

        public java.util.List<java.lang.String> owners()
        Returns:
        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`).
      • region

        public java.util.Optional<java.lang.String> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • sortAscending

        public java.util.Optional<java.lang.Boolean> sortAscending()
        Returns:
        Used to sort AMIs by creation time. If no value is specified, the default value is `false`.