This provider is currently in preview.
This provider is currently in preview.
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:
- Account
Name 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').
- Organization
Name string - The organization's name.
- Provider
Pulumi.
Pulumi Service. Cloud Provider - The cloud provider for scanning.
- Scan
Schedule Pulumi.Pulumi Service. Scan Schedule - Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
- Provider
Config Dictionary<string, object> - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- Dictionary<string, string>
- Key-value tags to associate with the insights account.
- Account
Name 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').
- Organization
Name string - The organization's name.
- Provider
Cloud
Provider - 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 map[string]interface{} - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- map[string]string
- Key-value tags to associate with the insights account.
- account
Name 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').
- organization
Name String - The organization's name.
- provider
Cloud
Provider - 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 Map<String,Object> - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- Map<String,String>
- Key-value tags to associate with the insights account.
- account
Name 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').
- organization
Name string - The organization's name.
- provider
Cloud
Provider - 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 {[key: string]: any} - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- {[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
Cloud
Provider - 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"]}.
- Mapping[str, str]
- Key-value tags to associate with the insights account.
- account
Name 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').
- organization
Name String - The organization's name.
- provider "aws" | "azure-native" | "gcp" | "kubernetes" | "oci"
- The cloud provider for scanning.
- scan
Schedule "none" | "daily" - Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
- provider
Config Map<Any> - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- 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.
- Insights
Account stringId - The insights account identifier.
- Scheduled
Scan boolEnabled - Whether scheduled scanning is enabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- Insights
Account stringId - The insights account identifier.
- Scheduled
Scan boolEnabled - Whether scheduled scanning is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- insights
Account StringId - The insights account identifier.
- scheduled
Scan BooleanEnabled - Whether scheduled scanning is enabled.
- id string
- The provider-assigned unique ID for this managed resource.
- insights
Account stringId - The insights account identifier.
- scheduled
Scan booleanEnabled - Whether scheduled scanning is enabled.
- id str
- The provider-assigned unique ID for this managed resource.
- insights_
account_ strid - The insights account identifier.
- scheduled_
scan_ boolenabled - Whether scheduled scanning is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- insights
Account StringId - The insights account identifier.
- scheduled
Scan BooleanEnabled - Whether scheduled scanning is enabled.
Supporting Types
CloudProvider, CloudProviderArgs
- Aws
awsAmazon Web Services- Azure_
native azure-nativeMicrosoft Azure- Gcp
gcpGoogle Cloud Platform- Kubernetes
kubernetesKubernetes- Oci
ociOracle Cloud Infrastructure
- Cloud
Provider Aws awsAmazon Web Services- Cloud
Provider_Azure_Native azure-nativeMicrosoft Azure- Cloud
Provider Gcp gcpGoogle Cloud Platform- Cloud
Provider Kubernetes kubernetesKubernetes- Cloud
Provider Oci ociOracle Cloud Infrastructure
- Aws
awsAmazon Web Services- Azurenative
azure-nativeMicrosoft Azure- Gcp
gcpGoogle Cloud Platform- Kubernetes
kubernetesKubernetes- Oci
ociOracle Cloud Infrastructure
- Aws
awsAmazon Web Services- Azure_
native azure-nativeMicrosoft Azure- Gcp
gcpGoogle Cloud Platform- Kubernetes
kubernetesKubernetes- Oci
ociOracle Cloud Infrastructure
- AWS
awsAmazon Web Services- AZURE_NATIVE
azure-nativeMicrosoft Azure- GCP
gcpGoogle Cloud Platform- KUBERNETES
kubernetesKubernetes- OCI
ociOracle Cloud Infrastructure
- "aws"
awsAmazon Web Services- "azure-native"
azure-nativeMicrosoft Azure- "gcp"
gcpGoogle Cloud Platform- "kubernetes"
kubernetesKubernetes- "oci"
ociOracle Cloud Infrastructure
ScanSchedule, ScanScheduleArgs
- None
noneDisable automated scanning.- Daily
dailyRun automated scans once per day.
- Scan
Schedule None noneDisable automated scanning.- Scan
Schedule Daily dailyRun automated scans once per day.
- None
noneDisable automated scanning.- Daily
dailyRun automated scans once per day.
- None
noneDisable automated scanning.- Daily
dailyRun automated scans once per day.
- NONE
noneDisable automated scanning.- DAILY
dailyRun automated scans once per day.
- "none"
noneDisable automated scanning.- "daily"
dailyRun automated scans once per day.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
