Class CfnLicenseAssetRuleSetPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.licensemanager.CfnLicenseAssetRuleSetPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:29.469Z")
@Stability(Stable)
public class CfnLicenseAssetRuleSetPropsMixin
extends Mixin
implements software.constructs.IMixin
Resource schema for AWS::LicenseManager::LicenseAssetRuleSet.
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.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnLicenseAssetRuleSetPropsMixin cfnLicenseAssetRuleSetPropsMixin = CfnLicenseAssetRuleSetPropsMixin.Builder.create(CfnLicenseAssetRuleSetMixinProps.builder()
.description("description")
.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()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAND rule statement.static final classA fluent builder forCfnLicenseAssetRuleSetPropsMixin.static interfaceInstance rule statement.static interfaceLicense asset rule.static interfaceLicense configuration rule statement.static interfaceLicense rule statement.static interfaceMatching rule statement.static interfaceOR rule statement.static interfaceRule statement.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::LicenseManager::LicenseAssetRuleSet.CfnLicenseAssetRuleSetPropsMixin(CfnLicenseAssetRuleSetMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::LicenseManager::LicenseAssetRuleSet.protectedCfnLicenseAssetRuleSetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLicenseAssetRuleSetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnLicenseAssetRuleSetMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnLicenseAssetRuleSetPropsMixin
protected CfnLicenseAssetRuleSetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLicenseAssetRuleSetPropsMixin
protected CfnLicenseAssetRuleSetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLicenseAssetRuleSetPropsMixin
@Stability(Stable) public CfnLicenseAssetRuleSetPropsMixin(@NotNull CfnLicenseAssetRuleSetMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::LicenseManager::LicenseAssetRuleSet.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnLicenseAssetRuleSetPropsMixin
@Stability(Stable) public CfnLicenseAssetRuleSetPropsMixin(@NotNull CfnLicenseAssetRuleSetMixinProps props) Create a mixin to apply properties toAWS::LicenseManager::LicenseAssetRuleSet.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-