1. Packages
  2. Pulumi Cloud (Pulumi Service provider)
  3. API Docs
  4. InsightsAccount

This provider is currently in preview.

Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi

    Insights Account for cloud resource scanning and analysis across AWS, Azure, and GCP.

    Create InsightsAccount Resource

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

    Constructor syntax

    new InsightsAccount(name: string, args: InsightsAccountArgs, opts?: CustomResourceOptions);
    @overload
    def InsightsAccount(resource_name: str,
                        args: InsightsAccountArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def InsightsAccount(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        account_name: Optional[str] = None,
                        environment: Optional[str] = None,
                        organization_name: Optional[str] = None,
                        provider: Optional[CloudProvider] = None,
                        scan_schedule: Optional[ScanSchedule] = None,
                        provider_config: Optional[Mapping[str, Any]] = None,
                        tags: Optional[Mapping[str, str]] = None)
    func NewInsightsAccount(ctx *Context, name string, args InsightsAccountArgs, opts ...ResourceOption) (*InsightsAccount, error)
    public InsightsAccount(string name, InsightsAccountArgs args, CustomResourceOptions? opts = null)
    public InsightsAccount(String name, InsightsAccountArgs args)
    public InsightsAccount(String name, InsightsAccountArgs args, CustomResourceOptions options)
    
    type: pulumiservice:InsightsAccount
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InsightsAccountArgs
    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 InsightsAccountArgs
    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 InsightsAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InsightsAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InsightsAccountArgs
    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 insightsAccountResource = new PulumiService.InsightsAccount("insightsAccountResource", new()
    {
        AccountName = "string",
        Environment = "string",
        OrganizationName = "string",
        Provider = PulumiService.CloudProvider.Aws,
        ScanSchedule = PulumiService.ScanSchedule.None,
        ProviderConfig = 
        {
            { "string", "any" },
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := pulumiservice.NewInsightsAccount(ctx, "insightsAccountResource", &pulumiservice.InsightsAccountArgs{
    	AccountName:      pulumi.String("string"),
    	Environment:      pulumi.String("string"),
    	OrganizationName: pulumi.String("string"),
    	Provider:         pulumiservice.CloudProviderAws,
    	ScanSchedule:     pulumiservice.ScanScheduleNone,
    	ProviderConfig: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var insightsAccountResource = new InsightsAccount("insightsAccountResource", InsightsAccountArgs.builder()
        .accountName("string")
        .environment("string")
        .organizationName("string")
        .provider("aws")
        .scanSchedule("none")
        .providerConfig(Map.of("string", "any"))
        .tags(Map.of("string", "string"))
        .build());
    
    insights_account_resource = pulumiservice.InsightsAccount("insightsAccountResource",
        account_name="string",
        environment="string",
        organization_name="string",
        provider=pulumiservice.CloudProvider.AWS,
        scan_schedule=pulumiservice.ScanSchedule.NONE,
        provider_config={
            "string": "any",
        },
        tags={
            "string": "string",
        })
    
    const insightsAccountResource = new pulumiservice.InsightsAccount("insightsAccountResource", {
        accountName: "string",
        environment: "string",
        organizationName: "string",
        provider: pulumiservice.CloudProvider.Aws,
        scanSchedule: pulumiservice.ScanSchedule.None,
        providerConfig: {
            string: "any",
        },
        tags: {
            string: "string",
        },
    });
    
    type: pulumiservice:InsightsAccount
    properties:
        accountName: string
        environment: string
        organizationName: string
        provider: aws
        providerConfig:
            string: any
        scanSchedule: none
        tags:
            string: string
    

    InsightsAccount 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 InsightsAccount resource accepts the following input properties:

    AccountName string
    Name of the insights account.
    Environment string
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    OrganizationName string
    The organization's name.
    Provider Pulumi.PulumiService.CloudProvider
    The cloud provider for scanning.
    ScanSchedule Pulumi.PulumiService.ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    ProviderConfig Dictionary<string, object>
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    Tags Dictionary<string, string>
    Key-value tags to associate with the insights account.
    AccountName string
    Name of the insights account.
    Environment string
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    OrganizationName string
    The organization's name.
    Provider CloudProvider
    The cloud provider for scanning.
    ScanSchedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    ProviderConfig map[string]interface{}
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    Tags map[string]string
    Key-value tags to associate with the insights account.
    accountName String
    Name of the insights account.
    environment String
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    organizationName String
    The organization's name.
    provider CloudProvider
    The cloud provider for scanning.
    scanSchedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    providerConfig Map<String,Object>
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags Map<String,String>
    Key-value tags to associate with the insights account.
    accountName string
    Name of the insights account.
    environment string
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    organizationName string
    The organization's name.
    provider CloudProvider
    The cloud provider for scanning.
    scanSchedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    providerConfig {[key: string]: any}
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags {[key: string]: string}
    Key-value tags to associate with the insights account.
    account_name str
    Name of the insights account.
    environment str
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    organization_name str
    The organization's name.
    provider CloudProvider
    The cloud provider for scanning.
    scan_schedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    provider_config Mapping[str, Any]
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags Mapping[str, str]
    Key-value tags to associate with the insights account.
    accountName String
    Name of the insights account.
    environment String
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    organizationName String
    The organization's name.
    provider "aws" | "azure-native" | "gcp" | "kubernetes" | "oci"
    The cloud provider for scanning.
    scanSchedule "none" | "daily"
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    providerConfig Map<Any>
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags Map<String>
    Key-value tags to associate with the insights account.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    InsightsAccountId string
    The insights account identifier.
    ScheduledScanEnabled bool
    Whether scheduled scanning is enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    InsightsAccountId string
    The insights account identifier.
    ScheduledScanEnabled bool
    Whether scheduled scanning is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    insightsAccountId String
    The insights account identifier.
    scheduledScanEnabled Boolean
    Whether scheduled scanning is enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    insightsAccountId string
    The insights account identifier.
    scheduledScanEnabled boolean
    Whether scheduled scanning is enabled.
    id str
    The provider-assigned unique ID for this managed resource.
    insights_account_id str
    The insights account identifier.
    scheduled_scan_enabled bool
    Whether scheduled scanning is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    insightsAccountId String
    The insights account identifier.
    scheduledScanEnabled Boolean
    Whether scheduled scanning is enabled.

    Supporting Types

    CloudProvider, CloudProviderArgs

    Aws
    aws Amazon Web Services
    Azure_native
    azure-native Microsoft Azure
    Gcp
    gcp Google Cloud Platform
    Kubernetes
    kubernetes Kubernetes
    Oci
    oci Oracle Cloud Infrastructure
    CloudProviderAws
    aws Amazon Web Services
    CloudProvider_Azure_Native
    azure-native Microsoft Azure
    CloudProviderGcp
    gcp Google Cloud Platform
    CloudProviderKubernetes
    kubernetes Kubernetes
    CloudProviderOci
    oci Oracle Cloud Infrastructure
    Aws
    aws Amazon Web Services
    Azurenative
    azure-native Microsoft Azure
    Gcp
    gcp Google Cloud Platform
    Kubernetes
    kubernetes Kubernetes
    Oci
    oci Oracle Cloud Infrastructure
    Aws
    aws Amazon Web Services
    Azure_native
    azure-native Microsoft Azure
    Gcp
    gcp Google Cloud Platform
    Kubernetes
    kubernetes Kubernetes
    Oci
    oci Oracle Cloud Infrastructure
    AWS
    aws Amazon Web Services
    AZURE_NATIVE
    azure-native Microsoft Azure
    GCP
    gcp Google Cloud Platform
    KUBERNETES
    kubernetes Kubernetes
    OCI
    oci Oracle Cloud Infrastructure
    "aws"
    aws Amazon Web Services
    "azure-native"
    azure-native Microsoft Azure
    "gcp"
    gcp Google Cloud Platform
    "kubernetes"
    kubernetes Kubernetes
    "oci"
    oci Oracle Cloud Infrastructure

    ScanSchedule, ScanScheduleArgs

    None
    none Disable automated scanning.
    Daily
    daily Run automated scans once per day.
    ScanScheduleNone
    none Disable automated scanning.
    ScanScheduleDaily
    daily Run automated scans once per day.
    None
    none Disable automated scanning.
    Daily
    daily Run automated scans once per day.
    None
    none Disable automated scanning.
    Daily
    daily Run automated scans once per day.
    NONE
    none Disable automated scanning.
    DAILY
    daily Run automated scans once per day.
    "none"
    none Disable automated scanning.
    "daily"
    daily Run automated scans once per day.

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo

    This provider is currently in preview.

    Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate