Interface CfnLicenseAssetRuleSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicenseAssetRuleSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:13.253Z")
@Stability(Stable)
public interface CfnLicenseAssetRuleSetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLicenseAssetRuleSet.
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.*;
CfnLicenseAssetRuleSetProps cfnLicenseAssetRuleSetProps = CfnLicenseAssetRuleSetProps.builder()
.name("name")
.rules(List.of(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()))
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLicenseAssetRuleSetPropsstatic final classAn implementation forCfnLicenseAssetRuleSetProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
License asset ruleset name.- See Also:
-
getRules
License asset rules.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLicenseAssetRuleSet.LicenseAssetRuleProperty>- See Also:
-
getDescription
License asset ruleset description.- See Also:
-
getTags
Tags to add to the license asset ruleset.- See Also:
-
builder
-