We recommend new projects start with resources from the AWS provider.
aws-native.logs.getDestination
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)
public static Output<GetDestinationResult> getDestination(GetDestinationArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:logs:getDestination
  arguments:
    # arguments dictionaryThe 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
- The ARN of the CloudWatch Logs destination, such as arn:aws:logs:us-west-1:123456789012:destination:MyDestination.
- 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
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this resource.
- TargetArn 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.
- 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
- Tag
- An array of key-value pairs to apply to this resource.
- TargetArn 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.
- 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
- List<Tag>
- An array of key-value pairs to apply to this resource.
- targetArn 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.
- 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
- Tag[]
- An array of key-value pairs to apply to this resource.
- targetArn 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
- Sequence[root_Tag]
- An array of key-value pairs to apply to this 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.
- 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
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- targetArn String
- The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
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.
