Interface KeyContextQuery
-
- All Superinterfaces:
ContextLookupRoleOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeyContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.707Z") @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.cloudassembly.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 Classes Modifier and Type Interface Description static classKeyContextQuery.BuilderA builder forKeyContextQuerystatic classKeyContextQuery.Jsii$ProxyAn implementation forKeyContextQuery
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static KeyContextQuery.Builderbuilder()StringgetAliasName()Alias name used to search the Key.-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegion
-
-
-
-
Method Detail
-
getAliasName
@Stability(Stable) @NotNull String getAliasName()
Alias name used to search the Key.
-
builder
@Stability(Stable) static KeyContextQuery.Builder builder()
- Returns:
- a
KeyContextQuery.BuilderofKeyContextQuery
-
-