@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)
45 lines (44 loc) • 1.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::Evidently::Segment
*/
export declare function getSegment(args: GetSegmentArgs, opts?: pulumi.InvokeOptions): Promise<GetSegmentResult>;
export interface GetSegmentArgs {
/**
* The ARN of the segment. For example, `arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment`
*/
arn: string;
}
export interface GetSegmentResult {
/**
* The ARN of the segment. For example, `arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment`
*/
readonly arn?: string;
/**
* An optional description for this segment.
*/
readonly description?: string;
/**
* A name for the segment.
*/
readonly name?: string;
/**
* The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax) .
*/
readonly pattern?: string;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource Type definition for AWS::Evidently::Segment
*/
export declare function getSegmentOutput(args: GetSegmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSegmentResult>;
export interface GetSegmentOutputArgs {
/**
* The ARN of the segment. For example, `arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment`
*/
arn: pulumi.Input<string>;
}