@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)
65 lines (64 loc) • 1.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* A owner can set up authorization permissions on their resources.
*/
export declare function getOwner(args: GetOwnerArgs, opts?: pulumi.InvokeOptions): Promise<GetOwnerResult>;
export interface GetOwnerArgs {
/**
* The ID of the domain in which you want to add the entity owner.
*/
domainIdentifier: string;
/**
* The ID of the entity to which you want to add an owner.
*/
entityIdentifier: string;
/**
* The type of an entity.
*/
entityType: enums.datazone.OwnerEntityType;
/**
* The ID of the entity to which you want to add an owner.
*/
ownerIdentifier: string;
/**
* The owner that you want to add to the entity.
*/
ownerType: enums.datazone.OwnerType;
}
export interface GetOwnerResult {
/**
* The ID of the entity to which you want to add an owner.
*/
readonly ownerIdentifier?: string;
/**
* The owner that you want to add to the entity.
*/
readonly ownerType?: enums.datazone.OwnerType;
}
/**
* A owner can set up authorization permissions on their resources.
*/
export declare function getOwnerOutput(args: GetOwnerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOwnerResult>;
export interface GetOwnerOutputArgs {
/**
* The ID of the domain in which you want to add the entity owner.
*/
domainIdentifier: pulumi.Input<string>;
/**
* The ID of the entity to which you want to add an owner.
*/
entityIdentifier: pulumi.Input<string>;
/**
* The type of an entity.
*/
entityType: pulumi.Input<enums.datazone.OwnerEntityType>;
/**
* The ID of the entity to which you want to add an owner.
*/
ownerIdentifier: pulumi.Input<string>;
/**
* The owner that you want to add to the entity.
*/
ownerType: pulumi.Input<enums.datazone.OwnerType>;
}