pub struct GetAmiIdsArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetAmiIdsArgsBuilder<S>
impl<S: State> GetAmiIdsArgsBuilder<S>
sourcepub fn build_struct(self) -> GetAmiIdsArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetAmiIdsArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn executable_users(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> GetAmiIdsArgsBuilder<SetExecutableUsers<S>>where
S::ExecutableUsers: IsUnset,
pub fn executable_users(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> GetAmiIdsArgsBuilder<SetExecutableUsers<S>>where
S::ExecutableUsers: IsUnset,
sourcepub fn maybe_executable_users(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> GetAmiIdsArgsBuilder<SetExecutableUsers<S>>where
S::ExecutableUsers: IsUnset,
pub fn maybe_executable_users(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> GetAmiIdsArgsBuilder<SetExecutableUsers<S>>where
S::ExecutableUsers: IsUnset,
sourcepub fn filters(
self,
value: impl Into<Output<Option<Vec<GetAmiIdsFilter>>>>,
) -> GetAmiIdsArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn filters(
self,
value: impl Into<Output<Option<Vec<GetAmiIdsFilter>>>>,
) -> GetAmiIdsArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::super::types::ec2::GetAmiIdsFilter>>,
> as Default>::default()
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].
sourcepub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<GetAmiIdsFilter>>>>>,
) -> GetAmiIdsArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<GetAmiIdsFilter>>>>>,
) -> GetAmiIdsArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::super::types::ec2::GetAmiIdsFilter>>,
> as Default>::default()
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].
sourcepub fn include_deprecated(
self,
value: impl Into<Output<Option<bool>>>,
) -> GetAmiIdsArgsBuilder<SetIncludeDeprecated<S>>where
S::IncludeDeprecated: IsUnset,
pub fn include_deprecated(
self,
value: impl Into<Output<Option<bool>>>,
) -> GetAmiIdsArgsBuilder<SetIncludeDeprecated<S>>where
S::IncludeDeprecated: IsUnset,
sourcepub fn maybe_include_deprecated(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> GetAmiIdsArgsBuilder<SetIncludeDeprecated<S>>where
S::IncludeDeprecated: IsUnset,
pub fn maybe_include_deprecated(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> GetAmiIdsArgsBuilder<SetIncludeDeprecated<S>>where
S::IncludeDeprecated: IsUnset,
sourcepub fn name_regex(
self,
value: impl Into<Output<Option<String>>>,
) -> GetAmiIdsArgsBuilder<SetNameRegex<S>>where
S::NameRegex: IsUnset,
pub fn name_regex(
self,
value: impl Into<Output<Option<String>>>,
) -> GetAmiIdsArgsBuilder<SetNameRegex<S>>where
S::NameRegex: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_name_regex(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetAmiIdsArgsBuilder<SetNameRegex<S>>where
S::NameRegex: IsUnset,
pub fn maybe_name_regex(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetAmiIdsArgsBuilder<SetNameRegex<S>>where
S::NameRegex: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn owners(
self,
value: impl Into<Output<Vec<String>>>,
) -> GetAmiIdsArgsBuilder<SetOwners<S>>where
S::Owners: IsUnset,
pub fn owners(
self,
value: impl Into<Output<Vec<String>>>,
) -> GetAmiIdsArgsBuilder<SetOwners<S>>where
S::Owners: IsUnset,
Required.
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
).