![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.resourceexplorer2.kotlin.outputs.GetViewResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.resourceexplorer2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property filters An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a [Search](https://docs.aws.amazon.com/resource-explorer/latest/apireference/API_Search.html) operation, the filter string is combined with the search's `QueryString` parameter using a logical `AND` operator.
* For information about the supported syntax, see [Search query reference for Resource Explorer](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .
* > This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-operators) . It doesn't support free-form text. For example, the string `region:us* service:ec2 -tag:stage=prod` includes all Amazon EC2 resources in any AWS Region that begin with the letters `us` and are *not* tagged with a key `Stage` that has the value `prod` .
* @property includedProperties A list of fields that provide additional information about the view.
* @property tags Tag key and value pairs that are attached to the view.
* @property viewArn The ARN of the new view. For example:
* `arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222`
*/
public data class GetViewResult(
public val filters: ViewSearchFilter? = null,
public val includedProperties: List? = null,
public val tags: Map? = null,
public val viewArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.resourceexplorer2.outputs.GetViewResult): GetViewResult = GetViewResult(
filters = javaType.filters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.resourceexplorer2.kotlin.outputs.ViewSearchFilter.Companion.toKotlin(args0)
})
}).orElse(null),
includedProperties = javaType.includedProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.resourceexplorer2.kotlin.outputs.ViewIncludedProperty.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
viewArn = javaType.viewArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy