mirror of https://github.com/pulumi/pulumi.git
43 lines
1.0 KiB
Python
43 lines
1.0 KiB
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
|
|
from ._enums import *
|
|
|
|
__all__ = [
|
|
'Child',
|
|
]
|
|
|
|
@pulumi.output_type
|
|
class Child(dict):
|
|
def __init__(__self__, *,
|
|
age: Optional[int] = None,
|
|
name: Optional[str] = None):
|
|
if age is not None:
|
|
pulumi.set(__self__, "age", age)
|
|
if name is not None:
|
|
pulumi.set(__self__, "name", name)
|
|
|
|
@property
|
|
@pulumi.getter
|
|
def age(self) -> Optional[int]:
|
|
return pulumi.get(self, "age")
|
|
|
|
@property
|
|
@pulumi.getter
|
|
def name(self) -> Optional[str]:
|
|
return pulumi.get(self, "name")
|
|
|
|
|