We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi
published on Monday, May 4, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi
published on Monday, May 4, 2026 by Pulumi
A segment definition resource of Amazon Connect Customer Profiles
Using getSegmentDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSegmentDefinition(args: GetSegmentDefinitionArgs, opts?: InvokeOptions): Promise<GetSegmentDefinitionResult>
function getSegmentDefinitionOutput(args: GetSegmentDefinitionOutputArgs, opts?: InvokeOptions): Output<GetSegmentDefinitionResult>def get_segment_definition(domain_name: Optional[str] = None,
segment_definition_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSegmentDefinitionResult
def get_segment_definition_output(domain_name: pulumi.Input[Optional[str]] = None,
segment_definition_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSegmentDefinitionResult]func LookupSegmentDefinition(ctx *Context, args *LookupSegmentDefinitionArgs, opts ...InvokeOption) (*LookupSegmentDefinitionResult, error)
func LookupSegmentDefinitionOutput(ctx *Context, args *LookupSegmentDefinitionOutputArgs, opts ...InvokeOption) LookupSegmentDefinitionResultOutput> Note: This function is named LookupSegmentDefinition in the Go SDK.
public static class GetSegmentDefinition
{
public static Task<GetSegmentDefinitionResult> InvokeAsync(GetSegmentDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetSegmentDefinitionResult> Invoke(GetSegmentDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSegmentDefinitionResult> getSegmentDefinition(GetSegmentDefinitionArgs args, InvokeOptions options)
public static Output<GetSegmentDefinitionResult> getSegmentDefinition(GetSegmentDefinitionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:customerprofiles:getSegmentDefinition
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain
Name string - The unique name of the domain.
- Segment
Definition stringName - The unique name of the segment definition.
- Domain
Name string - The unique name of the domain.
- Segment
Definition stringName - The unique name of the segment definition.
- domain
Name String - The unique name of the domain.
- segment
Definition StringName - The unique name of the segment definition.
- domain
Name string - The unique name of the domain.
- segment
Definition stringName - The unique name of the segment definition.
- domain_
name str - The unique name of the domain.
- segment_
definition_ strname - The unique name of the segment definition.
- domain
Name String - The unique name of the domain.
- segment
Definition StringName - The unique name of the segment definition.
getSegmentDefinition Result
The following output properties are available:
- Created
At string - The time of this segment definition got created.
- Description string
- The description of the segment definition.
- Segment
Definition stringArn - The Amazon Resource Name (ARN) of the segment definition.
- Segment
Sort Pulumi.Aws Native. Customer Profiles. Outputs. Segment Definition Segment Sort - The segment sort configuration for ordering segment results.
- Segment
Type Pulumi.Aws Native. Customer Profiles. Segment Definition Segment Type - The SQL query that defines the segment criteria.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags used to organize, track, or control access for this resource.
- Created
At string - The time of this segment definition got created.
- Description string
- The description of the segment definition.
- Segment
Definition stringArn - The Amazon Resource Name (ARN) of the segment definition.
- Segment
Sort SegmentDefinition Segment Sort - The segment sort configuration for ordering segment results.
- Segment
Type SegmentDefinition Segment Type - The SQL query that defines the segment criteria.
- Tag
- The tags used to organize, track, or control access for this resource.
- created
At String - The time of this segment definition got created.
- description String
- The description of the segment definition.
- segment
Definition StringArn - The Amazon Resource Name (ARN) of the segment definition.
- segment
Sort SegmentDefinition Segment Sort - The segment sort configuration for ordering segment results.
- segment
Type SegmentDefinition Segment Type - The SQL query that defines the segment criteria.
- List<Tag>
- The tags used to organize, track, or control access for this resource.
- created
At string - The time of this segment definition got created.
- description string
- The description of the segment definition.
- segment
Definition stringArn - The Amazon Resource Name (ARN) of the segment definition.
- segment
Sort SegmentDefinition Segment Sort - The segment sort configuration for ordering segment results.
- segment
Type SegmentDefinition Segment Type - The SQL query that defines the segment criteria.
- Tag[]
- The tags used to organize, track, or control access for this resource.
- created_
at str - The time of this segment definition got created.
- description str
- The description of the segment definition.
- segment_
definition_ strarn - The Amazon Resource Name (ARN) of the segment definition.
- segment_
sort SegmentDefinition Segment Sort - The segment sort configuration for ordering segment results.
- segment_
type SegmentDefinition Segment Type - The SQL query that defines the segment criteria.
- Sequence[root_Tag]
- The tags used to organize, track, or control access for this resource.
- created
At String - The time of this segment definition got created.
- description String
- The description of the segment definition.
- segment
Definition StringArn - The Amazon Resource Name (ARN) of the segment definition.
- segment
Sort Property Map - The segment sort configuration for ordering segment results.
- segment
Type "CLASSIC" | "ENHANCED" - The SQL query that defines the segment criteria.
- List<Property Map>
- The tags used to organize, track, or control access for this resource.
Supporting Types
SegmentDefinitionSegmentSort
- Attributes
List<Pulumi.
Aws Native. Customer Profiles. Inputs. Segment Definition Sort Attribute> - A list of attributes used to sort the segments and their ordering preferences.
- Attributes
[]Segment
Definition Sort Attribute - A list of attributes used to sort the segments and their ordering preferences.
- attributes
List<Segment
Definition Sort Attribute> - A list of attributes used to sort the segments and their ordering preferences.
- attributes
Segment
Definition Sort Attribute[] - A list of attributes used to sort the segments and their ordering preferences.
- attributes
Sequence[Segment
Definition Sort Attribute] - A list of attributes used to sort the segments and their ordering preferences.
- attributes List<Property Map>
- A list of attributes used to sort the segments and their ordering preferences.
SegmentDefinitionSegmentSortDataType
SegmentDefinitionSegmentSortOrder
SegmentDefinitionSegmentType
SegmentDefinitionSortAttribute
- Name string
- The name of the attribute to sort by.
- Order
Segment
Definition Segment Sort Order - Data
Type SegmentDefinition Segment Sort Data Type - Type
Segment
Definition Sort Attribute Type
- name String
- The name of the attribute to sort by.
- order
Segment
Definition Segment Sort Order - data
Type SegmentDefinition Segment Sort Data Type - type
Segment
Definition Sort Attribute Type
- name string
- The name of the attribute to sort by.
- order
Segment
Definition Segment Sort Order - data
Type SegmentDefinition Segment Sort Data Type - type
Segment
Definition Sort Attribute Type
- name str
- The name of the attribute to sort by.
- order
Segment
Definition Segment Sort Order - data_
type SegmentDefinition Segment Sort Data Type - type
Segment
Definition Sort Attribute Type
- name String
- The name of the attribute to sort by.
- order "ASC" | "DESC"
- data
Type "STRING" | "NUMBER" | "DATE" - type "PROFILE" | "CALCULATED"
SegmentDefinitionSortAttributeType
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi
published on Monday, May 4, 2026 by Pulumi
