import * as pulumi from "@pulumi/pulumi"; /** * > **NOTE:** This resource is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. After that date, this resource will no longer be available. For SMS/Voice event delivery, use `aws.pinpoint.Smsvoicev2ConfigurationSet` with an event destination. * * Provides an End User Messaging Event Stream resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const app = new aws.pinpoint.App("app", {}); * const testStream = new aws.kinesis.Stream("test_stream", { * name: "pinpoint-kinesis-test", * shardCount: 1, * }); * const assumeRole = aws.iam.getPolicyDocument({ * statements: [{ * principals: [{ * type: "Service", * identifiers: ["pinpoint.us-east-1.amazonaws.com"], * }], * effect: "Allow", * actions: ["sts:AssumeRole"], * }], * }); * const testRole = new aws.iam.Role("test_role", {assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json)}); * const stream = new aws.pinpoint.EventStream("stream", { * applicationId: app.applicationId, * destinationStreamArn: testStream.arn, * roleArn: testRole.arn, * }); * const testRolePolicy = aws.iam.getPolicyDocument({ * statements: [{ * effect: "Allow", * actions: [ * "kinesis:PutRecords", * "kinesis:DescribeStream", * ], * resources: ["arn:aws:kinesis:us-east-1:*:*/*"], * }], * }); * const testRolePolicyRolePolicy = new aws.iam.RolePolicy("test_role_policy", { * name: "test_policy", * role: testRole.id, * policy: testRolePolicy.then(testRolePolicy => testRolePolicy.json), * }); * ``` * * ## Import * * Using `pulumi import`, import End User Messaging Event Stream using the `application-id`. For example: * * ```sh * $ pulumi import aws:pinpoint/eventStream:EventStream stream application-id * ``` */ export declare class EventStream extends pulumi.CustomResource { /** * Get an existing EventStream 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EventStreamState, opts?: pulumi.CustomResourceOptions): EventStream; /** * Returns true if the given object is an instance of EventStream. 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 EventStream; /** * Application ID. * * @deprecated application_id is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ readonly applicationId: pulumi.Output; /** * ARN of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. * * @deprecated destination_stream_arn is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ readonly destinationStreamArn: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * IAM role that authorizes AWS End User Messaging to publish events to the stream in your account. * * @deprecated role_arn is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ readonly roleArn: pulumi.Output; /** * Create a EventStream 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: EventStreamArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EventStream resources. */ export interface EventStreamState { /** * Application ID. * * @deprecated application_id is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ applicationId?: pulumi.Input; /** * ARN of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. * * @deprecated destination_stream_arn is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ destinationStreamArn?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * IAM role that authorizes AWS End User Messaging to publish events to the stream in your account. * * @deprecated role_arn is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ roleArn?: pulumi.Input; } /** * The set of arguments for constructing a EventStream resource. */ export interface EventStreamArgs { /** * Application ID. * * @deprecated application_id is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ applicationId: pulumi.Input; /** * ARN of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. * * @deprecated destination_stream_arn is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ destinationStreamArn: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * IAM role that authorizes AWS End User Messaging to publish events to the stream in your account. * * @deprecated role_arn is deprecated. AWS End User Messaging event streams are being discontinued on October 30, 2026. */ roleArn: pulumi.Input; } //# sourceMappingURL=eventStream.d.ts.map