Interface CfnLicenseAssetRuleSetPropsMixin.LicenseAssetRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicenseAssetRuleSetPropsMixin.LicenseAssetRuleProperty.Jsii$Proxy
- Enclosing class:
CfnLicenseAssetRuleSetPropsMixin
@Stability(Stable)
public static interface CfnLicenseAssetRuleSetPropsMixin.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.cfnpropertymixins.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 classstatic final classAn implementation forCfnLicenseAssetRuleSetPropsMixin.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
IResolvableorCfnLicenseAssetRuleSetPropsMixin.RuleStatementProperty- See Also:
-
builder
@Stability(Stable) static CfnLicenseAssetRuleSetPropsMixin.LicenseAssetRuleProperty.Builder builder()
-