@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)
49 lines (48 loc) • 2.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
*
* Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at [Enabling logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html).
*/
export declare function getDeliverySource(args: GetDeliverySourceArgs, opts?: pulumi.InvokeOptions): Promise<GetDeliverySourceResult>;
export interface GetDeliverySourceArgs {
/**
* The unique name of the Log source.
*/
name: string;
}
export interface GetDeliverySourceResult {
/**
* The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
*/
readonly arn?: string;
/**
* The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
*/
readonly logType?: string;
/**
* This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
*/
readonly resourceArns?: string[];
/**
* The AWS service that is sending logs.
*/
readonly service?: string;
/**
* The tags that have been assigned to this delivery source.
*/
readonly tags?: outputs.Tag[];
}
/**
* A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
*
* Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at [Enabling logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html).
*/
export declare function getDeliverySourceOutput(args: GetDeliverySourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeliverySourceResult>;
export interface GetDeliverySourceOutputArgs {
/**
* The unique name of the Log source.
*/
name: pulumi.Input<string>;
}