Documentation ¶
Index ¶
- func Schema() *schema.Schema
- func ServiceFilterPackage(serviceName string) string
- func ServiceFilterType(serviceName string) string
- func ServiceFilterTypeNameField(serviceName string) string
- func ServiceFilterTypeValuesField(serviceName string) string
- type NameValuesFilters
- func (filters NameValuesFilters) Add(i interface{}) NameValuesFilters
- func (filters NameValuesFilters) AutoScalingFilters() []*autoscaling.Filter
- func (filters NameValuesFilters) DatabasemigrationserviceFilters() []*databasemigrationservice.Filter
- func (filters NameValuesFilters) DocDBFilters() []*docdb.Filter
- func (filters NameValuesFilters) EC2Filters() []*ec2.Filter
- func (filters NameValuesFilters) ElasticinferenceFilters() []*elasticinference.Filter
- func (filters NameValuesFilters) ElasticsearchserviceFilters() []*elasticsearchservice.Filter
- func (filters NameValuesFilters) FSxFilters() []*fsx.Filter
- func (filters NameValuesFilters) ImagebuilderFilters() []*imagebuilder.Filter
- func (filters NameValuesFilters) LicensemanagerFilters() []*licensemanager.Filter
- func (filters NameValuesFilters) Map() map[string][]string
- func (filters NameValuesFilters) NeptuneFilters() []*neptune.Filter
- func (filters NameValuesFilters) RDSFilters() []*rds.Filter
- func (filters NameValuesFilters) ResourcegroupstaggingapiFilters() []*resourcegroupstaggingapi.TagFilter
- func (filters NameValuesFilters) Route53resolverFilters() []*route53resolver.Filter
- func (filters NameValuesFilters) SecretsmanagerFilters() []*secretsmanager.Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Schema ¶
Schema returns a *schema.Schema that represents a set of custom filtering criteria that a user can specify as input to a data source. It is conventional for an attribute of this type to be included as a top-level attribute called "filter".
func ServiceFilterPackage ¶
ServiceFilterPackage determines the service filter type package.
func ServiceFilterType ¶
ServiceFilterType determines the service filter type.
func ServiceFilterTypeNameField ¶
ServiceFilterTypeNameField determines the service filter type name field.
func ServiceFilterTypeValuesField ¶
ServiceFilterTypeValuesField determines the service filter type values field.
Types ¶
type NameValuesFilters ¶
NameValuesFilters is a standard implementation for AWS resource filters. The AWS Go SDK is split into multiple service packages, each service with its own Go struct type representing a resource filter. To standardize logic across all these Go types, we convert them into this Go type.
func EC2Tags ¶
func EC2Tags(tags map[string]string) NameValuesFilters
EC2Tags creates NameValuesFilters from a map of keyvalue tags.
func New ¶
func New(i interface{}) NameValuesFilters
New creates NameValuesFilters from common Terraform Provider SDK types. Supports map[string]string, map[string][]string, *schema.Set.
func (NameValuesFilters) Add ¶
func (filters NameValuesFilters) Add(i interface{}) NameValuesFilters
Add adds missing and updates existing filters from common Terraform Provider SDK types. Supports map[string]string, map[string][]string, *schema.Set.
func (NameValuesFilters) AutoScalingFilters ¶
func (filters NameValuesFilters) AutoScalingFilters() []*autoscaling.Filter
AutoScalingFilters returns autoscaling service filters.
func (NameValuesFilters) DatabasemigrationserviceFilters ¶
func (filters NameValuesFilters) DatabasemigrationserviceFilters() []*databasemigrationservice.Filter
DatabasemigrationserviceFilters returns databasemigrationservice service filters.
func (NameValuesFilters) DocDBFilters ¶
func (filters NameValuesFilters) DocDBFilters() []*docdb.Filter
DocDBFilters returns docdb service filters.
func (NameValuesFilters) EC2Filters ¶
func (filters NameValuesFilters) EC2Filters() []*ec2.Filter
EC2Filters returns ec2 service filters.
func (NameValuesFilters) ElasticinferenceFilters ¶
func (filters NameValuesFilters) ElasticinferenceFilters() []*elasticinference.Filter
ElasticinferenceFilters returns elasticinference service filters.
func (NameValuesFilters) ElasticsearchserviceFilters ¶
func (filters NameValuesFilters) ElasticsearchserviceFilters() []*elasticsearchservice.Filter
ElasticsearchserviceFilters returns elasticsearchservice service filters.
func (NameValuesFilters) FSxFilters ¶
func (filters NameValuesFilters) FSxFilters() []*fsx.Filter
FSxFilters returns fsx service filters.
func (NameValuesFilters) ImagebuilderFilters ¶
func (filters NameValuesFilters) ImagebuilderFilters() []*imagebuilder.Filter
ImagebuilderFilters returns imagebuilder service filters.
func (NameValuesFilters) LicensemanagerFilters ¶
func (filters NameValuesFilters) LicensemanagerFilters() []*licensemanager.Filter
LicensemanagerFilters returns licensemanager service filters.
func (NameValuesFilters) Map ¶
func (filters NameValuesFilters) Map() map[string][]string
Map returns filter names mapped to their values. Duplicate values are eliminated and empty values removed.
func (NameValuesFilters) NeptuneFilters ¶
func (filters NameValuesFilters) NeptuneFilters() []*neptune.Filter
NeptuneFilters returns neptune service filters.
func (NameValuesFilters) RDSFilters ¶
func (filters NameValuesFilters) RDSFilters() []*rds.Filter
RDSFilters returns rds service filters.
func (NameValuesFilters) ResourcegroupstaggingapiFilters ¶
func (filters NameValuesFilters) ResourcegroupstaggingapiFilters() []*resourcegroupstaggingapi.TagFilter
ResourcegroupstaggingapiFilters returns resourcegroupstaggingapi service filters.
func (NameValuesFilters) Route53resolverFilters ¶
func (filters NameValuesFilters) Route53resolverFilters() []*route53resolver.Filter
Route53resolverFilters returns route53resolver service filters.
func (NameValuesFilters) SecretsmanagerFilters ¶
func (filters NameValuesFilters) SecretsmanagerFilters() []*secretsmanager.Filter
SecretsmanagerFilters returns secretsmanager service filters.