interface CfnLicenseAssetRuleSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.LicenseManager.CfnLicenseAssetRuleSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslicensemanager#CfnLicenseAssetRuleSetProps |
Java | software.amazon.awscdk.services.licensemanager.CfnLicenseAssetRuleSetProps |
Python | aws_cdk.aws_licensemanager.CfnLicenseAssetRuleSetProps |
TypeScript | aws-cdk-lib » aws_licensemanager » CfnLicenseAssetRuleSetProps |
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 { aws_licensemanager as licensemanager } from 'aws-cdk-lib';
const cfnLicenseAssetRuleSetProps: licensemanager.CfnLicenseAssetRuleSetProps = {
name: 'name',
rules: [{
ruleStatement: {
instanceRuleStatement: {
andRuleStatement: {
matchingRuleStatements: [{
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
}],
},
matchingRuleStatement: {
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
},
orRuleStatement: {
matchingRuleStatements: [{
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
}],
},
},
licenseConfigurationRuleStatement: {
andRuleStatement: {
matchingRuleStatements: [{
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
}],
},
matchingRuleStatement: {
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
},
orRuleStatement: {
matchingRuleStatements: [{
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
}],
},
},
licenseRuleStatement: {
andRuleStatement: {
matchingRuleStatements: [{
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
}],
},
matchingRuleStatement: {
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
},
orRuleStatement: {
matchingRuleStatements: [{
constraint: 'constraint',
keyToMatch: 'keyToMatch',
valueToMatch: ['valueToMatch'],
}],
},
},
},
}],
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | License asset ruleset name. |
| rules | IResolvable | (IResolvable | License)[] | License asset rules. |
| description? | string | License asset ruleset description. |
| tags? | Cfn[] | Tags to add to the license asset ruleset. |
name
Type:
string
License asset ruleset name.
rules
Type:
IResolvable | (IResolvable | License)[]
License asset rules.
description?
Type:
string
(optional)
License asset ruleset description.
tags?
Type:
Cfn[]
(optional)
Tags to add to the license asset ruleset.

.NET
Go
Java
Python
TypeScript