import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provisions a BYOC custom cloud environment by handing Aiven the IAM role ARN created in the customer AWS account. Transitions the environment from `draft` to `active` so services can be deployed into it. * * Create this resource after the customer-side AWS infrastructure (IAM role, VPC, subnets, security groups, buckets) has been defined. * * > **Beta resource** * This resource is in the beta stage and may change without notice. Set the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.ByocAwsProvision("example", { * organizationId: "org1a23f456789", * customCloudEnvironmentId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d", * awsIamRoleArn: "arn:aws:iam::012345678901:root", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/byocAwsProvision:ByocAwsProvision example ORGANIZATION_ID/CUSTOM_CLOUD_ENVIRONMENT_ID * ``` */ export declare class ByocAwsProvision extends pulumi.CustomResource { /** * Get an existing ByocAwsProvision 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, state?: ByocAwsProvisionState, opts?: pulumi.CustomResourceOptions): ByocAwsProvision; /** * Returns true if the given object is an instance of ByocAwsProvision. 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 ByocAwsProvision; /** * Entity that assumes the IAM role for controlling the BYOC account. */ readonly aivenAwsAccountPrincipal: pulumi.Output; /** * External ID for assuming the IAM role for controlling the BYOC account. */ readonly aivenAwsAssumeRoleExternalId: pulumi.Output; /** * Amazon Resource Name. Maximum length: `2048`. Changing this property forces recreation of the resource. */ readonly awsIamRoleArn: pulumi.Output; /** * ID of a custom cloud environment. Length must be exactly `36`. Changing this property forces recreation of the resource. */ readonly customCloudEnvironmentId: pulumi.Output; /** * Cloud names that can be used to provision a service on this BYOC. */ readonly customCloudNames: pulumi.Output; /** * ID of an organization. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * State of this BYOC cloud. The possible values are `active`, `creating`, `creationFailed`, `deleted`, `deleting`, `deletionFailed`, `disconnected`, `draft`, `reconnecting` and `validating`. */ readonly state: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a ByocAwsProvision 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: ByocAwsProvisionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ByocAwsProvision resources. */ export interface ByocAwsProvisionState { /** * Entity that assumes the IAM role for controlling the BYOC account. */ aivenAwsAccountPrincipal?: pulumi.Input; /** * External ID for assuming the IAM role for controlling the BYOC account. */ aivenAwsAssumeRoleExternalId?: pulumi.Input; /** * Amazon Resource Name. Maximum length: `2048`. Changing this property forces recreation of the resource. */ awsIamRoleArn?: pulumi.Input; /** * ID of a custom cloud environment. Length must be exactly `36`. Changing this property forces recreation of the resource. */ customCloudEnvironmentId?: pulumi.Input; /** * Cloud names that can be used to provision a service on this BYOC. */ customCloudNames?: pulumi.Input[] | undefined>; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * State of this BYOC cloud. The possible values are `active`, `creating`, `creationFailed`, `deleted`, `deleting`, `deletionFailed`, `disconnected`, `draft`, `reconnecting` and `validating`. */ state?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a ByocAwsProvision resource. */ export interface ByocAwsProvisionArgs { /** * Amazon Resource Name. Maximum length: `2048`. Changing this property forces recreation of the resource. */ awsIamRoleArn: pulumi.Input; /** * ID of a custom cloud environment. Length must be exactly `36`. Changing this property forces recreation of the resource. */ customCloudEnvironmentId: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=byocAwsProvision.d.ts.map