aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
|
@@ -5988,6 +5988,2949 @@ class CfnObjectTypeProps:
|
|
|
5988
5988
|
)
|
|
5989
5989
|
|
|
5990
5990
|
|
|
5991
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
5992
|
+
class CfnSegmentDefinition(
|
|
5993
|
+
_CfnResource_9df397a6,
|
|
5994
|
+
metaclass=jsii.JSIIMeta,
|
|
5995
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition",
|
|
5996
|
+
):
|
|
5997
|
+
'''A segment definition resource of Amazon Connect Customer Profiles.
|
|
5998
|
+
|
|
5999
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html
|
|
6000
|
+
:cloudformationResource: AWS::CustomerProfiles::SegmentDefinition
|
|
6001
|
+
:exampleMetadata: fixture=_generated
|
|
6002
|
+
|
|
6003
|
+
Example::
|
|
6004
|
+
|
|
6005
|
+
# The code below shows an example of how to instantiate this type.
|
|
6006
|
+
# The values are placeholders you should change.
|
|
6007
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
6008
|
+
|
|
6009
|
+
cfn_segment_definition = customerprofiles.CfnSegmentDefinition(self, "MyCfnSegmentDefinition",
|
|
6010
|
+
display_name="displayName",
|
|
6011
|
+
domain_name="domainName",
|
|
6012
|
+
segment_definition_name="segmentDefinitionName",
|
|
6013
|
+
segment_groups=customerprofiles.CfnSegmentDefinition.SegmentGroupProperty(
|
|
6014
|
+
groups=[customerprofiles.CfnSegmentDefinition.GroupProperty(
|
|
6015
|
+
dimensions=[customerprofiles.CfnSegmentDefinition.DimensionProperty(
|
|
6016
|
+
calculated_attributes={
|
|
6017
|
+
"calculated_attributes_key": customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty(
|
|
6018
|
+
dimension_type="dimensionType",
|
|
6019
|
+
values=["values"],
|
|
6020
|
+
|
|
6021
|
+
# the properties below are optional
|
|
6022
|
+
condition_overrides=customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty(
|
|
6023
|
+
range=customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
6024
|
+
start=123,
|
|
6025
|
+
unit="unit",
|
|
6026
|
+
|
|
6027
|
+
# the properties below are optional
|
|
6028
|
+
end=123
|
|
6029
|
+
)
|
|
6030
|
+
)
|
|
6031
|
+
)
|
|
6032
|
+
},
|
|
6033
|
+
profile_attributes=customerprofiles.CfnSegmentDefinition.ProfileAttributesProperty(
|
|
6034
|
+
account_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6035
|
+
dimension_type="dimensionType",
|
|
6036
|
+
values=["values"]
|
|
6037
|
+
),
|
|
6038
|
+
additional_information=customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty(
|
|
6039
|
+
dimension_type="dimensionType",
|
|
6040
|
+
values=["values"]
|
|
6041
|
+
),
|
|
6042
|
+
address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
6043
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6044
|
+
dimension_type="dimensionType",
|
|
6045
|
+
values=["values"]
|
|
6046
|
+
),
|
|
6047
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6048
|
+
dimension_type="dimensionType",
|
|
6049
|
+
values=["values"]
|
|
6050
|
+
),
|
|
6051
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6052
|
+
dimension_type="dimensionType",
|
|
6053
|
+
values=["values"]
|
|
6054
|
+
),
|
|
6055
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6056
|
+
dimension_type="dimensionType",
|
|
6057
|
+
values=["values"]
|
|
6058
|
+
),
|
|
6059
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6060
|
+
dimension_type="dimensionType",
|
|
6061
|
+
values=["values"]
|
|
6062
|
+
),
|
|
6063
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6064
|
+
dimension_type="dimensionType",
|
|
6065
|
+
values=["values"]
|
|
6066
|
+
)
|
|
6067
|
+
),
|
|
6068
|
+
attributes={
|
|
6069
|
+
"attributes_key": customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty(
|
|
6070
|
+
dimension_type="dimensionType",
|
|
6071
|
+
values=["values"]
|
|
6072
|
+
)
|
|
6073
|
+
},
|
|
6074
|
+
billing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
6075
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6076
|
+
dimension_type="dimensionType",
|
|
6077
|
+
values=["values"]
|
|
6078
|
+
),
|
|
6079
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6080
|
+
dimension_type="dimensionType",
|
|
6081
|
+
values=["values"]
|
|
6082
|
+
),
|
|
6083
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6084
|
+
dimension_type="dimensionType",
|
|
6085
|
+
values=["values"]
|
|
6086
|
+
),
|
|
6087
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6088
|
+
dimension_type="dimensionType",
|
|
6089
|
+
values=["values"]
|
|
6090
|
+
),
|
|
6091
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6092
|
+
dimension_type="dimensionType",
|
|
6093
|
+
values=["values"]
|
|
6094
|
+
),
|
|
6095
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6096
|
+
dimension_type="dimensionType",
|
|
6097
|
+
values=["values"]
|
|
6098
|
+
)
|
|
6099
|
+
),
|
|
6100
|
+
birth_date=customerprofiles.CfnSegmentDefinition.DateDimensionProperty(
|
|
6101
|
+
dimension_type="dimensionType",
|
|
6102
|
+
values=["values"]
|
|
6103
|
+
),
|
|
6104
|
+
business_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6105
|
+
dimension_type="dimensionType",
|
|
6106
|
+
values=["values"]
|
|
6107
|
+
),
|
|
6108
|
+
business_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6109
|
+
dimension_type="dimensionType",
|
|
6110
|
+
values=["values"]
|
|
6111
|
+
),
|
|
6112
|
+
business_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6113
|
+
dimension_type="dimensionType",
|
|
6114
|
+
values=["values"]
|
|
6115
|
+
),
|
|
6116
|
+
email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6117
|
+
dimension_type="dimensionType",
|
|
6118
|
+
values=["values"]
|
|
6119
|
+
),
|
|
6120
|
+
first_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6121
|
+
dimension_type="dimensionType",
|
|
6122
|
+
values=["values"]
|
|
6123
|
+
),
|
|
6124
|
+
gender_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6125
|
+
dimension_type="dimensionType",
|
|
6126
|
+
values=["values"]
|
|
6127
|
+
),
|
|
6128
|
+
home_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6129
|
+
dimension_type="dimensionType",
|
|
6130
|
+
values=["values"]
|
|
6131
|
+
),
|
|
6132
|
+
last_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6133
|
+
dimension_type="dimensionType",
|
|
6134
|
+
values=["values"]
|
|
6135
|
+
),
|
|
6136
|
+
mailing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
6137
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6138
|
+
dimension_type="dimensionType",
|
|
6139
|
+
values=["values"]
|
|
6140
|
+
),
|
|
6141
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6142
|
+
dimension_type="dimensionType",
|
|
6143
|
+
values=["values"]
|
|
6144
|
+
),
|
|
6145
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6146
|
+
dimension_type="dimensionType",
|
|
6147
|
+
values=["values"]
|
|
6148
|
+
),
|
|
6149
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6150
|
+
dimension_type="dimensionType",
|
|
6151
|
+
values=["values"]
|
|
6152
|
+
),
|
|
6153
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6154
|
+
dimension_type="dimensionType",
|
|
6155
|
+
values=["values"]
|
|
6156
|
+
),
|
|
6157
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6158
|
+
dimension_type="dimensionType",
|
|
6159
|
+
values=["values"]
|
|
6160
|
+
)
|
|
6161
|
+
),
|
|
6162
|
+
middle_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6163
|
+
dimension_type="dimensionType",
|
|
6164
|
+
values=["values"]
|
|
6165
|
+
),
|
|
6166
|
+
mobile_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6167
|
+
dimension_type="dimensionType",
|
|
6168
|
+
values=["values"]
|
|
6169
|
+
),
|
|
6170
|
+
party_type_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6171
|
+
dimension_type="dimensionType",
|
|
6172
|
+
values=["values"]
|
|
6173
|
+
),
|
|
6174
|
+
personal_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6175
|
+
dimension_type="dimensionType",
|
|
6176
|
+
values=["values"]
|
|
6177
|
+
),
|
|
6178
|
+
phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6179
|
+
dimension_type="dimensionType",
|
|
6180
|
+
values=["values"]
|
|
6181
|
+
),
|
|
6182
|
+
shipping_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
6183
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6184
|
+
dimension_type="dimensionType",
|
|
6185
|
+
values=["values"]
|
|
6186
|
+
),
|
|
6187
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6188
|
+
dimension_type="dimensionType",
|
|
6189
|
+
values=["values"]
|
|
6190
|
+
),
|
|
6191
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6192
|
+
dimension_type="dimensionType",
|
|
6193
|
+
values=["values"]
|
|
6194
|
+
),
|
|
6195
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6196
|
+
dimension_type="dimensionType",
|
|
6197
|
+
values=["values"]
|
|
6198
|
+
),
|
|
6199
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6200
|
+
dimension_type="dimensionType",
|
|
6201
|
+
values=["values"]
|
|
6202
|
+
),
|
|
6203
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6204
|
+
dimension_type="dimensionType",
|
|
6205
|
+
values=["values"]
|
|
6206
|
+
)
|
|
6207
|
+
)
|
|
6208
|
+
)
|
|
6209
|
+
)],
|
|
6210
|
+
source_segments=[customerprofiles.CfnSegmentDefinition.SourceSegmentProperty(
|
|
6211
|
+
segment_definition_name="segmentDefinitionName"
|
|
6212
|
+
)],
|
|
6213
|
+
source_type="sourceType",
|
|
6214
|
+
type="type"
|
|
6215
|
+
)],
|
|
6216
|
+
include="include"
|
|
6217
|
+
),
|
|
6218
|
+
|
|
6219
|
+
# the properties below are optional
|
|
6220
|
+
description="description",
|
|
6221
|
+
tags=[CfnTag(
|
|
6222
|
+
key="key",
|
|
6223
|
+
value="value"
|
|
6224
|
+
)]
|
|
6225
|
+
)
|
|
6226
|
+
'''
|
|
6227
|
+
|
|
6228
|
+
def __init__(
|
|
6229
|
+
self,
|
|
6230
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6231
|
+
id: builtins.str,
|
|
6232
|
+
*,
|
|
6233
|
+
display_name: builtins.str,
|
|
6234
|
+
domain_name: builtins.str,
|
|
6235
|
+
segment_definition_name: builtins.str,
|
|
6236
|
+
segment_groups: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.SegmentGroupProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
6237
|
+
description: typing.Optional[builtins.str] = None,
|
|
6238
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6239
|
+
) -> None:
|
|
6240
|
+
'''
|
|
6241
|
+
:param scope: Scope in which this resource is defined.
|
|
6242
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
6243
|
+
:param display_name: Display name of the segment definition.
|
|
6244
|
+
:param domain_name: The name of the domain.
|
|
6245
|
+
:param segment_definition_name: Name of the segment definition.
|
|
6246
|
+
:param segment_groups: Contains all groups of the segment definition.
|
|
6247
|
+
:param description: The description of the segment definition.
|
|
6248
|
+
:param tags: The tags belonging to the segment definition.
|
|
6249
|
+
'''
|
|
6250
|
+
if __debug__:
|
|
6251
|
+
type_hints = typing.get_type_hints(_typecheckingstub__350e170fd13ca6586a78a39785ca961e3b7fa8982a5b03ff0799f34c2f12ea50)
|
|
6252
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6253
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6254
|
+
props = CfnSegmentDefinitionProps(
|
|
6255
|
+
display_name=display_name,
|
|
6256
|
+
domain_name=domain_name,
|
|
6257
|
+
segment_definition_name=segment_definition_name,
|
|
6258
|
+
segment_groups=segment_groups,
|
|
6259
|
+
description=description,
|
|
6260
|
+
tags=tags,
|
|
6261
|
+
)
|
|
6262
|
+
|
|
6263
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
6264
|
+
|
|
6265
|
+
@jsii.member(jsii_name="inspect")
|
|
6266
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
6267
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
6268
|
+
|
|
6269
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
6270
|
+
'''
|
|
6271
|
+
if __debug__:
|
|
6272
|
+
type_hints = typing.get_type_hints(_typecheckingstub__43053ca51dec7fe64d769d488c3ff627584d6d29c926079a5503cd0fa5fcb6ca)
|
|
6273
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
6274
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
6275
|
+
|
|
6276
|
+
@jsii.member(jsii_name="renderProperties")
|
|
6277
|
+
def _render_properties(
|
|
6278
|
+
self,
|
|
6279
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
6280
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
6281
|
+
'''
|
|
6282
|
+
:param props: -
|
|
6283
|
+
'''
|
|
6284
|
+
if __debug__:
|
|
6285
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c93dc972ce2f528b294beb14fd064d6205569b6d0b68a9397a753547674ae198)
|
|
6286
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
6287
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
6288
|
+
|
|
6289
|
+
@jsii.python.classproperty
|
|
6290
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
6291
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
6292
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
6293
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
6294
|
+
|
|
6295
|
+
@builtins.property
|
|
6296
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
6297
|
+
def attr_created_at(self) -> builtins.str:
|
|
6298
|
+
'''When the segment definition was created.
|
|
6299
|
+
|
|
6300
|
+
:cloudformationAttribute: CreatedAt
|
|
6301
|
+
'''
|
|
6302
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
6303
|
+
|
|
6304
|
+
@builtins.property
|
|
6305
|
+
@jsii.member(jsii_name="attrSegmentDefinitionArn")
|
|
6306
|
+
def attr_segment_definition_arn(self) -> builtins.str:
|
|
6307
|
+
'''The arn of the segment definition.
|
|
6308
|
+
|
|
6309
|
+
:cloudformationAttribute: SegmentDefinitionArn
|
|
6310
|
+
'''
|
|
6311
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSegmentDefinitionArn"))
|
|
6312
|
+
|
|
6313
|
+
@builtins.property
|
|
6314
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
6315
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
6316
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
6317
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
6318
|
+
|
|
6319
|
+
@builtins.property
|
|
6320
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
6321
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
6322
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
6323
|
+
|
|
6324
|
+
@builtins.property
|
|
6325
|
+
@jsii.member(jsii_name="displayName")
|
|
6326
|
+
def display_name(self) -> builtins.str:
|
|
6327
|
+
'''Display name of the segment definition.'''
|
|
6328
|
+
return typing.cast(builtins.str, jsii.get(self, "displayName"))
|
|
6329
|
+
|
|
6330
|
+
@display_name.setter
|
|
6331
|
+
def display_name(self, value: builtins.str) -> None:
|
|
6332
|
+
if __debug__:
|
|
6333
|
+
type_hints = typing.get_type_hints(_typecheckingstub__05d7eb6c9916e03c3799e9d2016d81426c2f6d43e95689ce0af12bfe09e6549f)
|
|
6334
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6335
|
+
jsii.set(self, "displayName", value) # pyright: ignore[reportArgumentType]
|
|
6336
|
+
|
|
6337
|
+
@builtins.property
|
|
6338
|
+
@jsii.member(jsii_name="domainName")
|
|
6339
|
+
def domain_name(self) -> builtins.str:
|
|
6340
|
+
'''The name of the domain.'''
|
|
6341
|
+
return typing.cast(builtins.str, jsii.get(self, "domainName"))
|
|
6342
|
+
|
|
6343
|
+
@domain_name.setter
|
|
6344
|
+
def domain_name(self, value: builtins.str) -> None:
|
|
6345
|
+
if __debug__:
|
|
6346
|
+
type_hints = typing.get_type_hints(_typecheckingstub__26ba965f3f83218ff70b8ea34f99b1d05bab7433a8807b2fbcdaf115b08b6ae9)
|
|
6347
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6348
|
+
jsii.set(self, "domainName", value) # pyright: ignore[reportArgumentType]
|
|
6349
|
+
|
|
6350
|
+
@builtins.property
|
|
6351
|
+
@jsii.member(jsii_name="segmentDefinitionName")
|
|
6352
|
+
def segment_definition_name(self) -> builtins.str:
|
|
6353
|
+
'''Name of the segment definition.'''
|
|
6354
|
+
return typing.cast(builtins.str, jsii.get(self, "segmentDefinitionName"))
|
|
6355
|
+
|
|
6356
|
+
@segment_definition_name.setter
|
|
6357
|
+
def segment_definition_name(self, value: builtins.str) -> None:
|
|
6358
|
+
if __debug__:
|
|
6359
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6bc5bbfa19f04ef37dd74fe0dab060cbd192ee5bb1b47e5b1508f67f27be5aa3)
|
|
6360
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6361
|
+
jsii.set(self, "segmentDefinitionName", value) # pyright: ignore[reportArgumentType]
|
|
6362
|
+
|
|
6363
|
+
@builtins.property
|
|
6364
|
+
@jsii.member(jsii_name="segmentGroups")
|
|
6365
|
+
def segment_groups(
|
|
6366
|
+
self,
|
|
6367
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.SegmentGroupProperty"]:
|
|
6368
|
+
'''Contains all groups of the segment definition.'''
|
|
6369
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.SegmentGroupProperty"], jsii.get(self, "segmentGroups"))
|
|
6370
|
+
|
|
6371
|
+
@segment_groups.setter
|
|
6372
|
+
def segment_groups(
|
|
6373
|
+
self,
|
|
6374
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.SegmentGroupProperty"],
|
|
6375
|
+
) -> None:
|
|
6376
|
+
if __debug__:
|
|
6377
|
+
type_hints = typing.get_type_hints(_typecheckingstub__744689fb47e84da608e8ce7c410f0a6489728b4132c9e51efab1802d01b77340)
|
|
6378
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6379
|
+
jsii.set(self, "segmentGroups", value) # pyright: ignore[reportArgumentType]
|
|
6380
|
+
|
|
6381
|
+
@builtins.property
|
|
6382
|
+
@jsii.member(jsii_name="description")
|
|
6383
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
6384
|
+
'''The description of the segment definition.'''
|
|
6385
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
6386
|
+
|
|
6387
|
+
@description.setter
|
|
6388
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
6389
|
+
if __debug__:
|
|
6390
|
+
type_hints = typing.get_type_hints(_typecheckingstub__223f2ad9551b0ca745b7b727aa69f874d90c37d42f2d71a6e2b2fb44e7ade212)
|
|
6391
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6392
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
6393
|
+
|
|
6394
|
+
@builtins.property
|
|
6395
|
+
@jsii.member(jsii_name="tags")
|
|
6396
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
6397
|
+
'''The tags belonging to the segment definition.'''
|
|
6398
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
6399
|
+
|
|
6400
|
+
@tags.setter
|
|
6401
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
6402
|
+
if __debug__:
|
|
6403
|
+
type_hints = typing.get_type_hints(_typecheckingstub__238b83e5f2661e205fa241820b4292d8a4cb4f60bf75be3b31f1b17711318539)
|
|
6404
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6405
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
6406
|
+
|
|
6407
|
+
@jsii.data_type(
|
|
6408
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.AddressDimensionProperty",
|
|
6409
|
+
jsii_struct_bases=[],
|
|
6410
|
+
name_mapping={
|
|
6411
|
+
"city": "city",
|
|
6412
|
+
"country": "country",
|
|
6413
|
+
"county": "county",
|
|
6414
|
+
"postal_code": "postalCode",
|
|
6415
|
+
"province": "province",
|
|
6416
|
+
"state": "state",
|
|
6417
|
+
},
|
|
6418
|
+
)
|
|
6419
|
+
class AddressDimensionProperty:
|
|
6420
|
+
def __init__(
|
|
6421
|
+
self,
|
|
6422
|
+
*,
|
|
6423
|
+
city: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6424
|
+
country: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6425
|
+
county: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6426
|
+
postal_code: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6427
|
+
province: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6428
|
+
state: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6429
|
+
) -> None:
|
|
6430
|
+
'''Object that segments on Customer Profile's address object.
|
|
6431
|
+
|
|
6432
|
+
:param city: The city belonging to the address.
|
|
6433
|
+
:param country: The country belonging to the address.
|
|
6434
|
+
:param county: The county belonging to the address.
|
|
6435
|
+
:param postal_code: The postal code belonging to the address.
|
|
6436
|
+
:param province: The province belonging to the address.
|
|
6437
|
+
:param state: The state belonging to the address.
|
|
6438
|
+
|
|
6439
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html
|
|
6440
|
+
:exampleMetadata: fixture=_generated
|
|
6441
|
+
|
|
6442
|
+
Example::
|
|
6443
|
+
|
|
6444
|
+
# The code below shows an example of how to instantiate this type.
|
|
6445
|
+
# The values are placeholders you should change.
|
|
6446
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
6447
|
+
|
|
6448
|
+
address_dimension_property = customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
6449
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6450
|
+
dimension_type="dimensionType",
|
|
6451
|
+
values=["values"]
|
|
6452
|
+
),
|
|
6453
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6454
|
+
dimension_type="dimensionType",
|
|
6455
|
+
values=["values"]
|
|
6456
|
+
),
|
|
6457
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6458
|
+
dimension_type="dimensionType",
|
|
6459
|
+
values=["values"]
|
|
6460
|
+
),
|
|
6461
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6462
|
+
dimension_type="dimensionType",
|
|
6463
|
+
values=["values"]
|
|
6464
|
+
),
|
|
6465
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6466
|
+
dimension_type="dimensionType",
|
|
6467
|
+
values=["values"]
|
|
6468
|
+
),
|
|
6469
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6470
|
+
dimension_type="dimensionType",
|
|
6471
|
+
values=["values"]
|
|
6472
|
+
)
|
|
6473
|
+
)
|
|
6474
|
+
'''
|
|
6475
|
+
if __debug__:
|
|
6476
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6a0bc2d171c7abf0d09aef2749bfbe17beb9e940d0184742ad750455e61d50e9)
|
|
6477
|
+
check_type(argname="argument city", value=city, expected_type=type_hints["city"])
|
|
6478
|
+
check_type(argname="argument country", value=country, expected_type=type_hints["country"])
|
|
6479
|
+
check_type(argname="argument county", value=county, expected_type=type_hints["county"])
|
|
6480
|
+
check_type(argname="argument postal_code", value=postal_code, expected_type=type_hints["postal_code"])
|
|
6481
|
+
check_type(argname="argument province", value=province, expected_type=type_hints["province"])
|
|
6482
|
+
check_type(argname="argument state", value=state, expected_type=type_hints["state"])
|
|
6483
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6484
|
+
if city is not None:
|
|
6485
|
+
self._values["city"] = city
|
|
6486
|
+
if country is not None:
|
|
6487
|
+
self._values["country"] = country
|
|
6488
|
+
if county is not None:
|
|
6489
|
+
self._values["county"] = county
|
|
6490
|
+
if postal_code is not None:
|
|
6491
|
+
self._values["postal_code"] = postal_code
|
|
6492
|
+
if province is not None:
|
|
6493
|
+
self._values["province"] = province
|
|
6494
|
+
if state is not None:
|
|
6495
|
+
self._values["state"] = state
|
|
6496
|
+
|
|
6497
|
+
@builtins.property
|
|
6498
|
+
def city(
|
|
6499
|
+
self,
|
|
6500
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
6501
|
+
'''The city belonging to the address.
|
|
6502
|
+
|
|
6503
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-city
|
|
6504
|
+
'''
|
|
6505
|
+
result = self._values.get("city")
|
|
6506
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
6507
|
+
|
|
6508
|
+
@builtins.property
|
|
6509
|
+
def country(
|
|
6510
|
+
self,
|
|
6511
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
6512
|
+
'''The country belonging to the address.
|
|
6513
|
+
|
|
6514
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-country
|
|
6515
|
+
'''
|
|
6516
|
+
result = self._values.get("country")
|
|
6517
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
6518
|
+
|
|
6519
|
+
@builtins.property
|
|
6520
|
+
def county(
|
|
6521
|
+
self,
|
|
6522
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
6523
|
+
'''The county belonging to the address.
|
|
6524
|
+
|
|
6525
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-county
|
|
6526
|
+
'''
|
|
6527
|
+
result = self._values.get("county")
|
|
6528
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
6529
|
+
|
|
6530
|
+
@builtins.property
|
|
6531
|
+
def postal_code(
|
|
6532
|
+
self,
|
|
6533
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
6534
|
+
'''The postal code belonging to the address.
|
|
6535
|
+
|
|
6536
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-postalcode
|
|
6537
|
+
'''
|
|
6538
|
+
result = self._values.get("postal_code")
|
|
6539
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
6540
|
+
|
|
6541
|
+
@builtins.property
|
|
6542
|
+
def province(
|
|
6543
|
+
self,
|
|
6544
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
6545
|
+
'''The province belonging to the address.
|
|
6546
|
+
|
|
6547
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-province
|
|
6548
|
+
'''
|
|
6549
|
+
result = self._values.get("province")
|
|
6550
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
6551
|
+
|
|
6552
|
+
@builtins.property
|
|
6553
|
+
def state(
|
|
6554
|
+
self,
|
|
6555
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
6556
|
+
'''The state belonging to the address.
|
|
6557
|
+
|
|
6558
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-state
|
|
6559
|
+
'''
|
|
6560
|
+
result = self._values.get("state")
|
|
6561
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
6562
|
+
|
|
6563
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6564
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6565
|
+
|
|
6566
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6567
|
+
return not (rhs == self)
|
|
6568
|
+
|
|
6569
|
+
def __repr__(self) -> str:
|
|
6570
|
+
return "AddressDimensionProperty(%s)" % ", ".join(
|
|
6571
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6572
|
+
)
|
|
6573
|
+
|
|
6574
|
+
@jsii.data_type(
|
|
6575
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty",
|
|
6576
|
+
jsii_struct_bases=[],
|
|
6577
|
+
name_mapping={"dimension_type": "dimensionType", "values": "values"},
|
|
6578
|
+
)
|
|
6579
|
+
class AttributeDimensionProperty:
|
|
6580
|
+
def __init__(
|
|
6581
|
+
self,
|
|
6582
|
+
*,
|
|
6583
|
+
dimension_type: builtins.str,
|
|
6584
|
+
values: typing.Sequence[builtins.str],
|
|
6585
|
+
) -> None:
|
|
6586
|
+
'''Object that defines how to filter the incoming objects for the calculated attribute.
|
|
6587
|
+
|
|
6588
|
+
:param dimension_type: The action to segment with.
|
|
6589
|
+
:param values: The values to apply the DimensionType on.
|
|
6590
|
+
|
|
6591
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-attributedimension.html
|
|
6592
|
+
:exampleMetadata: fixture=_generated
|
|
6593
|
+
|
|
6594
|
+
Example::
|
|
6595
|
+
|
|
6596
|
+
# The code below shows an example of how to instantiate this type.
|
|
6597
|
+
# The values are placeholders you should change.
|
|
6598
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
6599
|
+
|
|
6600
|
+
attribute_dimension_property = customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty(
|
|
6601
|
+
dimension_type="dimensionType",
|
|
6602
|
+
values=["values"]
|
|
6603
|
+
)
|
|
6604
|
+
'''
|
|
6605
|
+
if __debug__:
|
|
6606
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb318635b9a0dfe69f39d22e3b143ff47d00d73e95ba7e6119cb5a713fe732dd)
|
|
6607
|
+
check_type(argname="argument dimension_type", value=dimension_type, expected_type=type_hints["dimension_type"])
|
|
6608
|
+
check_type(argname="argument values", value=values, expected_type=type_hints["values"])
|
|
6609
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6610
|
+
"dimension_type": dimension_type,
|
|
6611
|
+
"values": values,
|
|
6612
|
+
}
|
|
6613
|
+
|
|
6614
|
+
@builtins.property
|
|
6615
|
+
def dimension_type(self) -> builtins.str:
|
|
6616
|
+
'''The action to segment with.
|
|
6617
|
+
|
|
6618
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-attributedimension.html#cfn-customerprofiles-segmentdefinition-attributedimension-dimensiontype
|
|
6619
|
+
'''
|
|
6620
|
+
result = self._values.get("dimension_type")
|
|
6621
|
+
assert result is not None, "Required property 'dimension_type' is missing"
|
|
6622
|
+
return typing.cast(builtins.str, result)
|
|
6623
|
+
|
|
6624
|
+
@builtins.property
|
|
6625
|
+
def values(self) -> typing.List[builtins.str]:
|
|
6626
|
+
'''The values to apply the DimensionType on.
|
|
6627
|
+
|
|
6628
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-attributedimension.html#cfn-customerprofiles-segmentdefinition-attributedimension-values
|
|
6629
|
+
'''
|
|
6630
|
+
result = self._values.get("values")
|
|
6631
|
+
assert result is not None, "Required property 'values' is missing"
|
|
6632
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
6633
|
+
|
|
6634
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6635
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6636
|
+
|
|
6637
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6638
|
+
return not (rhs == self)
|
|
6639
|
+
|
|
6640
|
+
def __repr__(self) -> str:
|
|
6641
|
+
return "AttributeDimensionProperty(%s)" % ", ".join(
|
|
6642
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6643
|
+
)
|
|
6644
|
+
|
|
6645
|
+
@jsii.data_type(
|
|
6646
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty",
|
|
6647
|
+
jsii_struct_bases=[],
|
|
6648
|
+
name_mapping={
|
|
6649
|
+
"dimension_type": "dimensionType",
|
|
6650
|
+
"values": "values",
|
|
6651
|
+
"condition_overrides": "conditionOverrides",
|
|
6652
|
+
},
|
|
6653
|
+
)
|
|
6654
|
+
class CalculatedAttributeDimensionProperty:
|
|
6655
|
+
def __init__(
|
|
6656
|
+
self,
|
|
6657
|
+
*,
|
|
6658
|
+
dimension_type: builtins.str,
|
|
6659
|
+
values: typing.Sequence[builtins.str],
|
|
6660
|
+
condition_overrides: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ConditionOverridesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6661
|
+
) -> None:
|
|
6662
|
+
'''Object that segments on Customer Profile's Calculated Attributes.
|
|
6663
|
+
|
|
6664
|
+
:param dimension_type: The action to segment with.
|
|
6665
|
+
:param values: The values to apply the DimensionType with.
|
|
6666
|
+
:param condition_overrides: Applies the given condition over the initial Calculated Attribute's definition.
|
|
6667
|
+
|
|
6668
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-calculatedattributedimension.html
|
|
6669
|
+
:exampleMetadata: fixture=_generated
|
|
6670
|
+
|
|
6671
|
+
Example::
|
|
6672
|
+
|
|
6673
|
+
# The code below shows an example of how to instantiate this type.
|
|
6674
|
+
# The values are placeholders you should change.
|
|
6675
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
6676
|
+
|
|
6677
|
+
calculated_attribute_dimension_property = customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty(
|
|
6678
|
+
dimension_type="dimensionType",
|
|
6679
|
+
values=["values"],
|
|
6680
|
+
|
|
6681
|
+
# the properties below are optional
|
|
6682
|
+
condition_overrides=customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty(
|
|
6683
|
+
range=customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
6684
|
+
start=123,
|
|
6685
|
+
unit="unit",
|
|
6686
|
+
|
|
6687
|
+
# the properties below are optional
|
|
6688
|
+
end=123
|
|
6689
|
+
)
|
|
6690
|
+
)
|
|
6691
|
+
)
|
|
6692
|
+
'''
|
|
6693
|
+
if __debug__:
|
|
6694
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a86c277d8f43a78bd0246d26e28cb0a8e84b0a5c96f8046b7d644735eb70d256)
|
|
6695
|
+
check_type(argname="argument dimension_type", value=dimension_type, expected_type=type_hints["dimension_type"])
|
|
6696
|
+
check_type(argname="argument values", value=values, expected_type=type_hints["values"])
|
|
6697
|
+
check_type(argname="argument condition_overrides", value=condition_overrides, expected_type=type_hints["condition_overrides"])
|
|
6698
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6699
|
+
"dimension_type": dimension_type,
|
|
6700
|
+
"values": values,
|
|
6701
|
+
}
|
|
6702
|
+
if condition_overrides is not None:
|
|
6703
|
+
self._values["condition_overrides"] = condition_overrides
|
|
6704
|
+
|
|
6705
|
+
@builtins.property
|
|
6706
|
+
def dimension_type(self) -> builtins.str:
|
|
6707
|
+
'''The action to segment with.
|
|
6708
|
+
|
|
6709
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-calculatedattributedimension.html#cfn-customerprofiles-segmentdefinition-calculatedattributedimension-dimensiontype
|
|
6710
|
+
'''
|
|
6711
|
+
result = self._values.get("dimension_type")
|
|
6712
|
+
assert result is not None, "Required property 'dimension_type' is missing"
|
|
6713
|
+
return typing.cast(builtins.str, result)
|
|
6714
|
+
|
|
6715
|
+
@builtins.property
|
|
6716
|
+
def values(self) -> typing.List[builtins.str]:
|
|
6717
|
+
'''The values to apply the DimensionType with.
|
|
6718
|
+
|
|
6719
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-calculatedattributedimension.html#cfn-customerprofiles-segmentdefinition-calculatedattributedimension-values
|
|
6720
|
+
'''
|
|
6721
|
+
result = self._values.get("values")
|
|
6722
|
+
assert result is not None, "Required property 'values' is missing"
|
|
6723
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
6724
|
+
|
|
6725
|
+
@builtins.property
|
|
6726
|
+
def condition_overrides(
|
|
6727
|
+
self,
|
|
6728
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ConditionOverridesProperty"]]:
|
|
6729
|
+
'''Applies the given condition over the initial Calculated Attribute's definition.
|
|
6730
|
+
|
|
6731
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-calculatedattributedimension.html#cfn-customerprofiles-segmentdefinition-calculatedattributedimension-conditionoverrides
|
|
6732
|
+
'''
|
|
6733
|
+
result = self._values.get("condition_overrides")
|
|
6734
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ConditionOverridesProperty"]], result)
|
|
6735
|
+
|
|
6736
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6737
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6738
|
+
|
|
6739
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6740
|
+
return not (rhs == self)
|
|
6741
|
+
|
|
6742
|
+
def __repr__(self) -> str:
|
|
6743
|
+
return "CalculatedAttributeDimensionProperty(%s)" % ", ".join(
|
|
6744
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6745
|
+
)
|
|
6746
|
+
|
|
6747
|
+
@jsii.data_type(
|
|
6748
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty",
|
|
6749
|
+
jsii_struct_bases=[],
|
|
6750
|
+
name_mapping={"range": "range"},
|
|
6751
|
+
)
|
|
6752
|
+
class ConditionOverridesProperty:
|
|
6753
|
+
def __init__(
|
|
6754
|
+
self,
|
|
6755
|
+
*,
|
|
6756
|
+
range: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.RangeOverrideProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6757
|
+
) -> None:
|
|
6758
|
+
'''An object to override the original condition block of a calculated attribute.
|
|
6759
|
+
|
|
6760
|
+
:param range: The relative time period over which data is included in the aggregation for this override.
|
|
6761
|
+
|
|
6762
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-conditionoverrides.html
|
|
6763
|
+
:exampleMetadata: fixture=_generated
|
|
6764
|
+
|
|
6765
|
+
Example::
|
|
6766
|
+
|
|
6767
|
+
# The code below shows an example of how to instantiate this type.
|
|
6768
|
+
# The values are placeholders you should change.
|
|
6769
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
6770
|
+
|
|
6771
|
+
condition_overrides_property = customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty(
|
|
6772
|
+
range=customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
6773
|
+
start=123,
|
|
6774
|
+
unit="unit",
|
|
6775
|
+
|
|
6776
|
+
# the properties below are optional
|
|
6777
|
+
end=123
|
|
6778
|
+
)
|
|
6779
|
+
)
|
|
6780
|
+
'''
|
|
6781
|
+
if __debug__:
|
|
6782
|
+
type_hints = typing.get_type_hints(_typecheckingstub__805f367b5025255b85dff70d74ab17cdb3209b82d5159f03785caf2e4ea38c27)
|
|
6783
|
+
check_type(argname="argument range", value=range, expected_type=type_hints["range"])
|
|
6784
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6785
|
+
if range is not None:
|
|
6786
|
+
self._values["range"] = range
|
|
6787
|
+
|
|
6788
|
+
@builtins.property
|
|
6789
|
+
def range(
|
|
6790
|
+
self,
|
|
6791
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.RangeOverrideProperty"]]:
|
|
6792
|
+
'''The relative time period over which data is included in the aggregation for this override.
|
|
6793
|
+
|
|
6794
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-conditionoverrides.html#cfn-customerprofiles-segmentdefinition-conditionoverrides-range
|
|
6795
|
+
'''
|
|
6796
|
+
result = self._values.get("range")
|
|
6797
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.RangeOverrideProperty"]], result)
|
|
6798
|
+
|
|
6799
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6800
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6801
|
+
|
|
6802
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6803
|
+
return not (rhs == self)
|
|
6804
|
+
|
|
6805
|
+
def __repr__(self) -> str:
|
|
6806
|
+
return "ConditionOverridesProperty(%s)" % ", ".join(
|
|
6807
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6808
|
+
)
|
|
6809
|
+
|
|
6810
|
+
@jsii.data_type(
|
|
6811
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.DateDimensionProperty",
|
|
6812
|
+
jsii_struct_bases=[],
|
|
6813
|
+
name_mapping={"dimension_type": "dimensionType", "values": "values"},
|
|
6814
|
+
)
|
|
6815
|
+
class DateDimensionProperty:
|
|
6816
|
+
def __init__(
|
|
6817
|
+
self,
|
|
6818
|
+
*,
|
|
6819
|
+
dimension_type: builtins.str,
|
|
6820
|
+
values: typing.Sequence[builtins.str],
|
|
6821
|
+
) -> None:
|
|
6822
|
+
'''Object that segments on various Customer Profile's date fields.
|
|
6823
|
+
|
|
6824
|
+
:param dimension_type: The action to segment on.
|
|
6825
|
+
:param values: The values to apply the DimensionType on.
|
|
6826
|
+
|
|
6827
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-datedimension.html
|
|
6828
|
+
:exampleMetadata: fixture=_generated
|
|
6829
|
+
|
|
6830
|
+
Example::
|
|
6831
|
+
|
|
6832
|
+
# The code below shows an example of how to instantiate this type.
|
|
6833
|
+
# The values are placeholders you should change.
|
|
6834
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
6835
|
+
|
|
6836
|
+
date_dimension_property = customerprofiles.CfnSegmentDefinition.DateDimensionProperty(
|
|
6837
|
+
dimension_type="dimensionType",
|
|
6838
|
+
values=["values"]
|
|
6839
|
+
)
|
|
6840
|
+
'''
|
|
6841
|
+
if __debug__:
|
|
6842
|
+
type_hints = typing.get_type_hints(_typecheckingstub__321aa9ea2ffbe9c71ff0392adca1a155f2414f845fd6c463f7a0ea3785f7c270)
|
|
6843
|
+
check_type(argname="argument dimension_type", value=dimension_type, expected_type=type_hints["dimension_type"])
|
|
6844
|
+
check_type(argname="argument values", value=values, expected_type=type_hints["values"])
|
|
6845
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6846
|
+
"dimension_type": dimension_type,
|
|
6847
|
+
"values": values,
|
|
6848
|
+
}
|
|
6849
|
+
|
|
6850
|
+
@builtins.property
|
|
6851
|
+
def dimension_type(self) -> builtins.str:
|
|
6852
|
+
'''The action to segment on.
|
|
6853
|
+
|
|
6854
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-datedimension.html#cfn-customerprofiles-segmentdefinition-datedimension-dimensiontype
|
|
6855
|
+
'''
|
|
6856
|
+
result = self._values.get("dimension_type")
|
|
6857
|
+
assert result is not None, "Required property 'dimension_type' is missing"
|
|
6858
|
+
return typing.cast(builtins.str, result)
|
|
6859
|
+
|
|
6860
|
+
@builtins.property
|
|
6861
|
+
def values(self) -> typing.List[builtins.str]:
|
|
6862
|
+
'''The values to apply the DimensionType on.
|
|
6863
|
+
|
|
6864
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-datedimension.html#cfn-customerprofiles-segmentdefinition-datedimension-values
|
|
6865
|
+
'''
|
|
6866
|
+
result = self._values.get("values")
|
|
6867
|
+
assert result is not None, "Required property 'values' is missing"
|
|
6868
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
6869
|
+
|
|
6870
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6871
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6872
|
+
|
|
6873
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6874
|
+
return not (rhs == self)
|
|
6875
|
+
|
|
6876
|
+
def __repr__(self) -> str:
|
|
6877
|
+
return "DateDimensionProperty(%s)" % ", ".join(
|
|
6878
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6879
|
+
)
|
|
6880
|
+
|
|
6881
|
+
@jsii.data_type(
|
|
6882
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.DimensionProperty",
|
|
6883
|
+
jsii_struct_bases=[],
|
|
6884
|
+
name_mapping={
|
|
6885
|
+
"calculated_attributes": "calculatedAttributes",
|
|
6886
|
+
"profile_attributes": "profileAttributes",
|
|
6887
|
+
},
|
|
6888
|
+
)
|
|
6889
|
+
class DimensionProperty:
|
|
6890
|
+
def __init__(
|
|
6891
|
+
self,
|
|
6892
|
+
*,
|
|
6893
|
+
calculated_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.CalculatedAttributeDimensionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6894
|
+
profile_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileAttributesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6895
|
+
) -> None:
|
|
6896
|
+
'''Defines the attribute to segment on.
|
|
6897
|
+
|
|
6898
|
+
:param calculated_attributes: Object that holds the calculated attributes to segment on.
|
|
6899
|
+
:param profile_attributes: Object that holds the profile attributes to segment on.
|
|
6900
|
+
|
|
6901
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-dimension.html
|
|
6902
|
+
:exampleMetadata: fixture=_generated
|
|
6903
|
+
|
|
6904
|
+
Example::
|
|
6905
|
+
|
|
6906
|
+
# The code below shows an example of how to instantiate this type.
|
|
6907
|
+
# The values are placeholders you should change.
|
|
6908
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
6909
|
+
|
|
6910
|
+
dimension_property = customerprofiles.CfnSegmentDefinition.DimensionProperty(
|
|
6911
|
+
calculated_attributes={
|
|
6912
|
+
"calculated_attributes_key": customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty(
|
|
6913
|
+
dimension_type="dimensionType",
|
|
6914
|
+
values=["values"],
|
|
6915
|
+
|
|
6916
|
+
# the properties below are optional
|
|
6917
|
+
condition_overrides=customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty(
|
|
6918
|
+
range=customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
6919
|
+
start=123,
|
|
6920
|
+
unit="unit",
|
|
6921
|
+
|
|
6922
|
+
# the properties below are optional
|
|
6923
|
+
end=123
|
|
6924
|
+
)
|
|
6925
|
+
)
|
|
6926
|
+
)
|
|
6927
|
+
},
|
|
6928
|
+
profile_attributes=customerprofiles.CfnSegmentDefinition.ProfileAttributesProperty(
|
|
6929
|
+
account_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6930
|
+
dimension_type="dimensionType",
|
|
6931
|
+
values=["values"]
|
|
6932
|
+
),
|
|
6933
|
+
additional_information=customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty(
|
|
6934
|
+
dimension_type="dimensionType",
|
|
6935
|
+
values=["values"]
|
|
6936
|
+
),
|
|
6937
|
+
address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
6938
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6939
|
+
dimension_type="dimensionType",
|
|
6940
|
+
values=["values"]
|
|
6941
|
+
),
|
|
6942
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6943
|
+
dimension_type="dimensionType",
|
|
6944
|
+
values=["values"]
|
|
6945
|
+
),
|
|
6946
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6947
|
+
dimension_type="dimensionType",
|
|
6948
|
+
values=["values"]
|
|
6949
|
+
),
|
|
6950
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6951
|
+
dimension_type="dimensionType",
|
|
6952
|
+
values=["values"]
|
|
6953
|
+
),
|
|
6954
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6955
|
+
dimension_type="dimensionType",
|
|
6956
|
+
values=["values"]
|
|
6957
|
+
),
|
|
6958
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6959
|
+
dimension_type="dimensionType",
|
|
6960
|
+
values=["values"]
|
|
6961
|
+
)
|
|
6962
|
+
),
|
|
6963
|
+
attributes={
|
|
6964
|
+
"attributes_key": customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty(
|
|
6965
|
+
dimension_type="dimensionType",
|
|
6966
|
+
values=["values"]
|
|
6967
|
+
)
|
|
6968
|
+
},
|
|
6969
|
+
billing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
6970
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6971
|
+
dimension_type="dimensionType",
|
|
6972
|
+
values=["values"]
|
|
6973
|
+
),
|
|
6974
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6975
|
+
dimension_type="dimensionType",
|
|
6976
|
+
values=["values"]
|
|
6977
|
+
),
|
|
6978
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6979
|
+
dimension_type="dimensionType",
|
|
6980
|
+
values=["values"]
|
|
6981
|
+
),
|
|
6982
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6983
|
+
dimension_type="dimensionType",
|
|
6984
|
+
values=["values"]
|
|
6985
|
+
),
|
|
6986
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6987
|
+
dimension_type="dimensionType",
|
|
6988
|
+
values=["values"]
|
|
6989
|
+
),
|
|
6990
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
6991
|
+
dimension_type="dimensionType",
|
|
6992
|
+
values=["values"]
|
|
6993
|
+
)
|
|
6994
|
+
),
|
|
6995
|
+
birth_date=customerprofiles.CfnSegmentDefinition.DateDimensionProperty(
|
|
6996
|
+
dimension_type="dimensionType",
|
|
6997
|
+
values=["values"]
|
|
6998
|
+
),
|
|
6999
|
+
business_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7000
|
+
dimension_type="dimensionType",
|
|
7001
|
+
values=["values"]
|
|
7002
|
+
),
|
|
7003
|
+
business_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7004
|
+
dimension_type="dimensionType",
|
|
7005
|
+
values=["values"]
|
|
7006
|
+
),
|
|
7007
|
+
business_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7008
|
+
dimension_type="dimensionType",
|
|
7009
|
+
values=["values"]
|
|
7010
|
+
),
|
|
7011
|
+
email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7012
|
+
dimension_type="dimensionType",
|
|
7013
|
+
values=["values"]
|
|
7014
|
+
),
|
|
7015
|
+
first_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7016
|
+
dimension_type="dimensionType",
|
|
7017
|
+
values=["values"]
|
|
7018
|
+
),
|
|
7019
|
+
gender_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7020
|
+
dimension_type="dimensionType",
|
|
7021
|
+
values=["values"]
|
|
7022
|
+
),
|
|
7023
|
+
home_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7024
|
+
dimension_type="dimensionType",
|
|
7025
|
+
values=["values"]
|
|
7026
|
+
),
|
|
7027
|
+
last_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7028
|
+
dimension_type="dimensionType",
|
|
7029
|
+
values=["values"]
|
|
7030
|
+
),
|
|
7031
|
+
mailing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7032
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7033
|
+
dimension_type="dimensionType",
|
|
7034
|
+
values=["values"]
|
|
7035
|
+
),
|
|
7036
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7037
|
+
dimension_type="dimensionType",
|
|
7038
|
+
values=["values"]
|
|
7039
|
+
),
|
|
7040
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7041
|
+
dimension_type="dimensionType",
|
|
7042
|
+
values=["values"]
|
|
7043
|
+
),
|
|
7044
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7045
|
+
dimension_type="dimensionType",
|
|
7046
|
+
values=["values"]
|
|
7047
|
+
),
|
|
7048
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7049
|
+
dimension_type="dimensionType",
|
|
7050
|
+
values=["values"]
|
|
7051
|
+
),
|
|
7052
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7053
|
+
dimension_type="dimensionType",
|
|
7054
|
+
values=["values"]
|
|
7055
|
+
)
|
|
7056
|
+
),
|
|
7057
|
+
middle_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7058
|
+
dimension_type="dimensionType",
|
|
7059
|
+
values=["values"]
|
|
7060
|
+
),
|
|
7061
|
+
mobile_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7062
|
+
dimension_type="dimensionType",
|
|
7063
|
+
values=["values"]
|
|
7064
|
+
),
|
|
7065
|
+
party_type_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7066
|
+
dimension_type="dimensionType",
|
|
7067
|
+
values=["values"]
|
|
7068
|
+
),
|
|
7069
|
+
personal_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7070
|
+
dimension_type="dimensionType",
|
|
7071
|
+
values=["values"]
|
|
7072
|
+
),
|
|
7073
|
+
phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7074
|
+
dimension_type="dimensionType",
|
|
7075
|
+
values=["values"]
|
|
7076
|
+
),
|
|
7077
|
+
shipping_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7078
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7079
|
+
dimension_type="dimensionType",
|
|
7080
|
+
values=["values"]
|
|
7081
|
+
),
|
|
7082
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7083
|
+
dimension_type="dimensionType",
|
|
7084
|
+
values=["values"]
|
|
7085
|
+
),
|
|
7086
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7087
|
+
dimension_type="dimensionType",
|
|
7088
|
+
values=["values"]
|
|
7089
|
+
),
|
|
7090
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7091
|
+
dimension_type="dimensionType",
|
|
7092
|
+
values=["values"]
|
|
7093
|
+
),
|
|
7094
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7095
|
+
dimension_type="dimensionType",
|
|
7096
|
+
values=["values"]
|
|
7097
|
+
),
|
|
7098
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7099
|
+
dimension_type="dimensionType",
|
|
7100
|
+
values=["values"]
|
|
7101
|
+
)
|
|
7102
|
+
)
|
|
7103
|
+
)
|
|
7104
|
+
)
|
|
7105
|
+
'''
|
|
7106
|
+
if __debug__:
|
|
7107
|
+
type_hints = typing.get_type_hints(_typecheckingstub__afcd95200751df2b6ea6aaaaadf0dca0e852f0fef263eeab7100a5c95ae82fc2)
|
|
7108
|
+
check_type(argname="argument calculated_attributes", value=calculated_attributes, expected_type=type_hints["calculated_attributes"])
|
|
7109
|
+
check_type(argname="argument profile_attributes", value=profile_attributes, expected_type=type_hints["profile_attributes"])
|
|
7110
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7111
|
+
if calculated_attributes is not None:
|
|
7112
|
+
self._values["calculated_attributes"] = calculated_attributes
|
|
7113
|
+
if profile_attributes is not None:
|
|
7114
|
+
self._values["profile_attributes"] = profile_attributes
|
|
7115
|
+
|
|
7116
|
+
@builtins.property
|
|
7117
|
+
def calculated_attributes(
|
|
7118
|
+
self,
|
|
7119
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.CalculatedAttributeDimensionProperty"]]]]:
|
|
7120
|
+
'''Object that holds the calculated attributes to segment on.
|
|
7121
|
+
|
|
7122
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-dimension.html#cfn-customerprofiles-segmentdefinition-dimension-calculatedattributes
|
|
7123
|
+
'''
|
|
7124
|
+
result = self._values.get("calculated_attributes")
|
|
7125
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.CalculatedAttributeDimensionProperty"]]]], result)
|
|
7126
|
+
|
|
7127
|
+
@builtins.property
|
|
7128
|
+
def profile_attributes(
|
|
7129
|
+
self,
|
|
7130
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileAttributesProperty"]]:
|
|
7131
|
+
'''Object that holds the profile attributes to segment on.
|
|
7132
|
+
|
|
7133
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-dimension.html#cfn-customerprofiles-segmentdefinition-dimension-profileattributes
|
|
7134
|
+
'''
|
|
7135
|
+
result = self._values.get("profile_attributes")
|
|
7136
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileAttributesProperty"]], result)
|
|
7137
|
+
|
|
7138
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7139
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7140
|
+
|
|
7141
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7142
|
+
return not (rhs == self)
|
|
7143
|
+
|
|
7144
|
+
def __repr__(self) -> str:
|
|
7145
|
+
return "DimensionProperty(%s)" % ", ".join(
|
|
7146
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7147
|
+
)
|
|
7148
|
+
|
|
7149
|
+
@jsii.data_type(
|
|
7150
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty",
|
|
7151
|
+
jsii_struct_bases=[],
|
|
7152
|
+
name_mapping={"dimension_type": "dimensionType", "values": "values"},
|
|
7153
|
+
)
|
|
7154
|
+
class ExtraLengthValueProfileDimensionProperty:
|
|
7155
|
+
def __init__(
|
|
7156
|
+
self,
|
|
7157
|
+
*,
|
|
7158
|
+
dimension_type: builtins.str,
|
|
7159
|
+
values: typing.Sequence[builtins.str],
|
|
7160
|
+
) -> None:
|
|
7161
|
+
'''Object that segments on various Customer profile's fields that are larger than normal.
|
|
7162
|
+
|
|
7163
|
+
:param dimension_type: The action to segment with.
|
|
7164
|
+
:param values: The values to apply the DimensionType on.
|
|
7165
|
+
|
|
7166
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-extralengthvalueprofiledimension.html
|
|
7167
|
+
:exampleMetadata: fixture=_generated
|
|
7168
|
+
|
|
7169
|
+
Example::
|
|
7170
|
+
|
|
7171
|
+
# The code below shows an example of how to instantiate this type.
|
|
7172
|
+
# The values are placeholders you should change.
|
|
7173
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
7174
|
+
|
|
7175
|
+
extra_length_value_profile_dimension_property = customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty(
|
|
7176
|
+
dimension_type="dimensionType",
|
|
7177
|
+
values=["values"]
|
|
7178
|
+
)
|
|
7179
|
+
'''
|
|
7180
|
+
if __debug__:
|
|
7181
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b7820cd9f215f422bb2ed34ea399f9c5252453574cd926e31a73fd9a12c28498)
|
|
7182
|
+
check_type(argname="argument dimension_type", value=dimension_type, expected_type=type_hints["dimension_type"])
|
|
7183
|
+
check_type(argname="argument values", value=values, expected_type=type_hints["values"])
|
|
7184
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7185
|
+
"dimension_type": dimension_type,
|
|
7186
|
+
"values": values,
|
|
7187
|
+
}
|
|
7188
|
+
|
|
7189
|
+
@builtins.property
|
|
7190
|
+
def dimension_type(self) -> builtins.str:
|
|
7191
|
+
'''The action to segment with.
|
|
7192
|
+
|
|
7193
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-extralengthvalueprofiledimension.html#cfn-customerprofiles-segmentdefinition-extralengthvalueprofiledimension-dimensiontype
|
|
7194
|
+
'''
|
|
7195
|
+
result = self._values.get("dimension_type")
|
|
7196
|
+
assert result is not None, "Required property 'dimension_type' is missing"
|
|
7197
|
+
return typing.cast(builtins.str, result)
|
|
7198
|
+
|
|
7199
|
+
@builtins.property
|
|
7200
|
+
def values(self) -> typing.List[builtins.str]:
|
|
7201
|
+
'''The values to apply the DimensionType on.
|
|
7202
|
+
|
|
7203
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-extralengthvalueprofiledimension.html#cfn-customerprofiles-segmentdefinition-extralengthvalueprofiledimension-values
|
|
7204
|
+
'''
|
|
7205
|
+
result = self._values.get("values")
|
|
7206
|
+
assert result is not None, "Required property 'values' is missing"
|
|
7207
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
7208
|
+
|
|
7209
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7210
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7211
|
+
|
|
7212
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7213
|
+
return not (rhs == self)
|
|
7214
|
+
|
|
7215
|
+
def __repr__(self) -> str:
|
|
7216
|
+
return "ExtraLengthValueProfileDimensionProperty(%s)" % ", ".join(
|
|
7217
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7218
|
+
)
|
|
7219
|
+
|
|
7220
|
+
@jsii.data_type(
|
|
7221
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.GroupProperty",
|
|
7222
|
+
jsii_struct_bases=[],
|
|
7223
|
+
name_mapping={
|
|
7224
|
+
"dimensions": "dimensions",
|
|
7225
|
+
"source_segments": "sourceSegments",
|
|
7226
|
+
"source_type": "sourceType",
|
|
7227
|
+
"type": "type",
|
|
7228
|
+
},
|
|
7229
|
+
)
|
|
7230
|
+
class GroupProperty:
|
|
7231
|
+
def __init__(
|
|
7232
|
+
self,
|
|
7233
|
+
*,
|
|
7234
|
+
dimensions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.DimensionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7235
|
+
source_segments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.SourceSegmentProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7236
|
+
source_type: typing.Optional[builtins.str] = None,
|
|
7237
|
+
type: typing.Optional[builtins.str] = None,
|
|
7238
|
+
) -> None:
|
|
7239
|
+
'''Contains dimensions that determine what to segment on.
|
|
7240
|
+
|
|
7241
|
+
:param dimensions: Defines the attributes to segment on.
|
|
7242
|
+
:param source_segments: Defines the starting source of data.
|
|
7243
|
+
:param source_type: Defines how to interact with the source data.
|
|
7244
|
+
:param type: Defines how to interact with the profiles found in the current filtering.
|
|
7245
|
+
|
|
7246
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-group.html
|
|
7247
|
+
:exampleMetadata: fixture=_generated
|
|
7248
|
+
|
|
7249
|
+
Example::
|
|
7250
|
+
|
|
7251
|
+
# The code below shows an example of how to instantiate this type.
|
|
7252
|
+
# The values are placeholders you should change.
|
|
7253
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
7254
|
+
|
|
7255
|
+
group_property = customerprofiles.CfnSegmentDefinition.GroupProperty(
|
|
7256
|
+
dimensions=[customerprofiles.CfnSegmentDefinition.DimensionProperty(
|
|
7257
|
+
calculated_attributes={
|
|
7258
|
+
"calculated_attributes_key": customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty(
|
|
7259
|
+
dimension_type="dimensionType",
|
|
7260
|
+
values=["values"],
|
|
7261
|
+
|
|
7262
|
+
# the properties below are optional
|
|
7263
|
+
condition_overrides=customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty(
|
|
7264
|
+
range=customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
7265
|
+
start=123,
|
|
7266
|
+
unit="unit",
|
|
7267
|
+
|
|
7268
|
+
# the properties below are optional
|
|
7269
|
+
end=123
|
|
7270
|
+
)
|
|
7271
|
+
)
|
|
7272
|
+
)
|
|
7273
|
+
},
|
|
7274
|
+
profile_attributes=customerprofiles.CfnSegmentDefinition.ProfileAttributesProperty(
|
|
7275
|
+
account_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7276
|
+
dimension_type="dimensionType",
|
|
7277
|
+
values=["values"]
|
|
7278
|
+
),
|
|
7279
|
+
additional_information=customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty(
|
|
7280
|
+
dimension_type="dimensionType",
|
|
7281
|
+
values=["values"]
|
|
7282
|
+
),
|
|
7283
|
+
address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7284
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7285
|
+
dimension_type="dimensionType",
|
|
7286
|
+
values=["values"]
|
|
7287
|
+
),
|
|
7288
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7289
|
+
dimension_type="dimensionType",
|
|
7290
|
+
values=["values"]
|
|
7291
|
+
),
|
|
7292
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7293
|
+
dimension_type="dimensionType",
|
|
7294
|
+
values=["values"]
|
|
7295
|
+
),
|
|
7296
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7297
|
+
dimension_type="dimensionType",
|
|
7298
|
+
values=["values"]
|
|
7299
|
+
),
|
|
7300
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7301
|
+
dimension_type="dimensionType",
|
|
7302
|
+
values=["values"]
|
|
7303
|
+
),
|
|
7304
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7305
|
+
dimension_type="dimensionType",
|
|
7306
|
+
values=["values"]
|
|
7307
|
+
)
|
|
7308
|
+
),
|
|
7309
|
+
attributes={
|
|
7310
|
+
"attributes_key": customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty(
|
|
7311
|
+
dimension_type="dimensionType",
|
|
7312
|
+
values=["values"]
|
|
7313
|
+
)
|
|
7314
|
+
},
|
|
7315
|
+
billing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7316
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7317
|
+
dimension_type="dimensionType",
|
|
7318
|
+
values=["values"]
|
|
7319
|
+
),
|
|
7320
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7321
|
+
dimension_type="dimensionType",
|
|
7322
|
+
values=["values"]
|
|
7323
|
+
),
|
|
7324
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7325
|
+
dimension_type="dimensionType",
|
|
7326
|
+
values=["values"]
|
|
7327
|
+
),
|
|
7328
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7329
|
+
dimension_type="dimensionType",
|
|
7330
|
+
values=["values"]
|
|
7331
|
+
),
|
|
7332
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7333
|
+
dimension_type="dimensionType",
|
|
7334
|
+
values=["values"]
|
|
7335
|
+
),
|
|
7336
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7337
|
+
dimension_type="dimensionType",
|
|
7338
|
+
values=["values"]
|
|
7339
|
+
)
|
|
7340
|
+
),
|
|
7341
|
+
birth_date=customerprofiles.CfnSegmentDefinition.DateDimensionProperty(
|
|
7342
|
+
dimension_type="dimensionType",
|
|
7343
|
+
values=["values"]
|
|
7344
|
+
),
|
|
7345
|
+
business_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7346
|
+
dimension_type="dimensionType",
|
|
7347
|
+
values=["values"]
|
|
7348
|
+
),
|
|
7349
|
+
business_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7350
|
+
dimension_type="dimensionType",
|
|
7351
|
+
values=["values"]
|
|
7352
|
+
),
|
|
7353
|
+
business_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7354
|
+
dimension_type="dimensionType",
|
|
7355
|
+
values=["values"]
|
|
7356
|
+
),
|
|
7357
|
+
email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7358
|
+
dimension_type="dimensionType",
|
|
7359
|
+
values=["values"]
|
|
7360
|
+
),
|
|
7361
|
+
first_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7362
|
+
dimension_type="dimensionType",
|
|
7363
|
+
values=["values"]
|
|
7364
|
+
),
|
|
7365
|
+
gender_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7366
|
+
dimension_type="dimensionType",
|
|
7367
|
+
values=["values"]
|
|
7368
|
+
),
|
|
7369
|
+
home_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7370
|
+
dimension_type="dimensionType",
|
|
7371
|
+
values=["values"]
|
|
7372
|
+
),
|
|
7373
|
+
last_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7374
|
+
dimension_type="dimensionType",
|
|
7375
|
+
values=["values"]
|
|
7376
|
+
),
|
|
7377
|
+
mailing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7378
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7379
|
+
dimension_type="dimensionType",
|
|
7380
|
+
values=["values"]
|
|
7381
|
+
),
|
|
7382
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7383
|
+
dimension_type="dimensionType",
|
|
7384
|
+
values=["values"]
|
|
7385
|
+
),
|
|
7386
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7387
|
+
dimension_type="dimensionType",
|
|
7388
|
+
values=["values"]
|
|
7389
|
+
),
|
|
7390
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7391
|
+
dimension_type="dimensionType",
|
|
7392
|
+
values=["values"]
|
|
7393
|
+
),
|
|
7394
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7395
|
+
dimension_type="dimensionType",
|
|
7396
|
+
values=["values"]
|
|
7397
|
+
),
|
|
7398
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7399
|
+
dimension_type="dimensionType",
|
|
7400
|
+
values=["values"]
|
|
7401
|
+
)
|
|
7402
|
+
),
|
|
7403
|
+
middle_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7404
|
+
dimension_type="dimensionType",
|
|
7405
|
+
values=["values"]
|
|
7406
|
+
),
|
|
7407
|
+
mobile_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7408
|
+
dimension_type="dimensionType",
|
|
7409
|
+
values=["values"]
|
|
7410
|
+
),
|
|
7411
|
+
party_type_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7412
|
+
dimension_type="dimensionType",
|
|
7413
|
+
values=["values"]
|
|
7414
|
+
),
|
|
7415
|
+
personal_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7416
|
+
dimension_type="dimensionType",
|
|
7417
|
+
values=["values"]
|
|
7418
|
+
),
|
|
7419
|
+
phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7420
|
+
dimension_type="dimensionType",
|
|
7421
|
+
values=["values"]
|
|
7422
|
+
),
|
|
7423
|
+
shipping_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7424
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7425
|
+
dimension_type="dimensionType",
|
|
7426
|
+
values=["values"]
|
|
7427
|
+
),
|
|
7428
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7429
|
+
dimension_type="dimensionType",
|
|
7430
|
+
values=["values"]
|
|
7431
|
+
),
|
|
7432
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7433
|
+
dimension_type="dimensionType",
|
|
7434
|
+
values=["values"]
|
|
7435
|
+
),
|
|
7436
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7437
|
+
dimension_type="dimensionType",
|
|
7438
|
+
values=["values"]
|
|
7439
|
+
),
|
|
7440
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7441
|
+
dimension_type="dimensionType",
|
|
7442
|
+
values=["values"]
|
|
7443
|
+
),
|
|
7444
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7445
|
+
dimension_type="dimensionType",
|
|
7446
|
+
values=["values"]
|
|
7447
|
+
)
|
|
7448
|
+
)
|
|
7449
|
+
)
|
|
7450
|
+
)],
|
|
7451
|
+
source_segments=[customerprofiles.CfnSegmentDefinition.SourceSegmentProperty(
|
|
7452
|
+
segment_definition_name="segmentDefinitionName"
|
|
7453
|
+
)],
|
|
7454
|
+
source_type="sourceType",
|
|
7455
|
+
type="type"
|
|
7456
|
+
)
|
|
7457
|
+
'''
|
|
7458
|
+
if __debug__:
|
|
7459
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8d94bcaeaf726b09dbd09e1e48f12c042d531e9d0b092770695cebc3d52b5f5d)
|
|
7460
|
+
check_type(argname="argument dimensions", value=dimensions, expected_type=type_hints["dimensions"])
|
|
7461
|
+
check_type(argname="argument source_segments", value=source_segments, expected_type=type_hints["source_segments"])
|
|
7462
|
+
check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
|
|
7463
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
7464
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7465
|
+
if dimensions is not None:
|
|
7466
|
+
self._values["dimensions"] = dimensions
|
|
7467
|
+
if source_segments is not None:
|
|
7468
|
+
self._values["source_segments"] = source_segments
|
|
7469
|
+
if source_type is not None:
|
|
7470
|
+
self._values["source_type"] = source_type
|
|
7471
|
+
if type is not None:
|
|
7472
|
+
self._values["type"] = type
|
|
7473
|
+
|
|
7474
|
+
@builtins.property
|
|
7475
|
+
def dimensions(
|
|
7476
|
+
self,
|
|
7477
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.DimensionProperty"]]]]:
|
|
7478
|
+
'''Defines the attributes to segment on.
|
|
7479
|
+
|
|
7480
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-group.html#cfn-customerprofiles-segmentdefinition-group-dimensions
|
|
7481
|
+
'''
|
|
7482
|
+
result = self._values.get("dimensions")
|
|
7483
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.DimensionProperty"]]]], result)
|
|
7484
|
+
|
|
7485
|
+
@builtins.property
|
|
7486
|
+
def source_segments(
|
|
7487
|
+
self,
|
|
7488
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.SourceSegmentProperty"]]]]:
|
|
7489
|
+
'''Defines the starting source of data.
|
|
7490
|
+
|
|
7491
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-group.html#cfn-customerprofiles-segmentdefinition-group-sourcesegments
|
|
7492
|
+
'''
|
|
7493
|
+
result = self._values.get("source_segments")
|
|
7494
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.SourceSegmentProperty"]]]], result)
|
|
7495
|
+
|
|
7496
|
+
@builtins.property
|
|
7497
|
+
def source_type(self) -> typing.Optional[builtins.str]:
|
|
7498
|
+
'''Defines how to interact with the source data.
|
|
7499
|
+
|
|
7500
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-group.html#cfn-customerprofiles-segmentdefinition-group-sourcetype
|
|
7501
|
+
'''
|
|
7502
|
+
result = self._values.get("source_type")
|
|
7503
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7504
|
+
|
|
7505
|
+
@builtins.property
|
|
7506
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
7507
|
+
'''Defines how to interact with the profiles found in the current filtering.
|
|
7508
|
+
|
|
7509
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-group.html#cfn-customerprofiles-segmentdefinition-group-type
|
|
7510
|
+
'''
|
|
7511
|
+
result = self._values.get("type")
|
|
7512
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7513
|
+
|
|
7514
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7515
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7516
|
+
|
|
7517
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7518
|
+
return not (rhs == self)
|
|
7519
|
+
|
|
7520
|
+
def __repr__(self) -> str:
|
|
7521
|
+
return "GroupProperty(%s)" % ", ".join(
|
|
7522
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7523
|
+
)
|
|
7524
|
+
|
|
7525
|
+
@jsii.data_type(
|
|
7526
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.ProfileAttributesProperty",
|
|
7527
|
+
jsii_struct_bases=[],
|
|
7528
|
+
name_mapping={
|
|
7529
|
+
"account_number": "accountNumber",
|
|
7530
|
+
"additional_information": "additionalInformation",
|
|
7531
|
+
"address": "address",
|
|
7532
|
+
"attributes": "attributes",
|
|
7533
|
+
"billing_address": "billingAddress",
|
|
7534
|
+
"birth_date": "birthDate",
|
|
7535
|
+
"business_email_address": "businessEmailAddress",
|
|
7536
|
+
"business_name": "businessName",
|
|
7537
|
+
"business_phone_number": "businessPhoneNumber",
|
|
7538
|
+
"email_address": "emailAddress",
|
|
7539
|
+
"first_name": "firstName",
|
|
7540
|
+
"gender_string": "genderString",
|
|
7541
|
+
"home_phone_number": "homePhoneNumber",
|
|
7542
|
+
"last_name": "lastName",
|
|
7543
|
+
"mailing_address": "mailingAddress",
|
|
7544
|
+
"middle_name": "middleName",
|
|
7545
|
+
"mobile_phone_number": "mobilePhoneNumber",
|
|
7546
|
+
"party_type_string": "partyTypeString",
|
|
7547
|
+
"personal_email_address": "personalEmailAddress",
|
|
7548
|
+
"phone_number": "phoneNumber",
|
|
7549
|
+
"shipping_address": "shippingAddress",
|
|
7550
|
+
},
|
|
7551
|
+
)
|
|
7552
|
+
class ProfileAttributesProperty:
|
|
7553
|
+
def __init__(
|
|
7554
|
+
self,
|
|
7555
|
+
*,
|
|
7556
|
+
account_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7557
|
+
additional_information: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7558
|
+
address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.AddressDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7559
|
+
attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.AttributeDimensionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7560
|
+
billing_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.AddressDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7561
|
+
birth_date: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.DateDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7562
|
+
business_email_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7563
|
+
business_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7564
|
+
business_phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7565
|
+
email_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7566
|
+
first_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7567
|
+
gender_string: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7568
|
+
home_phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7569
|
+
last_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7570
|
+
mailing_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.AddressDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7571
|
+
middle_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7572
|
+
mobile_phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7573
|
+
party_type_string: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7574
|
+
personal_email_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7575
|
+
phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.ProfileDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7576
|
+
shipping_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.AddressDimensionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7577
|
+
) -> None:
|
|
7578
|
+
'''The object used to segment on attributes within the customer profile.
|
|
7579
|
+
|
|
7580
|
+
:param account_number: A field to describe values to segment on within account number.
|
|
7581
|
+
:param additional_information: A field to describe values to segment on within additional information.
|
|
7582
|
+
:param address: A field to describe values to segment on within address.
|
|
7583
|
+
:param attributes: A field to describe values to segment on within attributes.
|
|
7584
|
+
:param billing_address: A field to describe values to segment on within billing address.
|
|
7585
|
+
:param birth_date: A field to describe values to segment on within birthDate.
|
|
7586
|
+
:param business_email_address: A field to describe values to segment on within business email address.
|
|
7587
|
+
:param business_name: A field to describe values to segment on within business name.
|
|
7588
|
+
:param business_phone_number: A field to describe values to segment on within business phone number.
|
|
7589
|
+
:param email_address: A field to describe values to segment on within email address.
|
|
7590
|
+
:param first_name: A field to describe values to segment on within first name.
|
|
7591
|
+
:param gender_string: A field to describe values to segment on within genderString.
|
|
7592
|
+
:param home_phone_number: A field to describe values to segment on within home phone number.
|
|
7593
|
+
:param last_name: A field to describe values to segment on within last name.
|
|
7594
|
+
:param mailing_address: A field to describe values to segment on within mailing address.
|
|
7595
|
+
:param middle_name: A field to describe values to segment on within middle name.
|
|
7596
|
+
:param mobile_phone_number: A field to describe values to segment on within mobile phone number.
|
|
7597
|
+
:param party_type_string: A field to describe values to segment on within partyTypeString.
|
|
7598
|
+
:param personal_email_address: A field to describe values to segment on within personal email address.
|
|
7599
|
+
:param phone_number: A field to describe values to segment on within phone number.
|
|
7600
|
+
:param shipping_address: A field to describe values to segment on within shipping address.
|
|
7601
|
+
|
|
7602
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html
|
|
7603
|
+
:exampleMetadata: fixture=_generated
|
|
7604
|
+
|
|
7605
|
+
Example::
|
|
7606
|
+
|
|
7607
|
+
# The code below shows an example of how to instantiate this type.
|
|
7608
|
+
# The values are placeholders you should change.
|
|
7609
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
7610
|
+
|
|
7611
|
+
profile_attributes_property = customerprofiles.CfnSegmentDefinition.ProfileAttributesProperty(
|
|
7612
|
+
account_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7613
|
+
dimension_type="dimensionType",
|
|
7614
|
+
values=["values"]
|
|
7615
|
+
),
|
|
7616
|
+
additional_information=customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty(
|
|
7617
|
+
dimension_type="dimensionType",
|
|
7618
|
+
values=["values"]
|
|
7619
|
+
),
|
|
7620
|
+
address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7621
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7622
|
+
dimension_type="dimensionType",
|
|
7623
|
+
values=["values"]
|
|
7624
|
+
),
|
|
7625
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7626
|
+
dimension_type="dimensionType",
|
|
7627
|
+
values=["values"]
|
|
7628
|
+
),
|
|
7629
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7630
|
+
dimension_type="dimensionType",
|
|
7631
|
+
values=["values"]
|
|
7632
|
+
),
|
|
7633
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7634
|
+
dimension_type="dimensionType",
|
|
7635
|
+
values=["values"]
|
|
7636
|
+
),
|
|
7637
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7638
|
+
dimension_type="dimensionType",
|
|
7639
|
+
values=["values"]
|
|
7640
|
+
),
|
|
7641
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7642
|
+
dimension_type="dimensionType",
|
|
7643
|
+
values=["values"]
|
|
7644
|
+
)
|
|
7645
|
+
),
|
|
7646
|
+
attributes={
|
|
7647
|
+
"attributes_key": customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty(
|
|
7648
|
+
dimension_type="dimensionType",
|
|
7649
|
+
values=["values"]
|
|
7650
|
+
)
|
|
7651
|
+
},
|
|
7652
|
+
billing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7653
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7654
|
+
dimension_type="dimensionType",
|
|
7655
|
+
values=["values"]
|
|
7656
|
+
),
|
|
7657
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7658
|
+
dimension_type="dimensionType",
|
|
7659
|
+
values=["values"]
|
|
7660
|
+
),
|
|
7661
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7662
|
+
dimension_type="dimensionType",
|
|
7663
|
+
values=["values"]
|
|
7664
|
+
),
|
|
7665
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7666
|
+
dimension_type="dimensionType",
|
|
7667
|
+
values=["values"]
|
|
7668
|
+
),
|
|
7669
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7670
|
+
dimension_type="dimensionType",
|
|
7671
|
+
values=["values"]
|
|
7672
|
+
),
|
|
7673
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7674
|
+
dimension_type="dimensionType",
|
|
7675
|
+
values=["values"]
|
|
7676
|
+
)
|
|
7677
|
+
),
|
|
7678
|
+
birth_date=customerprofiles.CfnSegmentDefinition.DateDimensionProperty(
|
|
7679
|
+
dimension_type="dimensionType",
|
|
7680
|
+
values=["values"]
|
|
7681
|
+
),
|
|
7682
|
+
business_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7683
|
+
dimension_type="dimensionType",
|
|
7684
|
+
values=["values"]
|
|
7685
|
+
),
|
|
7686
|
+
business_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7687
|
+
dimension_type="dimensionType",
|
|
7688
|
+
values=["values"]
|
|
7689
|
+
),
|
|
7690
|
+
business_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7691
|
+
dimension_type="dimensionType",
|
|
7692
|
+
values=["values"]
|
|
7693
|
+
),
|
|
7694
|
+
email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7695
|
+
dimension_type="dimensionType",
|
|
7696
|
+
values=["values"]
|
|
7697
|
+
),
|
|
7698
|
+
first_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7699
|
+
dimension_type="dimensionType",
|
|
7700
|
+
values=["values"]
|
|
7701
|
+
),
|
|
7702
|
+
gender_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7703
|
+
dimension_type="dimensionType",
|
|
7704
|
+
values=["values"]
|
|
7705
|
+
),
|
|
7706
|
+
home_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7707
|
+
dimension_type="dimensionType",
|
|
7708
|
+
values=["values"]
|
|
7709
|
+
),
|
|
7710
|
+
last_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7711
|
+
dimension_type="dimensionType",
|
|
7712
|
+
values=["values"]
|
|
7713
|
+
),
|
|
7714
|
+
mailing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7715
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7716
|
+
dimension_type="dimensionType",
|
|
7717
|
+
values=["values"]
|
|
7718
|
+
),
|
|
7719
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7720
|
+
dimension_type="dimensionType",
|
|
7721
|
+
values=["values"]
|
|
7722
|
+
),
|
|
7723
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7724
|
+
dimension_type="dimensionType",
|
|
7725
|
+
values=["values"]
|
|
7726
|
+
),
|
|
7727
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7728
|
+
dimension_type="dimensionType",
|
|
7729
|
+
values=["values"]
|
|
7730
|
+
),
|
|
7731
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7732
|
+
dimension_type="dimensionType",
|
|
7733
|
+
values=["values"]
|
|
7734
|
+
),
|
|
7735
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7736
|
+
dimension_type="dimensionType",
|
|
7737
|
+
values=["values"]
|
|
7738
|
+
)
|
|
7739
|
+
),
|
|
7740
|
+
middle_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7741
|
+
dimension_type="dimensionType",
|
|
7742
|
+
values=["values"]
|
|
7743
|
+
),
|
|
7744
|
+
mobile_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7745
|
+
dimension_type="dimensionType",
|
|
7746
|
+
values=["values"]
|
|
7747
|
+
),
|
|
7748
|
+
party_type_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7749
|
+
dimension_type="dimensionType",
|
|
7750
|
+
values=["values"]
|
|
7751
|
+
),
|
|
7752
|
+
personal_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7753
|
+
dimension_type="dimensionType",
|
|
7754
|
+
values=["values"]
|
|
7755
|
+
),
|
|
7756
|
+
phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7757
|
+
dimension_type="dimensionType",
|
|
7758
|
+
values=["values"]
|
|
7759
|
+
),
|
|
7760
|
+
shipping_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
7761
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7762
|
+
dimension_type="dimensionType",
|
|
7763
|
+
values=["values"]
|
|
7764
|
+
),
|
|
7765
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7766
|
+
dimension_type="dimensionType",
|
|
7767
|
+
values=["values"]
|
|
7768
|
+
),
|
|
7769
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7770
|
+
dimension_type="dimensionType",
|
|
7771
|
+
values=["values"]
|
|
7772
|
+
),
|
|
7773
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7774
|
+
dimension_type="dimensionType",
|
|
7775
|
+
values=["values"]
|
|
7776
|
+
),
|
|
7777
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7778
|
+
dimension_type="dimensionType",
|
|
7779
|
+
values=["values"]
|
|
7780
|
+
),
|
|
7781
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
7782
|
+
dimension_type="dimensionType",
|
|
7783
|
+
values=["values"]
|
|
7784
|
+
)
|
|
7785
|
+
)
|
|
7786
|
+
)
|
|
7787
|
+
'''
|
|
7788
|
+
if __debug__:
|
|
7789
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2d3744d80b787b304270031bc1ba903495b3abb0c8edddf7fdffa36031caf48f)
|
|
7790
|
+
check_type(argname="argument account_number", value=account_number, expected_type=type_hints["account_number"])
|
|
7791
|
+
check_type(argname="argument additional_information", value=additional_information, expected_type=type_hints["additional_information"])
|
|
7792
|
+
check_type(argname="argument address", value=address, expected_type=type_hints["address"])
|
|
7793
|
+
check_type(argname="argument attributes", value=attributes, expected_type=type_hints["attributes"])
|
|
7794
|
+
check_type(argname="argument billing_address", value=billing_address, expected_type=type_hints["billing_address"])
|
|
7795
|
+
check_type(argname="argument birth_date", value=birth_date, expected_type=type_hints["birth_date"])
|
|
7796
|
+
check_type(argname="argument business_email_address", value=business_email_address, expected_type=type_hints["business_email_address"])
|
|
7797
|
+
check_type(argname="argument business_name", value=business_name, expected_type=type_hints["business_name"])
|
|
7798
|
+
check_type(argname="argument business_phone_number", value=business_phone_number, expected_type=type_hints["business_phone_number"])
|
|
7799
|
+
check_type(argname="argument email_address", value=email_address, expected_type=type_hints["email_address"])
|
|
7800
|
+
check_type(argname="argument first_name", value=first_name, expected_type=type_hints["first_name"])
|
|
7801
|
+
check_type(argname="argument gender_string", value=gender_string, expected_type=type_hints["gender_string"])
|
|
7802
|
+
check_type(argname="argument home_phone_number", value=home_phone_number, expected_type=type_hints["home_phone_number"])
|
|
7803
|
+
check_type(argname="argument last_name", value=last_name, expected_type=type_hints["last_name"])
|
|
7804
|
+
check_type(argname="argument mailing_address", value=mailing_address, expected_type=type_hints["mailing_address"])
|
|
7805
|
+
check_type(argname="argument middle_name", value=middle_name, expected_type=type_hints["middle_name"])
|
|
7806
|
+
check_type(argname="argument mobile_phone_number", value=mobile_phone_number, expected_type=type_hints["mobile_phone_number"])
|
|
7807
|
+
check_type(argname="argument party_type_string", value=party_type_string, expected_type=type_hints["party_type_string"])
|
|
7808
|
+
check_type(argname="argument personal_email_address", value=personal_email_address, expected_type=type_hints["personal_email_address"])
|
|
7809
|
+
check_type(argname="argument phone_number", value=phone_number, expected_type=type_hints["phone_number"])
|
|
7810
|
+
check_type(argname="argument shipping_address", value=shipping_address, expected_type=type_hints["shipping_address"])
|
|
7811
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7812
|
+
if account_number is not None:
|
|
7813
|
+
self._values["account_number"] = account_number
|
|
7814
|
+
if additional_information is not None:
|
|
7815
|
+
self._values["additional_information"] = additional_information
|
|
7816
|
+
if address is not None:
|
|
7817
|
+
self._values["address"] = address
|
|
7818
|
+
if attributes is not None:
|
|
7819
|
+
self._values["attributes"] = attributes
|
|
7820
|
+
if billing_address is not None:
|
|
7821
|
+
self._values["billing_address"] = billing_address
|
|
7822
|
+
if birth_date is not None:
|
|
7823
|
+
self._values["birth_date"] = birth_date
|
|
7824
|
+
if business_email_address is not None:
|
|
7825
|
+
self._values["business_email_address"] = business_email_address
|
|
7826
|
+
if business_name is not None:
|
|
7827
|
+
self._values["business_name"] = business_name
|
|
7828
|
+
if business_phone_number is not None:
|
|
7829
|
+
self._values["business_phone_number"] = business_phone_number
|
|
7830
|
+
if email_address is not None:
|
|
7831
|
+
self._values["email_address"] = email_address
|
|
7832
|
+
if first_name is not None:
|
|
7833
|
+
self._values["first_name"] = first_name
|
|
7834
|
+
if gender_string is not None:
|
|
7835
|
+
self._values["gender_string"] = gender_string
|
|
7836
|
+
if home_phone_number is not None:
|
|
7837
|
+
self._values["home_phone_number"] = home_phone_number
|
|
7838
|
+
if last_name is not None:
|
|
7839
|
+
self._values["last_name"] = last_name
|
|
7840
|
+
if mailing_address is not None:
|
|
7841
|
+
self._values["mailing_address"] = mailing_address
|
|
7842
|
+
if middle_name is not None:
|
|
7843
|
+
self._values["middle_name"] = middle_name
|
|
7844
|
+
if mobile_phone_number is not None:
|
|
7845
|
+
self._values["mobile_phone_number"] = mobile_phone_number
|
|
7846
|
+
if party_type_string is not None:
|
|
7847
|
+
self._values["party_type_string"] = party_type_string
|
|
7848
|
+
if personal_email_address is not None:
|
|
7849
|
+
self._values["personal_email_address"] = personal_email_address
|
|
7850
|
+
if phone_number is not None:
|
|
7851
|
+
self._values["phone_number"] = phone_number
|
|
7852
|
+
if shipping_address is not None:
|
|
7853
|
+
self._values["shipping_address"] = shipping_address
|
|
7854
|
+
|
|
7855
|
+
@builtins.property
|
|
7856
|
+
def account_number(
|
|
7857
|
+
self,
|
|
7858
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7859
|
+
'''A field to describe values to segment on within account number.
|
|
7860
|
+
|
|
7861
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-accountnumber
|
|
7862
|
+
'''
|
|
7863
|
+
result = self._values.get("account_number")
|
|
7864
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7865
|
+
|
|
7866
|
+
@builtins.property
|
|
7867
|
+
def additional_information(
|
|
7868
|
+
self,
|
|
7869
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty"]]:
|
|
7870
|
+
'''A field to describe values to segment on within additional information.
|
|
7871
|
+
|
|
7872
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-additionalinformation
|
|
7873
|
+
'''
|
|
7874
|
+
result = self._values.get("additional_information")
|
|
7875
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty"]], result)
|
|
7876
|
+
|
|
7877
|
+
@builtins.property
|
|
7878
|
+
def address(
|
|
7879
|
+
self,
|
|
7880
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]]:
|
|
7881
|
+
'''A field to describe values to segment on within address.
|
|
7882
|
+
|
|
7883
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-address
|
|
7884
|
+
'''
|
|
7885
|
+
result = self._values.get("address")
|
|
7886
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]], result)
|
|
7887
|
+
|
|
7888
|
+
@builtins.property
|
|
7889
|
+
def attributes(
|
|
7890
|
+
self,
|
|
7891
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AttributeDimensionProperty"]]]]:
|
|
7892
|
+
'''A field to describe values to segment on within attributes.
|
|
7893
|
+
|
|
7894
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-attributes
|
|
7895
|
+
'''
|
|
7896
|
+
result = self._values.get("attributes")
|
|
7897
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AttributeDimensionProperty"]]]], result)
|
|
7898
|
+
|
|
7899
|
+
@builtins.property
|
|
7900
|
+
def billing_address(
|
|
7901
|
+
self,
|
|
7902
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]]:
|
|
7903
|
+
'''A field to describe values to segment on within billing address.
|
|
7904
|
+
|
|
7905
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-billingaddress
|
|
7906
|
+
'''
|
|
7907
|
+
result = self._values.get("billing_address")
|
|
7908
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]], result)
|
|
7909
|
+
|
|
7910
|
+
@builtins.property
|
|
7911
|
+
def birth_date(
|
|
7912
|
+
self,
|
|
7913
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.DateDimensionProperty"]]:
|
|
7914
|
+
'''A field to describe values to segment on within birthDate.
|
|
7915
|
+
|
|
7916
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-birthdate
|
|
7917
|
+
'''
|
|
7918
|
+
result = self._values.get("birth_date")
|
|
7919
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.DateDimensionProperty"]], result)
|
|
7920
|
+
|
|
7921
|
+
@builtins.property
|
|
7922
|
+
def business_email_address(
|
|
7923
|
+
self,
|
|
7924
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7925
|
+
'''A field to describe values to segment on within business email address.
|
|
7926
|
+
|
|
7927
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-businessemailaddress
|
|
7928
|
+
'''
|
|
7929
|
+
result = self._values.get("business_email_address")
|
|
7930
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7931
|
+
|
|
7932
|
+
@builtins.property
|
|
7933
|
+
def business_name(
|
|
7934
|
+
self,
|
|
7935
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7936
|
+
'''A field to describe values to segment on within business name.
|
|
7937
|
+
|
|
7938
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-businessname
|
|
7939
|
+
'''
|
|
7940
|
+
result = self._values.get("business_name")
|
|
7941
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7942
|
+
|
|
7943
|
+
@builtins.property
|
|
7944
|
+
def business_phone_number(
|
|
7945
|
+
self,
|
|
7946
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7947
|
+
'''A field to describe values to segment on within business phone number.
|
|
7948
|
+
|
|
7949
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-businessphonenumber
|
|
7950
|
+
'''
|
|
7951
|
+
result = self._values.get("business_phone_number")
|
|
7952
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7953
|
+
|
|
7954
|
+
@builtins.property
|
|
7955
|
+
def email_address(
|
|
7956
|
+
self,
|
|
7957
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7958
|
+
'''A field to describe values to segment on within email address.
|
|
7959
|
+
|
|
7960
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-emailaddress
|
|
7961
|
+
'''
|
|
7962
|
+
result = self._values.get("email_address")
|
|
7963
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7964
|
+
|
|
7965
|
+
@builtins.property
|
|
7966
|
+
def first_name(
|
|
7967
|
+
self,
|
|
7968
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7969
|
+
'''A field to describe values to segment on within first name.
|
|
7970
|
+
|
|
7971
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-firstname
|
|
7972
|
+
'''
|
|
7973
|
+
result = self._values.get("first_name")
|
|
7974
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7975
|
+
|
|
7976
|
+
@builtins.property
|
|
7977
|
+
def gender_string(
|
|
7978
|
+
self,
|
|
7979
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7980
|
+
'''A field to describe values to segment on within genderString.
|
|
7981
|
+
|
|
7982
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-genderstring
|
|
7983
|
+
'''
|
|
7984
|
+
result = self._values.get("gender_string")
|
|
7985
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7986
|
+
|
|
7987
|
+
@builtins.property
|
|
7988
|
+
def home_phone_number(
|
|
7989
|
+
self,
|
|
7990
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
7991
|
+
'''A field to describe values to segment on within home phone number.
|
|
7992
|
+
|
|
7993
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-homephonenumber
|
|
7994
|
+
'''
|
|
7995
|
+
result = self._values.get("home_phone_number")
|
|
7996
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
7997
|
+
|
|
7998
|
+
@builtins.property
|
|
7999
|
+
def last_name(
|
|
8000
|
+
self,
|
|
8001
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
8002
|
+
'''A field to describe values to segment on within last name.
|
|
8003
|
+
|
|
8004
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-lastname
|
|
8005
|
+
'''
|
|
8006
|
+
result = self._values.get("last_name")
|
|
8007
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
8008
|
+
|
|
8009
|
+
@builtins.property
|
|
8010
|
+
def mailing_address(
|
|
8011
|
+
self,
|
|
8012
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]]:
|
|
8013
|
+
'''A field to describe values to segment on within mailing address.
|
|
8014
|
+
|
|
8015
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-mailingaddress
|
|
8016
|
+
'''
|
|
8017
|
+
result = self._values.get("mailing_address")
|
|
8018
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]], result)
|
|
8019
|
+
|
|
8020
|
+
@builtins.property
|
|
8021
|
+
def middle_name(
|
|
8022
|
+
self,
|
|
8023
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
8024
|
+
'''A field to describe values to segment on within middle name.
|
|
8025
|
+
|
|
8026
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-middlename
|
|
8027
|
+
'''
|
|
8028
|
+
result = self._values.get("middle_name")
|
|
8029
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
8030
|
+
|
|
8031
|
+
@builtins.property
|
|
8032
|
+
def mobile_phone_number(
|
|
8033
|
+
self,
|
|
8034
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
8035
|
+
'''A field to describe values to segment on within mobile phone number.
|
|
8036
|
+
|
|
8037
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-mobilephonenumber
|
|
8038
|
+
'''
|
|
8039
|
+
result = self._values.get("mobile_phone_number")
|
|
8040
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
8041
|
+
|
|
8042
|
+
@builtins.property
|
|
8043
|
+
def party_type_string(
|
|
8044
|
+
self,
|
|
8045
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
8046
|
+
'''A field to describe values to segment on within partyTypeString.
|
|
8047
|
+
|
|
8048
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-partytypestring
|
|
8049
|
+
'''
|
|
8050
|
+
result = self._values.get("party_type_string")
|
|
8051
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
8052
|
+
|
|
8053
|
+
@builtins.property
|
|
8054
|
+
def personal_email_address(
|
|
8055
|
+
self,
|
|
8056
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
8057
|
+
'''A field to describe values to segment on within personal email address.
|
|
8058
|
+
|
|
8059
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-personalemailaddress
|
|
8060
|
+
'''
|
|
8061
|
+
result = self._values.get("personal_email_address")
|
|
8062
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
8063
|
+
|
|
8064
|
+
@builtins.property
|
|
8065
|
+
def phone_number(
|
|
8066
|
+
self,
|
|
8067
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]]:
|
|
8068
|
+
'''A field to describe values to segment on within phone number.
|
|
8069
|
+
|
|
8070
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-phonenumber
|
|
8071
|
+
'''
|
|
8072
|
+
result = self._values.get("phone_number")
|
|
8073
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.ProfileDimensionProperty"]], result)
|
|
8074
|
+
|
|
8075
|
+
@builtins.property
|
|
8076
|
+
def shipping_address(
|
|
8077
|
+
self,
|
|
8078
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]]:
|
|
8079
|
+
'''A field to describe values to segment on within shipping address.
|
|
8080
|
+
|
|
8081
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profileattributes.html#cfn-customerprofiles-segmentdefinition-profileattributes-shippingaddress
|
|
8082
|
+
'''
|
|
8083
|
+
result = self._values.get("shipping_address")
|
|
8084
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.AddressDimensionProperty"]], result)
|
|
8085
|
+
|
|
8086
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8087
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8088
|
+
|
|
8089
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8090
|
+
return not (rhs == self)
|
|
8091
|
+
|
|
8092
|
+
def __repr__(self) -> str:
|
|
8093
|
+
return "ProfileAttributesProperty(%s)" % ", ".join(
|
|
8094
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8095
|
+
)
|
|
8096
|
+
|
|
8097
|
+
@jsii.data_type(
|
|
8098
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty",
|
|
8099
|
+
jsii_struct_bases=[],
|
|
8100
|
+
name_mapping={"dimension_type": "dimensionType", "values": "values"},
|
|
8101
|
+
)
|
|
8102
|
+
class ProfileDimensionProperty:
|
|
8103
|
+
def __init__(
|
|
8104
|
+
self,
|
|
8105
|
+
*,
|
|
8106
|
+
dimension_type: builtins.str,
|
|
8107
|
+
values: typing.Sequence[builtins.str],
|
|
8108
|
+
) -> None:
|
|
8109
|
+
'''Object that segments on various Customer profile's fields that are larger than normal.
|
|
8110
|
+
|
|
8111
|
+
:param dimension_type: The action to segment on.
|
|
8112
|
+
:param values:
|
|
8113
|
+
|
|
8114
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profiledimension.html
|
|
8115
|
+
:exampleMetadata: fixture=_generated
|
|
8116
|
+
|
|
8117
|
+
Example::
|
|
8118
|
+
|
|
8119
|
+
# The code below shows an example of how to instantiate this type.
|
|
8120
|
+
# The values are placeholders you should change.
|
|
8121
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
8122
|
+
|
|
8123
|
+
profile_dimension_property = customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8124
|
+
dimension_type="dimensionType",
|
|
8125
|
+
values=["values"]
|
|
8126
|
+
)
|
|
8127
|
+
'''
|
|
8128
|
+
if __debug__:
|
|
8129
|
+
type_hints = typing.get_type_hints(_typecheckingstub__007e452519747d631a7d676cfec00290dff2452d6eaac4a54fc80925aca3d685)
|
|
8130
|
+
check_type(argname="argument dimension_type", value=dimension_type, expected_type=type_hints["dimension_type"])
|
|
8131
|
+
check_type(argname="argument values", value=values, expected_type=type_hints["values"])
|
|
8132
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8133
|
+
"dimension_type": dimension_type,
|
|
8134
|
+
"values": values,
|
|
8135
|
+
}
|
|
8136
|
+
|
|
8137
|
+
@builtins.property
|
|
8138
|
+
def dimension_type(self) -> builtins.str:
|
|
8139
|
+
'''The action to segment on.
|
|
8140
|
+
|
|
8141
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profiledimension.html#cfn-customerprofiles-segmentdefinition-profiledimension-dimensiontype
|
|
8142
|
+
'''
|
|
8143
|
+
result = self._values.get("dimension_type")
|
|
8144
|
+
assert result is not None, "Required property 'dimension_type' is missing"
|
|
8145
|
+
return typing.cast(builtins.str, result)
|
|
8146
|
+
|
|
8147
|
+
@builtins.property
|
|
8148
|
+
def values(self) -> typing.List[builtins.str]:
|
|
8149
|
+
'''
|
|
8150
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-profiledimension.html#cfn-customerprofiles-segmentdefinition-profiledimension-values
|
|
8151
|
+
'''
|
|
8152
|
+
result = self._values.get("values")
|
|
8153
|
+
assert result is not None, "Required property 'values' is missing"
|
|
8154
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
8155
|
+
|
|
8156
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8157
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8158
|
+
|
|
8159
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8160
|
+
return not (rhs == self)
|
|
8161
|
+
|
|
8162
|
+
def __repr__(self) -> str:
|
|
8163
|
+
return "ProfileDimensionProperty(%s)" % ", ".join(
|
|
8164
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8165
|
+
)
|
|
8166
|
+
|
|
8167
|
+
@jsii.data_type(
|
|
8168
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.RangeOverrideProperty",
|
|
8169
|
+
jsii_struct_bases=[],
|
|
8170
|
+
name_mapping={"start": "start", "unit": "unit", "end": "end"},
|
|
8171
|
+
)
|
|
8172
|
+
class RangeOverrideProperty:
|
|
8173
|
+
def __init__(
|
|
8174
|
+
self,
|
|
8175
|
+
*,
|
|
8176
|
+
start: jsii.Number,
|
|
8177
|
+
unit: builtins.str,
|
|
8178
|
+
end: typing.Optional[jsii.Number] = None,
|
|
8179
|
+
) -> None:
|
|
8180
|
+
'''Overrides the original range on a calculated attribute definition.
|
|
8181
|
+
|
|
8182
|
+
:param start: The start time of when to include objects.
|
|
8183
|
+
:param unit: The unit for start and end.
|
|
8184
|
+
:param end: The end time of when to include objects.
|
|
8185
|
+
|
|
8186
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-rangeoverride.html
|
|
8187
|
+
:exampleMetadata: fixture=_generated
|
|
8188
|
+
|
|
8189
|
+
Example::
|
|
8190
|
+
|
|
8191
|
+
# The code below shows an example of how to instantiate this type.
|
|
8192
|
+
# The values are placeholders you should change.
|
|
8193
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
8194
|
+
|
|
8195
|
+
range_override_property = customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
8196
|
+
start=123,
|
|
8197
|
+
unit="unit",
|
|
8198
|
+
|
|
8199
|
+
# the properties below are optional
|
|
8200
|
+
end=123
|
|
8201
|
+
)
|
|
8202
|
+
'''
|
|
8203
|
+
if __debug__:
|
|
8204
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ca238704a173f3c1cf142a9086e33976f93d4c9bf252b6a1aac82208186ef3e5)
|
|
8205
|
+
check_type(argname="argument start", value=start, expected_type=type_hints["start"])
|
|
8206
|
+
check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
|
|
8207
|
+
check_type(argname="argument end", value=end, expected_type=type_hints["end"])
|
|
8208
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8209
|
+
"start": start,
|
|
8210
|
+
"unit": unit,
|
|
8211
|
+
}
|
|
8212
|
+
if end is not None:
|
|
8213
|
+
self._values["end"] = end
|
|
8214
|
+
|
|
8215
|
+
@builtins.property
|
|
8216
|
+
def start(self) -> jsii.Number:
|
|
8217
|
+
'''The start time of when to include objects.
|
|
8218
|
+
|
|
8219
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-rangeoverride.html#cfn-customerprofiles-segmentdefinition-rangeoverride-start
|
|
8220
|
+
'''
|
|
8221
|
+
result = self._values.get("start")
|
|
8222
|
+
assert result is not None, "Required property 'start' is missing"
|
|
8223
|
+
return typing.cast(jsii.Number, result)
|
|
8224
|
+
|
|
8225
|
+
@builtins.property
|
|
8226
|
+
def unit(self) -> builtins.str:
|
|
8227
|
+
'''The unit for start and end.
|
|
8228
|
+
|
|
8229
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-rangeoverride.html#cfn-customerprofiles-segmentdefinition-rangeoverride-unit
|
|
8230
|
+
'''
|
|
8231
|
+
result = self._values.get("unit")
|
|
8232
|
+
assert result is not None, "Required property 'unit' is missing"
|
|
8233
|
+
return typing.cast(builtins.str, result)
|
|
8234
|
+
|
|
8235
|
+
@builtins.property
|
|
8236
|
+
def end(self) -> typing.Optional[jsii.Number]:
|
|
8237
|
+
'''The end time of when to include objects.
|
|
8238
|
+
|
|
8239
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-rangeoverride.html#cfn-customerprofiles-segmentdefinition-rangeoverride-end
|
|
8240
|
+
'''
|
|
8241
|
+
result = self._values.get("end")
|
|
8242
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
8243
|
+
|
|
8244
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8245
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8246
|
+
|
|
8247
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8248
|
+
return not (rhs == self)
|
|
8249
|
+
|
|
8250
|
+
def __repr__(self) -> str:
|
|
8251
|
+
return "RangeOverrideProperty(%s)" % ", ".join(
|
|
8252
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8253
|
+
)
|
|
8254
|
+
|
|
8255
|
+
@jsii.data_type(
|
|
8256
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.SegmentGroupProperty",
|
|
8257
|
+
jsii_struct_bases=[],
|
|
8258
|
+
name_mapping={"groups": "groups", "include": "include"},
|
|
8259
|
+
)
|
|
8260
|
+
class SegmentGroupProperty:
|
|
8261
|
+
def __init__(
|
|
8262
|
+
self,
|
|
8263
|
+
*,
|
|
8264
|
+
groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSegmentDefinition.GroupProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8265
|
+
include: typing.Optional[builtins.str] = None,
|
|
8266
|
+
) -> None:
|
|
8267
|
+
'''Contains all groups of the segment definition.
|
|
8268
|
+
|
|
8269
|
+
:param groups: Holds the list of groups within the segment definition.
|
|
8270
|
+
:param include: Defines whether to include or exclude the profiles that fit the segment criteria.
|
|
8271
|
+
|
|
8272
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-segmentgroup.html
|
|
8273
|
+
:exampleMetadata: fixture=_generated
|
|
8274
|
+
|
|
8275
|
+
Example::
|
|
8276
|
+
|
|
8277
|
+
# The code below shows an example of how to instantiate this type.
|
|
8278
|
+
# The values are placeholders you should change.
|
|
8279
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
8280
|
+
|
|
8281
|
+
segment_group_property = customerprofiles.CfnSegmentDefinition.SegmentGroupProperty(
|
|
8282
|
+
groups=[customerprofiles.CfnSegmentDefinition.GroupProperty(
|
|
8283
|
+
dimensions=[customerprofiles.CfnSegmentDefinition.DimensionProperty(
|
|
8284
|
+
calculated_attributes={
|
|
8285
|
+
"calculated_attributes_key": customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty(
|
|
8286
|
+
dimension_type="dimensionType",
|
|
8287
|
+
values=["values"],
|
|
8288
|
+
|
|
8289
|
+
# the properties below are optional
|
|
8290
|
+
condition_overrides=customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty(
|
|
8291
|
+
range=customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
8292
|
+
start=123,
|
|
8293
|
+
unit="unit",
|
|
8294
|
+
|
|
8295
|
+
# the properties below are optional
|
|
8296
|
+
end=123
|
|
8297
|
+
)
|
|
8298
|
+
)
|
|
8299
|
+
)
|
|
8300
|
+
},
|
|
8301
|
+
profile_attributes=customerprofiles.CfnSegmentDefinition.ProfileAttributesProperty(
|
|
8302
|
+
account_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8303
|
+
dimension_type="dimensionType",
|
|
8304
|
+
values=["values"]
|
|
8305
|
+
),
|
|
8306
|
+
additional_information=customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty(
|
|
8307
|
+
dimension_type="dimensionType",
|
|
8308
|
+
values=["values"]
|
|
8309
|
+
),
|
|
8310
|
+
address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8311
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8312
|
+
dimension_type="dimensionType",
|
|
8313
|
+
values=["values"]
|
|
8314
|
+
),
|
|
8315
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8316
|
+
dimension_type="dimensionType",
|
|
8317
|
+
values=["values"]
|
|
8318
|
+
),
|
|
8319
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8320
|
+
dimension_type="dimensionType",
|
|
8321
|
+
values=["values"]
|
|
8322
|
+
),
|
|
8323
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8324
|
+
dimension_type="dimensionType",
|
|
8325
|
+
values=["values"]
|
|
8326
|
+
),
|
|
8327
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8328
|
+
dimension_type="dimensionType",
|
|
8329
|
+
values=["values"]
|
|
8330
|
+
),
|
|
8331
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8332
|
+
dimension_type="dimensionType",
|
|
8333
|
+
values=["values"]
|
|
8334
|
+
)
|
|
8335
|
+
),
|
|
8336
|
+
attributes={
|
|
8337
|
+
"attributes_key": customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty(
|
|
8338
|
+
dimension_type="dimensionType",
|
|
8339
|
+
values=["values"]
|
|
8340
|
+
)
|
|
8341
|
+
},
|
|
8342
|
+
billing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8343
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8344
|
+
dimension_type="dimensionType",
|
|
8345
|
+
values=["values"]
|
|
8346
|
+
),
|
|
8347
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8348
|
+
dimension_type="dimensionType",
|
|
8349
|
+
values=["values"]
|
|
8350
|
+
),
|
|
8351
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8352
|
+
dimension_type="dimensionType",
|
|
8353
|
+
values=["values"]
|
|
8354
|
+
),
|
|
8355
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8356
|
+
dimension_type="dimensionType",
|
|
8357
|
+
values=["values"]
|
|
8358
|
+
),
|
|
8359
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8360
|
+
dimension_type="dimensionType",
|
|
8361
|
+
values=["values"]
|
|
8362
|
+
),
|
|
8363
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8364
|
+
dimension_type="dimensionType",
|
|
8365
|
+
values=["values"]
|
|
8366
|
+
)
|
|
8367
|
+
),
|
|
8368
|
+
birth_date=customerprofiles.CfnSegmentDefinition.DateDimensionProperty(
|
|
8369
|
+
dimension_type="dimensionType",
|
|
8370
|
+
values=["values"]
|
|
8371
|
+
),
|
|
8372
|
+
business_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8373
|
+
dimension_type="dimensionType",
|
|
8374
|
+
values=["values"]
|
|
8375
|
+
),
|
|
8376
|
+
business_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8377
|
+
dimension_type="dimensionType",
|
|
8378
|
+
values=["values"]
|
|
8379
|
+
),
|
|
8380
|
+
business_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8381
|
+
dimension_type="dimensionType",
|
|
8382
|
+
values=["values"]
|
|
8383
|
+
),
|
|
8384
|
+
email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8385
|
+
dimension_type="dimensionType",
|
|
8386
|
+
values=["values"]
|
|
8387
|
+
),
|
|
8388
|
+
first_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8389
|
+
dimension_type="dimensionType",
|
|
8390
|
+
values=["values"]
|
|
8391
|
+
),
|
|
8392
|
+
gender_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8393
|
+
dimension_type="dimensionType",
|
|
8394
|
+
values=["values"]
|
|
8395
|
+
),
|
|
8396
|
+
home_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8397
|
+
dimension_type="dimensionType",
|
|
8398
|
+
values=["values"]
|
|
8399
|
+
),
|
|
8400
|
+
last_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8401
|
+
dimension_type="dimensionType",
|
|
8402
|
+
values=["values"]
|
|
8403
|
+
),
|
|
8404
|
+
mailing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8405
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8406
|
+
dimension_type="dimensionType",
|
|
8407
|
+
values=["values"]
|
|
8408
|
+
),
|
|
8409
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8410
|
+
dimension_type="dimensionType",
|
|
8411
|
+
values=["values"]
|
|
8412
|
+
),
|
|
8413
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8414
|
+
dimension_type="dimensionType",
|
|
8415
|
+
values=["values"]
|
|
8416
|
+
),
|
|
8417
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8418
|
+
dimension_type="dimensionType",
|
|
8419
|
+
values=["values"]
|
|
8420
|
+
),
|
|
8421
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8422
|
+
dimension_type="dimensionType",
|
|
8423
|
+
values=["values"]
|
|
8424
|
+
),
|
|
8425
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8426
|
+
dimension_type="dimensionType",
|
|
8427
|
+
values=["values"]
|
|
8428
|
+
)
|
|
8429
|
+
),
|
|
8430
|
+
middle_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8431
|
+
dimension_type="dimensionType",
|
|
8432
|
+
values=["values"]
|
|
8433
|
+
),
|
|
8434
|
+
mobile_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8435
|
+
dimension_type="dimensionType",
|
|
8436
|
+
values=["values"]
|
|
8437
|
+
),
|
|
8438
|
+
party_type_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8439
|
+
dimension_type="dimensionType",
|
|
8440
|
+
values=["values"]
|
|
8441
|
+
),
|
|
8442
|
+
personal_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8443
|
+
dimension_type="dimensionType",
|
|
8444
|
+
values=["values"]
|
|
8445
|
+
),
|
|
8446
|
+
phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8447
|
+
dimension_type="dimensionType",
|
|
8448
|
+
values=["values"]
|
|
8449
|
+
),
|
|
8450
|
+
shipping_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8451
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8452
|
+
dimension_type="dimensionType",
|
|
8453
|
+
values=["values"]
|
|
8454
|
+
),
|
|
8455
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8456
|
+
dimension_type="dimensionType",
|
|
8457
|
+
values=["values"]
|
|
8458
|
+
),
|
|
8459
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8460
|
+
dimension_type="dimensionType",
|
|
8461
|
+
values=["values"]
|
|
8462
|
+
),
|
|
8463
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8464
|
+
dimension_type="dimensionType",
|
|
8465
|
+
values=["values"]
|
|
8466
|
+
),
|
|
8467
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8468
|
+
dimension_type="dimensionType",
|
|
8469
|
+
values=["values"]
|
|
8470
|
+
),
|
|
8471
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8472
|
+
dimension_type="dimensionType",
|
|
8473
|
+
values=["values"]
|
|
8474
|
+
)
|
|
8475
|
+
)
|
|
8476
|
+
)
|
|
8477
|
+
)],
|
|
8478
|
+
source_segments=[customerprofiles.CfnSegmentDefinition.SourceSegmentProperty(
|
|
8479
|
+
segment_definition_name="segmentDefinitionName"
|
|
8480
|
+
)],
|
|
8481
|
+
source_type="sourceType",
|
|
8482
|
+
type="type"
|
|
8483
|
+
)],
|
|
8484
|
+
include="include"
|
|
8485
|
+
)
|
|
8486
|
+
'''
|
|
8487
|
+
if __debug__:
|
|
8488
|
+
type_hints = typing.get_type_hints(_typecheckingstub__49a789743f5ac4162a8c53d6f5aae978c5989a590155f77804b52b37938d7672)
|
|
8489
|
+
check_type(argname="argument groups", value=groups, expected_type=type_hints["groups"])
|
|
8490
|
+
check_type(argname="argument include", value=include, expected_type=type_hints["include"])
|
|
8491
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8492
|
+
if groups is not None:
|
|
8493
|
+
self._values["groups"] = groups
|
|
8494
|
+
if include is not None:
|
|
8495
|
+
self._values["include"] = include
|
|
8496
|
+
|
|
8497
|
+
@builtins.property
|
|
8498
|
+
def groups(
|
|
8499
|
+
self,
|
|
8500
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.GroupProperty"]]]]:
|
|
8501
|
+
'''Holds the list of groups within the segment definition.
|
|
8502
|
+
|
|
8503
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-segmentgroup.html#cfn-customerprofiles-segmentdefinition-segmentgroup-groups
|
|
8504
|
+
'''
|
|
8505
|
+
result = self._values.get("groups")
|
|
8506
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSegmentDefinition.GroupProperty"]]]], result)
|
|
8507
|
+
|
|
8508
|
+
@builtins.property
|
|
8509
|
+
def include(self) -> typing.Optional[builtins.str]:
|
|
8510
|
+
'''Defines whether to include or exclude the profiles that fit the segment criteria.
|
|
8511
|
+
|
|
8512
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-segmentgroup.html#cfn-customerprofiles-segmentdefinition-segmentgroup-include
|
|
8513
|
+
'''
|
|
8514
|
+
result = self._values.get("include")
|
|
8515
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8516
|
+
|
|
8517
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8518
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8519
|
+
|
|
8520
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8521
|
+
return not (rhs == self)
|
|
8522
|
+
|
|
8523
|
+
def __repr__(self) -> str:
|
|
8524
|
+
return "SegmentGroupProperty(%s)" % ", ".join(
|
|
8525
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8526
|
+
)
|
|
8527
|
+
|
|
8528
|
+
@jsii.data_type(
|
|
8529
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinition.SourceSegmentProperty",
|
|
8530
|
+
jsii_struct_bases=[],
|
|
8531
|
+
name_mapping={"segment_definition_name": "segmentDefinitionName"},
|
|
8532
|
+
)
|
|
8533
|
+
class SourceSegmentProperty:
|
|
8534
|
+
def __init__(
|
|
8535
|
+
self,
|
|
8536
|
+
*,
|
|
8537
|
+
segment_definition_name: typing.Optional[builtins.str] = None,
|
|
8538
|
+
) -> None:
|
|
8539
|
+
'''The source segments to build off of.
|
|
8540
|
+
|
|
8541
|
+
:param segment_definition_name: The name of the source segment.
|
|
8542
|
+
|
|
8543
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-sourcesegment.html
|
|
8544
|
+
:exampleMetadata: fixture=_generated
|
|
8545
|
+
|
|
8546
|
+
Example::
|
|
8547
|
+
|
|
8548
|
+
# The code below shows an example of how to instantiate this type.
|
|
8549
|
+
# The values are placeholders you should change.
|
|
8550
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
8551
|
+
|
|
8552
|
+
source_segment_property = customerprofiles.CfnSegmentDefinition.SourceSegmentProperty(
|
|
8553
|
+
segment_definition_name="segmentDefinitionName"
|
|
8554
|
+
)
|
|
8555
|
+
'''
|
|
8556
|
+
if __debug__:
|
|
8557
|
+
type_hints = typing.get_type_hints(_typecheckingstub__002c938fccce270fc597ae5653583b8a9910031239e0daaf523e0c4431d75ed7)
|
|
8558
|
+
check_type(argname="argument segment_definition_name", value=segment_definition_name, expected_type=type_hints["segment_definition_name"])
|
|
8559
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8560
|
+
if segment_definition_name is not None:
|
|
8561
|
+
self._values["segment_definition_name"] = segment_definition_name
|
|
8562
|
+
|
|
8563
|
+
@builtins.property
|
|
8564
|
+
def segment_definition_name(self) -> typing.Optional[builtins.str]:
|
|
8565
|
+
'''The name of the source segment.
|
|
8566
|
+
|
|
8567
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-sourcesegment.html#cfn-customerprofiles-segmentdefinition-sourcesegment-segmentdefinitionname
|
|
8568
|
+
'''
|
|
8569
|
+
result = self._values.get("segment_definition_name")
|
|
8570
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8571
|
+
|
|
8572
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8573
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8574
|
+
|
|
8575
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8576
|
+
return not (rhs == self)
|
|
8577
|
+
|
|
8578
|
+
def __repr__(self) -> str:
|
|
8579
|
+
return "SourceSegmentProperty(%s)" % ", ".join(
|
|
8580
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8581
|
+
)
|
|
8582
|
+
|
|
8583
|
+
|
|
8584
|
+
@jsii.data_type(
|
|
8585
|
+
jsii_type="aws-cdk-lib.aws_customerprofiles.CfnSegmentDefinitionProps",
|
|
8586
|
+
jsii_struct_bases=[],
|
|
8587
|
+
name_mapping={
|
|
8588
|
+
"display_name": "displayName",
|
|
8589
|
+
"domain_name": "domainName",
|
|
8590
|
+
"segment_definition_name": "segmentDefinitionName",
|
|
8591
|
+
"segment_groups": "segmentGroups",
|
|
8592
|
+
"description": "description",
|
|
8593
|
+
"tags": "tags",
|
|
8594
|
+
},
|
|
8595
|
+
)
|
|
8596
|
+
class CfnSegmentDefinitionProps:
|
|
8597
|
+
def __init__(
|
|
8598
|
+
self,
|
|
8599
|
+
*,
|
|
8600
|
+
display_name: builtins.str,
|
|
8601
|
+
domain_name: builtins.str,
|
|
8602
|
+
segment_definition_name: builtins.str,
|
|
8603
|
+
segment_groups: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.SegmentGroupProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8604
|
+
description: typing.Optional[builtins.str] = None,
|
|
8605
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8606
|
+
) -> None:
|
|
8607
|
+
'''Properties for defining a ``CfnSegmentDefinition``.
|
|
8608
|
+
|
|
8609
|
+
:param display_name: Display name of the segment definition.
|
|
8610
|
+
:param domain_name: The name of the domain.
|
|
8611
|
+
:param segment_definition_name: Name of the segment definition.
|
|
8612
|
+
:param segment_groups: Contains all groups of the segment definition.
|
|
8613
|
+
:param description: The description of the segment definition.
|
|
8614
|
+
:param tags: The tags belonging to the segment definition.
|
|
8615
|
+
|
|
8616
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html
|
|
8617
|
+
:exampleMetadata: fixture=_generated
|
|
8618
|
+
|
|
8619
|
+
Example::
|
|
8620
|
+
|
|
8621
|
+
# The code below shows an example of how to instantiate this type.
|
|
8622
|
+
# The values are placeholders you should change.
|
|
8623
|
+
from aws_cdk import aws_customerprofiles as customerprofiles
|
|
8624
|
+
|
|
8625
|
+
cfn_segment_definition_props = customerprofiles.CfnSegmentDefinitionProps(
|
|
8626
|
+
display_name="displayName",
|
|
8627
|
+
domain_name="domainName",
|
|
8628
|
+
segment_definition_name="segmentDefinitionName",
|
|
8629
|
+
segment_groups=customerprofiles.CfnSegmentDefinition.SegmentGroupProperty(
|
|
8630
|
+
groups=[customerprofiles.CfnSegmentDefinition.GroupProperty(
|
|
8631
|
+
dimensions=[customerprofiles.CfnSegmentDefinition.DimensionProperty(
|
|
8632
|
+
calculated_attributes={
|
|
8633
|
+
"calculated_attributes_key": customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty(
|
|
8634
|
+
dimension_type="dimensionType",
|
|
8635
|
+
values=["values"],
|
|
8636
|
+
|
|
8637
|
+
# the properties below are optional
|
|
8638
|
+
condition_overrides=customerprofiles.CfnSegmentDefinition.ConditionOverridesProperty(
|
|
8639
|
+
range=customerprofiles.CfnSegmentDefinition.RangeOverrideProperty(
|
|
8640
|
+
start=123,
|
|
8641
|
+
unit="unit",
|
|
8642
|
+
|
|
8643
|
+
# the properties below are optional
|
|
8644
|
+
end=123
|
|
8645
|
+
)
|
|
8646
|
+
)
|
|
8647
|
+
)
|
|
8648
|
+
},
|
|
8649
|
+
profile_attributes=customerprofiles.CfnSegmentDefinition.ProfileAttributesProperty(
|
|
8650
|
+
account_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8651
|
+
dimension_type="dimensionType",
|
|
8652
|
+
values=["values"]
|
|
8653
|
+
),
|
|
8654
|
+
additional_information=customerprofiles.CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty(
|
|
8655
|
+
dimension_type="dimensionType",
|
|
8656
|
+
values=["values"]
|
|
8657
|
+
),
|
|
8658
|
+
address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8659
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8660
|
+
dimension_type="dimensionType",
|
|
8661
|
+
values=["values"]
|
|
8662
|
+
),
|
|
8663
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8664
|
+
dimension_type="dimensionType",
|
|
8665
|
+
values=["values"]
|
|
8666
|
+
),
|
|
8667
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8668
|
+
dimension_type="dimensionType",
|
|
8669
|
+
values=["values"]
|
|
8670
|
+
),
|
|
8671
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8672
|
+
dimension_type="dimensionType",
|
|
8673
|
+
values=["values"]
|
|
8674
|
+
),
|
|
8675
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8676
|
+
dimension_type="dimensionType",
|
|
8677
|
+
values=["values"]
|
|
8678
|
+
),
|
|
8679
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8680
|
+
dimension_type="dimensionType",
|
|
8681
|
+
values=["values"]
|
|
8682
|
+
)
|
|
8683
|
+
),
|
|
8684
|
+
attributes={
|
|
8685
|
+
"attributes_key": customerprofiles.CfnSegmentDefinition.AttributeDimensionProperty(
|
|
8686
|
+
dimension_type="dimensionType",
|
|
8687
|
+
values=["values"]
|
|
8688
|
+
)
|
|
8689
|
+
},
|
|
8690
|
+
billing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8691
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8692
|
+
dimension_type="dimensionType",
|
|
8693
|
+
values=["values"]
|
|
8694
|
+
),
|
|
8695
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8696
|
+
dimension_type="dimensionType",
|
|
8697
|
+
values=["values"]
|
|
8698
|
+
),
|
|
8699
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8700
|
+
dimension_type="dimensionType",
|
|
8701
|
+
values=["values"]
|
|
8702
|
+
),
|
|
8703
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8704
|
+
dimension_type="dimensionType",
|
|
8705
|
+
values=["values"]
|
|
8706
|
+
),
|
|
8707
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8708
|
+
dimension_type="dimensionType",
|
|
8709
|
+
values=["values"]
|
|
8710
|
+
),
|
|
8711
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8712
|
+
dimension_type="dimensionType",
|
|
8713
|
+
values=["values"]
|
|
8714
|
+
)
|
|
8715
|
+
),
|
|
8716
|
+
birth_date=customerprofiles.CfnSegmentDefinition.DateDimensionProperty(
|
|
8717
|
+
dimension_type="dimensionType",
|
|
8718
|
+
values=["values"]
|
|
8719
|
+
),
|
|
8720
|
+
business_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8721
|
+
dimension_type="dimensionType",
|
|
8722
|
+
values=["values"]
|
|
8723
|
+
),
|
|
8724
|
+
business_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8725
|
+
dimension_type="dimensionType",
|
|
8726
|
+
values=["values"]
|
|
8727
|
+
),
|
|
8728
|
+
business_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8729
|
+
dimension_type="dimensionType",
|
|
8730
|
+
values=["values"]
|
|
8731
|
+
),
|
|
8732
|
+
email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8733
|
+
dimension_type="dimensionType",
|
|
8734
|
+
values=["values"]
|
|
8735
|
+
),
|
|
8736
|
+
first_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8737
|
+
dimension_type="dimensionType",
|
|
8738
|
+
values=["values"]
|
|
8739
|
+
),
|
|
8740
|
+
gender_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8741
|
+
dimension_type="dimensionType",
|
|
8742
|
+
values=["values"]
|
|
8743
|
+
),
|
|
8744
|
+
home_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8745
|
+
dimension_type="dimensionType",
|
|
8746
|
+
values=["values"]
|
|
8747
|
+
),
|
|
8748
|
+
last_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8749
|
+
dimension_type="dimensionType",
|
|
8750
|
+
values=["values"]
|
|
8751
|
+
),
|
|
8752
|
+
mailing_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8753
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8754
|
+
dimension_type="dimensionType",
|
|
8755
|
+
values=["values"]
|
|
8756
|
+
),
|
|
8757
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8758
|
+
dimension_type="dimensionType",
|
|
8759
|
+
values=["values"]
|
|
8760
|
+
),
|
|
8761
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8762
|
+
dimension_type="dimensionType",
|
|
8763
|
+
values=["values"]
|
|
8764
|
+
),
|
|
8765
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8766
|
+
dimension_type="dimensionType",
|
|
8767
|
+
values=["values"]
|
|
8768
|
+
),
|
|
8769
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8770
|
+
dimension_type="dimensionType",
|
|
8771
|
+
values=["values"]
|
|
8772
|
+
),
|
|
8773
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8774
|
+
dimension_type="dimensionType",
|
|
8775
|
+
values=["values"]
|
|
8776
|
+
)
|
|
8777
|
+
),
|
|
8778
|
+
middle_name=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8779
|
+
dimension_type="dimensionType",
|
|
8780
|
+
values=["values"]
|
|
8781
|
+
),
|
|
8782
|
+
mobile_phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8783
|
+
dimension_type="dimensionType",
|
|
8784
|
+
values=["values"]
|
|
8785
|
+
),
|
|
8786
|
+
party_type_string=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8787
|
+
dimension_type="dimensionType",
|
|
8788
|
+
values=["values"]
|
|
8789
|
+
),
|
|
8790
|
+
personal_email_address=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8791
|
+
dimension_type="dimensionType",
|
|
8792
|
+
values=["values"]
|
|
8793
|
+
),
|
|
8794
|
+
phone_number=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8795
|
+
dimension_type="dimensionType",
|
|
8796
|
+
values=["values"]
|
|
8797
|
+
),
|
|
8798
|
+
shipping_address=customerprofiles.CfnSegmentDefinition.AddressDimensionProperty(
|
|
8799
|
+
city=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8800
|
+
dimension_type="dimensionType",
|
|
8801
|
+
values=["values"]
|
|
8802
|
+
),
|
|
8803
|
+
country=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8804
|
+
dimension_type="dimensionType",
|
|
8805
|
+
values=["values"]
|
|
8806
|
+
),
|
|
8807
|
+
county=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8808
|
+
dimension_type="dimensionType",
|
|
8809
|
+
values=["values"]
|
|
8810
|
+
),
|
|
8811
|
+
postal_code=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8812
|
+
dimension_type="dimensionType",
|
|
8813
|
+
values=["values"]
|
|
8814
|
+
),
|
|
8815
|
+
province=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8816
|
+
dimension_type="dimensionType",
|
|
8817
|
+
values=["values"]
|
|
8818
|
+
),
|
|
8819
|
+
state=customerprofiles.CfnSegmentDefinition.ProfileDimensionProperty(
|
|
8820
|
+
dimension_type="dimensionType",
|
|
8821
|
+
values=["values"]
|
|
8822
|
+
)
|
|
8823
|
+
)
|
|
8824
|
+
)
|
|
8825
|
+
)],
|
|
8826
|
+
source_segments=[customerprofiles.CfnSegmentDefinition.SourceSegmentProperty(
|
|
8827
|
+
segment_definition_name="segmentDefinitionName"
|
|
8828
|
+
)],
|
|
8829
|
+
source_type="sourceType",
|
|
8830
|
+
type="type"
|
|
8831
|
+
)],
|
|
8832
|
+
include="include"
|
|
8833
|
+
),
|
|
8834
|
+
|
|
8835
|
+
# the properties below are optional
|
|
8836
|
+
description="description",
|
|
8837
|
+
tags=[CfnTag(
|
|
8838
|
+
key="key",
|
|
8839
|
+
value="value"
|
|
8840
|
+
)]
|
|
8841
|
+
)
|
|
8842
|
+
'''
|
|
8843
|
+
if __debug__:
|
|
8844
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bfe3927b013a59f4b37e001ce8d373fe3d8d8bc374ee6c206d37e74f69369348)
|
|
8845
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
8846
|
+
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
8847
|
+
check_type(argname="argument segment_definition_name", value=segment_definition_name, expected_type=type_hints["segment_definition_name"])
|
|
8848
|
+
check_type(argname="argument segment_groups", value=segment_groups, expected_type=type_hints["segment_groups"])
|
|
8849
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
8850
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
8851
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8852
|
+
"display_name": display_name,
|
|
8853
|
+
"domain_name": domain_name,
|
|
8854
|
+
"segment_definition_name": segment_definition_name,
|
|
8855
|
+
"segment_groups": segment_groups,
|
|
8856
|
+
}
|
|
8857
|
+
if description is not None:
|
|
8858
|
+
self._values["description"] = description
|
|
8859
|
+
if tags is not None:
|
|
8860
|
+
self._values["tags"] = tags
|
|
8861
|
+
|
|
8862
|
+
@builtins.property
|
|
8863
|
+
def display_name(self) -> builtins.str:
|
|
8864
|
+
'''Display name of the segment definition.
|
|
8865
|
+
|
|
8866
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html#cfn-customerprofiles-segmentdefinition-displayname
|
|
8867
|
+
'''
|
|
8868
|
+
result = self._values.get("display_name")
|
|
8869
|
+
assert result is not None, "Required property 'display_name' is missing"
|
|
8870
|
+
return typing.cast(builtins.str, result)
|
|
8871
|
+
|
|
8872
|
+
@builtins.property
|
|
8873
|
+
def domain_name(self) -> builtins.str:
|
|
8874
|
+
'''The name of the domain.
|
|
8875
|
+
|
|
8876
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html#cfn-customerprofiles-segmentdefinition-domainname
|
|
8877
|
+
'''
|
|
8878
|
+
result = self._values.get("domain_name")
|
|
8879
|
+
assert result is not None, "Required property 'domain_name' is missing"
|
|
8880
|
+
return typing.cast(builtins.str, result)
|
|
8881
|
+
|
|
8882
|
+
@builtins.property
|
|
8883
|
+
def segment_definition_name(self) -> builtins.str:
|
|
8884
|
+
'''Name of the segment definition.
|
|
8885
|
+
|
|
8886
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html#cfn-customerprofiles-segmentdefinition-segmentdefinitionname
|
|
8887
|
+
'''
|
|
8888
|
+
result = self._values.get("segment_definition_name")
|
|
8889
|
+
assert result is not None, "Required property 'segment_definition_name' is missing"
|
|
8890
|
+
return typing.cast(builtins.str, result)
|
|
8891
|
+
|
|
8892
|
+
@builtins.property
|
|
8893
|
+
def segment_groups(
|
|
8894
|
+
self,
|
|
8895
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnSegmentDefinition.SegmentGroupProperty]:
|
|
8896
|
+
'''Contains all groups of the segment definition.
|
|
8897
|
+
|
|
8898
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html#cfn-customerprofiles-segmentdefinition-segmentgroups
|
|
8899
|
+
'''
|
|
8900
|
+
result = self._values.get("segment_groups")
|
|
8901
|
+
assert result is not None, "Required property 'segment_groups' is missing"
|
|
8902
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnSegmentDefinition.SegmentGroupProperty], result)
|
|
8903
|
+
|
|
8904
|
+
@builtins.property
|
|
8905
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
8906
|
+
'''The description of the segment definition.
|
|
8907
|
+
|
|
8908
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html#cfn-customerprofiles-segmentdefinition-description
|
|
8909
|
+
'''
|
|
8910
|
+
result = self._values.get("description")
|
|
8911
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8912
|
+
|
|
8913
|
+
@builtins.property
|
|
8914
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
8915
|
+
'''The tags belonging to the segment definition.
|
|
8916
|
+
|
|
8917
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-segmentdefinition.html#cfn-customerprofiles-segmentdefinition-tags
|
|
8918
|
+
'''
|
|
8919
|
+
result = self._values.get("tags")
|
|
8920
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
8921
|
+
|
|
8922
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8923
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8924
|
+
|
|
8925
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8926
|
+
return not (rhs == self)
|
|
8927
|
+
|
|
8928
|
+
def __repr__(self) -> str:
|
|
8929
|
+
return "CfnSegmentDefinitionProps(%s)" % ", ".join(
|
|
8930
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8931
|
+
)
|
|
8932
|
+
|
|
8933
|
+
|
|
5991
8934
|
__all__ = [
|
|
5992
8935
|
"CfnCalculatedAttributeDefinition",
|
|
5993
8936
|
"CfnCalculatedAttributeDefinitionProps",
|
|
@@ -5999,6 +8942,8 @@ __all__ = [
|
|
|
5999
8942
|
"CfnIntegrationProps",
|
|
6000
8943
|
"CfnObjectType",
|
|
6001
8944
|
"CfnObjectTypeProps",
|
|
8945
|
+
"CfnSegmentDefinition",
|
|
8946
|
+
"CfnSegmentDefinitionProps",
|
|
6002
8947
|
]
|
|
6003
8948
|
|
|
6004
8949
|
publication.publish()
|
|
@@ -6752,3 +9697,206 @@ def _typecheckingstub__674aff1f8e16a6059ac0e56bfd831b21c20b3b3358878f53ea82ff2ee
|
|
|
6752
9697
|
) -> None:
|
|
6753
9698
|
"""Type checking stubs"""
|
|
6754
9699
|
pass
|
|
9700
|
+
|
|
9701
|
+
def _typecheckingstub__350e170fd13ca6586a78a39785ca961e3b7fa8982a5b03ff0799f34c2f12ea50(
|
|
9702
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9703
|
+
id: builtins.str,
|
|
9704
|
+
*,
|
|
9705
|
+
display_name: builtins.str,
|
|
9706
|
+
domain_name: builtins.str,
|
|
9707
|
+
segment_definition_name: builtins.str,
|
|
9708
|
+
segment_groups: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.SegmentGroupProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9709
|
+
description: typing.Optional[builtins.str] = None,
|
|
9710
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9711
|
+
) -> None:
|
|
9712
|
+
"""Type checking stubs"""
|
|
9713
|
+
pass
|
|
9714
|
+
|
|
9715
|
+
def _typecheckingstub__43053ca51dec7fe64d769d488c3ff627584d6d29c926079a5503cd0fa5fcb6ca(
|
|
9716
|
+
inspector: _TreeInspector_488e0dd5,
|
|
9717
|
+
) -> None:
|
|
9718
|
+
"""Type checking stubs"""
|
|
9719
|
+
pass
|
|
9720
|
+
|
|
9721
|
+
def _typecheckingstub__c93dc972ce2f528b294beb14fd064d6205569b6d0b68a9397a753547674ae198(
|
|
9722
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
9723
|
+
) -> None:
|
|
9724
|
+
"""Type checking stubs"""
|
|
9725
|
+
pass
|
|
9726
|
+
|
|
9727
|
+
def _typecheckingstub__05d7eb6c9916e03c3799e9d2016d81426c2f6d43e95689ce0af12bfe09e6549f(
|
|
9728
|
+
value: builtins.str,
|
|
9729
|
+
) -> None:
|
|
9730
|
+
"""Type checking stubs"""
|
|
9731
|
+
pass
|
|
9732
|
+
|
|
9733
|
+
def _typecheckingstub__26ba965f3f83218ff70b8ea34f99b1d05bab7433a8807b2fbcdaf115b08b6ae9(
|
|
9734
|
+
value: builtins.str,
|
|
9735
|
+
) -> None:
|
|
9736
|
+
"""Type checking stubs"""
|
|
9737
|
+
pass
|
|
9738
|
+
|
|
9739
|
+
def _typecheckingstub__6bc5bbfa19f04ef37dd74fe0dab060cbd192ee5bb1b47e5b1508f67f27be5aa3(
|
|
9740
|
+
value: builtins.str,
|
|
9741
|
+
) -> None:
|
|
9742
|
+
"""Type checking stubs"""
|
|
9743
|
+
pass
|
|
9744
|
+
|
|
9745
|
+
def _typecheckingstub__744689fb47e84da608e8ce7c410f0a6489728b4132c9e51efab1802d01b77340(
|
|
9746
|
+
value: typing.Union[_IResolvable_da3f097b, CfnSegmentDefinition.SegmentGroupProperty],
|
|
9747
|
+
) -> None:
|
|
9748
|
+
"""Type checking stubs"""
|
|
9749
|
+
pass
|
|
9750
|
+
|
|
9751
|
+
def _typecheckingstub__223f2ad9551b0ca745b7b727aa69f874d90c37d42f2d71a6e2b2fb44e7ade212(
|
|
9752
|
+
value: typing.Optional[builtins.str],
|
|
9753
|
+
) -> None:
|
|
9754
|
+
"""Type checking stubs"""
|
|
9755
|
+
pass
|
|
9756
|
+
|
|
9757
|
+
def _typecheckingstub__238b83e5f2661e205fa241820b4292d8a4cb4f60bf75be3b31f1b17711318539(
|
|
9758
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
9759
|
+
) -> None:
|
|
9760
|
+
"""Type checking stubs"""
|
|
9761
|
+
pass
|
|
9762
|
+
|
|
9763
|
+
def _typecheckingstub__6a0bc2d171c7abf0d09aef2749bfbe17beb9e940d0184742ad750455e61d50e9(
|
|
9764
|
+
*,
|
|
9765
|
+
city: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9766
|
+
country: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9767
|
+
county: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9768
|
+
postal_code: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9769
|
+
province: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9770
|
+
state: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9771
|
+
) -> None:
|
|
9772
|
+
"""Type checking stubs"""
|
|
9773
|
+
pass
|
|
9774
|
+
|
|
9775
|
+
def _typecheckingstub__bb318635b9a0dfe69f39d22e3b143ff47d00d73e95ba7e6119cb5a713fe732dd(
|
|
9776
|
+
*,
|
|
9777
|
+
dimension_type: builtins.str,
|
|
9778
|
+
values: typing.Sequence[builtins.str],
|
|
9779
|
+
) -> None:
|
|
9780
|
+
"""Type checking stubs"""
|
|
9781
|
+
pass
|
|
9782
|
+
|
|
9783
|
+
def _typecheckingstub__a86c277d8f43a78bd0246d26e28cb0a8e84b0a5c96f8046b7d644735eb70d256(
|
|
9784
|
+
*,
|
|
9785
|
+
dimension_type: builtins.str,
|
|
9786
|
+
values: typing.Sequence[builtins.str],
|
|
9787
|
+
condition_overrides: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ConditionOverridesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9788
|
+
) -> None:
|
|
9789
|
+
"""Type checking stubs"""
|
|
9790
|
+
pass
|
|
9791
|
+
|
|
9792
|
+
def _typecheckingstub__805f367b5025255b85dff70d74ab17cdb3209b82d5159f03785caf2e4ea38c27(
|
|
9793
|
+
*,
|
|
9794
|
+
range: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.RangeOverrideProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9795
|
+
) -> None:
|
|
9796
|
+
"""Type checking stubs"""
|
|
9797
|
+
pass
|
|
9798
|
+
|
|
9799
|
+
def _typecheckingstub__321aa9ea2ffbe9c71ff0392adca1a155f2414f845fd6c463f7a0ea3785f7c270(
|
|
9800
|
+
*,
|
|
9801
|
+
dimension_type: builtins.str,
|
|
9802
|
+
values: typing.Sequence[builtins.str],
|
|
9803
|
+
) -> None:
|
|
9804
|
+
"""Type checking stubs"""
|
|
9805
|
+
pass
|
|
9806
|
+
|
|
9807
|
+
def _typecheckingstub__afcd95200751df2b6ea6aaaaadf0dca0e852f0fef263eeab7100a5c95ae82fc2(
|
|
9808
|
+
*,
|
|
9809
|
+
calculated_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.CalculatedAttributeDimensionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9810
|
+
profile_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileAttributesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9811
|
+
) -> None:
|
|
9812
|
+
"""Type checking stubs"""
|
|
9813
|
+
pass
|
|
9814
|
+
|
|
9815
|
+
def _typecheckingstub__b7820cd9f215f422bb2ed34ea399f9c5252453574cd926e31a73fd9a12c28498(
|
|
9816
|
+
*,
|
|
9817
|
+
dimension_type: builtins.str,
|
|
9818
|
+
values: typing.Sequence[builtins.str],
|
|
9819
|
+
) -> None:
|
|
9820
|
+
"""Type checking stubs"""
|
|
9821
|
+
pass
|
|
9822
|
+
|
|
9823
|
+
def _typecheckingstub__8d94bcaeaf726b09dbd09e1e48f12c042d531e9d0b092770695cebc3d52b5f5d(
|
|
9824
|
+
*,
|
|
9825
|
+
dimensions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.DimensionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9826
|
+
source_segments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.SourceSegmentProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9827
|
+
source_type: typing.Optional[builtins.str] = None,
|
|
9828
|
+
type: typing.Optional[builtins.str] = None,
|
|
9829
|
+
) -> None:
|
|
9830
|
+
"""Type checking stubs"""
|
|
9831
|
+
pass
|
|
9832
|
+
|
|
9833
|
+
def _typecheckingstub__2d3744d80b787b304270031bc1ba903495b3abb0c8edddf7fdffa36031caf48f(
|
|
9834
|
+
*,
|
|
9835
|
+
account_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9836
|
+
additional_information: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ExtraLengthValueProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9837
|
+
address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.AddressDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9838
|
+
attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.AttributeDimensionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9839
|
+
billing_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.AddressDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9840
|
+
birth_date: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.DateDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9841
|
+
business_email_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9842
|
+
business_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9843
|
+
business_phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9844
|
+
email_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9845
|
+
first_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9846
|
+
gender_string: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9847
|
+
home_phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9848
|
+
last_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9849
|
+
mailing_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.AddressDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9850
|
+
middle_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9851
|
+
mobile_phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9852
|
+
party_type_string: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9853
|
+
personal_email_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9854
|
+
phone_number: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.ProfileDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9855
|
+
shipping_address: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.AddressDimensionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9856
|
+
) -> None:
|
|
9857
|
+
"""Type checking stubs"""
|
|
9858
|
+
pass
|
|
9859
|
+
|
|
9860
|
+
def _typecheckingstub__007e452519747d631a7d676cfec00290dff2452d6eaac4a54fc80925aca3d685(
|
|
9861
|
+
*,
|
|
9862
|
+
dimension_type: builtins.str,
|
|
9863
|
+
values: typing.Sequence[builtins.str],
|
|
9864
|
+
) -> None:
|
|
9865
|
+
"""Type checking stubs"""
|
|
9866
|
+
pass
|
|
9867
|
+
|
|
9868
|
+
def _typecheckingstub__ca238704a173f3c1cf142a9086e33976f93d4c9bf252b6a1aac82208186ef3e5(
|
|
9869
|
+
*,
|
|
9870
|
+
start: jsii.Number,
|
|
9871
|
+
unit: builtins.str,
|
|
9872
|
+
end: typing.Optional[jsii.Number] = None,
|
|
9873
|
+
) -> None:
|
|
9874
|
+
"""Type checking stubs"""
|
|
9875
|
+
pass
|
|
9876
|
+
|
|
9877
|
+
def _typecheckingstub__49a789743f5ac4162a8c53d6f5aae978c5989a590155f77804b52b37938d7672(
|
|
9878
|
+
*,
|
|
9879
|
+
groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.GroupProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9880
|
+
include: typing.Optional[builtins.str] = None,
|
|
9881
|
+
) -> None:
|
|
9882
|
+
"""Type checking stubs"""
|
|
9883
|
+
pass
|
|
9884
|
+
|
|
9885
|
+
def _typecheckingstub__002c938fccce270fc597ae5653583b8a9910031239e0daaf523e0c4431d75ed7(
|
|
9886
|
+
*,
|
|
9887
|
+
segment_definition_name: typing.Optional[builtins.str] = None,
|
|
9888
|
+
) -> None:
|
|
9889
|
+
"""Type checking stubs"""
|
|
9890
|
+
pass
|
|
9891
|
+
|
|
9892
|
+
def _typecheckingstub__bfe3927b013a59f4b37e001ce8d373fe3d8d8bc374ee6c206d37e74f69369348(
|
|
9893
|
+
*,
|
|
9894
|
+
display_name: builtins.str,
|
|
9895
|
+
domain_name: builtins.str,
|
|
9896
|
+
segment_definition_name: builtins.str,
|
|
9897
|
+
segment_groups: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSegmentDefinition.SegmentGroupProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9898
|
+
description: typing.Optional[builtins.str] = None,
|
|
9899
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9900
|
+
) -> None:
|
|
9901
|
+
"""Type checking stubs"""
|
|
9902
|
+
pass
|