UNPKG

@formalco/pulumi

Version:

A Pulumi package for creating and managing Formal resources.

184 lines (183 loc) 6.25 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Registering a Cloud integration. */ export declare class IntegrationCloud extends pulumi.CustomResource { /** * Get an existing IntegrationCloud resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationCloudState, opts?: pulumi.CustomResourceOptions): IntegrationCloud; /** * Returns true if the given object is an instance of IntegrationCloud. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IntegrationCloud; /** * Configuration block for AWS integration. */ readonly aws: pulumi.Output<outputs.IntegrationCloudAws | undefined>; /** * Whether AWS S3 access is allowed or not. */ readonly awsAllowS3Access: pulumi.Output<boolean>; /** * Whether AWS EC2 autodiscovery is enabled or not. */ readonly awsEnableEc2Autodiscovery: pulumi.Output<boolean>; /** * Whether AWS ECS autodiscovery is enabled or not. */ readonly awsEnableEcsAutodiscovery: pulumi.Output<boolean>; /** * Whether AWS EKS autodiscovery is enabled or not. */ readonly awsEnableEksAutodiscovery: pulumi.Output<boolean>; /** * Whether AWS RDS autodiscovery is enabled or not. */ readonly awsEnableRdsAutodiscovery: pulumi.Output<boolean>; /** * Whether AWS Redshift autodiscovery is enabled or not. */ readonly awsEnableRedshiftAutodiscovery: pulumi.Output<boolean>; /** * The IAM role ID Formal will use to access your resources. */ readonly awsFormalIamRole: pulumi.Output<string>; /** * The SNS topic ARN CloudFormation can use to send events to Formal. */ readonly awsFormalPingbackArn: pulumi.Output<string>; /** * A generated name for your CloudFormation stack. */ readonly awsFormalStackName: pulumi.Output<string>; /** * The AWS S3 bucket ARN this Cloud Integration is allowed to use for Log Integrations, if it is allowed to access S3. */ readonly awsS3BucketArn: pulumi.Output<string>; /** * The template body of the CloudFormation stack. */ readonly awsTemplateBody: pulumi.Output<string>; /** * Region of the cloud provider. */ readonly cloudRegion: pulumi.Output<string>; /** * Name of the Integration. */ readonly name: pulumi.Output<string>; /** * Type of the Integration. (Supported: aws) * * @deprecated This field is deprecated and will be removed in a future version. */ readonly type: pulumi.Output<string | undefined>; /** * Create a IntegrationCloud resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IntegrationCloudArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IntegrationCloud resources. */ export interface IntegrationCloudState { /** * Configuration block for AWS integration. */ aws?: pulumi.Input<inputs.IntegrationCloudAws>; /** * Whether AWS S3 access is allowed or not. */ awsAllowS3Access?: pulumi.Input<boolean>; /** * Whether AWS EC2 autodiscovery is enabled or not. */ awsEnableEc2Autodiscovery?: pulumi.Input<boolean>; /** * Whether AWS ECS autodiscovery is enabled or not. */ awsEnableEcsAutodiscovery?: pulumi.Input<boolean>; /** * Whether AWS EKS autodiscovery is enabled or not. */ awsEnableEksAutodiscovery?: pulumi.Input<boolean>; /** * Whether AWS RDS autodiscovery is enabled or not. */ awsEnableRdsAutodiscovery?: pulumi.Input<boolean>; /** * Whether AWS Redshift autodiscovery is enabled or not. */ awsEnableRedshiftAutodiscovery?: pulumi.Input<boolean>; /** * The IAM role ID Formal will use to access your resources. */ awsFormalIamRole?: pulumi.Input<string>; /** * The SNS topic ARN CloudFormation can use to send events to Formal. */ awsFormalPingbackArn?: pulumi.Input<string>; /** * A generated name for your CloudFormation stack. */ awsFormalStackName?: pulumi.Input<string>; /** * The AWS S3 bucket ARN this Cloud Integration is allowed to use for Log Integrations, if it is allowed to access S3. */ awsS3BucketArn?: pulumi.Input<string>; /** * The template body of the CloudFormation stack. */ awsTemplateBody?: pulumi.Input<string>; /** * Region of the cloud provider. */ cloudRegion?: pulumi.Input<string>; /** * Name of the Integration. */ name?: pulumi.Input<string>; /** * Type of the Integration. (Supported: aws) * * @deprecated This field is deprecated and will be removed in a future version. */ type?: pulumi.Input<string>; } /** * The set of arguments for constructing a IntegrationCloud resource. */ export interface IntegrationCloudArgs { /** * Configuration block for AWS integration. */ aws?: pulumi.Input<inputs.IntegrationCloudAws>; /** * Region of the cloud provider. */ cloudRegion: pulumi.Input<string>; /** * Name of the Integration. */ name?: pulumi.Input<string>; /** * Type of the Integration. (Supported: aws) * * @deprecated This field is deprecated and will be removed in a future version. */ type?: pulumi.Input<string>; }