@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:04.594Z") @Stability(value=Experimental) 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();
IPrincipal 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()
(experimental) The value to resolve.
|
@Stability(value=Experimental) @NotNull Object getValue()
Can be any JavaScript object, including tokens and references in keys or values.
@Stability(value=Experimental) static CfnJsonProps.Builder builder()
CfnJsonProps.Builder of CfnJsonPropsCopyright © 2021. All rights reserved.