Class GetAmiIdsArgs


  • public final class GetAmiIdsArgs
    extends com.pulumi.resources.InvokeArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  GetAmiIdsArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Detail

      • executableUsers

        public java.util.Optional<com.pulumi.core.Output<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<com.pulumi.core.Output<java.util.List<GetAmiIdsFilterArgs>>> 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<com.pulumi.core.Output<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<com.pulumi.core.Output<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 com.pulumi.core.Output<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<com.pulumi.core.Output<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<com.pulumi.core.Output<java.lang.Boolean>> sortAscending()
        Returns:
        Used to sort AMIs by creation time. If no value is specified, the default value is `false`.