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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLicenseAssetRuleSet.RuleStatementPropertystatic final classAn implementation forCfnLicenseAssetRuleSet.RuleStatementProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceRuleStatement
Instance rule statement.Returns union: either
IResolvableorCfnLicenseAssetRuleSet.InstanceRuleStatementProperty- See Also:
-
getLicenseConfigurationRuleStatement
License configuration rule statement.Returns union: either
IResolvableorCfnLicenseAssetRuleSet.LicenseConfigurationRuleStatementProperty- See Also:
-
getLicenseRuleStatement
License rule statement.Returns union: either
IResolvableorCfnLicenseAssetRuleSet.LicenseRuleStatementProperty- See Also:
-
builder
-