We recommend new projects start with resources from the AWS provider.
aws-native.logs.getDestination
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.
Using getDestination
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 getDestination(args: GetDestinationArgs, opts?: InvokeOptions): Promise<GetDestinationResult>
function getDestinationOutput(args: GetDestinationOutputArgs, opts?: InvokeOptions): Output<GetDestinationResult>def get_destination(destination_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetDestinationResult
def get_destination_output(destination_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetDestinationResult]func LookupDestination(ctx *Context, args *LookupDestinationArgs, opts ...InvokeOption) (*LookupDestinationResult, error)
func LookupDestinationOutput(ctx *Context, args *LookupDestinationOutputArgs, opts ...InvokeOption) LookupDestinationResultOutput> Note: This function is named LookupDestination in the Go SDK.
public static class GetDestination 
{
    public static Task<GetDestinationResult> InvokeAsync(GetDestinationArgs args, InvokeOptions? opts = null)
    public static Output<GetDestinationResult> Invoke(GetDestinationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDestinationResult> getDestination(GetDestinationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:logs:getDestination
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Destination
Name string - The name of the destination resource
 
- Destination
Name string - The name of the destination resource
 
- destination
Name String - The name of the destination resource
 
- destination
Name string - The name of the destination resource
 
- destination_
name str - The name of the destination resource
 
- destination
Name String - The name of the destination resource
 
getDestination Result
The following output properties are available:
- Arn string
 - The ARN of the CloudWatch Logs destination, such as 
arn:aws:logs:us-west-1:123456789012:destination:MyDestination. - Destination
Policy string - An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
 - Role
Arn string - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
 - Target
Arn string - The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
 
- Arn string
 - The ARN of the CloudWatch Logs destination, such as 
arn:aws:logs:us-west-1:123456789012:destination:MyDestination. - Destination
Policy string - An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
 - Role
Arn string - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
 - Target
Arn string - The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
 
- arn String
 - The ARN of the CloudWatch Logs destination, such as 
arn:aws:logs:us-west-1:123456789012:destination:MyDestination. - destination
Policy String - An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
 - role
Arn String - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
 - target
Arn String - The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
 
- arn string
 - The ARN of the CloudWatch Logs destination, such as 
arn:aws:logs:us-west-1:123456789012:destination:MyDestination. - destination
Policy string - An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
 - role
Arn string - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
 - target
Arn string - The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
 
- arn str
 - The ARN of the CloudWatch Logs destination, such as 
arn:aws:logs:us-west-1:123456789012:destination:MyDestination. - destination_
policy str - An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
 - role_
arn str - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
 - target_
arn str - The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
 
- arn String
 - The ARN of the CloudWatch Logs destination, such as 
arn:aws:logs:us-west-1:123456789012:destination:MyDestination. - destination
Policy String - An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
 - role
Arn String - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
 - target
Arn String - The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
 
Package Details
- Repository
 - AWS Native pulumi/pulumi-aws-native
 - License
 - Apache-2.0
 
We recommend new projects start with resources from the AWS provider.