# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from . import outputs

__all__ = [
    'GetAggregationAuthorizationResult',
    'AwaitableGetAggregationAuthorizationResult',
    'get_aggregation_authorization',
    'get_aggregation_authorization_output',
]

@pulumi.output_type
class GetAggregationAuthorizationResult:
    def __init__(__self__, aggregation_authorization_arn=None, tags=None):
        if aggregation_authorization_arn and not isinstance(aggregation_authorization_arn, str):
            raise TypeError("Expected argument 'aggregation_authorization_arn' to be a str")
        pulumi.set(__self__, "aggregation_authorization_arn", aggregation_authorization_arn)
        if tags and not isinstance(tags, list):
            raise TypeError("Expected argument 'tags' to be a list")
        pulumi.set(__self__, "tags", tags)

    @property
    @pulumi.getter(name="aggregationAuthorizationArn")
    def aggregation_authorization_arn(self) -> Optional[str]:
        """
        The ARN of the AggregationAuthorization.
        """
        return pulumi.get(self, "aggregation_authorization_arn")

    @property
    @pulumi.getter
    def tags(self) -> Optional[Sequence['outputs.AggregationAuthorizationTag']]:
        """
        The tags for the AggregationAuthorization.
        """
        return pulumi.get(self, "tags")


class AwaitableGetAggregationAuthorizationResult(GetAggregationAuthorizationResult):
    # pylint: disable=using-constant-test
    def __await__(self):
        if False:
            yield self
        return GetAggregationAuthorizationResult(
            aggregation_authorization_arn=self.aggregation_authorization_arn,
            tags=self.tags)


def get_aggregation_authorization(aggregation_authorization_arn: Optional[str] = None,
                                  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAggregationAuthorizationResult:
    """
    Resource Type definition for AWS::Config::AggregationAuthorization


    :param str aggregation_authorization_arn: The ARN of the AggregationAuthorization.
    """
    __args__ = dict()
    __args__['aggregationAuthorizationArn'] = aggregation_authorization_arn
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('aws-native:configuration:getAggregationAuthorization', __args__, opts=opts, typ=GetAggregationAuthorizationResult).value

    return AwaitableGetAggregationAuthorizationResult(
        aggregation_authorization_arn=__ret__.aggregation_authorization_arn,
        tags=__ret__.tags)


@_utilities.lift_output_func(get_aggregation_authorization)
def get_aggregation_authorization_output(aggregation_authorization_arn: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAggregationAuthorizationResult]:
    """
    Resource Type definition for AWS::Config::AggregationAuthorization


    :param str aggregation_authorization_arn: The ARN of the AggregationAuthorization.
    """
    ...

# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from . import outputs

__all__ = [
    'GetAggregationAuthorizationResult',
    'AwaitableGetAggregationAuthorizationResult',
    'get_aggregation_authorization',
    'get_aggregation_authorization_output',
]

@pulumi.output_type
class GetAggregationAuthorizationResult:
    def __init__(__self__, aggregation_authorization_arn=None, tags=None):
        if aggregation_authorization_arn and not isinstance(aggregation_authorization_arn, str):
            raise TypeError("Expected argument 'aggregation_authorization_arn' to be a str")
        pulumi.set(__self__, "aggregation_authorization_arn", aggregation_authorization_arn)
        if tags and not isinstance(tags, list):
            raise TypeError("Expected argument 'tags' to be a list")
        pulumi.set(__self__, "tags", tags)

    @property
    @pulumi.getter(name="aggregationAuthorizationArn")
    def aggregation_authorization_arn(self) -> Optional[str]:
        """
        The ARN of the AggregationAuthorization.
        """
        return pulumi.get(self, "aggregation_authorization_arn")

    @property
    @pulumi.getter
    def tags(self) -> Optional[Sequence['outputs.AggregationAuthorizationTag']]:
        """
        The tags for the AggregationAuthorization.
        """
        return pulumi.get(self, "tags")


class AwaitableGetAggregationAuthorizationResult(GetAggregationAuthorizationResult):
    # pylint: disable=using-constant-test
    def __await__(self):
        if False:
            yield self
        return GetAggregationAuthorizationResult(
            aggregation_authorization_arn=self.aggregation_authorization_arn,
            tags=self.tags)


def get_aggregation_authorization(aggregation_authorization_arn: Optional[str] = None,
                                  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAggregationAuthorizationResult:
    """
    Resource Type definition for AWS::Config::AggregationAuthorization


    :param str aggregation_authorization_arn: The ARN of the AggregationAuthorization.
    """
    __args__ = dict()
    __args__['aggregationAuthorizationArn'] = aggregation_authorization_arn
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('aws-native:configuration:getAggregationAuthorization', __args__, opts=opts, typ=GetAggregationAuthorizationResult).value

    return AwaitableGetAggregationAuthorizationResult(
        aggregation_authorization_arn=__ret__.aggregation_authorization_arn,
        tags=__ret__.tags)


@_utilities.lift_output_func(get_aggregation_authorization)
def get_aggregation_authorization_output(aggregation_authorization_arn: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAggregationAuthorizationResult]:
    """
    Resource Type definition for AWS::Config::AggregationAuthorization


    :param str aggregation_authorization_arn: The ARN of the AggregationAuthorization.
    """
    ...

# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** The ARN of the AggregationAuthorization. The tags for the AggregationAuthorization. # pylint: disable=using-constant-test Resource Type definition for AWS::Config::AggregationAuthorization       :param str aggregation_authorization_arn: The ARN of the AggregationAuthorization. Resource Type definition for AWS::Config::AggregationAuthorization       :param str aggregation_authorization_arn: The ARN of the AggregationAuthorization.