@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
82 lines (81 loc) • 2.68 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::Transfer::Connector
*/
export declare function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorResult>;
export interface GetConnectorArgs {
/**
* A unique identifier for the connector.
*/
connectorId: string;
}
export interface GetConnectorResult {
/**
* Specifies the access role for the connector.
*/
readonly accessRole?: string;
/**
* Specifies the unique Amazon Resource Name (ARN) for the connector.
*/
readonly arn?: string;
/**
* Configuration for an AS2 connector.
*/
readonly as2Config?: outputs.transfer.As2ConfigProperties;
/**
* A unique identifier for the connector.
*/
readonly connectorId?: string;
/**
* Egress configuration for the connector.
*/
readonly egressConfig?: outputs.transfer.ConnectorEgressConfig;
/**
* Specifies the egress type for the connector.
*/
readonly egressType?: enums.transfer.ConnectorEgressType;
/**
* Detailed error message when Connector in ERRORED status
*/
readonly errorMessage?: string;
/**
* Specifies the logging role for the connector.
*/
readonly loggingRole?: string;
/**
* Security policy for SFTP Connector
*/
readonly securityPolicyName?: string;
/**
* The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.
*/
readonly serviceManagedEgressIpAddresses?: string[];
/**
* Configuration for an SFTP connector.
*/
readonly sftpConfig?: outputs.transfer.SftpConfigProperties;
/**
* Current status of the connector. PENDING indicates creation/update in progress, ACTIVE means ready for operations, and ERRORED indicates a failure requiring attention.
*/
readonly status?: enums.transfer.ConnectorStatus;
/**
* Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.
*/
readonly tags?: outputs.Tag[];
/**
* URL for Connector
*/
readonly url?: string;
}
/**
* Resource Type definition for AWS::Transfer::Connector
*/
export declare function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectorResult>;
export interface GetConnectorOutputArgs {
/**
* A unique identifier for the connector.
*/
connectorId: pulumi.Input<string>;
}