@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.812Z") @Stability(value=Stable) public interface CfnJsonProps extends software.amazon.jsii.JsiiSerializable
// Example automatically generated from non-compiling source. May contain errors.
CfnParameter tagParam = new CfnParameter(this, "TagName");
CfnJson stringEquals = CfnJson.Builder.create(this, "ConditionJson")
.value(Map.of(
String.format("aws:PrincipalTag/%s", tagParam.getValueAsString()), true))
.build();
PrincipalBase principal = new AccountRootPrincipal().withConditions(Map.of(
"StringEquals", stringEquals));
Role.Builder.create(this, "MyRole").assumedBy(principal).build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJsonProps.Builder
A builder for
CfnJsonProps |
static class |
CfnJsonProps.Jsii$Proxy
An implementation for
CfnJsonProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnJsonProps.Builder |
builder() |
Object |
getValue()
The value to resolve.
|
@Stability(value=Stable) @NotNull Object getValue()
Can be any JavaScript object, including tokens and references in keys or values.
@Stability(value=Stable) static CfnJsonProps.Builder builder()
CfnJsonProps.Builder of CfnJsonPropsCopyright © 2022. All rights reserved.