pulumi/tests/testdata/codegen/secrets/python/pulumi_mypkg/outputs.py

34 lines
810 B
Python

# coding=utf-8
# *** WARNING: this file was generated by test. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import sys
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
if sys.version_info >= (3, 11):
from typing import NotRequired, TypedDict, TypeAlias
else:
from typing_extensions import NotRequired, TypedDict, TypeAlias
from . import _utilities
__all__ = [
'Config',
]
@pulumi.output_type
class Config(dict):
def __init__(__self__, *,
foo: Optional[str] = None):
if foo is not None:
pulumi.set(__self__, "foo", foo)
@property
@pulumi.getter
def foo(self) -> Optional[str]:
return pulumi.get(self, "foo")