Interface CfnLicenseAssetRuleSet.LicenseAssetRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicenseAssetRuleSet.LicenseAssetRuleProperty.Jsii$Proxy
- Enclosing class:
CfnLicenseAssetRuleSet
@Stability(Stable)
public static interface CfnLicenseAssetRuleSet.LicenseAssetRuleProperty
extends software.amazon.jsii.JsiiSerializable
License asset rule.
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.*;
LicenseAssetRuleProperty licenseAssetRuleProperty = LicenseAssetRuleProperty.builder()
.ruleStatement(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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLicenseAssetRuleSet.LicenseAssetRulePropertystatic final classAn implementation forCfnLicenseAssetRuleSet.LicenseAssetRuleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRuleStatement
Rule statement.Specify exactly one of InstanceRuleStatement, LicenseRuleStatement, or LicenseConfigurationRuleStatement.
Returns union: either
IResolvableorCfnLicenseAssetRuleSet.RuleStatementProperty- See Also:
-
builder
-