Skip to content
v2.278.0

AttributeDimensionProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const attributeDimensionProperty: pinpoint.CfnCampaign.AttributeDimensionProperty = {
  attributeType: 'attributeType',
  values: ['values'],
};
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_pinpoint as pinpoint

attribute_dimension_property = pinpoint.CfnCampaign.AttributeDimensionProperty(
    attribute_type="attributeType",
    values=["values"]
)
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.pinpoint.*;

AttributeDimensionProperty attributeDimensionProperty = AttributeDimensionProperty.builder()
        .attributeType("attributeType")
        .values(List.of("values"))
        .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.Pinpoint;

var attributeDimensionProperty = new AttributeDimensionProperty {
    AttributeType = "attributeType",
    Values = new [] { "values" }
};
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"

attributeDimensionProperty := &AttributeDimensionProperty{
	AttributeType: jsii.String("attributeType"),
	Values: []*string{
		jsii.String("values"),
	},
}

Properties ​

attributeTypeoptionalstringattribute_typeoptionalstrattributeTypeoptionalStringAttributeTypeoptionalstringAttributeTypeoptional*string #
valuesoptionalstring[]valuesoptionaltyping.List[str]valuesoptionalList<String>Valuesoptionalstring[]Valuesoptional*[]*string #