1. Packages
  2. Packages
  3. Newrelic Provider
  4. API Docs
  5. FederatedLogsSetup
Viewing docs for New Relic v5.72.0
published on Thursday, Jun 11, 2026 by Pulumi
newrelic logo
Viewing docs for New Relic v5.72.0
published on Thursday, Jun 11, 2026 by Pulumi

    Use this resource to create and manage a Federated Logs setup.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as newrelic from "@pulumi/newrelic";
    
    const ingest = new newrelic.AwsConnection("ingest", {
        name: "fed-logs-ingest",
        roleArn: "arn:aws:iam::123456789012:role/newrelic-fed-logs-ingest",
        region: "us-east-1",
        scopeType: "ORGANIZATION",
        scopeId: "YOUR_ORG_ID_HERE",
    });
    const query = new newrelic.AwsConnection("query", {
        name: "fed-logs-query",
        roleArn: "arn:aws:iam::123456789012:role/newrelic-fed-logs-query",
        region: "us-east-1",
        scopeType: "ORGANIZATION",
        scopeId: "YOUR_ORG_ID_HERE",
    });
    const foo = new newrelic.FederatedLogsSetup("foo", {
        name: "my-app-logs",
        description: "Federated logs setup for my-app",
        storage: {
            dataLocationBucket: "my-app-fed-logs",
            database: "my_app_fed_logs_db",
            dataIngestConnectionId: ingest.id,
            queryConnectionId: query.id,
            cloudProviderConfiguration: {
                provider: "AWS",
                region: "us-east-1",
            },
        },
        defaultPartition: {
            storage: {
                table: "my_app_default_partition",
                dataLocationUri: "s3://my-app-fed-logs/my_app_default_partition",
            },
            dataRetentionPolicy: {
                duration: 30,
                unit: "DAYS",
            },
        },
        forwarder: {
            type: "PIPELINE_CONTROL",
            pipelineControl: {
                fleetId: "<fleet-entity-guid>",
            },
        },
    });
    
    import pulumi
    import pulumi_newrelic as newrelic
    
    ingest = newrelic.AwsConnection("ingest",
        name="fed-logs-ingest",
        role_arn="arn:aws:iam::123456789012:role/newrelic-fed-logs-ingest",
        region="us-east-1",
        scope_type="ORGANIZATION",
        scope_id="YOUR_ORG_ID_HERE")
    query = newrelic.AwsConnection("query",
        name="fed-logs-query",
        role_arn="arn:aws:iam::123456789012:role/newrelic-fed-logs-query",
        region="us-east-1",
        scope_type="ORGANIZATION",
        scope_id="YOUR_ORG_ID_HERE")
    foo = newrelic.FederatedLogsSetup("foo",
        name="my-app-logs",
        description="Federated logs setup for my-app",
        storage={
            "data_location_bucket": "my-app-fed-logs",
            "database": "my_app_fed_logs_db",
            "data_ingest_connection_id": ingest.id,
            "query_connection_id": query.id,
            "cloud_provider_configuration": {
                "provider": "AWS",
                "region": "us-east-1",
            },
        },
        default_partition={
            "storage": {
                "table": "my_app_default_partition",
                "data_location_uri": "s3://my-app-fed-logs/my_app_default_partition",
            },
            "data_retention_policy": {
                "duration": 30,
                "unit": "DAYS",
            },
        },
        forwarder={
            "type": "PIPELINE_CONTROL",
            "pipeline_control": {
                "fleet_id": "<fleet-entity-guid>",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ingest, err := newrelic.NewAwsConnection(ctx, "ingest", &newrelic.AwsConnectionArgs{
    			Name:      pulumi.String("fed-logs-ingest"),
    			RoleArn:   "arn:aws:iam::123456789012:role/newrelic-fed-logs-ingest",
    			Region:    pulumi.String("us-east-1"),
    			ScopeType: pulumi.String("ORGANIZATION"),
    			ScopeId:   pulumi.String("YOUR_ORG_ID_HERE"),
    		})
    		if err != nil {
    			return err
    		}
    		query, err := newrelic.NewAwsConnection(ctx, "query", &newrelic.AwsConnectionArgs{
    			Name:      pulumi.String("fed-logs-query"),
    			RoleArn:   "arn:aws:iam::123456789012:role/newrelic-fed-logs-query",
    			Region:    pulumi.String("us-east-1"),
    			ScopeType: pulumi.String("ORGANIZATION"),
    			ScopeId:   pulumi.String("YOUR_ORG_ID_HERE"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = newrelic.NewFederatedLogsSetup(ctx, "foo", &newrelic.FederatedLogsSetupArgs{
    			Name:        pulumi.String("my-app-logs"),
    			Description: pulumi.String("Federated logs setup for my-app"),
    			Storage: &newrelic.FederatedLogsSetupStorageArgs{
    				DataLocationBucket:     pulumi.String("my-app-fed-logs"),
    				Database:               pulumi.String("my_app_fed_logs_db"),
    				DataIngestConnectionId: ingest.ID(),
    				QueryConnectionId:      query.ID(),
    				CloudProviderConfiguration: &newrelic.FederatedLogsSetupStorageCloudProviderConfigurationArgs{
    					Provider: pulumi.String("AWS"),
    					Region:   pulumi.String("us-east-1"),
    				},
    			},
    			DefaultPartition: &newrelic.FederatedLogsSetupDefaultPartitionArgs{
    				Storage: &newrelic.FederatedLogsSetupDefaultPartitionStorageArgs{
    					Table:           pulumi.String("my_app_default_partition"),
    					DataLocationUri: pulumi.String("s3://my-app-fed-logs/my_app_default_partition"),
    				},
    				DataRetentionPolicy: &newrelic.FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs{
    					Duration: pulumi.Int(30),
    					Unit:     pulumi.String("DAYS"),
    				},
    			},
    			Forwarder: &newrelic.FederatedLogsSetupForwarderArgs{
    				Type: pulumi.String("PIPELINE_CONTROL"),
    				PipelineControl: &newrelic.FederatedLogsSetupForwarderPipelineControlArgs{
    					FleetId: pulumi.String("<fleet-entity-guid>"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using NewRelic = Pulumi.NewRelic;
    
    return await Deployment.RunAsync(() => 
    {
        var ingest = new NewRelic.AwsConnection("ingest", new()
        {
            Name = "fed-logs-ingest",
            RoleArn = "arn:aws:iam::123456789012:role/newrelic-fed-logs-ingest",
            Region = "us-east-1",
            ScopeType = "ORGANIZATION",
            ScopeId = "YOUR_ORG_ID_HERE",
        });
    
        var query = new NewRelic.AwsConnection("query", new()
        {
            Name = "fed-logs-query",
            RoleArn = "arn:aws:iam::123456789012:role/newrelic-fed-logs-query",
            Region = "us-east-1",
            ScopeType = "ORGANIZATION",
            ScopeId = "YOUR_ORG_ID_HERE",
        });
    
        var foo = new NewRelic.FederatedLogsSetup("foo", new()
        {
            Name = "my-app-logs",
            Description = "Federated logs setup for my-app",
            Storage = new NewRelic.Inputs.FederatedLogsSetupStorageArgs
            {
                DataLocationBucket = "my-app-fed-logs",
                Database = "my_app_fed_logs_db",
                DataIngestConnectionId = ingest.Id,
                QueryConnectionId = query.Id,
                CloudProviderConfiguration = new NewRelic.Inputs.FederatedLogsSetupStorageCloudProviderConfigurationArgs
                {
                    Provider = "AWS",
                    Region = "us-east-1",
                },
            },
            DefaultPartition = new NewRelic.Inputs.FederatedLogsSetupDefaultPartitionArgs
            {
                Storage = new NewRelic.Inputs.FederatedLogsSetupDefaultPartitionStorageArgs
                {
                    Table = "my_app_default_partition",
                    DataLocationUri = "s3://my-app-fed-logs/my_app_default_partition",
                },
                DataRetentionPolicy = new NewRelic.Inputs.FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs
                {
                    Duration = 30,
                    Unit = "DAYS",
                },
            },
            Forwarder = new NewRelic.Inputs.FederatedLogsSetupForwarderArgs
            {
                Type = "PIPELINE_CONTROL",
                PipelineControl = new NewRelic.Inputs.FederatedLogsSetupForwarderPipelineControlArgs
                {
                    FleetId = "<fleet-entity-guid>",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.newrelic.AwsConnection;
    import com.pulumi.newrelic.AwsConnectionArgs;
    import com.pulumi.newrelic.FederatedLogsSetup;
    import com.pulumi.newrelic.FederatedLogsSetupArgs;
    import com.pulumi.newrelic.inputs.FederatedLogsSetupStorageArgs;
    import com.pulumi.newrelic.inputs.FederatedLogsSetupStorageCloudProviderConfigurationArgs;
    import com.pulumi.newrelic.inputs.FederatedLogsSetupDefaultPartitionArgs;
    import com.pulumi.newrelic.inputs.FederatedLogsSetupDefaultPartitionStorageArgs;
    import com.pulumi.newrelic.inputs.FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs;
    import com.pulumi.newrelic.inputs.FederatedLogsSetupForwarderArgs;
    import com.pulumi.newrelic.inputs.FederatedLogsSetupForwarderPipelineControlArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var ingest = new AwsConnection("ingest", AwsConnectionArgs.builder()
                .name("fed-logs-ingest")
                .roleArn("arn:aws:iam::123456789012:role/newrelic-fed-logs-ingest")
                .region("us-east-1")
                .scopeType("ORGANIZATION")
                .scopeId("YOUR_ORG_ID_HERE")
                .build());
    
            var query = new AwsConnection("query", AwsConnectionArgs.builder()
                .name("fed-logs-query")
                .roleArn("arn:aws:iam::123456789012:role/newrelic-fed-logs-query")
                .region("us-east-1")
                .scopeType("ORGANIZATION")
                .scopeId("YOUR_ORG_ID_HERE")
                .build());
    
            var foo = new FederatedLogsSetup("foo", FederatedLogsSetupArgs.builder()
                .name("my-app-logs")
                .description("Federated logs setup for my-app")
                .storage(FederatedLogsSetupStorageArgs.builder()
                    .dataLocationBucket("my-app-fed-logs")
                    .database("my_app_fed_logs_db")
                    .dataIngestConnectionId(ingest.id())
                    .queryConnectionId(query.id())
                    .cloudProviderConfiguration(FederatedLogsSetupStorageCloudProviderConfigurationArgs.builder()
                        .provider("AWS")
                        .region("us-east-1")
                        .build())
                    .build())
                .defaultPartition(FederatedLogsSetupDefaultPartitionArgs.builder()
                    .storage(FederatedLogsSetupDefaultPartitionStorageArgs.builder()
                        .table("my_app_default_partition")
                        .dataLocationUri("s3://my-app-fed-logs/my_app_default_partition")
                        .build())
                    .dataRetentionPolicy(FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs.builder()
                        .duration(30)
                        .unit("DAYS")
                        .build())
                    .build())
                .forwarder(FederatedLogsSetupForwarderArgs.builder()
                    .type("PIPELINE_CONTROL")
                    .pipelineControl(FederatedLogsSetupForwarderPipelineControlArgs.builder()
                        .fleetId("<fleet-entity-guid>")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      ingest:
        type: newrelic:AwsConnection
        properties:
          name: fed-logs-ingest
          roleArn: arn:aws:iam::123456789012:role/newrelic-fed-logs-ingest
          region: us-east-1
          scopeType: ORGANIZATION
          scopeId: YOUR_ORG_ID_HERE
      query:
        type: newrelic:AwsConnection
        properties:
          name: fed-logs-query
          roleArn: arn:aws:iam::123456789012:role/newrelic-fed-logs-query
          region: us-east-1
          scopeType: ORGANIZATION
          scopeId: YOUR_ORG_ID_HERE
      foo:
        type: newrelic:FederatedLogsSetup
        properties:
          name: my-app-logs
          description: Federated logs setup for my-app
          storage:
            dataLocationBucket: my-app-fed-logs
            database: my_app_fed_logs_db
            dataIngestConnectionId: ${ingest.id}
            queryConnectionId: ${query.id}
            cloudProviderConfiguration:
              provider: AWS
              region: us-east-1
          defaultPartition:
            storage:
              table: my_app_default_partition
              dataLocationUri: s3://my-app-fed-logs/my_app_default_partition
            dataRetentionPolicy:
              duration: 30
              unit: DAYS
          forwarder:
            type: PIPELINE_CONTROL
            pipelineControl:
              fleetId: <fleet-entity-guid>
    
    pulumi {
      required_providers {
        newrelic = {
          source = "pulumi/newrelic"
        }
      }
    }
    
    resource "newrelic_awsconnection" "ingest" {
      name       = "fed-logs-ingest"
      role_arn   = "arn:aws:iam::123456789012:role/newrelic-fed-logs-ingest"
      region     = "us-east-1"
      scope_type = "ORGANIZATION"
      scope_id   = "YOUR_ORG_ID_HERE"
    }
    resource "newrelic_awsconnection" "query" {
      name       = "fed-logs-query"
      role_arn   = "arn:aws:iam::123456789012:role/newrelic-fed-logs-query"
      region     = "us-east-1"
      scope_type = "ORGANIZATION"
      scope_id   = "YOUR_ORG_ID_HERE"
    }
    resource "newrelic_federatedlogssetup" "foo" {
      name        = "my-app-logs"
      description = "Federated logs setup for my-app"
      storage = {
        data_location_bucket      = "my-app-fed-logs"
        database                  = "my_app_fed_logs_db"
        data_ingest_connection_id = newrelic_awsconnection.ingest.id
        query_connection_id       = newrelic_awsconnection.query.id
        cloud_provider_configuration = {
          provider = "AWS"
          region   = "us-east-1"
        }
      }
      default_partition = {
        storage = {
          table             = "my_app_default_partition"
          data_location_uri = "s3://my-app-fed-logs/my_app_default_partition"
        }
        data_retention_policy = {
          duration = 30
          unit     = "DAYS"
        }
      }
      forwarder = {
        type = "PIPELINE_CONTROL"
        pipeline_control = {
          fleet_id = "<fleet-entity-guid>"
        }
      }
    }
    

    Create FederatedLogsSetup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FederatedLogsSetup(name: string, args: FederatedLogsSetupArgs, opts?: CustomResourceOptions);
    @overload
    def FederatedLogsSetup(resource_name: str,
                           args: FederatedLogsSetupArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def FederatedLogsSetup(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           default_partition: Optional[FederatedLogsSetupDefaultPartitionArgs] = None,
                           storage: Optional[FederatedLogsSetupStorageArgs] = None,
                           account_id: Optional[str] = None,
                           active: Optional[bool] = None,
                           description: Optional[str] = None,
                           forwarder: Optional[FederatedLogsSetupForwarderArgs] = None,
                           name: Optional[str] = None)
    func NewFederatedLogsSetup(ctx *Context, name string, args FederatedLogsSetupArgs, opts ...ResourceOption) (*FederatedLogsSetup, error)
    public FederatedLogsSetup(string name, FederatedLogsSetupArgs args, CustomResourceOptions? opts = null)
    public FederatedLogsSetup(String name, FederatedLogsSetupArgs args)
    public FederatedLogsSetup(String name, FederatedLogsSetupArgs args, CustomResourceOptions options)
    
    type: newrelic:FederatedLogsSetup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "newrelic_federatedlogssetup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FederatedLogsSetupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FederatedLogsSetupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FederatedLogsSetupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FederatedLogsSetupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FederatedLogsSetupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var federatedLogsSetupResource = new NewRelic.FederatedLogsSetup("federatedLogsSetupResource", new()
    {
        DefaultPartition = new NewRelic.Inputs.FederatedLogsSetupDefaultPartitionArgs
        {
            Storage = new NewRelic.Inputs.FederatedLogsSetupDefaultPartitionStorageArgs
            {
                DataLocationUri = "string",
                Table = "string",
            },
            DataRetentionPolicy = new NewRelic.Inputs.FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs
            {
                Duration = 0,
                Unit = "string",
            },
        },
        Storage = new NewRelic.Inputs.FederatedLogsSetupStorageArgs
        {
            CloudProviderConfiguration = new NewRelic.Inputs.FederatedLogsSetupStorageCloudProviderConfigurationArgs
            {
                Provider = "string",
                Region = "string",
            },
            DataIngestConnectionId = "string",
            DataLocationBucket = "string",
            Database = "string",
            QueryConnectionId = "string",
        },
        AccountId = "string",
        Active = false,
        Description = "string",
        Forwarder = new NewRelic.Inputs.FederatedLogsSetupForwarderArgs
        {
            Type = "string",
            PipelineControl = new NewRelic.Inputs.FederatedLogsSetupForwarderPipelineControlArgs
            {
                FleetId = "string",
                RoutingRule = new NewRelic.Inputs.FederatedLogsSetupForwarderPipelineControlRoutingRuleArgs
                {
                    Expression = "string",
                },
            },
        },
        Name = "string",
    });
    
    example, err := newrelic.NewFederatedLogsSetup(ctx, "federatedLogsSetupResource", &newrelic.FederatedLogsSetupArgs{
    	DefaultPartition: &newrelic.FederatedLogsSetupDefaultPartitionArgs{
    		Storage: &newrelic.FederatedLogsSetupDefaultPartitionStorageArgs{
    			DataLocationUri: pulumi.String("string"),
    			Table:           pulumi.String("string"),
    		},
    		DataRetentionPolicy: &newrelic.FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs{
    			Duration: pulumi.Int(0),
    			Unit:     pulumi.String("string"),
    		},
    	},
    	Storage: &newrelic.FederatedLogsSetupStorageArgs{
    		CloudProviderConfiguration: &newrelic.FederatedLogsSetupStorageCloudProviderConfigurationArgs{
    			Provider: pulumi.String("string"),
    			Region:   pulumi.String("string"),
    		},
    		DataIngestConnectionId: pulumi.String("string"),
    		DataLocationBucket:     pulumi.String("string"),
    		Database:               pulumi.String("string"),
    		QueryConnectionId:      pulumi.String("string"),
    	},
    	AccountId:   pulumi.String("string"),
    	Active:      pulumi.Bool(false),
    	Description: pulumi.String("string"),
    	Forwarder: &newrelic.FederatedLogsSetupForwarderArgs{
    		Type: pulumi.String("string"),
    		PipelineControl: &newrelic.FederatedLogsSetupForwarderPipelineControlArgs{
    			FleetId: pulumi.String("string"),
    			RoutingRule: &newrelic.FederatedLogsSetupForwarderPipelineControlRoutingRuleArgs{
    				Expression: pulumi.String("string"),
    			},
    		},
    	},
    	Name: pulumi.String("string"),
    })
    
    resource "newrelic_federatedlogssetup" "federatedLogsSetupResource" {
      default_partition = {
        storage = {
          data_location_uri = "string"
          table             = "string"
        }
        data_retention_policy = {
          duration = 0
          unit     = "string"
        }
      }
      storage = {
        cloud_provider_configuration = {
          provider = "string"
          region   = "string"
        }
        data_ingest_connection_id = "string"
        data_location_bucket      = "string"
        database                  = "string"
        query_connection_id       = "string"
      }
      account_id  = "string"
      active      = false
      description = "string"
      forwarder = {
        type = "string"
        pipeline_control = {
          fleet_id = "string"
          routing_rule = {
            expression = "string"
          }
        }
      }
      name = "string"
    }
    
    var federatedLogsSetupResource = new FederatedLogsSetup("federatedLogsSetupResource", FederatedLogsSetupArgs.builder()
        .defaultPartition(FederatedLogsSetupDefaultPartitionArgs.builder()
            .storage(FederatedLogsSetupDefaultPartitionStorageArgs.builder()
                .dataLocationUri("string")
                .table("string")
                .build())
            .dataRetentionPolicy(FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs.builder()
                .duration(0)
                .unit("string")
                .build())
            .build())
        .storage(FederatedLogsSetupStorageArgs.builder()
            .cloudProviderConfiguration(FederatedLogsSetupStorageCloudProviderConfigurationArgs.builder()
                .provider("string")
                .region("string")
                .build())
            .dataIngestConnectionId("string")
            .dataLocationBucket("string")
            .database("string")
            .queryConnectionId("string")
            .build())
        .accountId("string")
        .active(false)
        .description("string")
        .forwarder(FederatedLogsSetupForwarderArgs.builder()
            .type("string")
            .pipelineControl(FederatedLogsSetupForwarderPipelineControlArgs.builder()
                .fleetId("string")
                .routingRule(FederatedLogsSetupForwarderPipelineControlRoutingRuleArgs.builder()
                    .expression("string")
                    .build())
                .build())
            .build())
        .name("string")
        .build());
    
    federated_logs_setup_resource = newrelic.FederatedLogsSetup("federatedLogsSetupResource",
        default_partition={
            "storage": {
                "data_location_uri": "string",
                "table": "string",
            },
            "data_retention_policy": {
                "duration": 0,
                "unit": "string",
            },
        },
        storage={
            "cloud_provider_configuration": {
                "provider": "string",
                "region": "string",
            },
            "data_ingest_connection_id": "string",
            "data_location_bucket": "string",
            "database": "string",
            "query_connection_id": "string",
        },
        account_id="string",
        active=False,
        description="string",
        forwarder={
            "type": "string",
            "pipeline_control": {
                "fleet_id": "string",
                "routing_rule": {
                    "expression": "string",
                },
            },
        },
        name="string")
    
    const federatedLogsSetupResource = new newrelic.FederatedLogsSetup("federatedLogsSetupResource", {
        defaultPartition: {
            storage: {
                dataLocationUri: "string",
                table: "string",
            },
            dataRetentionPolicy: {
                duration: 0,
                unit: "string",
            },
        },
        storage: {
            cloudProviderConfiguration: {
                provider: "string",
                region: "string",
            },
            dataIngestConnectionId: "string",
            dataLocationBucket: "string",
            database: "string",
            queryConnectionId: "string",
        },
        accountId: "string",
        active: false,
        description: "string",
        forwarder: {
            type: "string",
            pipelineControl: {
                fleetId: "string",
                routingRule: {
                    expression: "string",
                },
            },
        },
        name: "string",
    });
    
    type: newrelic:FederatedLogsSetup
    properties:
        accountId: string
        active: false
        defaultPartition:
            dataRetentionPolicy:
                duration: 0
                unit: string
            storage:
                dataLocationUri: string
                table: string
        description: string
        forwarder:
            pipelineControl:
                fleetId: string
                routingRule:
                    expression: string
            type: string
        name: string
        storage:
            cloudProviderConfiguration:
                provider: string
                region: string
            dataIngestConnectionId: string
            dataLocationBucket: string
            database: string
            queryConnectionId: string
    

    FederatedLogsSetup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FederatedLogsSetup resource accepts the following input properties:

    DefaultPartition Pulumi.NewRelic.Inputs.FederatedLogsSetupDefaultPartition
    Default partition created alongside the setup. See Nested defaultPartition block below.
    Storage Pulumi.NewRelic.Inputs.FederatedLogsSetupStorage
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    AccountId string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    Active bool
    Whether the setup is active.
    Description string
    A description for federated logs setup.
    Forwarder Pulumi.NewRelic.Inputs.FederatedLogsSetupForwarder
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    Name string
    The name of the federated log setup.
    DefaultPartition FederatedLogsSetupDefaultPartitionArgs
    Default partition created alongside the setup. See Nested defaultPartition block below.
    Storage FederatedLogsSetupStorageArgs
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    AccountId string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    Active bool
    Whether the setup is active.
    Description string
    A description for federated logs setup.
    Forwarder FederatedLogsSetupForwarderArgs
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    Name string
    The name of the federated log setup.
    default_partition object
    Default partition created alongside the setup. See Nested defaultPartition block below.
    storage object
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    account_id string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active bool
    Whether the setup is active.
    description string
    A description for federated logs setup.
    forwarder object
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    name string
    The name of the federated log setup.
    defaultPartition FederatedLogsSetupDefaultPartition
    Default partition created alongside the setup. See Nested defaultPartition block below.
    storage FederatedLogsSetupStorage
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    accountId String
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active Boolean
    Whether the setup is active.
    description String
    A description for federated logs setup.
    forwarder FederatedLogsSetupForwarder
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    name String
    The name of the federated log setup.
    defaultPartition FederatedLogsSetupDefaultPartition
    Default partition created alongside the setup. See Nested defaultPartition block below.
    storage FederatedLogsSetupStorage
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    accountId string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active boolean
    Whether the setup is active.
    description string
    A description for federated logs setup.
    forwarder FederatedLogsSetupForwarder
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    name string
    The name of the federated log setup.
    default_partition FederatedLogsSetupDefaultPartitionArgs
    Default partition created alongside the setup. See Nested defaultPartition block below.
    storage FederatedLogsSetupStorageArgs
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    account_id str
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active bool
    Whether the setup is active.
    description str
    A description for federated logs setup.
    forwarder FederatedLogsSetupForwarderArgs
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    name str
    The name of the federated log setup.
    defaultPartition Property Map
    Default partition created alongside the setup. See Nested defaultPartition block below.
    storage Property Map
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    accountId String
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active Boolean
    Whether the setup is active.
    description String
    A description for federated logs setup.
    forwarder Property Map
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    name String
    The name of the federated log setup.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FederatedLogsSetup resource produces the following output properties:

    CreatedAt string
    Creation timestamp.
    DefaultPartitionId string
    The entity GUID of the default partition created alongside this setup.
    HealthChecks List<Pulumi.NewRelic.Outputs.FederatedLogsSetupHealthCheck>
    Aggregate health check status for the setup.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStatuses List<Pulumi.NewRelic.Outputs.FederatedLogsSetupLifecycleStatus>
    Current lifecycle status of the setup.
    UpdatedAt string
    Last-updated timestamp.
    CreatedAt string
    Creation timestamp.
    DefaultPartitionId string
    The entity GUID of the default partition created alongside this setup.
    HealthChecks []FederatedLogsSetupHealthCheck
    Aggregate health check status for the setup.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStatuses []FederatedLogsSetupLifecycleStatus
    Current lifecycle status of the setup.
    UpdatedAt string
    Last-updated timestamp.
    created_at string
    Creation timestamp.
    default_partition_id string
    The entity GUID of the default partition created alongside this setup.
    health_checks list(object)
    Aggregate health check status for the setup.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycle_statuses list(object)
    Current lifecycle status of the setup.
    updated_at string
    Last-updated timestamp.
    createdAt String
    Creation timestamp.
    defaultPartitionId String
    The entity GUID of the default partition created alongside this setup.
    healthChecks List<FederatedLogsSetupHealthCheck>
    Aggregate health check status for the setup.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStatuses List<FederatedLogsSetupLifecycleStatus>
    Current lifecycle status of the setup.
    updatedAt String
    Last-updated timestamp.
    createdAt string
    Creation timestamp.
    defaultPartitionId string
    The entity GUID of the default partition created alongside this setup.
    healthChecks FederatedLogsSetupHealthCheck[]
    Aggregate health check status for the setup.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleStatuses FederatedLogsSetupLifecycleStatus[]
    Current lifecycle status of the setup.
    updatedAt string
    Last-updated timestamp.
    created_at str
    Creation timestamp.
    default_partition_id str
    The entity GUID of the default partition created alongside this setup.
    health_checks Sequence[FederatedLogsSetupHealthCheck]
    Aggregate health check status for the setup.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_statuses Sequence[FederatedLogsSetupLifecycleStatus]
    Current lifecycle status of the setup.
    updated_at str
    Last-updated timestamp.
    createdAt String
    Creation timestamp.
    defaultPartitionId String
    The entity GUID of the default partition created alongside this setup.
    healthChecks List<Property Map>
    Aggregate health check status for the setup.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStatuses List<Property Map>
    Current lifecycle status of the setup.
    updatedAt String
    Last-updated timestamp.

    Look up Existing FederatedLogsSetup Resource

    Get an existing FederatedLogsSetup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FederatedLogsSetupState, opts?: CustomResourceOptions): FederatedLogsSetup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            active: Optional[bool] = None,
            created_at: Optional[str] = None,
            default_partition: Optional[FederatedLogsSetupDefaultPartitionArgs] = None,
            default_partition_id: Optional[str] = None,
            description: Optional[str] = None,
            forwarder: Optional[FederatedLogsSetupForwarderArgs] = None,
            health_checks: Optional[Sequence[FederatedLogsSetupHealthCheckArgs]] = None,
            lifecycle_statuses: Optional[Sequence[FederatedLogsSetupLifecycleStatusArgs]] = None,
            name: Optional[str] = None,
            storage: Optional[FederatedLogsSetupStorageArgs] = None,
            updated_at: Optional[str] = None) -> FederatedLogsSetup
    func GetFederatedLogsSetup(ctx *Context, name string, id IDInput, state *FederatedLogsSetupState, opts ...ResourceOption) (*FederatedLogsSetup, error)
    public static FederatedLogsSetup Get(string name, Input<string> id, FederatedLogsSetupState? state, CustomResourceOptions? opts = null)
    public static FederatedLogsSetup get(String name, Output<String> id, FederatedLogsSetupState state, CustomResourceOptions options)
    resources:  _:    type: newrelic:FederatedLogsSetup    get:      id: ${id}
    import {
      to = newrelic_federatedlogssetup.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    Active bool
    Whether the setup is active.
    CreatedAt string
    Creation timestamp.
    DefaultPartition Pulumi.NewRelic.Inputs.FederatedLogsSetupDefaultPartition
    Default partition created alongside the setup. See Nested defaultPartition block below.
    DefaultPartitionId string
    The entity GUID of the default partition created alongside this setup.
    Description string
    A description for federated logs setup.
    Forwarder Pulumi.NewRelic.Inputs.FederatedLogsSetupForwarder
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    HealthChecks List<Pulumi.NewRelic.Inputs.FederatedLogsSetupHealthCheck>
    Aggregate health check status for the setup.
    LifecycleStatuses List<Pulumi.NewRelic.Inputs.FederatedLogsSetupLifecycleStatus>
    Current lifecycle status of the setup.
    Name string
    The name of the federated log setup.
    Storage Pulumi.NewRelic.Inputs.FederatedLogsSetupStorage
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    UpdatedAt string
    Last-updated timestamp.
    AccountId string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    Active bool
    Whether the setup is active.
    CreatedAt string
    Creation timestamp.
    DefaultPartition FederatedLogsSetupDefaultPartitionArgs
    Default partition created alongside the setup. See Nested defaultPartition block below.
    DefaultPartitionId string
    The entity GUID of the default partition created alongside this setup.
    Description string
    A description for federated logs setup.
    Forwarder FederatedLogsSetupForwarderArgs
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    HealthChecks []FederatedLogsSetupHealthCheckArgs
    Aggregate health check status for the setup.
    LifecycleStatuses []FederatedLogsSetupLifecycleStatusArgs
    Current lifecycle status of the setup.
    Name string
    The name of the federated log setup.
    Storage FederatedLogsSetupStorageArgs
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    UpdatedAt string
    Last-updated timestamp.
    account_id string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active bool
    Whether the setup is active.
    created_at string
    Creation timestamp.
    default_partition object
    Default partition created alongside the setup. See Nested defaultPartition block below.
    default_partition_id string
    The entity GUID of the default partition created alongside this setup.
    description string
    A description for federated logs setup.
    forwarder object
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    health_checks list(object)
    Aggregate health check status for the setup.
    lifecycle_statuses list(object)
    Current lifecycle status of the setup.
    name string
    The name of the federated log setup.
    storage object
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    updated_at string
    Last-updated timestamp.
    accountId String
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active Boolean
    Whether the setup is active.
    createdAt String
    Creation timestamp.
    defaultPartition FederatedLogsSetupDefaultPartition
    Default partition created alongside the setup. See Nested defaultPartition block below.
    defaultPartitionId String
    The entity GUID of the default partition created alongside this setup.
    description String
    A description for federated logs setup.
    forwarder FederatedLogsSetupForwarder
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    healthChecks List<FederatedLogsSetupHealthCheck>
    Aggregate health check status for the setup.
    lifecycleStatuses List<FederatedLogsSetupLifecycleStatus>
    Current lifecycle status of the setup.
    name String
    The name of the federated log setup.
    storage FederatedLogsSetupStorage
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    updatedAt String
    Last-updated timestamp.
    accountId string
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active boolean
    Whether the setup is active.
    createdAt string
    Creation timestamp.
    defaultPartition FederatedLogsSetupDefaultPartition
    Default partition created alongside the setup. See Nested defaultPartition block below.
    defaultPartitionId string
    The entity GUID of the default partition created alongside this setup.
    description string
    A description for federated logs setup.
    forwarder FederatedLogsSetupForwarder
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    healthChecks FederatedLogsSetupHealthCheck[]
    Aggregate health check status for the setup.
    lifecycleStatuses FederatedLogsSetupLifecycleStatus[]
    Current lifecycle status of the setup.
    name string
    The name of the federated log setup.
    storage FederatedLogsSetupStorage
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    updatedAt string
    Last-updated timestamp.
    account_id str
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active bool
    Whether the setup is active.
    created_at str
    Creation timestamp.
    default_partition FederatedLogsSetupDefaultPartitionArgs
    Default partition created alongside the setup. See Nested defaultPartition block below.
    default_partition_id str
    The entity GUID of the default partition created alongside this setup.
    description str
    A description for federated logs setup.
    forwarder FederatedLogsSetupForwarderArgs
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    health_checks Sequence[FederatedLogsSetupHealthCheckArgs]
    Aggregate health check status for the setup.
    lifecycle_statuses Sequence[FederatedLogsSetupLifecycleStatusArgs]
    Current lifecycle status of the setup.
    name str
    The name of the federated log setup.
    storage FederatedLogsSetupStorageArgs
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    updated_at str
    Last-updated timestamp.
    accountId String
    The New Relic account ID where the federated logs setup will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
    active Boolean
    Whether the setup is active.
    createdAt String
    Creation timestamp.
    defaultPartition Property Map
    Default partition created alongside the setup. See Nested defaultPartition block below.
    defaultPartitionId String
    The entity GUID of the default partition created alongside this setup.
    description String
    A description for federated logs setup.
    forwarder Property Map
    Forwarder configuration that wires a fleet to this setup. See Nested forwarder block below.
    healthChecks List<Property Map>
    Aggregate health check status for the setup.
    lifecycleStatuses List<Property Map>
    Current lifecycle status of the setup.
    name String
    The name of the federated log setup.
    storage Property Map
    Storage configuration. Cannot be changed after creation. See Nested storage block below.
    updatedAt String
    Last-updated timestamp.

    Supporting Types

    FederatedLogsSetupDefaultPartition, FederatedLogsSetupDefaultPartitionArgs

    Storage Pulumi.NewRelic.Inputs.FederatedLogsSetupDefaultPartitionStorage
    Storage details for the default partition. See below.
    DataRetentionPolicy Pulumi.NewRelic.Inputs.FederatedLogsSetupDefaultPartitionDataRetentionPolicy
    Retention policy for logs in the default partition. See below.
    Storage FederatedLogsSetupDefaultPartitionStorage
    Storage details for the default partition. See below.
    DataRetentionPolicy FederatedLogsSetupDefaultPartitionDataRetentionPolicy
    Retention policy for logs in the default partition. See below.
    storage object
    Storage details for the default partition. See below.
    data_retention_policy object
    Retention policy for logs in the default partition. See below.
    storage FederatedLogsSetupDefaultPartitionStorage
    Storage details for the default partition. See below.
    dataRetentionPolicy FederatedLogsSetupDefaultPartitionDataRetentionPolicy
    Retention policy for logs in the default partition. See below.
    storage FederatedLogsSetupDefaultPartitionStorage
    Storage details for the default partition. See below.
    dataRetentionPolicy FederatedLogsSetupDefaultPartitionDataRetentionPolicy
    Retention policy for logs in the default partition. See below.
    storage FederatedLogsSetupDefaultPartitionStorage
    Storage details for the default partition. See below.
    data_retention_policy FederatedLogsSetupDefaultPartitionDataRetentionPolicy
    Retention policy for logs in the default partition. See below.
    storage Property Map
    Storage details for the default partition. See below.
    dataRetentionPolicy Property Map
    Retention policy for logs in the default partition. See below.

    FederatedLogsSetupDefaultPartitionDataRetentionPolicy, FederatedLogsSetupDefaultPartitionDataRetentionPolicyArgs

    Duration int
    Retention duration value.
    Unit string
    Time unit for the duration. One of DAYS, WEEKS, or MONTHS.
    Duration int
    Retention duration value.
    Unit string
    Time unit for the duration. One of DAYS, WEEKS, or MONTHS.
    duration number
    Retention duration value.
    unit string
    Time unit for the duration. One of DAYS, WEEKS, or MONTHS.
    duration Integer
    Retention duration value.
    unit String
    Time unit for the duration. One of DAYS, WEEKS, or MONTHS.
    duration number
    Retention duration value.
    unit string
    Time unit for the duration. One of DAYS, WEEKS, or MONTHS.
    duration int
    Retention duration value.
    unit str
    Time unit for the duration. One of DAYS, WEEKS, or MONTHS.
    duration Number
    Retention duration value.
    unit String
    Time unit for the duration. One of DAYS, WEEKS, or MONTHS.

    FederatedLogsSetupDefaultPartitionStorage, FederatedLogsSetupDefaultPartitionStorageArgs

    DataLocationUri string
    S3 URI of the default partition's data location.
    Table string
    Glue table name for the default partition.
    DataLocationUri string
    S3 URI of the default partition's data location.
    Table string
    Glue table name for the default partition.
    data_location_uri string
    S3 URI of the default partition's data location.
    table string
    Glue table name for the default partition.
    dataLocationUri String
    S3 URI of the default partition's data location.
    table String
    Glue table name for the default partition.
    dataLocationUri string
    S3 URI of the default partition's data location.
    table string
    Glue table name for the default partition.
    data_location_uri str
    S3 URI of the default partition's data location.
    table str
    Glue table name for the default partition.
    dataLocationUri String
    S3 URI of the default partition's data location.
    table String
    Glue table name for the default partition.

    FederatedLogsSetupForwarder, FederatedLogsSetupForwarderArgs

    Type string
    The forwarder type. Currently only PIPELINE_CONTROL is supported.
    PipelineControl Pulumi.NewRelic.Inputs.FederatedLogsSetupForwarderPipelineControl
    Pipeline control configuration. Required when type is PIPELINE_CONTROL. See below.
    Type string
    The forwarder type. Currently only PIPELINE_CONTROL is supported.
    PipelineControl FederatedLogsSetupForwarderPipelineControl
    Pipeline control configuration. Required when type is PIPELINE_CONTROL. See below.
    type string
    The forwarder type. Currently only PIPELINE_CONTROL is supported.
    pipeline_control object
    Pipeline control configuration. Required when type is PIPELINE_CONTROL. See below.
    type String
    The forwarder type. Currently only PIPELINE_CONTROL is supported.
    pipelineControl FederatedLogsSetupForwarderPipelineControl
    Pipeline control configuration. Required when type is PIPELINE_CONTROL. See below.
    type string
    The forwarder type. Currently only PIPELINE_CONTROL is supported.
    pipelineControl FederatedLogsSetupForwarderPipelineControl
    Pipeline control configuration. Required when type is PIPELINE_CONTROL. See below.
    type str
    The forwarder type. Currently only PIPELINE_CONTROL is supported.
    pipeline_control FederatedLogsSetupForwarderPipelineControl
    Pipeline control configuration. Required when type is PIPELINE_CONTROL. See below.
    type String
    The forwarder type. Currently only PIPELINE_CONTROL is supported.
    pipelineControl Property Map
    Pipeline control configuration. Required when type is PIPELINE_CONTROL. See below.

    FederatedLogsSetupForwarderPipelineControl, FederatedLogsSetupForwarderPipelineControlArgs

    FleetId string
    The fleet entity GUID.
    RoutingRule Pulumi.NewRelic.Inputs.FederatedLogsSetupForwarderPipelineControlRoutingRule
    Routing rule that determines how incoming logs are routed to this setup. See below.
    FleetId string
    The fleet entity GUID.
    RoutingRule FederatedLogsSetupForwarderPipelineControlRoutingRule
    Routing rule that determines how incoming logs are routed to this setup. See below.
    fleet_id string
    The fleet entity GUID.
    routing_rule object
    Routing rule that determines how incoming logs are routed to this setup. See below.
    fleetId String
    The fleet entity GUID.
    routingRule FederatedLogsSetupForwarderPipelineControlRoutingRule
    Routing rule that determines how incoming logs are routed to this setup. See below.
    fleetId string
    The fleet entity GUID.
    routingRule FederatedLogsSetupForwarderPipelineControlRoutingRule
    Routing rule that determines how incoming logs are routed to this setup. See below.
    fleet_id str
    The fleet entity GUID.
    routing_rule FederatedLogsSetupForwarderPipelineControlRoutingRule
    Routing rule that determines how incoming logs are routed to this setup. See below.
    fleetId String
    The fleet entity GUID.
    routingRule Property Map
    Routing rule that determines how incoming logs are routed to this setup. See below.

    FederatedLogsSetupForwarderPipelineControlRoutingRule, FederatedLogsSetupForwarderPipelineControlRoutingRuleArgs

    Expression string
    OTTL expression for routing logs to this setup. Example: attributes["service.name"] == "python-apm".
    Expression string
    OTTL expression for routing logs to this setup. Example: attributes["service.name"] == "python-apm".
    expression string
    OTTL expression for routing logs to this setup. Example: attributes["service.name"] == "python-apm".
    expression String
    OTTL expression for routing logs to this setup. Example: attributes["service.name"] == "python-apm".
    expression string
    OTTL expression for routing logs to this setup. Example: attributes["service.name"] == "python-apm".
    expression str
    OTTL expression for routing logs to this setup. Example: attributes["service.name"] == "python-apm".
    expression String
    OTTL expression for routing logs to this setup. Example: attributes["service.name"] == "python-apm".

    FederatedLogsSetupHealthCheck, FederatedLogsSetupHealthCheckArgs

    FederatedLogsSetupHealthCheckEnd2endDataFlow, FederatedLogsSetupHealthCheckEnd2endDataFlowArgs

    LastUpdatedAt string
    Message string
    Status string
    LastUpdatedAt string
    Message string
    Status string
    last_updated_at string
    message string
    status string
    lastUpdatedAt String
    message String
    status String
    lastUpdatedAt string
    message string
    status string
    lastUpdatedAt String
    message String
    status String

    FederatedLogsSetupHealthCheckQueryConnection, FederatedLogsSetupHealthCheckQueryConnectionArgs

    LastUpdatedAt string
    Message string
    Status string
    LastUpdatedAt string
    Message string
    Status string
    last_updated_at string
    message string
    status string
    lastUpdatedAt String
    message String
    status String
    lastUpdatedAt string
    message string
    status string
    lastUpdatedAt String
    message String
    status String

    FederatedLogsSetupLifecycleStatus, FederatedLogsSetupLifecycleStatusArgs

    LastUpdatedAt string
    Message string
    Status string
    LastUpdatedAt string
    Message string
    Status string
    last_updated_at string
    message string
    status string
    lastUpdatedAt String
    message String
    status String
    lastUpdatedAt string
    message string
    status string
    lastUpdatedAt String
    message String
    status String

    FederatedLogsSetupStorage, FederatedLogsSetupStorageArgs

    CloudProviderConfiguration Pulumi.NewRelic.Inputs.FederatedLogsSetupStorageCloudProviderConfiguration
    Cloud provider configuration. See below.
    DataIngestConnectionId string
    Entity GUID of the newrelic.AwsConnection used for writing data (the fleet ingest role).
    DataLocationBucket string
    S3 bucket where log data is stored.
    Database string
    Glue catalog database name associated with the setup.
    QueryConnectionId string
    Entity GUID of the newrelic.AwsConnection used for reading data.
    CloudProviderConfiguration FederatedLogsSetupStorageCloudProviderConfiguration
    Cloud provider configuration. See below.
    DataIngestConnectionId string
    Entity GUID of the newrelic.AwsConnection used for writing data (the fleet ingest role).
    DataLocationBucket string
    S3 bucket where log data is stored.
    Database string
    Glue catalog database name associated with the setup.
    QueryConnectionId string
    Entity GUID of the newrelic.AwsConnection used for reading data.
    cloud_provider_configuration object
    Cloud provider configuration. See below.
    data_ingest_connection_id string
    Entity GUID of the newrelic.AwsConnection used for writing data (the fleet ingest role).
    data_location_bucket string
    S3 bucket where log data is stored.
    database string
    Glue catalog database name associated with the setup.
    query_connection_id string
    Entity GUID of the newrelic.AwsConnection used for reading data.
    cloudProviderConfiguration FederatedLogsSetupStorageCloudProviderConfiguration
    Cloud provider configuration. See below.
    dataIngestConnectionId String
    Entity GUID of the newrelic.AwsConnection used for writing data (the fleet ingest role).
    dataLocationBucket String
    S3 bucket where log data is stored.
    database String
    Glue catalog database name associated with the setup.
    queryConnectionId String
    Entity GUID of the newrelic.AwsConnection used for reading data.
    cloudProviderConfiguration FederatedLogsSetupStorageCloudProviderConfiguration
    Cloud provider configuration. See below.
    dataIngestConnectionId string
    Entity GUID of the newrelic.AwsConnection used for writing data (the fleet ingest role).
    dataLocationBucket string
    S3 bucket where log data is stored.
    database string
    Glue catalog database name associated with the setup.
    queryConnectionId string
    Entity GUID of the newrelic.AwsConnection used for reading data.
    cloud_provider_configuration FederatedLogsSetupStorageCloudProviderConfiguration
    Cloud provider configuration. See below.
    data_ingest_connection_id str
    Entity GUID of the newrelic.AwsConnection used for writing data (the fleet ingest role).
    data_location_bucket str
    S3 bucket where log data is stored.
    database str
    Glue catalog database name associated with the setup.
    query_connection_id str
    Entity GUID of the newrelic.AwsConnection used for reading data.
    cloudProviderConfiguration Property Map
    Cloud provider configuration. See below.
    dataIngestConnectionId String
    Entity GUID of the newrelic.AwsConnection used for writing data (the fleet ingest role).
    dataLocationBucket String
    S3 bucket where log data is stored.
    database String
    Glue catalog database name associated with the setup.
    queryConnectionId String
    Entity GUID of the newrelic.AwsConnection used for reading data.

    FederatedLogsSetupStorageCloudProviderConfiguration, FederatedLogsSetupStorageCloudProviderConfigurationArgs

    Provider string
    The cloud provider. Currently only AWS is supported.
    Region string
    The cloud provider region (e.g. us-east-1).
    Provider string
    The cloud provider. Currently only AWS is supported.
    Region string
    The cloud provider region (e.g. us-east-1).
    provider string
    The cloud provider. Currently only AWS is supported.
    region string
    The cloud provider region (e.g. us-east-1).
    provider String
    The cloud provider. Currently only AWS is supported.
    region String
    The cloud provider region (e.g. us-east-1).
    provider string
    The cloud provider. Currently only AWS is supported.
    region string
    The cloud provider region (e.g. us-east-1).
    provider str
    The cloud provider. Currently only AWS is supported.
    region str
    The cloud provider region (e.g. us-east-1).
    provider String
    The cloud provider. Currently only AWS is supported.
    region String
    The cloud provider region (e.g. us-east-1).

    Import

    Federated Logs setups can be imported using the entity GUID:

    $ pulumi import newrelic:index/federatedLogsSetup:FederatedLogsSetup foo <entity-guid>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    New Relic pulumi/pulumi-newrelic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the newrelic Terraform Provider.
    newrelic logo
    Viewing docs for New Relic v5.72.0
    published on Thursday, Jun 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial