AttributeDetailsProperty
Struct External
Mathematical expression and a list of attribute items specified in that expression.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const attributeDetailsProperty: customerprofiles.CfnCalculatedAttributeDefinition.AttributeDetailsProperty = {
attributes: [{
name: 'name',
}],
expression: 'expression',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_customerprofiles as customerprofiles
attribute_details_property = customerprofiles.CfnCalculatedAttributeDefinition.AttributeDetailsProperty(
attributes=[customerprofiles.CfnCalculatedAttributeDefinition.AttributeItemProperty(
name="name"
)],
expression="expression"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.customerprofiles.*;
AttributeDetailsProperty attributeDetailsProperty = AttributeDetailsProperty.builder()
.attributes(List.of(AttributeItemProperty.builder()
.name("name")
.build()))
.expression("expression")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CustomerProfiles;
var attributeDetailsProperty = new AttributeDetailsProperty {
Attributes = new [] { new AttributeItemProperty {
Name = "name"
} },
Expression = "expression"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
attributeDetailsProperty := &AttributeDetailsProperty{
Attributes: []interface{}{
&AttributeItemProperty{
Name: jsii.String("name"),
},
},
Expression: jsii.String("expression"),
}
Properties
attributesIResolvable | IResolvable | CfnCalculatedAttributeDefinition.attributestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AttributeItemProperty]]]attributesIResolvableAttributesIResolvableAttributesinterface{} required #Mathematical expression and a list of attribute items specified in that expression.
Mathematical expression that is performed on attribute items provided in the attribute list.
Each element in the expression should follow the structure of "{ObjectTypeName.AttributeName}".