@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)
36 lines • 1.48 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getOwnerOutput = exports.getOwner = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* A owner can set up authorization permissions on their resources.
*/
function getOwner(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws-native:datazone:getOwner", {
"domainIdentifier": args.domainIdentifier,
"entityIdentifier": args.entityIdentifier,
"entityType": args.entityType,
"ownerIdentifier": args.ownerIdentifier,
"ownerType": args.ownerType,
}, opts);
}
exports.getOwner = getOwner;
/**
* A owner can set up authorization permissions on their resources.
*/
function getOwnerOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws-native:datazone:getOwner", {
"domainIdentifier": args.domainIdentifier,
"entityIdentifier": args.entityIdentifier,
"entityType": args.entityType,
"ownerIdentifier": args.ownerIdentifier,
"ownerType": args.ownerType,
}, opts);
}
exports.getOwnerOutput = getOwnerOutput;
//# sourceMappingURL=getOwner.js.map