**Breaking changes:**
- Signature of method `if()` changed
**New features:**
- 445 new policy conditions, `if*()`. Example:
typescript
new statement.Ec2()
.allow()
.startInstances()
.ifEncrypted()
.ifInstanceType(['t3.micro', 't2.micro'])
.ifAssociatePublicIpAddress(false)
.ifRequestTag('Owner', 'John');
- Factory for condition operators
typescript
Operator.stringLike(
Modifier.IF_EXISTS,
Modifier.FOR_ANY_VALUES
);
It can be uses like this:
typescript
new statement.Ec2()
.allow()
.startInstances()
.ifInstanceType('*.micro', Operator.stringLike(Modifier.IF_EXISTS));
All changes: https://github.com/udondan/iam-floyd/compare/v0.8.0...v0.13.0