import * as pulumi from "@pulumi/pulumi"; /** * Provides details about an AWS Oracle Database@AWS Associate Disassociate IAM Role. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.odb.getIamRoleAssociation({ * iamRoleArn: "arn:aws:iam::123456789012:role/odb-iam-role-example", * resourceArn: "arn:aws:odb:us-east-1:123456789012:cloud-vm-cluster/odb-example-cluster-id", * }); * ``` */ export declare function getIamRoleAssociation(args: GetIamRoleAssociationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIamRoleAssociation. */ export interface GetIamRoleAssociationArgs { /** * IAM role ARN to look up. */ iamRoleArn: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Oracle Database@AWS resource ARN associated with the IAM role. * * The following arguments are optional: */ resourceArn: string; } /** * A collection of values returned by getIamRoleAssociation. */ export interface GetIamRoleAssociationResult { /** * Amazon Web Services integration configuration settings for the Amazon Web Services Identity and Access Management (IAM) service role. */ readonly awsIntegration: string; readonly iamRoleArn: string; readonly region: string; readonly resourceArn: string; /** * Current status of the Amazon Web Services Identity and Access Management (IAM) service role. */ readonly status: string; /** * Additional information about the current status of the Amazon Web Services Identity and Access Management (IAM) service role, if applicable. */ readonly statusReason: string; } /** * Provides details about an AWS Oracle Database@AWS Associate Disassociate IAM Role. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.odb.getIamRoleAssociation({ * iamRoleArn: "arn:aws:iam::123456789012:role/odb-iam-role-example", * resourceArn: "arn:aws:odb:us-east-1:123456789012:cloud-vm-cluster/odb-example-cluster-id", * }); * ``` */ export declare function getIamRoleAssociationOutput(args: GetIamRoleAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIamRoleAssociation. */ export interface GetIamRoleAssociationOutputArgs { /** * IAM role ARN to look up. */ iamRoleArn: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Oracle Database@AWS resource ARN associated with the IAM role. * * The following arguments are optional: */ resourceArn: pulumi.Input; } //# sourceMappingURL=getIamRoleAssociation.d.ts.map