1. Packages
  2. AWS Native
  3. API Docs
  4. logs
  5. getDestination

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

aws-native.logs.getDestination

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

    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 dictionary

    The following arguments are supported:

    DestinationName string
    The name of the destination resource
    DestinationName string
    The name of the destination resource
    destinationName String
    The name of the destination resource
    destinationName string
    The name of the destination resource
    destination_name str
    The name of the destination resource
    destinationName String
    The name of the destination resource

    getDestination Result

    The following output properties are available:

    Arn string
    DestinationPolicy string
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    RoleArn string
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    TargetArn string
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    Arn string
    DestinationPolicy string
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    RoleArn string
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    TargetArn string
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    arn String
    destinationPolicy String
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    roleArn String
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    targetArn String
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    arn string
    destinationPolicy string
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    roleArn string
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    targetArn string
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    arn str
    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
    destinationPolicy String
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    roleArn String
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    targetArn 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
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi