@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a data connector.
*
* Uses Azure REST API version 2024-09-01.
*/
export declare function getAwsCloudTrailDataConnector(args: GetAwsCloudTrailDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsCloudTrailDataConnectorResult>;
export interface GetAwsCloudTrailDataConnectorArgs {
/**
* Connector ID
*/
dataConnectorId: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the workspace.
*/
workspaceName: string;
}
/**
* Represents Amazon Web Services CloudTrail data connector.
*/
export interface GetAwsCloudTrailDataConnectorResult {
/**
* The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.
*/
readonly awsRoleArn?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The available data types for the connector.
*/
readonly dataTypes?: outputs.securityinsights.AwsCloudTrailDataConnectorDataTypesResponse;
/**
* Etag of the azure resource
*/
readonly etag?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The kind of the data connector
* Expected value is 'AmazonWebServicesCloudTrail'.
*/
readonly kind: "AmazonWebServicesCloudTrail";
/**
* The name of the resource
*/
readonly name: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.securityinsights.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets a data connector.
*
* Uses Azure REST API version 2024-09-01.
*/
export declare function getAwsCloudTrailDataConnectorOutput(args: GetAwsCloudTrailDataConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAwsCloudTrailDataConnectorResult>;
export interface GetAwsCloudTrailDataConnectorOutputArgs {
/**
* Connector ID
*/
dataConnectorId: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}