@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
48 lines • 1.79 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.getEncryptionByDefaultOutput = exports.getEncryptionByDefault = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Provides a way to check whether default EBS encryption is enabled for your AWS account in the current AWS region.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const current = aws.ebs.getEncryptionByDefault({});
* ```
*/
function getEncryptionByDefault(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:ebs/getEncryptionByDefault:getEncryptionByDefault", {
"region": args.region,
}, opts);
}
exports.getEncryptionByDefault = getEncryptionByDefault;
/**
* Provides a way to check whether default EBS encryption is enabled for your AWS account in the current AWS region.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const current = aws.ebs.getEncryptionByDefault({});
* ```
*/
function getEncryptionByDefaultOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:ebs/getEncryptionByDefault:getEncryptionByDefault", {
"region": args.region,
}, opts);
}
exports.getEncryptionByDefaultOutput = getEncryptionByDefaultOutput;
//# sourceMappingURL=getEncryptionByDefault.js.map
;