Interface CfnLicenseAssetRuleSet.RuleStatementProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLicenseAssetRuleSet.RuleStatementProperty.Jsii$Proxy
Enclosing class:
CfnLicenseAssetRuleSet

@Stability(Stable) public static interface CfnLicenseAssetRuleSet.RuleStatementProperty extends software.amazon.jsii.JsiiSerializable
Rule statement.

Specify exactly one of InstanceRuleStatement, LicenseRuleStatement, or LicenseConfigurationRuleStatement.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.licensemanager.*;
 RuleStatementProperty ruleStatementProperty = RuleStatementProperty.builder()
         .instanceRuleStatement(InstanceRuleStatementProperty.builder()
                 .andRuleStatement(AndRuleStatementProperty.builder()
                         .matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
                                 .constraint("constraint")
                                 .keyToMatch("keyToMatch")
                                 .valueToMatch(List.of("valueToMatch"))
                                 .build()))
                         .build())
                 .matchingRuleStatement(MatchingRuleStatementProperty.builder()
                         .constraint("constraint")
                         .keyToMatch("keyToMatch")
                         .valueToMatch(List.of("valueToMatch"))
                         .build())
                 .orRuleStatement(OrRuleStatementProperty.builder()
                         .matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
                                 .constraint("constraint")
                                 .keyToMatch("keyToMatch")
                                 .valueToMatch(List.of("valueToMatch"))
                                 .build()))
                         .build())
                 .build())
         .licenseConfigurationRuleStatement(LicenseConfigurationRuleStatementProperty.builder()
                 .andRuleStatement(AndRuleStatementProperty.builder()
                         .matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
                                 .constraint("constraint")
                                 .keyToMatch("keyToMatch")
                                 .valueToMatch(List.of("valueToMatch"))
                                 .build()))
                         .build())
                 .matchingRuleStatement(MatchingRuleStatementProperty.builder()
                         .constraint("constraint")
                         .keyToMatch("keyToMatch")
                         .valueToMatch(List.of("valueToMatch"))
                         .build())
                 .orRuleStatement(OrRuleStatementProperty.builder()
                         .matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
                                 .constraint("constraint")
                                 .keyToMatch("keyToMatch")
                                 .valueToMatch(List.of("valueToMatch"))
                                 .build()))
                         .build())
                 .build())
         .licenseRuleStatement(LicenseRuleStatementProperty.builder()
                 .andRuleStatement(AndRuleStatementProperty.builder()
                         .matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
                                 .constraint("constraint")
                                 .keyToMatch("keyToMatch")
                                 .valueToMatch(List.of("valueToMatch"))
                                 .build()))
                         .build())
                 .matchingRuleStatement(MatchingRuleStatementProperty.builder()
                         .constraint("constraint")
                         .keyToMatch("keyToMatch")
                         .valueToMatch(List.of("valueToMatch"))
                         .build())
                 .orRuleStatement(OrRuleStatementProperty.builder()
                         .matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
                                 .constraint("constraint")
                                 .keyToMatch("keyToMatch")
                                 .valueToMatch(List.of("valueToMatch"))
                                 .build()))
                         .build())
                 .build())
         .build();
 

See Also: