published on Thursday, May 14, 2026 by elastic
published on Thursday, May 14, 2026 by elastic
Creates a new Fleet Agent Binary Download Source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const example = new elasticstack.FleetAgentDownloadSource("example", {
name: "Agent Download Source example",
host: "https://artifacts.elastic.co/downloads/elastic-agent",
"default": false,
});
import pulumi
import pulumi_elasticstack as elasticstack
example = elasticstack.FleetAgentDownloadSource("example",
name="Agent Download Source example",
host="https://artifacts.elastic.co/downloads/elastic-agent",
default=False)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := elasticstack.NewFleetAgentDownloadSource(ctx, "example", &elasticstack.FleetAgentDownloadSourceArgs{
Name: pulumi.String("Agent Download Source example"),
Host: pulumi.String("https://artifacts.elastic.co/downloads/elastic-agent"),
Default: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var example = new Elasticstack.FleetAgentDownloadSource("example", new()
{
Name = "Agent Download Source example",
Host = "https://artifacts.elastic.co/downloads/elastic-agent",
Default = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.FleetAgentDownloadSource;
import com.pulumi.elasticstack.FleetAgentDownloadSourceArgs;
import java.util.List;
import java.util.ArrayList;
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 example = new FleetAgentDownloadSource("example", FleetAgentDownloadSourceArgs.builder()
.name("Agent Download Source example")
.host("https://artifacts.elastic.co/downloads/elastic-agent")
.default_(false)
.build());
}
}
resources:
example:
type: elasticstack:FleetAgentDownloadSource
properties:
name: Agent Download Source example
host: https://artifacts.elastic.co/downloads/elastic-agent
default: false
Example coming soon!
Create FleetAgentDownloadSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FleetAgentDownloadSource(name: string, args: FleetAgentDownloadSourceArgs, opts?: CustomResourceOptions);@overload
def FleetAgentDownloadSource(resource_name: str,
args: FleetAgentDownloadSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FleetAgentDownloadSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
host: Optional[str] = None,
default: Optional[bool] = None,
kibana_connections: Optional[Sequence[FleetAgentDownloadSourceKibanaConnectionArgs]] = None,
name: Optional[str] = None,
proxy_id: Optional[str] = None,
source_id: Optional[str] = None,
space_ids: Optional[Sequence[str]] = None)func NewFleetAgentDownloadSource(ctx *Context, name string, args FleetAgentDownloadSourceArgs, opts ...ResourceOption) (*FleetAgentDownloadSource, error)public FleetAgentDownloadSource(string name, FleetAgentDownloadSourceArgs args, CustomResourceOptions? opts = null)
public FleetAgentDownloadSource(String name, FleetAgentDownloadSourceArgs args)
public FleetAgentDownloadSource(String name, FleetAgentDownloadSourceArgs args, CustomResourceOptions options)
type: elasticstack:FleetAgentDownloadSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "elasticstack_fleetagentdownloadsource" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FleetAgentDownloadSourceArgs
- 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 FleetAgentDownloadSourceArgs
- 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 FleetAgentDownloadSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FleetAgentDownloadSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FleetAgentDownloadSourceArgs
- 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 fleetAgentDownloadSourceResource = new Elasticstack.FleetAgentDownloadSource("fleetAgentDownloadSourceResource", new()
{
Host = "string",
Default = false,
KibanaConnections = new[]
{
new Elasticstack.Inputs.FleetAgentDownloadSourceKibanaConnectionArgs
{
ApiKey = "string",
BearerToken = "string",
CaCerts = new[]
{
"string",
},
Endpoints = new[]
{
"string",
},
Insecure = false,
Password = "string",
Username = "string",
},
},
Name = "string",
ProxyId = "string",
SourceId = "string",
SpaceIds = new[]
{
"string",
},
});
example, err := elasticstack.NewFleetAgentDownloadSource(ctx, "fleetAgentDownloadSourceResource", &elasticstack.FleetAgentDownloadSourceArgs{
Host: pulumi.String("string"),
Default: pulumi.Bool(false),
KibanaConnections: elasticstack.FleetAgentDownloadSourceKibanaConnectionArray{
&elasticstack.FleetAgentDownloadSourceKibanaConnectionArgs{
ApiKey: pulumi.String("string"),
BearerToken: pulumi.String("string"),
CaCerts: pulumi.StringArray{
pulumi.String("string"),
},
Endpoints: pulumi.StringArray{
pulumi.String("string"),
},
Insecure: pulumi.Bool(false),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
ProxyId: pulumi.String("string"),
SourceId: pulumi.String("string"),
SpaceIds: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "elasticstack_fleetagentdownloadsource" "fleetAgentDownloadSourceResource" {
host = "string"
default = false
kibana_connections {
api_key = "string"
bearer_token = "string"
ca_certs = ["string"]
endpoints = ["string"]
insecure = false
password = "string"
username = "string"
}
name = "string"
proxy_id = "string"
source_id = "string"
space_ids = ["string"]
}
var fleetAgentDownloadSourceResource = new FleetAgentDownloadSource("fleetAgentDownloadSourceResource", FleetAgentDownloadSourceArgs.builder()
.host("string")
.default_(false)
.kibanaConnections(FleetAgentDownloadSourceKibanaConnectionArgs.builder()
.apiKey("string")
.bearerToken("string")
.caCerts("string")
.endpoints("string")
.insecure(false)
.password("string")
.username("string")
.build())
.name("string")
.proxyId("string")
.sourceId("string")
.spaceIds("string")
.build());
fleet_agent_download_source_resource = elasticstack.FleetAgentDownloadSource("fleetAgentDownloadSourceResource",
host="string",
default=False,
kibana_connections=[{
"api_key": "string",
"bearer_token": "string",
"ca_certs": ["string"],
"endpoints": ["string"],
"insecure": False,
"password": "string",
"username": "string",
}],
name="string",
proxy_id="string",
source_id="string",
space_ids=["string"])
const fleetAgentDownloadSourceResource = new elasticstack.FleetAgentDownloadSource("fleetAgentDownloadSourceResource", {
host: "string",
"default": false,
kibanaConnections: [{
apiKey: "string",
bearerToken: "string",
caCerts: ["string"],
endpoints: ["string"],
insecure: false,
password: "string",
username: "string",
}],
name: "string",
proxyId: "string",
sourceId: "string",
spaceIds: ["string"],
});
type: elasticstack:FleetAgentDownloadSource
properties:
default: false
host: string
kibanaConnections:
- apiKey: string
bearerToken: string
caCerts:
- string
endpoints:
- string
insecure: false
password: string
username: string
name: string
proxyId: string
sourceId: string
spaceIds:
- string
FleetAgentDownloadSource 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 FleetAgentDownloadSource resource accepts the following input properties:
- Host string
- The base URL from which Elastic Agents will download binaries.
- Default bool
- Set this download source as the default for agents.
- Kibana
Connections List<FleetAgent Download Source Kibana Connection> - Kibana connection configuration block.
- Name string
- The name of the Fleet agent download source.
- Proxy
Id string - The ID of the proxy to use for this download source.
- Source
Id string - Unique identifier of the Fleet agent download source.
- Space
Ids List<string> - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- Host string
- The base URL from which Elastic Agents will download binaries.
- Default bool
- Set this download source as the default for agents.
- Kibana
Connections []FleetAgent Download Source Kibana Connection Args - Kibana connection configuration block.
- Name string
- The name of the Fleet agent download source.
- Proxy
Id string - The ID of the proxy to use for this download source.
- Source
Id string - Unique identifier of the Fleet agent download source.
- Space
Ids []string - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- host string
- The base URL from which Elastic Agents will download binaries.
- default bool
- Set this download source as the default for agents.
- kibana_
connections list(object) - Kibana connection configuration block.
- name string
- The name of the Fleet agent download source.
- proxy_
id string - The ID of the proxy to use for this download source.
- source_
id string - Unique identifier of the Fleet agent download source.
- space_
ids list(string) - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- host String
- The base URL from which Elastic Agents will download binaries.
- default_ Boolean
- Set this download source as the default for agents.
- kibana
Connections List<FleetAgent Download Source Kibana Connection> - Kibana connection configuration block.
- name String
- The name of the Fleet agent download source.
- proxy
Id String - The ID of the proxy to use for this download source.
- source
Id String - Unique identifier of the Fleet agent download source.
- space
Ids List<String> - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- host string
- The base URL from which Elastic Agents will download binaries.
- default boolean
- Set this download source as the default for agents.
- kibana
Connections FleetAgent Download Source Kibana Connection[] - Kibana connection configuration block.
- name string
- The name of the Fleet agent download source.
- proxy
Id string - The ID of the proxy to use for this download source.
- source
Id string - Unique identifier of the Fleet agent download source.
- space
Ids string[] - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- host str
- The base URL from which Elastic Agents will download binaries.
- default bool
- Set this download source as the default for agents.
- kibana_
connections Sequence[FleetAgent Download Source Kibana Connection Args] - Kibana connection configuration block.
- name str
- The name of the Fleet agent download source.
- proxy_
id str - The ID of the proxy to use for this download source.
- source_
id str - Unique identifier of the Fleet agent download source.
- space_
ids Sequence[str] - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- host String
- The base URL from which Elastic Agents will download binaries.
- default Boolean
- Set this download source as the default for agents.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
- name String
- The name of the Fleet agent download source.
- proxy
Id String - The ID of the proxy to use for this download source.
- source
Id String - Unique identifier of the Fleet agent download source.
- space
Ids List<String> - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
Outputs
All input properties are implicitly available as output properties. Additionally, the FleetAgentDownloadSource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing FleetAgentDownloadSource Resource
Get an existing FleetAgentDownloadSource 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?: FleetAgentDownloadSourceState, opts?: CustomResourceOptions): FleetAgentDownloadSource@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default: Optional[bool] = None,
host: Optional[str] = None,
kibana_connections: Optional[Sequence[FleetAgentDownloadSourceKibanaConnectionArgs]] = None,
name: Optional[str] = None,
proxy_id: Optional[str] = None,
source_id: Optional[str] = None,
space_ids: Optional[Sequence[str]] = None) -> FleetAgentDownloadSourcefunc GetFleetAgentDownloadSource(ctx *Context, name string, id IDInput, state *FleetAgentDownloadSourceState, opts ...ResourceOption) (*FleetAgentDownloadSource, error)public static FleetAgentDownloadSource Get(string name, Input<string> id, FleetAgentDownloadSourceState? state, CustomResourceOptions? opts = null)public static FleetAgentDownloadSource get(String name, Output<String> id, FleetAgentDownloadSourceState state, CustomResourceOptions options)resources: _: type: elasticstack:FleetAgentDownloadSource get: id: ${id}import {
to = elasticstack_fleetagentdownloadsource.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.
- Default bool
- Set this download source as the default for agents.
- Host string
- The base URL from which Elastic Agents will download binaries.
- Kibana
Connections List<FleetAgent Download Source Kibana Connection> - Kibana connection configuration block.
- Name string
- The name of the Fleet agent download source.
- Proxy
Id string - The ID of the proxy to use for this download source.
- Source
Id string - Unique identifier of the Fleet agent download source.
- Space
Ids List<string> - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- Default bool
- Set this download source as the default for agents.
- Host string
- The base URL from which Elastic Agents will download binaries.
- Kibana
Connections []FleetAgent Download Source Kibana Connection Args - Kibana connection configuration block.
- Name string
- The name of the Fleet agent download source.
- Proxy
Id string - The ID of the proxy to use for this download source.
- Source
Id string - Unique identifier of the Fleet agent download source.
- Space
Ids []string - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- default bool
- Set this download source as the default for agents.
- host string
- The base URL from which Elastic Agents will download binaries.
- kibana_
connections list(object) - Kibana connection configuration block.
- name string
- The name of the Fleet agent download source.
- proxy_
id string - The ID of the proxy to use for this download source.
- source_
id string - Unique identifier of the Fleet agent download source.
- space_
ids list(string) - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- default_ Boolean
- Set this download source as the default for agents.
- host String
- The base URL from which Elastic Agents will download binaries.
- kibana
Connections List<FleetAgent Download Source Kibana Connection> - Kibana connection configuration block.
- name String
- The name of the Fleet agent download source.
- proxy
Id String - The ID of the proxy to use for this download source.
- source
Id String - Unique identifier of the Fleet agent download source.
- space
Ids List<String> - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- default boolean
- Set this download source as the default for agents.
- host string
- The base URL from which Elastic Agents will download binaries.
- kibana
Connections FleetAgent Download Source Kibana Connection[] - Kibana connection configuration block.
- name string
- The name of the Fleet agent download source.
- proxy
Id string - The ID of the proxy to use for this download source.
- source
Id string - Unique identifier of the Fleet agent download source.
- space
Ids string[] - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- default bool
- Set this download source as the default for agents.
- host str
- The base URL from which Elastic Agents will download binaries.
- kibana_
connections Sequence[FleetAgent Download Source Kibana Connection Args] - Kibana connection configuration block.
- name str
- The name of the Fleet agent download source.
- proxy_
id str - The ID of the proxy to use for this download source.
- source_
id str - Unique identifier of the Fleet agent download source.
- space_
ids Sequence[str] - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
- default Boolean
- Set this download source as the default for agents.
- host String
- The base URL from which Elastic Agents will download binaries.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
- name String
- The name of the Fleet agent download source.
- proxy
Id String - The ID of the proxy to use for this download source.
- source
Id String - Unique identifier of the Fleet agent download source.
- space
Ids List<String> - The Kibana space IDs where this download source is available. When set, the download source will be created and managed within the specified space. Note: The order of space IDs does not matter as this is a set.
Supporting Types
FleetAgentDownloadSourceKibanaConnection, FleetAgentDownloadSourceKibanaConnectionArgs
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs List<string> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints List<string>
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs []string - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints []string
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- api_
key string - API Key to use for authentication to Kibana
- bearer_
token string - Bearer Token to use for authentication to Kibana
- ca_
certs list(string) - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints list(string)
- insecure bool
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
- api
Key string - API Key to use for authentication to Kibana
- bearer
Token string - Bearer Token to use for authentication to Kibana
- ca
Certs string[] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints string[]
- insecure boolean
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api_
key str - API Key to use for authentication to Kibana
- bearer_
token str - Bearer Token to use for authentication to Kibana
- ca_
certs Sequence[str] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints Sequence[str]
- insecure bool
- Disable TLS certificate validation
- password str
- Password to use for API authentication to Kibana.
- username str
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
published on Thursday, May 14, 2026 by elastic
