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.
def get_delivery_source(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeliverySourceResult
def get_delivery_source_output(name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeliverySourceResult]
> Note: This function is named LookupDeliverySource in the Go SDK.
public static CompletableFuture<GetDeliverySourceResult> getDeliverySource(GetDeliverySourceArgs args, InvokeOptions options)
public static Output<GetDeliverySourceResult> getDeliverySource(GetDeliverySourceArgs args, InvokeOptions options)
public static Output<GetDeliverySourceResult> getDeliverySource(GetDeliverySourceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:logs:getDeliverySource
arguments:
# arguments dictionary
data "aws-native_logs_get_delivery_source" "name" {
# arguments
}
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
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.
- DeliverySourceConfiguration
Dictionary<string, string>
- A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- LogType
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.
- ResourceArns
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.
- Status
Pulumi.AwsNative.Logs.DeliverySourceStatus
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- StatusReason
Pulumi.AwsNative.Logs.DeliverySourceStatusReason
- The reason for the status of this delivery source, such as RESOURCE_DELETED.
- Tags
List<Pulumi.AwsNative.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.
- DeliverySourceConfiguration
map[string]string
- A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- LogType
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.
- ResourceArns
[]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.
- Status
DeliverySourceStatus
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- StatusReason
DeliverySourceStatusReason
- The reason for the status of this delivery source, such as RESOURCE_DELETED.
- Tags
Tag
- The tags that have been assigned to this delivery source.
- arn
string
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- delivery_source_configuration
map(string)
- A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- status
"ACTIVE" | "INACTIVE"
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- status_reason
"RESOURCE_DELETED"
- The reason for the status of this delivery source, such as RESOURCE_DELETED.
- tags
list(object)
- The tags that have been assigned to this delivery source.
- arn
String
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- deliverySourceConfiguration
Map<String,String>
- A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- logType
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.
- resourceArns
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.
- status
DeliverySourceStatus
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- statusReason
DeliverySourceStatusReason
- The reason for the status of this delivery source, such as RESOURCE_DELETED.
- tags
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.
- deliverySourceConfiguration
{[key: string]: string}
- A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- logType
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.
- resourceArns
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.
- status
DeliverySourceStatus
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- statusReason
DeliverySourceStatusReason
- The reason for the status of this delivery source, such as RESOURCE_DELETED.
- tags
Tag[]
- The tags that have been assigned to this delivery source.
- arn
str
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
- delivery_source_configuration
Mapping[str, str]
- A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- 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.
- status
DeliverySourceStatus
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- status_reason
DeliverySourceStatusReason
- The reason for the status of this delivery source, such as RESOURCE_DELETED.
- tags
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.
- deliverySourceConfiguration
Map<String>
- A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.
- logType
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.
- resourceArns
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.
- status
"ACTIVE" | "INACTIVE"
- The status of this delivery source. The value can be ACTIVE or INACTIVE.
- statusReason
"RESOURCE_DELETED"
- The reason for the status of this delivery source, such as RESOURCE_DELETED.
- tags
List<Property Map>
- The tags that have been assigned to this delivery source.
Supporting Types
DeliverySourceStatus
| Name | Value |
|---|
| Active | ACTIVE |
| Inactive | INACTIVE |
| Name | Value |
|---|
| DeliverySourceStatusActive | ACTIVE |
| DeliverySourceStatusInactive | INACTIVE |
| Name | Value |
|---|
| Active | ACTIVE |
| Inactive | INACTIVE |
| Name | Value |
|---|
| Active | ACTIVE |
| Inactive | INACTIVE |
| Name | Value |
|---|
| ACTIVE | ACTIVE |
| INACTIVE | INACTIVE |
DeliverySourceStatusReason
| Name | Value |
|---|
| ResourceDeleted | RESOURCE_DELETED |
| Name | Value |
|---|
| DeliverySourceStatusReasonResourceDeleted | RESOURCE_DELETED |
| Name | Value |
|---|
| ResourceDeleted | RESOURCE_DELETED |
| Name | Value |
|---|
| ResourceDeleted | RESOURCE_DELETED |
| Name | Value |
|---|
| RESOURCE_DELETED | RESOURCE_DELETED |
Tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0