@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.343Z") @Stability(value=Stable) public interface KeyLookupOptions extends software.amazon.jsii.JsiiSerializable
Example:
IKey myKeyLookup = Key.fromLookup(this, "MyKeyLookup", KeyLookupOptions.builder()
.aliasName("alias/KeyAlias")
.build());
Role role = Role.Builder.create(this, "MyRole")
.assumedBy(new ServicePrincipal("lambda.amazonaws.com"))
.build();
myKeyLookup.grantEncryptDecrypt(role);
| Modifier and Type | Interface and Description |
|---|---|
static class |
KeyLookupOptions.Builder
A builder for
KeyLookupOptions |
static class |
KeyLookupOptions.Jsii$Proxy
An implementation for
KeyLookupOptions |
| Modifier and Type | Method and Description |
|---|---|
static KeyLookupOptions.Builder |
builder() |
String |
getAliasName()
The alias name of the Key.
|
@Stability(value=Stable) @NotNull String getAliasName()
@Stability(value=Stable) static KeyLookupOptions.Builder builder()
KeyLookupOptions.Builder of KeyLookupOptionsCopyright © 2022. All rights reserved.