@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:33.605Z") @Stability(value=Experimental) 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()
(experimental) The alias name of the Key.
|
@Stability(value=Experimental) @NotNull String getAliasName()
@Stability(value=Experimental) static KeyLookupOptions.Builder builder()
KeyLookupOptions.Builder of KeyLookupOptionsCopyright © 2022. All rights reserved.