UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

106 lines (105 loc) 4.94 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::Connect::DataTableAttribute */ export declare class DataTableAttribute extends pulumi.CustomResource { /** * Get an existing DataTableAttribute resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DataTableAttribute; /** * Returns true if the given object is an instance of DataTableAttribute. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DataTableAttribute; /** * The unique identifier for the attribute within the data table. */ readonly attributeId: pulumi.Output<string>; /** * The Amazon Resource Name (ARN) of the data table that contains this attribute. */ readonly dataTableArn: pulumi.Output<string | undefined>; /** * An optional description explaining the purpose and usage of this attribute. */ readonly description: pulumi.Output<string | undefined>; /** * The Amazon Resource Name (ARN) of the instance. */ readonly instanceArn: pulumi.Output<string | undefined>; /** * The AWS Region where this attribute was last modified, used for region replication. */ readonly lastModifiedRegion: pulumi.Output<string>; /** * The timestamp when this attribute was last modified. */ readonly lastModifiedTime: pulumi.Output<number>; readonly lockVersion: pulumi.Output<outputs.connect.LockVersionProperties>; /** * The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards. */ readonly name: pulumi.Output<string | undefined>; /** * Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions. */ readonly primary: pulumi.Output<boolean | undefined>; /** * The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity. */ readonly validation: pulumi.Output<outputs.connect.ValidationProperties | undefined>; /** * The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed. */ readonly valueType: pulumi.Output<enums.connect.DataTableAttributeValueType | undefined>; /** * Create a DataTableAttribute resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: DataTableAttributeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataTableAttribute resource. */ export interface DataTableAttributeArgs { /** * The Amazon Resource Name (ARN) of the data table that contains this attribute. */ dataTableArn?: pulumi.Input<string>; /** * An optional description explaining the purpose and usage of this attribute. */ description?: pulumi.Input<string>; /** * The Amazon Resource Name (ARN) of the instance. */ instanceArn?: pulumi.Input<string>; /** * The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards. */ name?: pulumi.Input<string>; /** * Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions. */ primary?: pulumi.Input<boolean>; /** * The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity. */ validation?: pulumi.Input<inputs.connect.ValidationPropertiesArgs>; /** * The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed. */ valueType?: pulumi.Input<enums.connect.DataTableAttributeValueType>; }