@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:19:52.935Z")
public interface CfnJsonProps
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() |
java.lang.Object |
getValue()
The value to resolve.
|
java.lang.Object getValue()
Can be any JavaScript object, including tokens and references in keys or values.
static CfnJsonProps.Builder builder()
CfnJsonProps.Builder
of CfnJsonProps