DocumentAttributeValueProperty Struct
The value of a document attribute.
You can only provide one value for a document attribute.
| 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_qbusiness as qbusiness } from 'aws-cdk-lib';
const documentAttributeValueProperty: qbusiness.CfnDataAccessor.DocumentAttributeValueProperty = {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
};
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_qbusiness as qbusiness
document_attribute_value_property = qbusiness.CfnDataAccessor.DocumentAttributeValueProperty(
date_value="dateValue",
long_value=123,
string_list_value=["stringListValue"],
string_value="stringValue"
)
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.qbusiness.*;
DocumentAttributeValueProperty documentAttributeValueProperty = DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.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.QBusiness;
var documentAttributeValueProperty = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
};
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"
documentAttributeValueProperty := &DocumentAttributeValueProperty{
DateValue: jsii.String("dateValue"),
LongValue: jsii.Number(123),
StringListValue: []*string{
jsii.String("stringListValue"),
},
StringValue: jsii.String("stringValue"),
}
Properties
dateValueoptionalstringdate_valueoptionalstrdateValueoptionalStringDateValueoptionalstringDateValueoptional*string #A date expressed as an ISO 8601 string.
It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
longValueoptionalnumberlong_valueoptionalint | floatlongValueoptionalNumberLongValueoptionaldoubleLongValueoptional*float64 #A long integer value.
stringListValueoptionalstring[]string_list_valueoptionaltyping.List[str]stringListValueoptionalList<String>StringListValueoptionalstring[]StringListValueoptional*[]*string #A list of strings.
stringValueoptionalstringstring_valueoptionalstrstringValueoptionalStringStringValueoptionalstringStringValueoptional*string #A string.