UNPKG

@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 2.27 kB
"use strict"; // *** 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.getLogGroupOutput = exports.getLogGroup = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * The ``AWS::Logs::LogGroup`` resource specifies a log group. A log group defines common properties for log streams, such as their retention and access control rules. Each log stream must belong to one log group. * You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group: * + Log group names must be unique within a Region for an AWS account. * + Log group names can be between 1 and 512 characters long. * + Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period). */ function getLogGroup(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getLogGroup", { "logGroupName": args.logGroupName, }, opts); } exports.getLogGroup = getLogGroup; /** * The ``AWS::Logs::LogGroup`` resource specifies a log group. A log group defines common properties for log streams, such as their retention and access control rules. Each log stream must belong to one log group. * You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group: * + Log group names must be unique within a Region for an AWS account. * + Log group names can be between 1 and 512 characters long. * + Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period). */ function getLogGroupOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws-native:logs:getLogGroup", { "logGroupName": args.logGroupName, }, opts); } exports.getLogGroupOutput = getLogGroupOutput; //# sourceMappingURL=getLogGroup.js.map