Interface KeyContextQuery
- All Superinterfaces:
ContextLookupRoleOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeyContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.207Z")
@Stability(Stable)
public interface KeyContextQuery
extends software.amazon.jsii.JsiiSerializable, ContextLookupRoleOptions
Query input for looking up a KMS Key.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloud_assembly_schema.*;
Object assumeRoleAdditionalOptions;
KeyContextQuery keyContextQuery = KeyContextQuery.builder()
.account("account")
.aliasName("aliasName")
.region("region")
// the properties below are optional
.assumeRoleAdditionalOptions(Map.of(
"assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
.lookupRoleArn("lookupRoleArn")
.lookupRoleExternalId("lookupRoleExternalId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forKeyContextQuerystatic final classAn implementation forKeyContextQuery -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyContextQuery.Builderbuilder()Alias name used to search the Key.Methods inherited from interface software.amazon.awscdk.cloud_assembly_schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAliasName
Alias name used to search the Key. -
builder
- Returns:
- a
KeyContextQuery.BuilderofKeyContextQuery
-