Package software.amazon.awscdk
Interface CfnJsonProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJsonProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:55.679Z")
@Stability(Stable)
public interface CfnJsonProps
extends software.amazon.jsii.JsiiSerializable
Example:
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJsonProps
static final class
An implementation forCfnJsonProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnJsonProps.Builder
builder()
getValue()
The value to resolve.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getValue
The value to resolve.Can be any JavaScript object, including tokens and references in keys or values.
-
builder
- Returns:
- a
CfnJsonProps.Builder
ofCfnJsonProps
-