Skip to content
v2.278.0

AttributesItemsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_forecast as forecast } from 'aws-cdk-lib';
const attributesItemsProperty: forecast.CfnDataset.AttributesItemsProperty = {
  attributeName: 'attributeName',
  attributeType: 'attributeType',
};
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_forecast as forecast

attributes_items_property = forecast.CfnDataset.AttributesItemsProperty(
    attribute_name="attributeName",
    attribute_type="attributeType"
)
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.forecast.*;

AttributesItemsProperty attributesItemsProperty = AttributesItemsProperty.builder()
        .attributeName("attributeName")
        .attributeType("attributeType")
        .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.Forecast;

var attributesItemsProperty = new AttributesItemsProperty {
    AttributeName = "attributeName",
    AttributeType = "attributeType"
};
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"

attributesItemsProperty := &AttributesItemsProperty{
	AttributeName: jsii.String("attributeName"),
	AttributeType: jsii.String("attributeType"),
}

Properties ​

attributeNameoptionalstringattribute_nameoptionalstrattributeNameoptionalStringAttributeNameoptionalstringAttributeNameoptional*string #
Name of the dataset field.
attributeTypeoptionalstringattribute_typeoptionalstrattributeTypeoptionalStringAttributeTypeoptionalstringAttributeTypeoptional*string #
Data type of the field.