We recommend new projects start with resources from the AWS provider.
aws-native.logs.getDeliverySource
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
Using getDeliverySource
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 getDeliverySource(args: GetDeliverySourceArgs, opts?: InvokeOptions): Promise<GetDeliverySourceResult>
function getDeliverySourceOutput(args: GetDeliverySourceOutputArgs, opts?: InvokeOptions): Output<GetDeliverySourceResult>
def get_delivery_source(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeliverySourceResult
def get_delivery_source_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeliverySourceResult]
func LookupDeliverySource(ctx *Context, args *LookupDeliverySourceArgs, opts ...InvokeOption) (*LookupDeliverySourceResult, error)
func LookupDeliverySourceOutput(ctx *Context, args *LookupDeliverySourceOutputArgs, opts ...InvokeOption) LookupDeliverySourceResultOutput
> Note: This function is named LookupDeliverySource
in the Go SDK.
public static class GetDeliverySource
{
public static Task<GetDeliverySourceResult> InvokeAsync(GetDeliverySourceArgs args, InvokeOptions? opts = null)
public static Output<GetDeliverySourceResult> Invoke(GetDeliverySourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeliverySourceResult> getDeliverySource(GetDeliverySourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:logs:getDeliverySource
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The unique name of the Log source.
- Name string
- The unique name of the Log source.
- name String
- The unique name of the Log source.
- name string
- The unique name of the Log source.
- name str
- The unique name of the Log source.
- name String
- The unique name of the Log source.
getDeliverySource Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- Log
Type 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.
- Resource
Arns List<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.
- Service string
- The AWS service that is sending logs.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tags that have been assigned to this delivery source.
- Arn string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- Log
Type 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.
- Resource
Arns []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.
- Service string
- The AWS service that is sending logs.
- Tag
- The tags that have been assigned to this delivery source.
- arn String
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- log
Type 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.
- resource
Arns List<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.
- service String
- The AWS service that is sending logs.
- List<Tag>
- The tags that have been assigned to this delivery source.
- arn string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- log
Type 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.
- resource
Arns 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.
- service string
- The AWS service that is sending logs.
- Tag[]
- The tags that have been assigned to this delivery source.
- arn str
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- log_
type str - 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.
- resource_
arns Sequence[str] - 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.
- service str
- The AWS service that is sending logs.
- Sequence[root_Tag]
- The tags that have been assigned to this delivery source.
- arn String
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- log
Type 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.
- resource
Arns List<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.
- service String
- The AWS service that is sending logs.
- List<Property Map>
- The tags that have been assigned to this delivery source.
Supporting Types
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.