uid stringlengths 24 24 | split stringclasses 1
value | category stringclasses 2
values | content stringlengths 5 482k | signature stringlengths 1 14k | suffix stringlengths 1 482k | prefix stringlengths 9 14k | prefix_token_count int64 3 5.01k | prefix_token_budget int64 64 256 | element_token_count int64 1 292k | signature_token_count int64 1 5.01k | prefix_context_token_count int64 0 255 | repo stringlengths 7 112 | path stringlengths 4 208 | language stringclasses 1
value | name stringlengths 1 218 | qualname stringlengths 1 218 | start_line int64 1 26.7k | end_line int64 1 26.7k | signature_start_line int64 1 26.7k | signature_end_line int64 1 26.7k | source_hash stringlengths 40 40 | source_dataset stringclasses 1
value | source_split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb8041dfd8f94ea808c73b2e | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnCreationPolicy", jsii_struct_bases=[], name_mapping={'auto_scaling_creation_policy': 'autoScalingCreationPolicy', 'resource_signal': 'resourceSignal'})
class CfnCreationPolicy():
def __init__(self, *, auto_scaling_creation_policy: typing.Optional["CfnResourceAutoScalingCr... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnCreationPolicy", jsii_struct_bases=[], name_mapping={'auto_scaling_creation_policy': 'autoScalingCreationPolicy', 'resource_signal': 'resourceSignal'})
class CfnCreationPolicy():
| def __init__(self, *, auto_scaling_creation_policy: typing.Optional["CfnResourceAutoScalingCreationPolicy"]=None, resource_signal: typing.Optional["CfnResourceSignal"]=None):
"""Associate the CreationPolicy attribute with a resource to prevent its status from reaching create complete until AWS CloudFormatio... | self._values = {
}
if expression is not None: self._values["expression"] = expression
@property
def expression(self) -> typing.Optional["ICfnConditionExpression"]:
"""The expression that the condition will evaluate.
default
:default: - None.
"""
... | 216 | 216 | 722 | 52 | 164 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnCreationPolicy | CfnCreationPolicy | 970 | 1,016 | 970 | 971 | b9f99559453b324b1bd028381a0f629c9ed33fe7 | bigcode/the-stack | train |
e31a1dc1ebb70e7ef35f4d4d | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnAutoScalingReplacingUpdate", jsii_struct_bases=[], name_mapping={'will_replace': 'willReplace'})
class CfnAutoScalingReplacingUpdate():
def __init__(self, *, will_replace: typing.Optional[bool]=None):
"""Specifies whether an Auto Scaling group and the instances it... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnAutoScalingReplacingUpdate", jsii_struct_bases=[], name_mapping={'will_replace': 'willReplace'})
class CfnAutoScalingReplacingUpdate():
| def __init__(self, *, will_replace: typing.Optional[bool]=None):
"""Specifies whether an Auto Scaling group and the instances it contains are replaced during an update.
During replacement,
AWS CloudFormation retains the old group until it finishes creating the new one. If the update fails, ... | _ID")
@classproperty
@jsii.member(jsii_name="STACK_NAME")
def STACK_NAME(cls) -> str:
return jsii.sget(cls, "STACK_NAME")
@classproperty
@jsii.member(jsii_name="URL_SUFFIX")
def URL_SUFFIX(cls) -> str:
return jsii.sget(cls, "URL_SUFFIX")
@jsii.data_type(jsii_type="@aws-cdk/core... | 119 | 119 | 397 | 43 | 76 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnAutoScalingReplacingUpdate | CfnAutoScalingReplacingUpdate | 720 | 754 | 720 | 721 | 6ae2a9284a2d862affc51cbb43031da6041eb160 | bigcode/the-stack | train |
a285a84c301193a45f023f37 | train | class | class CfnOutput(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnOutput"):
def __init__(self, scope: "Construct", id: str, *, value: str, condition: typing.Optional["CfnCondition"]=None, description: typing.Optional[str]=None, export_name: typing.Optional[str]=None) -> None:
"""Creates an Cf... | class CfnOutput(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnOutput"):
| def __init__(self, scope: "Construct", id: str, *, value: str, condition: typing.Optional["CfnCondition"]=None, description: typing.Optional[str]=None, export_name: typing.Optional[str]=None) -> None:
"""Creates an CfnOutput value for this stack.
:param scope: The parent construct.
:param i... | CfnIncludeProps(template=template)
jsii.create(CfnInclude, self, [scope, id, props])
@property
@jsii.member(jsii_name="template")
def template(self) -> typing.Mapping[typing.Any, typing.Any]:
"""The included template."""
return jsii.get(self, "template")
class CfnOutput(CfnElement... | 99 | 99 | 330 | 29 | 70 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnOutput | CfnOutput | 3,583 | 3,597 | 3,583 | 3,583 | f20cca401fe02cf94333ea14a90e9ff22815c2aa | bigcode/the-stack | train |
7b02b1f6738aa022d4e64ac8 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnMappingProps", jsii_struct_bases=[], name_mapping={'mapping': 'mapping'})
class CfnMappingProps():
def __init__(self, *, mapping: typing.Optional[typing.Mapping[str,typing.Mapping[str,typing.Any]]]=None):
"""
:param mapping: Mapping of key to a set of corr... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnMappingProps", jsii_struct_bases=[], name_mapping={'mapping': 'mapping'})
class CfnMappingProps():
| def __init__(self, *, mapping: typing.Optional[typing.Mapping[str,typing.Mapping[str,typing.Any]]]=None):
"""
:param mapping: Mapping of key to a set of corresponding set of named values. The key identifies a map of name-value pairs and must be unique within the mapping. For example, if you want to ... | return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'CfnIncludeProps(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/cor... | 116 | 116 | 388 | 37 | 79 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnMappingProps | CfnMappingProps | 1,107 | 1,137 | 1,107 | 1,108 | c9d5c99583a08a7616b766a365bec35f9fd9ec46 | bigcode/the-stack | train |
4c4e3a50d08bff2fa8177f57 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IResolveContext")
class IResolveContext(jsii.compat.Protocol):
"""Current resolution context for tokens."""
@staticmethod
def __jsii_proxy_class__():
return _IResolveContextProxy
@property
@jsii.member(jsii_name="preparing")
def preparing(self) -... | @jsii.interface(jsii_type="@aws-cdk/core.IResolveContext")
class IResolveContext(jsii.compat.Protocol):
| """Current resolution context for tokens."""
@staticmethod
def __jsii_proxy_class__():
return _IResolveContextProxy
@property
@jsii.member(jsii_name="preparing")
def preparing(self) -> bool:
"""True when we are still preparing, false if we're rendering the final output."""
... | ."""
return jsii.get(self, "expression")
@expression.setter
def expression(self, value: typing.Optional["ICfnConditionExpression"]):
return jsii.set(self, "expression", value)
@jsii.interface(jsii_type="@aws-cdk/core.IResolveContext")
class IResolveContext(jsii.compat.Protocol):
| 68 | 68 | 228 | 24 | 44 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IResolveContext | IResolveContext | 4,290 | 4,323 | 4,290 | 4,291 | d1c8f89367d41e446e247c8f93257322518b2f05 | bigcode/the-stack | train |
c4303423233e99d46a6467f7 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnIncludeProps", jsii_struct_bases=[], name_mapping={'template': 'template'})
class CfnIncludeProps():
def __init__(self, *, template: typing.Mapping[typing.Any, typing.Any]):
"""
:param template: The CloudFormation template to include in the stack (as is).
... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnIncludeProps", jsii_struct_bases=[], name_mapping={'template': 'template'})
class CfnIncludeProps():
| def __init__(self, *, template: typing.Mapping[typing.Any, typing.Any]):
"""
:param template: The CloudFormation template to include in the stack (as is).
"""
self._values = {
'template': template,
}
@property
def template(self) -> typing.Mapping[typing.A... | Secure string stored in AWS Systems Manager Parameter Store."""
SECRETS_MANAGER = "SECRETS_MANAGER"
"""Secret stored in AWS Secrets Manager."""
@jsii.data_type(jsii_type="@aws-cdk/core.CfnIncludeProps", jsii_struct_bases=[], name_mapping={'template': 'template'})
class CfnIncludeProps():
| 68 | 68 | 227 | 37 | 31 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnIncludeProps | CfnIncludeProps | 1,082 | 1,104 | 1,082 | 1,083 | f725a442b2f1ef9338e47e13fe37d5aff320f2c8 | bigcode/the-stack | train |
1cfdc97bdeed9c0c03b67ea1 | train | class | class Arn(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Arn"):
@jsii.member(jsii_name="format")
@classmethod
def format(cls, components: "ArnComponents", stack: "Stack") -> str:
"""Creates an ARN from components.
If ``partition``, ``region`` or ``account`` are not specified, the stack's... | class Arn(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Arn"):
@jsii.member(jsii_name="format")
@classmethod
| def format(cls, components: "ArnComponents", stack: "Stack") -> str:
"""Creates an ARN from components.
If ``partition``, ``region`` or ``account`` are not specified, the stack's
partition, region and account will be used.
If any component is the empty string, an empty string will ... | true stack traces are included unless ``aws:cdk:disable-stack-trace`` is set in the context.
"""
return self._values.get('stack_traces')
@property
def tree_metadata(self) -> typing.Optional[bool]:
"""Include construct tree metadata as part of the Cloud Assembly.
default
... | 211 | 211 | 704 | 37 | 174 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Arn | Arn | 513 | 576 | 513 | 515 | b35e44cbc7020351abf7be6660eaaf042f9e8ca3 | bigcode/the-stack | train |
d5884e654cea862c97f1d409 | train | class | class _IStringProducerProxy():
"""Interface for lazy string producers."""
__jsii_type__ = "@aws-cdk/core.IStringProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[str]:
"""Produce the string value.
:param context: -
"""
... | class _IStringProducerProxy():
| """Interface for lazy string producers."""
__jsii_type__ = "@aws-cdk/core.IStringProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[str]:
"""Produce the string value.
:param context: -
"""
return jsii.invoke(self,... | jsii_proxy_class__():
return _IStringProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[str]:
"""Produce the string value.
:param context: -
"""
...
class _IStringProducerProxy():
| 64 | 64 | 85 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IStringProducerProxy | _IStringProducerProxy | 4,398 | 4,407 | 4,398 | 4,398 | 4be9e6748e7dc5f1fb64ca063de5e5ab7a5ee67e | bigcode/the-stack | train |
b54cd47581500c7fd8e0c2f7 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.DockerImageAssetLocation", jsii_struct_bases=[], name_mapping={'image_uri': 'imageUri', 'repository_name': 'repositoryName'})
class DockerImageAssetLocation():
def __init__(self, *, image_uri: str, repository_name: str):
"""The location of the published docker image.... | @jsii.data_type(jsii_type="@aws-cdk/core.DockerImageAssetLocation", jsii_struct_bases=[], name_mapping={'image_uri': 'imageUri', 'repository_name': 'repositoryName'})
class DockerImageAssetLocation():
| def __init__(self, *, image_uri: str, repository_name: str):
"""The location of the published docker image.
This is where the image can be
consumed at runtime.
:param image_uri: The URI of the image in Amazon ECR.
:param repository_name: The name of the ECR repository.
... | (rhs == self)
def __repr__(self) -> str:
return 'Dependency(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.DockerImageAssetLocation", jsii_struct_bases=[], name_mapping={'image_uri': 'imageUri', 'repository_name': 'repositoryName'})
class Dock... | 91 | 91 | 305 | 48 | 43 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | DockerImageAssetLocation | DockerImageAssetLocation | 2,086 | 2,119 | 2,086 | 2,087 | 38c4d01e05c115bf1de790107f24e6017a2b0cba | bigcode/the-stack | train |
e64688cda92a87211dc483d8 | train | class | class _CfnRefElementProxy(CfnRefElement, jsii.proxy_for(CfnElement)):
pass
| class _CfnRefElementProxy(CfnRefElement, jsii.proxy_for(CfnElement)):
| pass
| reference of a resource is not a string, you could
coerce it to an IResolvable through ``Lazy.any({ produce: resource.ref })``.
"""
return jsii.get(self, "ref")
class _CfnRefElementProxy(CfnRefElement, jsii.proxy_for(CfnElement)):
| 64 | 64 | 23 | 20 | 44 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _CfnRefElementProxy | _CfnRefElementProxy | 3,700 | 3,701 | 3,700 | 3,700 | 6cdaf0c26913d8fe9dce1e60d4e480e2465c3d74 | bigcode/the-stack | train |
a4b9a10e1c569b3f9a7e1ff0 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IAnyProducer")
class IAnyProducer(jsii.compat.Protocol):
"""Interface for lazy untyped value producers."""
@staticmethod
def __jsii_proxy_class__():
return _IAnyProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveConte... | @jsii.interface(jsii_type="@aws-cdk/core.IAnyProducer")
class IAnyProducer(jsii.compat.Protocol):
| """Interface for lazy untyped value producers."""
@staticmethod
def __jsii_proxy_class__():
return _IAnyProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Any:
"""Produce the value.
:param context: -
"""
.... | def __repr__(self) -> str:
return 'GetContextValueResult(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.interface(jsii_type="@aws-cdk/core.IAnyProducer")
class IAnyProducer(jsii.compat.Protocol):
| 64 | 64 | 96 | 24 | 40 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IAnyProducer | IAnyProducer | 3,036 | 3,049 | 3,036 | 3,037 | d4a6770781c4a4909756b05d30cbfbdb49008f30 | bigcode/the-stack | train |
37de48cfd9f89d90fc4ef50a | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnUpdatePolicy", jsii_struct_bases=[], name_mapping={'auto_scaling_replacing_update': 'autoScalingReplacingUpdate', 'auto_scaling_rolling_update': 'autoScalingRollingUpdate', 'auto_scaling_scheduled_action': 'autoScalingScheduledAction', 'code_deploy_lambda_alias_update': 'code... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnUpdatePolicy", jsii_struct_bases=[], name_mapping={'auto_scaling_replacing_update': 'autoScalingReplacingUpdate', 'auto_scaling_rolling_update': 'autoScalingRollingUpdate', 'auto_scaling_scheduled_action': 'autoScalingScheduledAction', 'code_deploy_lambda_alias_update': 'code... | def __init__(self, *, auto_scaling_replacing_update: typing.Optional["CfnAutoScalingReplacingUpdate"]=None, auto_scaling_rolling_update: typing.Optional["CfnAutoScalingRollingUpdate"]=None, auto_scaling_scheduled_action: typing.Optional["CfnAutoScalingScheduledAction"]=None, code_deploy_lambda_alias_update: typing.... | self._values.get('key')
@property
def value(self) -> str:
"""
link:
:link:: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-value
"""
return self._values.get('value')
def __eq__(self, rhs) -> bool:
... | 256 | 256 | 1,348 | 102 | 154 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnUpdatePolicy | CfnUpdatePolicy | 1,577 | 1,644 | 1,577 | 1,578 | 12978f01c048dd3b14d77979363a552fde6a6f20 | bigcode/the-stack | train |
87cb2325235421e4ec2e8cba | train | class | class _IListProducerProxy():
"""Interface for lazy list producers."""
__jsii_type__ = "@aws-cdk/core.IListProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[typing.List[str]]:
"""Produce the list value.
:param context: -
... | class _IListProducerProxy():
| """Interface for lazy list producers."""
__jsii_type__ = "@aws-cdk/core.IListProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[typing.List[str]]:
"""Produce the list value.
:param context: -
"""
return jsii.invok... | __():
return _IListProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[typing.List[str]]:
"""Produce the list value.
:param context: -
"""
...
class _IListProducerProxy():
| 64 | 64 | 88 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IListProducerProxy | _IListProducerProxy | 4,041 | 4,050 | 4,041 | 4,041 | 0309436af851845fe2090d6782565469498cb995 | bigcode/the-stack | train |
ff647624390a27ff330fa7a5 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IConstruct")
class IConstruct(IDependable, jsii.compat.Protocol):
"""Represents a construct."""
@staticmethod
def __jsii_proxy_class__():
return _IConstructProxy
@property
@jsii.member(jsii_name="node")
def node(self) -> "ConstructNode":
... | @jsii.interface(jsii_type="@aws-cdk/core.IConstruct")
class IConstruct(IDependable, jsii.compat.Protocol):
| """Represents a construct."""
@staticmethod
def __jsii_proxy_class__():
return _IConstructProxy
@property
@jsii.member(jsii_name="node")
def node(self) -> "ConstructNode":
"""The construct node in the tree."""
...
| a construct to the dependency roots.
:param construct: -
stability
:stability: experimental
"""
return jsii.invoke(self, "add", [construct])
@jsii.interface(jsii_type="@aws-cdk/core.IConstruct")
class IConstruct(IDependable, jsii.compat.Protocol):
| 64 | 64 | 87 | 26 | 38 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IConstruct | IConstruct | 3,319 | 3,330 | 3,319 | 3,320 | 0d42d7e0bf5138af229a7a190fd28543e5708752 | bigcode/the-stack | train |
2022de7090c34c3b3d880c9d | train | class | class _ReferenceProxy(Reference):
pass
| class _ReferenceProxy(Reference):
| pass
| displayName")
def display_name(self) -> str:
return jsii.get(self, "displayName")
@property
@jsii.member(jsii_name="target")
def target(self) -> "IConstruct":
return jsii.get(self, "target")
class _ReferenceProxy(Reference):
| 64 | 64 | 10 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ReferenceProxy | _ReferenceProxy | 5,073 | 5,074 | 5,073 | 5,073 | 43d3c777e04f95d114a0a0279f104fc34d2801a3 | bigcode/the-stack | train |
24d5f0c282b0a59718154fb2 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnResourceAutoScalingCreationPolicy", jsii_struct_bases=[], name_mapping={'min_successful_instances_percent': 'minSuccessfulInstancesPercent'})
class CfnResourceAutoScalingCreationPolicy():
def __init__(self, *, min_successful_instances_percent: typing.Optional[jsii.Number]... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnResourceAutoScalingCreationPolicy", jsii_struct_bases=[], name_mapping={'min_successful_instances_percent': 'minSuccessfulInstancesPercent'})
class CfnResourceAutoScalingCreationPolicy():
| def __init__(self, *, min_successful_instances_percent: typing.Optional[jsii.Number]=None):
"""For an Auto Scaling group replacement update, specifies how many instances must signal success for the update to succeed.
:param min_successful_instances_percent: Specifies the percentage of instances in ... | def __eq__(self, rhs) -> bool:
return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'CfnParameterProps(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii... | 140 | 140 | 467 | 50 | 90 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnResourceAutoScalingCreationPolicy | CfnResourceAutoScalingCreationPolicy | 1,345 | 1,374 | 1,345 | 1,346 | 780cd3cd4cc0eef1d3205db1ae59a82cc5415b3f | bigcode/the-stack | train |
5cce02e783621e907fdf9b72 | train | class | class CfnElement(Construct, metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.CfnElement"):
"""An element of a CloudFormation stack."""
@staticmethod
def __jsii_proxy_class__():
return _CfnElementProxy
def __init__(self, scope: "Construct", id: str) -> None:
"""Creates an entit... | class CfnElement(Construct, metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.CfnElement"):
| """An element of a CloudFormation stack."""
@staticmethod
def __jsii_proxy_class__():
return _CfnElementProxy
def __init__(self, scope: "Construct", id: str) -> None:
"""Creates an entity and binds it to a tree. Note that the root of the tree must be a Stack object (not just any Root).
... | """Checks if an object is an instance of the ``App`` class.
:param obj: The object to evaluate.
return
:return: ``true`` if ``obj`` is an ``App``.
"""
return jsii.sinvoke(cls, "isApp", [obj])
@jsii.member(jsii_name="synth")
def synth(self) -> aws_cdk.cx_api.Clo... | 188 | 189 | 633 | 29 | 159 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnElement | CfnElement | 3,473 | 3,548 | 3,473 | 3,473 | a039f50fa72547c11484de93879a5d1f9235e460 | bigcode/the-stack | train |
0b03d1ba42be1a950057a678 | train | class | @jsii.implements(IConstruct)
class Construct(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Construct"):
"""Represents the building block of the construct graph.
All constructs besides the root construct must be created within the scope of
another construct.
"""
def __init__(self, scope: "Constr... | @jsii.implements(IConstruct)
class Construct(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Construct"):
| """Represents the building block of the construct graph.
All constructs besides the root construct must be created within the scope of
another construct.
"""
def __init__(self, scope: "Construct", id: str) -> None:
"""Creates a new construct node.
:param scope: The scope in which t... | IConstruct(IDependable, jsii.compat.Protocol):
"""Represents a construct."""
@staticmethod
def __jsii_proxy_class__():
return _IConstructProxy
@property
@jsii.member(jsii_name="node")
def node(self) -> "ConstructNode":
"""The construct node in the tree."""
...
class _... | 179 | 179 | 599 | 30 | 149 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Construct | Construct | 3,343 | 3,412 | 3,343 | 3,344 | 60aef2910cd0057bbc134989d80366627193cfc8 | bigcode/the-stack | train |
e11ae367f90271f528934692 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.ResourceProps", jsii_struct_bases=[], name_mapping={'physical_name': 'physicalName'})
class ResourceProps():
def __init__(self, *, physical_name: typing.Optional[str]=None):
"""Construction properties for {@link Resource}.
:param physical_name: The value pas... | @jsii.data_type(jsii_type="@aws-cdk/core.ResourceProps", jsii_struct_bases=[], name_mapping={'physical_name': 'physicalName'})
class ResourceProps():
| def __init__(self, *, physical_name: typing.Optional[str]=None):
"""Construction properties for {@link Resource}.
:param physical_name: The value passed in by users to the physical name prop of the resource. - ``undefined`` implies that a physical name will be allocated by CloudFormation during dep... | Formation
- a concrete name generated automatically during synthesis, in
cross-environment scenarios.
stability
:stability: experimental
"""
return jsii.get(self, "physicalName")
@property
@jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
... | 131 | 131 | 438 | 35 | 95 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ResourceProps | ResourceProps | 5,312 | 5,345 | 5,312 | 5,313 | 8cca87cbdcd00b165568f954ae156d614e8528ab | bigcode/the-stack | train |
1e7fb64734c84eb6c2ee95d6 | train | class | class _CfnElementProxy(CfnElement):
pass
| class _CfnElementProxy(CfnElement):
| pass
| jsii_name="stack")
def stack(self) -> "Stack":
"""The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
"""
return jsii.get(self, "stack")
class _CfnElementProxy(CfnElement):
| 64 | 64 | 13 | 10 | 54 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _CfnElementProxy | _CfnElementProxy | 3,551 | 3,552 | 3,551 | 3,551 | 3ae5495a1de3f6c44b2362dc447fba3542d78532 | bigcode/the-stack | train |
05dbe94b965df054ad1f5738 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.ITokenResolver")
class ITokenResolver(jsii.compat.Protocol):
"""How to resolve tokens."""
@staticmethod
def __jsii_proxy_class__():
return _ITokenResolverProxy
@jsii.member(jsii_name="resolveList")
def resolve_list(self, l: typing.List[str], context:... | @jsii.interface(jsii_type="@aws-cdk/core.ITokenResolver")
class ITokenResolver(jsii.compat.Protocol):
| """How to resolve tokens."""
@staticmethod
def __jsii_proxy_class__():
return _ITokenResolverProxy
@jsii.member(jsii_name="resolveList")
def resolve_list(self, l: typing.List[str], context: "IResolveContext") -> typing.Any:
"""Resolve a tokenized list.
:param l: -
:... | (jsii_name="mapToken")
def map_token(self, t: "IResolvable") -> typing.Any:
"""Replace a single token.
:param t: -
"""
return jsii.invoke(self, "mapToken", [t])
@jsii.interface(jsii_type="@aws-cdk/core.ITokenResolver")
class ITokenResolver(jsii.compat.Protocol):
| 76 | 76 | 255 | 24 | 52 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ITokenResolver | ITokenResolver | 4,632 | 4,667 | 4,632 | 4,633 | 313cb8992c0d5cd1241154b1420ca4c0f14e06bf | bigcode/the-stack | train |
1849be547df9546f5313d382 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.FileAssetLocation", jsii_struct_bases=[], name_mapping={'bucket_name': 'bucketName', 'object_key': 'objectKey', 's3_url': 's3Url'})
class FileAssetLocation():
def __init__(self, *, bucket_name: str, object_key: str, s3_url: str):
"""The location of the published file... | @jsii.data_type(jsii_type="@aws-cdk/core.FileAssetLocation", jsii_struct_bases=[], name_mapping={'bucket_name': 'bucketName', 'object_key': 'objectKey', 's3_url': 's3Url'})
class FileAssetLocation():
| def __init__(self, *, bucket_name: str, object_key: str, s3_url: str):
"""The location of the published file asset.
This is where the asset
can be consumed at runtime.
:param bucket_name: The name of the Amazon S3 bucket.
:param object_key: The Amazon S3 object key.
... | rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'Environment(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.FileAssetLocation", jsii_struct_bases=[], name_mappi... | 121 | 121 | 405 | 55 | 66 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | FileAssetLocation | FileAssetLocation | 2,443 | 2,489 | 2,443 | 2,444 | e8cc474f704e56ab6095d72f9d5126d6552dab8c | bigcode/the-stack | train |
80211428b3bc7ac66e87b4e0 | train | class | class ScopedAws(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ScopedAws"):
"""Accessor for scoped pseudo parameters.
These pseudo parameters are anchored to a stack somewhere in the construct
tree, and their values will be exported automatically.
"""
def __init__(self, scope: "Construct") -> No... | class ScopedAws(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ScopedAws"):
| """Accessor for scoped pseudo parameters.
These pseudo parameters are anchored to a stack somewhere in the construct
tree, and their values will be exported automatically.
"""
def __init__(self, scope: "Construct") -> None:
"""
:param scope: -
"""
jsii.create(ScopedA... | return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'ResourceProps(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
class ScopedAws(metaclass=jsii.JSIIMeta, ... | 102 | 102 | 342 | 25 | 77 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ScopedAws | ScopedAws | 5,348 | 5,393 | 5,348 | 5,348 | af36dbf4f08564bcde1f3c326f952e8080e4877b | bigcode/the-stack | train |
9952cd7f490013e681adbb6a | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IAspect")
class IAspect(jsii.compat.Protocol):
"""Represents an Aspect."""
@staticmethod
def __jsii_proxy_class__():
return _IAspectProxy
@jsii.member(jsii_name="visit")
def visit(self, node: "IConstruct") -> None:
"""All aspects can visit an... | @jsii.interface(jsii_type="@aws-cdk/core.IAspect")
class IAspect(jsii.compat.Protocol):
| """Represents an Aspect."""
@staticmethod
def __jsii_proxy_class__():
return _IAspectProxy
@jsii.member(jsii_name="visit")
def visit(self, node: "IConstruct") -> None:
"""All aspects can visit an IConstruct.
:param node: -
"""
...
| def produce(self, context: "IResolveContext") -> typing.Any:
"""Produce the value.
:param context: -
"""
return jsii.invoke(self, "produce", [context])
@jsii.interface(jsii_type="@aws-cdk/core.IAspect")
class IAspect(jsii.compat.Protocol):
| 64 | 64 | 92 | 22 | 42 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IAspect | IAspect | 3,064 | 3,077 | 3,064 | 3,065 | 986ae3162dec68165258c20294daf8cff6cf3401 | bigcode/the-stack | train |
d401afa5915475ede26d8cd4 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.DockerImageAssetSource", jsii_struct_bases=[], name_mapping={'directory_name': 'directoryName', 'source_hash': 'sourceHash', 'docker_build_args': 'dockerBuildArgs', 'docker_build_target': 'dockerBuildTarget', 'repository_name': 'repositoryName'})
class DockerImageAssetSource():
... | @jsii.data_type(jsii_type="@aws-cdk/core.DockerImageAssetSource", jsii_struct_bases=[], name_mapping={'directory_name': 'directoryName', 'source_hash': 'sourceHash', 'docker_build_args': 'dockerBuildArgs', 'docker_build_target': 'dockerBuildTarget', 'repository_name': 'repositoryName'})
class DockerImageAssetSource():
| def __init__(self, *, directory_name: str, source_hash: str, docker_build_args: typing.Optional[typing.Mapping[str,str]]=None, docker_build_target: typing.Optional[str]=None, repository_name: typing.Optional[str]=None):
"""
:param directory_name: The directory where the Dockerfile is stored, must be... | values = {
'image_uri': image_uri,
'repository_name': repository_name,
}
@property
def image_uri(self) -> str:
"""The URI of the image in Amazon ECR."""
return self._values.get('image_uri')
@property
def repository_name(self) -> str:
"""The name ... | 256 | 256 | 930 | 76 | 180 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | DockerImageAssetSource | DockerImageAssetSource | 2,122 | 2,200 | 2,122 | 2,123 | 2938afbc0931b4a37eb99c05362fbdf7e5c2ae44 | bigcode/the-stack | train |
2d7860d3d8e9255e22f01e0d | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnConditionProps", jsii_struct_bases=[], name_mapping={'expression': 'expression'})
class CfnConditionProps():
def __init__(self, *, expression: typing.Optional["ICfnConditionExpression"]=None):
"""
:param expression: The expression that the condition will e... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnConditionProps", jsii_struct_bases=[], name_mapping={'expression': 'expression'})
class CfnConditionProps():
| def __init__(self, *, expression: typing.Optional["ICfnConditionExpression"]=None):
"""
:param expression: The expression that the condition will evaluate. Default: - None.
"""
self._values = {
}
if expression is not None: self._values["expression"] = expression
... | :
return 'CfnCodeDeployLambdaAliasUpdate(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.CfnConditionProps", jsii_struct_bases=[], name_mapping={'expression': 'expression'})
class CfnConditionProps():
| 72 | 72 | 243 | 37 | 35 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnConditionProps | CfnConditionProps | 941 | 967 | 941 | 942 | 20446156d97eede65bb2c9f6a2909f5a8a8d1724 | bigcode/the-stack | train |
768934f3d2aa4608c96eefc0 | train | class | class App(Construct, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.App"):
"""A construct which represents an entire CDK app. This construct is normally the root of the construct tree.
You would normally define an ``App`` instance in your program's entrypoint,
then define constructs where the app is use... | class App(Construct, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.App"):
| """A construct which represents an entire CDK app. This construct is normally the root of the construct tree.
You would normally define an ``App`` instance in your program's entrypoint,
then define constructs where the app is used as the parent scope.
After all the child constructs are defined within ... | as they participate in synthesizing the cloud assembly.
:param session: The synthesis session.
"""
return jsii.invoke(self, "synthesize", [session])
@jsii.member(jsii_name="toString")
def to_string(self) -> str:
"""Returns a string representation of this construct."""
... | 244 | 244 | 816 | 24 | 220 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | App | App | 3,415 | 3,470 | 3,415 | 3,415 | c6e55f07b71ec6d1202174ed0e8f2c72d1f7c9a1 | bigcode/the-stack | train |
acea345491367f754bb62eb8 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnDynamicReferenceProps", jsii_struct_bases=[], name_mapping={'reference_key': 'referenceKey', 'service': 'service'})
class CfnDynamicReferenceProps():
def __init__(self, *, reference_key: str, service: "CfnDynamicReferenceService"):
"""Properties for a Dynamic Refe... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnDynamicReferenceProps", jsii_struct_bases=[], name_mapping={'reference_key': 'referenceKey', 'service': 'service'})
class CfnDynamicReferenceProps():
| def __init__(self, *, reference_key: str, service: "CfnDynamicReferenceService"):
"""Properties for a Dynamic Reference.
:param reference_key: The reference key of the dynamic reference.
:param service: The service to retrieve the dynamic reference from.
"""
self._values = {... | will be in the
Delete_Complete state; however, the snapshots that are created with this policy continue to exist and continue to
incur applicable charges until you delete those snapshots.
"""
@jsii.data_type(jsii_type="@aws-cdk/core.CfnDynamicReferenceProps", jsii_struct_bases=[], name_mapping={'reference_... | 87 | 87 | 291 | 47 | 40 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnDynamicReferenceProps | CfnDynamicReferenceProps | 1,039 | 1,069 | 1,039 | 1,040 | a353adf45d4bdeab52ec1831c2bf1b2d1ebbc9a9 | bigcode/the-stack | train |
2836d40a874ec19ab9dd77f6 | train | class | class TagManager(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.TagManager"):
"""TagManager facilitates a common implementation of tagging for Constructs."""
def __init__(self, tag_type: "TagType", resource_type_name: str, tag_structure: typing.Any=None) -> None:
"""
:param tag_type: -
... | class TagManager(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.TagManager"):
| """TagManager facilitates a common implementation of tagging for Constructs."""
def __init__(self, tag_type: "TagType", resource_type_name: str, tag_structure: typing.Any=None) -> None:
"""
:param tag_type: -
:param resource_type_name: -
:param tag_structure: -
"""
... | IConstruct.
:param construct: -
"""
return jsii.invoke(self, "visit", [construct])
@property
@jsii.member(jsii_name="key")
def key(self) -> str:
"""The string key for the tag."""
return jsii.get(self, "key")
@property
@jsii.member(jsii_name="props")
de... | 165 | 165 | 551 | 24 | 141 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | TagManager | TagManager | 6,243 | 6,298 | 6,243 | 6,243 | 9620d2b7202b11d69678b04675cd0b6d33f9ac1f | bigcode/the-stack | train |
f10835abd2818c99848cc28f | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.ArnComponents", jsii_struct_bases=[], name_mapping={'resource': 'resource', 'service': 'service', 'account': 'account', 'partition': 'partition', 'region': 'region', 'resource_name': 'resourceName', 'sep': 'sep'})
class ArnComponents():
def __init__(self, *, resource: str, s... | @jsii.data_type(jsii_type="@aws-cdk/core.ArnComponents", jsii_struct_bases=[], name_mapping={'resource': 'resource', 'service': 'service', 'account': 'account', 'partition': 'partition', 'region': 'region', 'resource_name': 'resourceName', 'sep': 'sep'})
class ArnComponents():
| def __init__(self, *, resource: str, service: str, account: typing.Optional[str]=None, partition: typing.Optional[str]=None, region: typing.Optional[str]=None, resource_name: typing.Optional[str]=None, sep: typing.Optional[str]=None):
"""
:param resource: Resource type (e.g. "table", "autoScalingGro... |
S3 ARNs::
arn:aws:s3:::my_corporate_bucket/path/to/exampleobject.png
After parsing the resourceName will not contain
'path/to/exampleobject.png' but simply 'path'. This is a limitation
because there is no slicing functionality in CloudFormation templates.
:param ar... | 256 | 256 | 1,138 | 72 | 184 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ArnComponents | ArnComponents | 579 | 669 | 579 | 580 | b1ea954a5ab2b805681fc821c7073d5fc9f5d1cd | bigcode/the-stack | train |
976961029cf022cf250fa7e5 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.FileAssetSource", jsii_struct_bases=[], name_mapping={'file_name': 'fileName', 'packaging': 'packaging', 'source_hash': 'sourceHash'})
class FileAssetSource():
def __init__(self, *, file_name: str, packaging: "FileAssetPackaging", source_hash: str):
"""Represents the... | @jsii.data_type(jsii_type="@aws-cdk/core.FileAssetSource", jsii_struct_bases=[], name_mapping={'file_name': 'fileName', 'packaging': 'packaging', 'source_hash': 'sourceHash'})
class FileAssetSource():
| def __init__(self, *, file_name: str, packaging: "FileAssetPackaging", source_hash: str):
"""Represents the source for a file asset.
:param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, dependning on... | @jsii.enum(jsii_type="@aws-cdk/core.FileAssetPackaging")
class FileAssetPackaging(enum.Enum):
"""Packaging modes for file assets."""
ZIP_DIRECTORY = "ZIP_DIRECTORY"
"""The asset source path points to a directory, which should be archived using zip and and then uploaded to Amazon S3."""
FILE = "FILE"
... | 144 | 144 | 480 | 53 | 91 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | FileAssetSource | FileAssetSource | 2,500 | 2,546 | 2,500 | 2,501 | e12807fb8df2dac77304217624cfe10236bc9e0d | bigcode/the-stack | train |
19b32eee903a05665496bf62 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnResourceSignal", jsii_struct_bases=[], name_mapping={'count': 'count', 'timeout': 'timeout'})
class CfnResourceSignal():
def __init__(self, *, count: typing.Optional[jsii.Number]=None, timeout: typing.Optional[str]=None):
"""When AWS CloudFormation creates the ass... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnResourceSignal", jsii_struct_bases=[], name_mapping={'count': 'count', 'timeout': 'timeout'})
class CfnResourceSignal():
| def __init__(self, *, count: typing.Optional[jsii.Number]=None, timeout: typing.Optional[str]=None):
"""When AWS CloudFormation creates the associated resource, configures the number of required success signals and the length of time that AWS CloudFormation waits for those signals.
:param count: Th... | properties.
default
:default: - No resource properties.
"""
return self._values.get('properties')
def __eq__(self, rhs) -> bool:
return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
... | 159 | 159 | 533 | 43 | 116 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnResourceSignal | CfnResourceSignal | 1,413 | 1,443 | 1,413 | 1,414 | d4e7928549a3a23f8829f5a22ff7bac0f83d43bf | bigcode/the-stack | train |
019d1e5c162652b5429def5d | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.GetContextKeyResult", jsii_struct_bases=[], name_mapping={'key': 'key', 'props': 'props'})
class GetContextKeyResult():
def __init__(self, *, key: str, props: typing.Mapping[str,typing.Any]):
"""
:param key:
:param props:
stability
... | @jsii.data_type(jsii_type="@aws-cdk/core.GetContextKeyResult", jsii_struct_bases=[], name_mapping={'key': 'key', 'props': 'props'})
class GetContextKeyResult():
| def __init__(self, *, key: str, props: typing.Mapping[str,typing.Any]):
"""
:param key:
:param props:
stability
:stability: experimental
"""
self._values = {
'key': key,
'props': props,
}
@property
def key(self) -> s... | __repr__(self) -> str:
return 'GetContextKeyOptions(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.GetContextKeyResult", jsii_struct_bases=[], name_mapping={'key': 'key', 'props': 'props'})
class GetContextKeyResult():
| 82 | 82 | 276 | 43 | 39 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | GetContextKeyResult | GetContextKeyResult | 2,907 | 2,945 | 2,907 | 2,908 | 343bd6c196242cdefef878b2923c8bb7adbc5807 | bigcode/the-stack | train |
db4aa5e32b9d52a63f147c20 | train | class | class Token(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Token"):
"""Represents a special or lazily-evaluated value.
Can be used to delay evaluation of a certain value in case, for example,
that it requires some context or late-bound data. Can also be used to
mark values that need special processi... | class Token(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Token"):
| """Represents a special or lazily-evaluated value.
Can be used to delay evaluation of a certain value in case, for example,
that it requires some context or late-bound data. Can also be used to
mark values that need special processing at document rendering time.
Tokens can be embedded into strings... | if integral is not None: self._values["integral"] = integral
@property
def integral(self) -> typing.Optional[bool]:
"""If ``true``, conversions into a larger time unit (e.g. ``Seconds`` to ``Mintues``) will fail if the result is not an integer.
default
:default: true
"""
... | 200 | 200 | 667 | 22 | 178 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Token | Token | 6,421 | 6,499 | 6,421 | 6,421 | bc6e83c763d7e8fb1e258782513836868a3ea01b | bigcode/the-stack | train |
db927b934c849951dc8b3b2a | train | class | @jsii.enum(jsii_type="@aws-cdk/core.TagType")
class TagType(enum.Enum):
STANDARD = "STANDARD"
AUTOSCALING_GROUP = "AUTOSCALING_GROUP"
MAP = "MAP"
KEY_VALUE = "KEY_VALUE"
NOT_TAGGABLE = "NOT_TAGGABLE"
| @jsii.enum(jsii_type="@aws-cdk/core.TagType")
class TagType(enum.Enum):
| STANDARD = "STANDARD"
AUTOSCALING_GROUP = "AUTOSCALING_GROUP"
MAP = "MAP"
KEY_VALUE = "KEY_VALUE"
NOT_TAGGABLE = "NOT_TAGGABLE"
| (rhs == self)
def __repr__(self) -> str:
return 'TagProps(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.enum(jsii_type="@aws-cdk/core.TagType")
class TagType(enum.Enum):
| 64 | 64 | 66 | 20 | 44 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | TagType | TagType | 6,383 | 6,389 | 6,383 | 6,384 | 506ccca8d0ac429ac1494f8e08d2a52f0b88b665 | bigcode/the-stack | train |
f1d68f1567c7265a8cbd34e9 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnResourceProps", jsii_struct_bases=[], name_mapping={'type': 'type', 'properties': 'properties'})
class CfnResourceProps():
def __init__(self, *, type: str, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None):
"""
:param type: CloudFormation r... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnResourceProps", jsii_struct_bases=[], name_mapping={'type': 'type', 'properties': 'properties'})
class CfnResourceProps():
| def __init__(self, *, type: str, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None):
"""
:param type: CloudFormation resource type (e.g. ``AWS::S3::Bucket``).
:param properties: Resource properties. Default: - No resource properties.
"""
self._values = {
... | :
return not (rhs == self)
def __repr__(self) -> str:
return 'CfnResourceAutoScalingCreationPolicy(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.CfnResourceProps", jsii_struct_bases=[], name_mapping={'type': 'type', 'properties': 'prop... | 96 | 96 | 320 | 43 | 53 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnResourceProps | CfnResourceProps | 1,377 | 1,410 | 1,377 | 1,378 | 1095021c62464aeed5103971444336db7a975ece | bigcode/the-stack | train |
cffc53b2df00369221ad7591 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.ITemplateOptions")
class ITemplateOptions(jsii.compat.Protocol):
"""CloudFormation template options for a stack."""
@staticmethod
def __jsii_proxy_class__():
return _ITemplateOptionsProxy
@property
@jsii.member(jsii_name="description")
def descri... | @jsii.interface(jsii_type="@aws-cdk/core.ITemplateOptions")
class ITemplateOptions(jsii.compat.Protocol):
| """CloudFormation template options for a stack."""
@staticmethod
def __jsii_proxy_class__():
return _ITemplateOptionsProxy
@property
@jsii.member(jsii_name="description")
def description(self) -> typing.Optional[str]:
"""Gets or sets the description of this stack. If provided, i... | @property
@jsii.member(jsii_name="tags")
def tags(self) -> "TagManager":
"""TagManager to set, remove and format tags."""
...
class _ITaggableProxy():
"""Interface to implement tags."""
__jsii_type__ = "@aws-cdk/core.ITaggable"
@property
@jsii.member(jsii_name="tags")
d... | 135 | 135 | 453 | 24 | 111 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ITemplateOptions | ITemplateOptions | 4,472 | 4,534 | 4,472 | 4,473 | 00c8631d7cb58bb2082a1f440ed86f5ed37baa1a | bigcode/the-stack | train |
4d88fd34cf7241221ada5ef9 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnTag", jsii_struct_bases=[], name_mapping={'key': 'key', 'value': 'value'})
class CfnTag():
def __init__(self, *, key: str, value: str):
"""
:param key:
:param value:
link:
:link:: http://docs.aws.amazon.com/AWSCloudFormation/late... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnTag", jsii_struct_bases=[], name_mapping={'key': 'key', 'value': 'value'})
class CfnTag():
| def __init__(self, *, key: str, value: str):
"""
:param key:
:param value:
link:
:link:: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
"""
self._values = {
'key': key,
'value': value,... | , rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'CfnRuleProps(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.CfnTag", jsii_struct_bases=[], name_mapping={'key': 'key', 'value': 'value'})
class CfnTag():
| 96 | 96 | 323 | 41 | 55 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnTag | CfnTag | 1,536 | 1,574 | 1,536 | 1,537 | 1302a25aac40bed4527fe377966249b4a74f56f0 | bigcode/the-stack | train |
ba3ae687fc66a76116ba40cc | train | class | class _IPostProcessorProxy():
"""A Token that can post-process the complete resolved value, after resolve() has recursed over it."""
__jsii_type__ = "@aws-cdk/core.IPostProcessor"
@jsii.member(jsii_name="postProcess")
def post_process(self, input: typing.Any, context: "IResolveContext") -> typing.Any:
... | class _IPostProcessorProxy():
| """A Token that can post-process the complete resolved value, after resolve() has recursed over it."""
__jsii_type__ = "@aws-cdk/core.IPostProcessor"
@jsii.member(jsii_name="postProcess")
def post_process(self, input: typing.Any, context: "IResolveContext") -> typing.Any:
"""Process the complete... | postProcess")
def post_process(self, input: typing.Any, context: "IResolveContext") -> typing.Any:
"""Process the completely resolved value, after full recursion/resolution has happened.
:param input: -
:param context: -
"""
...
class _IPostProcessorProxy():
| 64 | 64 | 123 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IPostProcessorProxy | _IPostProcessorProxy | 4,098 | 4,108 | 4,098 | 4,098 | 22ab421563ea2aab690d82dc070c469468a689c7 | bigcode/the-stack | train |
9015a8ac4827c529c51203e8 | train | class | class _IDependableProxy():
"""Trait marker for classes that can be depended upon.
The presence of this interface indicates that an object has
an ``IDependableTrait`` implementation.
This interface can be used to take an (ordering) dependency on a set of
constructs. An ordering dependency implies t... | class _IDependableProxy():
| """Trait marker for classes that can be depended upon.
The presence of this interface indicates that an object has
an ``IDependableTrait`` implementation.
This interface can be used to take an (ordering) dependency on a set of
constructs. An ordering dependency implies that the resources represent... | set of
constructs. An ordering dependency implies that the resources represented by
those constructs are deployed before the resources depending ON them are
deployed.
"""
@staticmethod
def __jsii_proxy_class__():
return _IDependableProxy
pass
class _IDependableProxy():
| 64 | 64 | 108 | 7 | 56 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IDependableProxy | _IDependableProxy | 3,276 | 3,288 | 3,276 | 3,276 | ca7e30d77b78474c013d230ec47f7742bd2aeb03 | bigcode/the-stack | train |
cef70c29c9542f8c3c189591 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.ISynthesisSession")
class ISynthesisSession(jsii.compat.Protocol):
"""Represents a single session of synthesis.
Passed into ``Construct.synthesize()`` methods.
"""
@staticmethod
def __jsii_proxy_class__():
return _ISynthesisSessionProxy
@propert... | @jsii.interface(jsii_type="@aws-cdk/core.ISynthesisSession")
class ISynthesisSession(jsii.compat.Protocol):
| """Represents a single session of synthesis.
Passed into ``Construct.synthesize()`` methods.
"""
@staticmethod
def __jsii_proxy_class__():
return _ISynthesisSessionProxy
@property
@jsii.member(jsii_name="assembly")
def assembly(self) -> aws_cdk.cx_api.CloudAssemblyBuilder:
... | context: "IResolveContext") -> typing.Optional[str]:
"""Produce the string value.
:param context: -
"""
return jsii.invoke(self, "produce", [context])
@jsii.interface(jsii_type="@aws-cdk/core.ISynthesisSession")
class ISynthesisSession(jsii.compat.Protocol):
| 64 | 64 | 129 | 24 | 40 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ISynthesisSession | ISynthesisSession | 4,410 | 4,428 | 4,410 | 4,411 | bae53f47bac5bf1f41c874f771b9c2bd13e79fb3 | bigcode/the-stack | train |
fd40eba71cf0ce6e467d4573 | train | class | class Duration(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Duration"):
"""Represents a length of time.
The amount can be specified either as a literal value (e.g: ``10``) which
cannot be negative, or as an unresolved number token.
Whent he amount is passed as an token, unit conversion is not pos... | class Duration(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Duration"):
| """Represents a length of time.
The amount can be specified either as a literal value (e.g: ``10``) which
cannot be negative, or as an unresolved number token.
Whent he amount is passed as an token, unit conversion is not possible.
"""
@jsii.member(jsii_name="days")
@classmethod
def da... | _build_args')
@property
def docker_build_target(self) -> typing.Optional[str]:
"""Docker target to build to.
default
:default: - no target
"""
return self._values.get('docker_build_target')
@property
def repository_name(self) -> typing.Optional[str]:
""... | 256 | 256 | 1,399 | 22 | 234 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Duration | Duration | 2,203 | 2,359 | 2,203 | 2,203 | 38fa8e0e62bc378db0feec40d4a2e009a3467c5a | bigcode/the-stack | train |
2674bdcb92ccf40b20226042 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IResource")
class IResource(IConstruct, jsii.compat.Protocol):
"""Interface for the Resource construct."""
@staticmethod
def __jsii_proxy_class__():
return _IResourceProxy
@property
@jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
... | @jsii.interface(jsii_type="@aws-cdk/core.IResource")
class IResource(IConstruct, jsii.compat.Protocol):
| """Interface for the Resource construct."""
@staticmethod
def __jsii_proxy_class__():
return _IResourceProxy
@property
@jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
"""The stack in which this resource is defined."""
...
| (self, x: typing.Any) -> typing.Any:
"""Resolve an inner object.
:param x: -
"""
return jsii.invoke(self, "resolve", [x])
@jsii.interface(jsii_type="@aws-cdk/core.IResource")
class IResource(IConstruct, jsii.compat.Protocol):
| 64 | 64 | 88 | 25 | 39 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IResource | IResource | 4,358 | 4,369 | 4,358 | 4,359 | 6a31bfc8f9ee4066aec280c6cda8cb95454639c5 | bigcode/the-stack | train |
f978fcddb5dd44615df1b841 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnOutputProps", jsii_struct_bases=[], name_mapping={'value': 'value', 'condition': 'condition', 'description': 'description', 'export_name': 'exportName'})
class CfnOutputProps():
def __init__(self, *, value: str, condition: typing.Optional["CfnCondition"]=None, description... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnOutputProps", jsii_struct_bases=[], name_mapping={'value': 'value', 'condition': 'condition', 'description': 'description', 'export_name': 'exportName'})
class CfnOutputProps():
| def __init__(self, *, value: str, condition: typing.Optional["CfnCondition"]=None, description: typing.Optional[str]=None, export_name: typing.Optional[str]=None):
"""
:param value: The value of the property returned by the aws cloudformation describe-stacks command. The value of an output can inclu... | you want to set values based on a region, you can create a mapping
that uses the region name as a key and contains the values you want to specify for
each specific region.
default
:default: - No mapping.
"""
return self._values.get('mapping')
def __eq__(self, rhs) ... | 210 | 210 | 701 | 57 | 153 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnOutputProps | CfnOutputProps | 1,140 | 1,200 | 1,140 | 1,141 | edaba401ae0da4c55803b68852f629b265ffac39 | bigcode/the-stack | train |
e3a7ff6c986d50944590895d | train | class | class _IFragmentConcatenatorProxy():
"""Function used to concatenate symbols in the target document language.
Interface so it could potentially be exposed over jsii.
stability
:stability: experimental
"""
__jsii_type__ = "@aws-cdk/core.IFragmentConcatenator"
@jsii.member(jsii_name="join")
... | class _IFragmentConcatenatorProxy():
| """Function used to concatenate symbols in the target document language.
Interface so it could potentially be exposed over jsii.
stability
:stability: experimental
"""
__jsii_type__ = "@aws-cdk/core.IFragmentConcatenator"
@jsii.member(jsii_name="join")
def join(self, left: typing.Any, ... | (self, left: typing.Any, right: typing.Any) -> typing.Any:
"""Join the fragment on the left and on the right.
:param left: -
:param right: -
stability
:stability: experimental
"""
...
class _IFragmentConcatenatorProxy():
| 64 | 64 | 144 | 9 | 55 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IFragmentConcatenatorProxy | _IFragmentConcatenatorProxy | 3,975 | 3,994 | 3,975 | 3,975 | c5554e6cda83533ce28baacc08dda8583a2edd2e | bigcode/the-stack | train |
fc67d12a3de601813a43faa7 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.ITaggable")
class ITaggable(jsii.compat.Protocol):
"""Interface to implement tags."""
@staticmethod
def __jsii_proxy_class__():
return _ITaggableProxy
@property
@jsii.member(jsii_name="tags")
def tags(self) -> "TagManager":
"""TagManager ... | @jsii.interface(jsii_type="@aws-cdk/core.ITaggable")
class ITaggable(jsii.compat.Protocol):
| """Interface to implement tags."""
@staticmethod
def __jsii_proxy_class__():
return _ITaggableProxy
@property
@jsii.member(jsii_name="tags")
def tags(self) -> "TagManager":
"""TagManager to set, remove and format tags."""
...
| jsii.get(self, "assembly")
@assembly.setter
def assembly(self, value: aws_cdk.cx_api.CloudAssemblyBuilder):
return jsii.set(self, "assembly", value)
@jsii.interface(jsii_type="@aws-cdk/core.ITaggable")
class ITaggable(jsii.compat.Protocol):
| 64 | 64 | 87 | 23 | 41 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ITaggable | ITaggable | 4,448 | 4,459 | 4,448 | 4,449 | cf985d87fd123b885d658047df2fb2590ef08543 | bigcode/the-stack | train |
f56080baf2d31d110d42e2d6 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.Dependency", jsii_struct_bases=[], name_mapping={'source': 'source', 'target': 'target'})
class Dependency():
def __init__(self, *, source: "IConstruct", target: "IConstruct"):
"""A single dependency.
:param source: Source the dependency.
:param targ... | @jsii.data_type(jsii_type="@aws-cdk/core.Dependency", jsii_struct_bases=[], name_mapping={'source': 'source', 'target': 'target'})
class Dependency():
| def __init__(self, *, source: "IConstruct", target: "IConstruct"):
"""A single dependency.
:param source: Source the dependency.
:param target: Target of the dependency.
"""
self._values = {
'source': source,
'target': target,
}
@property... | All resources under all returned constructs are included in the ordering
dependency.
stability
:stability: experimental
"""
return jsii.get(self, "dependencyRoots")
@jsii.data_type(jsii_type="@aws-cdk/core.Dependency", jsii_struct_bases=[], name_mapping={'source': 'source', 'ta... | 75 | 75 | 251 | 37 | 38 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Dependency | Dependency | 2,053 | 2,083 | 2,053 | 2,054 | ff78cccec6240ee15865761fac4bedf3b06411f4 | bigcode/the-stack | train |
451718e8d71952a7b46b1744 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.ITokenMapper")
class ITokenMapper(jsii.compat.Protocol):
"""Interface to apply operation to tokens in a string.
Interface so it can be exported via jsii.
"""
@staticmethod
def __jsii_proxy_class__():
return _ITokenMapperProxy
@jsii.member(jsii_n... | @jsii.interface(jsii_type="@aws-cdk/core.ITokenMapper")
class ITokenMapper(jsii.compat.Protocol):
| """Interface to apply operation to tokens in a string.
Interface so it can be exported via jsii.
"""
@staticmethod
def __jsii_proxy_class__():
return _ITokenMapperProxy
@jsii.member(jsii_name="mapToken")
def map_token(self, t: "IResolvable") -> typing.Any:
"""Replace a sing... | (self, "transforms")
@transforms.setter
def transforms(self, value: typing.Optional[typing.List[str]]):
return jsii.set(self, "transforms", value)
@jsii.interface(jsii_type="@aws-cdk/core.ITokenMapper")
class ITokenMapper(jsii.compat.Protocol):
| 64 | 64 | 113 | 24 | 40 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ITokenMapper | ITokenMapper | 4,598 | 4,614 | 4,598 | 4,599 | 830c94b5cabd03ee12474605a1b6d5332197568c | bigcode/the-stack | train |
e78f70d40cf6a7ca9b67b517 | train | class | class CfnInclude(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnInclude"):
"""Includes a CloudFormation template into a stack.
All elements of the template will be merged into
the current stack, together with any elements created programmatically.
"""
def __init__(self, scope: "Co... | class CfnInclude(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnInclude"):
| """Includes a CloudFormation template into a stack.
All elements of the template will be merged into
the current stack, together with any elements created programmatically.
"""
def __init__(self, scope: "Construct", id: str, *, template: typing.Mapping[typing.Any, typing.Any]) -> None:
"""C... | """The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
"""
return jsii.get(self, "stack")
class _CfnElementProxy(CfnElement):
pass
class CfnInclude(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnInclude"... | 81 | 81 | 273 | 29 | 51 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnInclude | CfnInclude | 3,554 | 3,580 | 3,554 | 3,554 | 4cde5520563c1fede5f29d6ed5faec74c442996f | bigcode/the-stack | train |
735c861a0b7ec25082f6d71f | train | class | class _ICfnConditionExpressionProxy(jsii.proxy_for(IResolvable)):
"""Represents a CloudFormation element that can be used within a Condition.
You can use intrinsic functions, such as ``Fn.conditionIf``,
``Fn.conditionEquals``, and ``Fn.conditionNot``, to conditionally create
stack resources. These cond... | class _ICfnConditionExpressionProxy(jsii.proxy_for(IResolvable)):
| """Represents a CloudFormation element that can be used within a Condition.
You can use intrinsic functions, such as ``Fn.conditionIf``,
``Fn.conditionEquals``, and ``Fn.conditionNot``, to conditionally create
stack resources. These conditions are evaluated based on input parameters
that you declar... | can use ``toString`` when you wish to embed a condition expression
in a property value that accepts a ``string``. For example::
# Example automatically generated. See https://github.com/aws/jsii/issues/826
sqs.Queue(self, "MyQueue",
queue_name=Fn.condition_if("Condition", "Hello", "World"... | 119 | 119 | 399 | 14 | 104 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ICfnConditionExpressionProxy | _ICfnConditionExpressionProxy | 4,218 | 4,251 | 4,218 | 4,218 | 02d2c7dcfcb00be85f667a081695554c21f94988 | bigcode/the-stack | train |
9017c6c888053682481bc0e2 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IDependable")
class IDependable(jsii.compat.Protocol):
"""Trait marker for classes that can be depended upon.
The presence of this interface indicates that an object has
an ``IDependableTrait`` implementation.
This interface can be used to take an (ordering) de... | @jsii.interface(jsii_type="@aws-cdk/core.IDependable")
class IDependable(jsii.compat.Protocol):
| """Trait marker for classes that can be depended upon.
The presence of this interface indicates that an object has
an ``IDependableTrait`` implementation.
This interface can be used to take an (ordering) dependency on a set of
constructs. An ordering dependency implies that the resources represent... | ")
@update_replace_policy.setter
def update_replace_policy(self, value: typing.Optional["CfnDeletionPolicy"]):
return jsii.set(self, "updateReplacePolicy", value)
@jsii.interface(jsii_type="@aws-cdk/core.IDependable")
class IDependable(jsii.compat.Protocol):
| 64 | 64 | 130 | 24 | 40 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IDependable | IDependable | 3,258 | 3,274 | 3,258 | 3,259 | 222d811de5152bd4cf0e1b5a1fdf2ada796e1560 | bigcode/the-stack | train |
2721f4273704a3ff72575405 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnRuleAssertion", jsii_struct_bases=[], name_mapping={'assert_': 'assert', 'assert_description': 'assertDescription'})
class CfnRuleAssertion():
def __init__(self, *, assert_: "ICfnConditionExpression", assert_description: str):
"""A rule assertion.
:param ... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnRuleAssertion", jsii_struct_bases=[], name_mapping={'assert_': 'assert', 'assert_description': 'assertDescription'})
class CfnRuleAssertion():
| def __init__(self, *, assert_: "ICfnConditionExpression", assert_description: str):
"""A rule assertion.
:param assert_: The assertion.
:param assert_description: The assertion description.
"""
self._values = {
'assert_': assert_,
'assert_description'... | -> str:
return 'CfnResourceSignal(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.CfnRuleAssertion", jsii_struct_bases=[], name_mapping={'assert_': 'assert', 'assert_description': 'assertDescription'})
class CfnRuleAssertion():
| 80 | 80 | 268 | 46 | 34 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnRuleAssertion | CfnRuleAssertion | 1,446 | 1,476 | 1,446 | 1,447 | 04c6c7fb1f21f4013025b210b39321bd58ad3138 | bigcode/the-stack | train |
2288a2d0812abfbfb59fa497 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IInspectable")
class IInspectable(jsii.compat.Protocol):
"""Interface for examining a construct and exposing metadata."""
@staticmethod
def __jsii_proxy_class__():
return _IInspectableProxy
@jsii.member(jsii_name="inspect")
def inspect(self, inspecto... | @jsii.interface(jsii_type="@aws-cdk/core.IInspectable")
class IInspectable(jsii.compat.Protocol):
| """Interface for examining a construct and exposing metadata."""
@staticmethod
def __jsii_proxy_class__():
return _IInspectableProxy
@jsii.member(jsii_name="inspect")
def inspect(self, inspector: "TreeInspector") -> None:
"""Examines construct.
:param inspector: - tree insp... | the right.
:param left: -
:param right: -
stability
:stability: experimental
"""
return jsii.invoke(self, "join", [left, right])
@jsii.interface(jsii_type="@aws-cdk/core.IInspectable")
class IInspectable(jsii.compat.Protocol):
| 64 | 64 | 100 | 22 | 42 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IInspectable | IInspectable | 3,997 | 4,010 | 3,997 | 3,998 | 078c9b06181feca9947f93c2785cc6e04aadbe32 | bigcode/the-stack | train |
9f97ec1ab69905f6b1dbe6fc | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.Environment", jsii_struct_bases=[], name_mapping={'account': 'account', 'region': 'region'})
class Environment():
def __init__(self, *, account: typing.Optional[str]=None, region: typing.Optional[str]=None):
"""The deployment environment for a stack.
:param ... | @jsii.data_type(jsii_type="@aws-cdk/core.Environment", jsii_struct_bases=[], name_mapping={'account': 'account', 'region': 'region'})
class Environment():
| def __init__(self, *, account: typing.Optional[str]=None, region: typing.Optional[str]=None):
"""The deployment environment for a stack.
:param account: The AWS account ID for this environment. This can be either a concrete value such as ``585191031104`` or ``Aws.accountId`` which indicates that ac... | .
:param display_hint: A hint for the Token's purpose when stringifying it.
"""
self._values = {
}
if display_hint is not None: self._values["display_hint"] = display_hint
@property
def display_hint(self) -> typing.Optional[str]:
"""A hint for the Token's purpos... | 213 | 213 | 712 | 37 | 176 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Environment | Environment | 2,388 | 2,440 | 2,388 | 2,389 | 99766719c7d2433adb735203c5f05c0d82d8cfdf | bigcode/the-stack | train |
8307ef059ffbe8cd98ab1353 | train | class | class _ITokenMapperProxy():
"""Interface to apply operation to tokens in a string.
Interface so it can be exported via jsii.
"""
__jsii_type__ = "@aws-cdk/core.ITokenMapper"
@jsii.member(jsii_name="mapToken")
def map_token(self, t: "IResolvable") -> typing.Any:
"""Replace a single token... | class _ITokenMapperProxy():
| """Interface to apply operation to tokens in a string.
Interface so it can be exported via jsii.
"""
__jsii_type__ = "@aws-cdk/core.ITokenMapper"
@jsii.member(jsii_name="mapToken")
def map_token(self, t: "IResolvable") -> typing.Any:
"""Replace a single token.
:param t: -
... | jsii_proxy_class__():
return _ITokenMapperProxy
@jsii.member(jsii_name="mapToken")
def map_token(self, t: "IResolvable") -> typing.Any:
"""Replace a single token.
:param t: -
"""
...
class _ITokenMapperProxy():
| 64 | 64 | 103 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ITokenMapperProxy | _ITokenMapperProxy | 4,617 | 4,629 | 4,617 | 4,617 | c8e2bb4f444abb36ff012dbc024076db886a86e4 | bigcode/the-stack | train |
c3d3a840608308682549785b | train | class | class SecretValue(Intrinsic, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.SecretValue"):
"""Work with secret values in the CDK.
Secret values in the CDK (such as those retrieved from SecretsManager) are
represented as regular strings, just like other values that are only
available at deployment ti... | class SecretValue(Intrinsic, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.SecretValue"):
| """Work with secret values in the CDK.
Secret values in the CDK (such as those retrieved from SecretsManager) are
represented as regular strings, just like other values that are only
available at deployment time.
To help you avoid accidental mistakes which would lead to you putting your
secret... | def account_id(self) -> str:
return jsii.get(self, "accountId")
@property
@jsii.member(jsii_name="notificationArns")
def notification_arns(self) -> typing.List[str]:
return jsii.get(self, "notificationArns")
@property
@jsii.member(jsii_name="partition")
def partition(self) ... | 256 | 256 | 929 | 27 | 229 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | SecretValue | SecretValue | 5,396 | 5,479 | 5,396 | 5,396 | b5b0346a9fea57896b238db5658cf8f41042ac58 | bigcode/the-stack | train |
3ec7bfcf4d97a6784c8dc9a8 | train | class | class _INumberProducerProxy():
"""Interface for lazy number producers."""
__jsii_type__ = "@aws-cdk/core.INumberProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[jsii.Number]:
"""Produce the number value.
:param context: -
... | class _INumberProducerProxy():
| """Interface for lazy number producers."""
__jsii_type__ = "@aws-cdk/core.INumberProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[jsii.Number]:
"""Produce the number value.
:param context: -
"""
return jsii.invo... | _class__():
return _INumberProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[jsii.Number]:
"""Produce the number value.
:param context: -
"""
...
class _INumberProducerProxy():
| 64 | 64 | 87 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _INumberProducerProxy | _INumberProducerProxy | 4,069 | 4,078 | 4,069 | 4,069 | 6fe182322bc4c4b12d8d168cd2c9720abdb9b44c | bigcode/the-stack | train |
548a2abce2cb63f8df028e9f | train | class | class CfnRule(CfnRefElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnRule"):
"""The Rules that define template constraints in an AWS Service Catalog portfolio describe when end users can use the template and which values they can specify for parameters that are declared in the AWS CloudFormation templa... | class CfnRule(CfnRefElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnRule"):
| """The Rules that define template constraints in an AWS Service Catalog portfolio describe when end users can use the template and which values they can specify for parameters that are declared in the AWS CloudFormation template used to create the product they are attempting to use.
Rules
are useful for pr... |
@jsii.member(jsii_name="cfnResourceType")
def cfn_resource_type(self) -> str:
"""AWS resource type."""
return jsii.get(self, "cfnResourceType")
@property
@jsii.member(jsii_name="updatedProperites")
def _updated_properites(self) -> typing.Mapping[str,typing.Any]:
"""Return p... | 152 | 152 | 508 | 30 | 122 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnRule | CfnRule | 3,910 | 3,946 | 3,910 | 3,910 | 1f385bf9081666196101a9b9a08dfe34dc0c535e | bigcode/the-stack | train |
d66d77a59d86a13d05670a77 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnParameterProps", jsii_struct_bases=[], name_mapping={'allowed_pattern': 'allowedPattern', 'allowed_values': 'allowedValues', 'constraint_description': 'constraintDescription', 'default': 'default', 'description': 'description', 'max_length': 'maxLength', 'max_value': 'maxValu... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnParameterProps", jsii_struct_bases=[], name_mapping={'allowed_pattern': 'allowedPattern', 'allowed_values': 'allowedValues', 'constraint_description': 'constraintDescription', 'default': 'default', 'description': 'description', 'max_length': 'maxLength', 'max_value': 'maxValu... | def __init__(self, *, allowed_pattern: typing.Optional[str]=None, allowed_values: typing.Optional[typing.List[str]]=None, constraint_description: typing.Optional[str]=None, default: typing.Any=None, description: typing.Optional[str]=None, max_length: typing.Optional[jsii.Number]=None, max_value: typing.Optional[jsi... | the value of this output across stacks.
To import the value from another stack, use ``Fn.importValue(exportName)``.
default
:default: - the output is not exported
"""
return self._values.get('export_name')
def __eq__(self, rhs) -> bool:
return isinstance(rhs, self... | 256 | 256 | 1,653 | 113 | 143 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnParameterProps | CfnParameterProps | 1,203 | 1,342 | 1,203 | 1,204 | 30602e7552dc025dd85d3bca6ec1221ad0cbc880 | bigcode/the-stack | train |
721ceb20efb31f2294418727 | train | class | class _ITaggableProxy():
"""Interface to implement tags."""
__jsii_type__ = "@aws-cdk/core.ITaggable"
@property
@jsii.member(jsii_name="tags")
def tags(self) -> "TagManager":
"""TagManager to set, remove and format tags."""
return jsii.get(self, "tags")
| class _ITaggableProxy():
| """Interface to implement tags."""
__jsii_type__ = "@aws-cdk/core.ITaggable"
@property
@jsii.member(jsii_name="tags")
def tags(self) -> "TagManager":
"""TagManager to set, remove and format tags."""
return jsii.get(self, "tags")
| ."""
@staticmethod
def __jsii_proxy_class__():
return _ITaggableProxy
@property
@jsii.member(jsii_name="tags")
def tags(self) -> "TagManager":
"""TagManager to set, remove and format tags."""
...
class _ITaggableProxy():
| 64 | 64 | 73 | 6 | 58 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ITaggableProxy | _ITaggableProxy | 4,462 | 4,469 | 4,462 | 4,462 | 24d8284a8ac3d01b3cb036fc8cd89537fc90c7ec | bigcode/the-stack | train |
33df4ba36a33573a32c6964e | train | class | class _IAnyProducerProxy():
"""Interface for lazy untyped value producers."""
__jsii_type__ = "@aws-cdk/core.IAnyProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Any:
"""Produce the value.
:param context: -
"""
return js... | class _IAnyProducerProxy():
| """Interface for lazy untyped value producers."""
__jsii_type__ = "@aws-cdk/core.IAnyProducer"
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Any:
"""Produce the value.
:param context: -
"""
return jsii.invoke(self, "produce", [... | def __jsii_proxy_class__():
return _IAnyProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Any:
"""Produce the value.
:param context: -
"""
...
class _IAnyProducerProxy():
| 64 | 64 | 85 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IAnyProducerProxy | _IAnyProducerProxy | 3,052 | 3,061 | 3,052 | 3,052 | e4b312db206160da0316fbc6c431062598aac737 | bigcode/the-stack | train |
b57d5a3dea135c596c3d99f6 | train | class | class Reference(Intrinsic, metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.Reference"):
"""An intrinsic Token that represents a reference to a construct.
References are recorded.
"""
@staticmethod
def __jsii_proxy_class__():
return _ReferenceProxy
def __init__(self, value: t... | class Reference(Intrinsic, metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.Reference"):
| """An intrinsic Token that represents a reference to a construct.
References are recorded.
"""
@staticmethod
def __jsii_proxy_class__():
return _ReferenceProxy
def __init__(self, value: typing.Any, target: "IConstruct", display_name: typing.Optional[str]=None) -> None:
"""
... | ,
you may also specify an explicit physical name for it. This option is
mostly designed for reusable constructs which may or may not be referenced
acrossed environments.
"""
return jsii.sget(cls, "GENERATE_IF_NEEDED")
class Reference(Intrinsic, metaclass=jsii.JSIIAbstractClass, j... | 79 | 79 | 265 | 26 | 53 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Reference | Reference | 5,036 | 5,070 | 5,036 | 5,036 | 750b330a86e43ed1ccea4793e2f9b865f7498838 | bigcode/the-stack | train |
a842a1c292e4482e790c111a | train | class | class _IInspectableProxy():
"""Interface for examining a construct and exposing metadata."""
__jsii_type__ = "@aws-cdk/core.IInspectable"
@jsii.member(jsii_name="inspect")
def inspect(self, inspector: "TreeInspector") -> None:
"""Examines construct.
:param inspector: - tree inspector to... | class _IInspectableProxy():
| """Interface for examining a construct and exposing metadata."""
__jsii_type__ = "@aws-cdk/core.IInspectable"
@jsii.member(jsii_name="inspect")
def inspect(self, inspector: "TreeInspector") -> None:
"""Examines construct.
:param inspector: - tree inspector to collect and process attribu... | _class__():
return _IInspectableProxy
@jsii.member(jsii_name="inspect")
def inspect(self, inspector: "TreeInspector") -> None:
"""Examines construct.
:param inspector: - tree inspector to collect and process attributes.
"""
...
class _IInspectableProxy():
| 64 | 64 | 91 | 6 | 58 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IInspectableProxy | _IInspectableProxy | 4,013 | 4,022 | 4,013 | 4,013 | f53856161d815f8400053867313ef8dbc85a9f0e | bigcode/the-stack | train |
acd2413bad8cbc162dede4b9 | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IFragmentConcatenator")
class IFragmentConcatenator(jsii.compat.Protocol):
"""Function used to concatenate symbols in the target document language.
Interface so it could potentially be exposed over jsii.
stability
:stability: experimental
"""
@staticmet... | @jsii.interface(jsii_type="@aws-cdk/core.IFragmentConcatenator")
class IFragmentConcatenator(jsii.compat.Protocol):
| """Function used to concatenate symbols in the target document language.
Interface so it could potentially be exposed over jsii.
stability
:stability: experimental
"""
@staticmethod
def __jsii_proxy_class__():
return _IFragmentConcatenatorProxy
@jsii.member(jsii_name="join")
... | condition: The expression to evaluation.
:param description: The description of the assertion.
"""
return jsii.invoke(self, "addAssertion", [condition, description])
@jsii.interface(jsii_type="@aws-cdk/core.IFragmentConcatenator")
class IFragmentConcatenator(jsii.compat.Protocol):
| 64 | 64 | 155 | 28 | 36 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IFragmentConcatenator | IFragmentConcatenator | 3,949 | 3,972 | 3,949 | 3,950 | 10f9306ec0a8e71b1721373a01c020e048ea57e4 | bigcode/the-stack | train |
2e492516d7ea5ffcb19c8cda | train | class | @jsii.enum(jsii_type="@aws-cdk/core.CfnDeletionPolicy")
class CfnDeletionPolicy(enum.Enum):
"""With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no De... | @jsii.enum(jsii_type="@aws-cdk/core.CfnDeletionPolicy")
class CfnDeletionPolicy(enum.Enum):
| """With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default. Note that this c... | def __eq__(self, rhs) -> bool:
return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'CfnCreationPolicy(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@j... | 115 | 115 | 386 | 24 | 91 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnDeletionPolicy | CfnDeletionPolicy | 1,019 | 1,037 | 1,019 | 1,020 | c589c90cb0b611a99211c5e8e61ac76ee40a6fd5 | bigcode/the-stack | train |
52d804826f0e8584b67d0c00 | train | class | class PhysicalName(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.PhysicalName"):
"""Includes special markers for automatic generation of physical names."""
@classproperty
@jsii.member(jsii_name="GENERATE_IF_NEEDED")
def GENERATE_IF_NEEDED(cls) -> str:
"""Use this to automatically generate a ... | class PhysicalName(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.PhysicalName"):
| """Includes special markers for automatic generation of physical names."""
@classproperty
@jsii.member(jsii_name="GENERATE_IF_NEEDED")
def GENERATE_IF_NEEDED(cls) -> str:
"""Use this to automatically generate a physical name for an AWS resource only if the resource is referenced across environme... | __repr__(self) -> str:
return 'LazyStringValueOptions(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
class PhysicalName(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.PhysicalName"):
| 64 | 64 | 174 | 25 | 39 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | PhysicalName | PhysicalName | 5,021 | 5,033 | 5,021 | 5,021 | 9e8c5329f597816397af86a5f23e6428ba7743d4 | bigcode/the-stack | train |
51cd28a636c989b695c2bb15 | train | class | class _ResourceProxy(Resource):
pass
| class _ResourceProxy(Resource):
| pass
|
"""
return jsii.get(self, "physicalName")
@property
@jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
"""The stack in which this resource is defined."""
return jsii.get(self, "stack")
class _ResourceProxy(Resource):
| 64 | 64 | 9 | 6 | 58 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ResourceProxy | _ResourceProxy | 5,309 | 5,310 | 5,309 | 5,309 | 8d3139404404038e960e5c917a64a9e79ca75763 | bigcode/the-stack | train |
35fa47052558a2433a7d64bf | train | class | class ValidationResults(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ValidationResults"):
"""A collection of validation results."""
def __init__(self, results: typing.Optional[typing.List["ValidationResult"]]=None) -> None:
"""
:param results: -
"""
jsii.create(ValidationRes... | class ValidationResults(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ValidationResults"):
| """A collection of validation results."""
def __init__(self, results: typing.Optional[typing.List["ValidationResult"]]=None) -> None:
"""
:param results: -
"""
jsii.create(ValidationResults, self, [results])
@jsii.member(jsii_name="collect")
def collect(self, result: "Va... | jsii.get(self, "errorMessage")
@property
@jsii.member(jsii_name="isSuccess")
def is_success(self) -> bool:
return jsii.get(self, "isSuccess")
@property
@jsii.member(jsii_name="results")
def results(self) -> "ValidationResults":
return jsii.get(self, "results")
class Validation... | 102 | 102 | 341 | 24 | 78 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ValidationResults | ValidationResults | 6,741 | 6,783 | 6,741 | 6,741 | b86642b8123b6c23d44ecba84fa6365913972db8 | bigcode/the-stack | train |
31ce80e05b4352c501b7a123 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnAutoScalingRollingUpdate", jsii_struct_bases=[], name_mapping={'max_batch_size': 'maxBatchSize', 'min_instances_in_service': 'minInstancesInService', 'min_successful_instances_percent': 'minSuccessfulInstancesPercent', 'pause_time': 'pauseTime', 'suspend_processes': 'suspendP... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnAutoScalingRollingUpdate", jsii_struct_bases=[], name_mapping={'max_batch_size': 'maxBatchSize', 'min_instances_in_service': 'minInstancesInService', 'min_successful_instances_percent': 'minSuccessfulInstancesPercent', 'pause_time': 'pauseTime', 'suspend_processes': 'suspendP... | def __init__(self, *, max_batch_size: typing.Optional[jsii.Number]=None, min_instances_in_service: typing.Optional[jsii.Number]=None, min_successful_instances_percent: typing.Optional[jsii.Number]=None, pause_time: typing.Optional[str]=None, suspend_processes: typing.Optional[typing.List[str]]=None, wait_on_resourc... | :param will_replace:
"""
self._values = {
}
if will_replace is not None: self._values["will_replace"] = will_replace
@property
def will_replace(self) -> typing.Optional[bool]:
return self._values.get('will_replace')
def __eq__(self, rhs) -> bool:
return is... | 256 | 256 | 1,920 | 102 | 154 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnAutoScalingRollingUpdate | CfnAutoScalingRollingUpdate | 757 | 854 | 757 | 758 | 4492886b9e709d4b7cd8cd10f02dd0fd8c233178 | bigcode/the-stack | train |
ad0656358c322ae0c8f65018 | train | class | @jsii.implements(IDependable)
class ConcreteDependable(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ConcreteDependable"):
"""A set of constructs to be used as a dependable.
This class can be used when a set of constructs which are disjoint in the
construct tree needs to be combined to be used as a sin... | @jsii.implements(IDependable)
class ConcreteDependable(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ConcreteDependable"):
| """A set of constructs to be used as a dependable.
This class can be used when a set of constructs which are disjoint in the
construct tree needs to be combined to be used as a single dependable.
stability
:stability: experimental
"""
def __init__(self) -> None:
"""
stabili... | resources depending ON them are
deployed.
"""
__jsii_type__ = "@aws-cdk/core.IDependable"
pass
@jsii.implements(IDependable)
class ConcreteDependable(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ConcreteDependable"):
| 64 | 64 | 194 | 35 | 28 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ConcreteDependable | ConcreteDependable | 3,290 | 3,316 | 3,290 | 3,291 | 1b68664e7387aa873d40d26c7c6074eae3d4b900 | bigcode/the-stack | train |
6511e0835b9ca8ffb7255a51 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.CfnCodeDeployLambdaAliasUpdate", jsii_struct_bases=[], name_mapping={'application_name': 'applicationName', 'deployment_group_name': 'deploymentGroupName', 'after_allow_traffic_hook': 'afterAllowTrafficHook', 'before_allow_traffic_hook': 'beforeAllowTrafficHook'})
class CfnCodeD... | @jsii.data_type(jsii_type="@aws-cdk/core.CfnCodeDeployLambdaAliasUpdate", jsii_struct_bases=[], name_mapping={'application_name': 'applicationName', 'deployment_group_name': 'deploymentGroupName', 'after_allow_traffic_hook': 'afterAllowTrafficHook', 'before_allow_traffic_hook': 'beforeAllowTrafficHook'})
class CfnCodeD... | def __init__(self, *, application_name: str, deployment_group_name: str, after_allow_traffic_hook: typing.Optional[str]=None, before_allow_traffic_hook: typing.Optional[str]=None):
"""To perform an AWS CodeDeploy deployment when the version changes on an AWS::Lambda::Alias resource, use the CodeDeployLambda... | modified_group_size_properties')
def __eq__(self, rhs) -> bool:
return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'CfnAutoScalingScheduledAction(%s)' % ', '.join(k + '=' ... | 179 | 179 | 598 | 81 | 98 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnCodeDeployLambdaAliasUpdate | CfnCodeDeployLambdaAliasUpdate | 891 | 938 | 891 | 892 | e0cf94a9990cd91e76f5aff55b9dab6dfd75ae67 | bigcode/the-stack | train |
118af3c610e46b23b9d985fe | train | class | class _ITokenResolverProxy():
"""How to resolve tokens."""
__jsii_type__ = "@aws-cdk/core.ITokenResolver"
@jsii.member(jsii_name="resolveList")
def resolve_list(self, l: typing.List[str], context: "IResolveContext") -> typing.Any:
"""Resolve a tokenized list.
:param l: -
:param ... | class _ITokenResolverProxy():
| """How to resolve tokens."""
__jsii_type__ = "@aws-cdk/core.ITokenResolver"
@jsii.member(jsii_name="resolveList")
def resolve_list(self, l: typing.List[str], context: "IResolveContext") -> typing.Any:
"""Resolve a tokenized list.
:param l: -
:param context: -
"""
... | """
...
@jsii.member(jsii_name="resolveToken")
def resolve_token(self, t: "IResolvable", context: "IResolveContext", post_processor: "IPostProcessor") -> typing.Any:
"""Resolve a single token.
:param t: -
:param context: -
:param post_processor: -
"""
... | 83 | 83 | 278 | 7 | 76 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ITokenResolverProxy | _ITokenResolverProxy | 4,670 | 4,701 | 4,670 | 4,670 | b6759da7731e955e22057625135fe11f6847ab74 | bigcode/the-stack | train |
c2408370e87da03aa5af79d8 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.GetContextValueResult", jsii_struct_bases=[], name_mapping={'value': 'value'})
class GetContextValueResult():
def __init__(self, *, value: typing.Any=None):
"""
:param value:
stability
:stability: experimental
"""
self._value... | @jsii.data_type(jsii_type="@aws-cdk/core.GetContextValueResult", jsii_struct_bases=[], name_mapping={'value': 'value'})
class GetContextValueResult():
| def __init__(self, *, value: typing.Any=None):
"""
:param value:
stability
:stability: experimental
"""
self._values = {
}
if value is not None: self._values["value"] = value
@property
def value(self) -> typing.Any:
"""
stabi... | 'GetContextValueOptions(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.GetContextValueResult", jsii_struct_bases=[], name_mapping={'value': 'value'})
class GetContextValueResult():
| 66 | 66 | 222 | 37 | 29 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | GetContextValueResult | GetContextValueResult | 3,005 | 3,033 | 3,005 | 3,006 | 845ce2c8c1e78f30f5ae14a430cc9f8dc4eed6c2 | bigcode/the-stack | train |
627880f3641cbf64d4a0de1a | train | class | class CfnRefElement(CfnElement, metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.CfnRefElement"):
"""Base class for referenceable CloudFormation constructs which are not Resources.
These constructs are things like Conditions and Parameters, can be
referenced by taking the ``.ref`` attribute.
... | class CfnRefElement(CfnElement, metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.CfnRefElement"):
| """Base class for referenceable CloudFormation constructs which are not Resources.
These constructs are things like Conditions and Parameters, can be
referenced by taking the ``.ref`` attribute.
Resource constructs do not inherit from CfnRefElement because they have their
own, more specific types ... | number."""
return jsii.get(self, "valueAsNumber")
@property
@jsii.member(jsii_name="valueAsString")
def value_as_string(self) -> str:
"""The parameter value, if it represents a string."""
return jsii.get(self, "valueAsString")
class CfnRefElement(CfnElement, metaclass=jsii.JSIIAbst... | 96 | 96 | 322 | 32 | 64 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnRefElement | CfnRefElement | 3,667 | 3,697 | 3,667 | 3,667 | 70ac436d3835905f4bd4aaccda90294d07a0d07d | bigcode/the-stack | train |
15719d40ea4877641ffa2a67 | train | class | class CfnDynamicReference(Intrinsic, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnDynamicReference"):
"""References a dynamically retrieved value.
This is a Construct so that subclasses will (eventually) be able to attach
metadata to themselves without having to change call signatures.
see
... | class CfnDynamicReference(Intrinsic, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnDynamicReference"):
| """References a dynamically retrieved value.
This is a Construct so that subclasses will (eventually) be able to attach
metadata to themselves without having to change call signatures.
see
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html
"""
def ... | represents the location in which this token was created.
stability
:stability: experimental
"""
return jsii.get(self, "creationStack")
class CfnDynamicReference(Intrinsic, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnDynamicReference"):
| 64 | 64 | 151 | 31 | 33 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnDynamicReference | CfnDynamicReference | 4,839 | 4,853 | 4,839 | 4,839 | 6aa213287818c4daf55cae23b1564309f172335a | bigcode/the-stack | train |
ce666c49136bfcdf03475d73 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.LazyStringValueOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint'})
class LazyStringValueOptions():
def __init__(self, *, display_hint: typing.Optional[str]=None):
"""Options for creating a lazy string token.
:param display_hint: Use... | @jsii.data_type(jsii_type="@aws-cdk/core.LazyStringValueOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint'})
class LazyStringValueOptions():
| def __init__(self, *, display_hint: typing.Optional[str]=None):
"""Options for creating a lazy string token.
:param display_hint: Use the given name as a display hint. Default: - No hint
"""
self._values = {
}
if display_hint is not None: self._values["display_hint"]... | __(self) -> str:
return 'LazyListValueOptions(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.LazyStringValueOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint'})
class LazyStringValueOptions():
| 77 | 77 | 257 | 40 | 37 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | LazyStringValueOptions | LazyStringValueOptions | 4,991 | 5,018 | 4,991 | 4,992 | 7e57385ab19aae685d6a134d91875604e65849ef | bigcode/the-stack | train |
e9d495718fec8287dfaeefc7 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.GetContextKeyOptions", jsii_struct_bases=[], name_mapping={'provider': 'provider', 'props': 'props'})
class GetContextKeyOptions():
def __init__(self, *, provider: str, props: typing.Optional[typing.Mapping[str,typing.Any]]=None):
"""
:param provider: The con... | @jsii.data_type(jsii_type="@aws-cdk/core.GetContextKeyOptions", jsii_struct_bases=[], name_mapping={'provider': 'provider', 'props': 'props'})
class GetContextKeyOptions():
| def __init__(self, *, provider: str, props: typing.Optional[typing.Mapping[str,typing.Any]]=None):
"""
:param provider: The context provider to query.
:param props: Provider-specific properties.
stability
:stability: experimental
"""
self._values = {
... | retrieve a value. For more information about attributes, see Supported Attributes.
return
:return: a token represented as a string array
"""
return jsii.sinvoke(cls, "valueOfAll", [parameter_type, attribute])
@jsii.data_type(jsii_type="@aws-cdk/core.GetContextKeyOptions", jsii_struct_b... | 93 | 93 | 312 | 43 | 50 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | GetContextKeyOptions | GetContextKeyOptions | 2,864 | 2,904 | 2,864 | 2,865 | ec2bbb5a3b544c03ae138bddc04986722bb20f80 | bigcode/the-stack | train |
60429ea64287dcb0d53c8c57 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.EncodingOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint'})
class EncodingOptions():
def __init__(self, *, display_hint: typing.Optional[str]=None):
"""Properties to string encodings.
:param display_hint: A hint for the Token's purp... | @jsii.data_type(jsii_type="@aws-cdk/core.EncodingOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint'})
class EncodingOptions():
| def __init__(self, *, display_hint: typing.Optional[str]=None):
"""Properties to string encodings.
:param display_hint: A hint for the Token's purpose when stringifying it.
"""
self._values = {
}
if display_hint is not None: self._values["display_hint"] = display_hin... | `` object, when they should have called one of the
``to*`` methods instead.
"""
return jsii.invoke(self, "toString", [])
@jsii.data_type(jsii_type="@aws-cdk/core.EncodingOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint'})
class EncodingOptions():
| 69 | 70 | 235 | 35 | 34 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | EncodingOptions | EncodingOptions | 2,362 | 2,385 | 2,362 | 2,363 | e7e220b985226659bef30d76f962374964220001 | bigcode/the-stack | train |
26f91ce3c5fee5b3200e8659 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.RemovalPolicyOptions", jsii_struct_bases=[], name_mapping={'apply_to_update_replace_policy': 'applyToUpdateReplacePolicy', 'default': 'default'})
class RemovalPolicyOptions():
def __init__(self, *, apply_to_update_replace_policy: typing.Optional[bool]=None, default: typing.O... | @jsii.data_type(jsii_type="@aws-cdk/core.RemovalPolicyOptions", jsii_struct_bases=[], name_mapping={'apply_to_update_replace_policy': 'applyToUpdateReplacePolicy', 'default': 'default'})
class RemovalPolicyOptions():
| def __init__(self, *, apply_to_update_replace_policy: typing.Optional[bool]=None, default: typing.Optional["RemovalPolicy"]=None):
"""
:param apply_to_update_replace_policy: Apply the same deletion policy to the resource's "UpdateReplacePolicy". Default: true
:param default: The default poli... | DESTROY = "DESTROY"
"""This is the default removal policy.
It means that when the resource is
removed from the app, it will be physically destroyed.
"""
RETAIN = "RETAIN"
"""This uses the 'Retain' DeletionPolicy, which will cause the resource to be retained in the account, but orphaned from... | 130 | 130 | 436 | 50 | 80 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | RemovalPolicyOptions | RemovalPolicyOptions | 5,087 | 5,127 | 5,087 | 5,088 | 8a1a75b7352f04448d6690f94c7853ff498ce52d | bigcode/the-stack | train |
33e2c04f028f98b78e94af1b | train | class | class DependableTrait(metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.DependableTrait"):
"""Trait for IDependable.
Traits are interfaces that are privately implemented by objects. Instead of
showing up in the public interface of a class, they need to be queried
explicitly. This is used to im... | class DependableTrait(metaclass=jsii.JSIIAbstractClass, jsii_type="@aws-cdk/core.DependableTrait"):
| """Trait for IDependable.
Traits are interfaces that are privately implemented by objects. Instead of
showing up in the public interface of a class, they need to be queried
explicitly. This is used to implement certain framework features that are
not intended to be used by Construct consumers, and ... | -
:param dummy_value: The value to return if the context value was not found and a missing context is reported. This should be a dummy value that should preferably fail during deployment since it represents an invalid state.
:param provider: The context provider to query.
:param props: Provider... | 142 | 142 | 474 | 28 | 114 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | DependableTrait | DependableTrait | 1,967 | 2,035 | 1,967 | 1,967 | 4095a78b891aaa3e7d39fc19b4dfcf30f64e0bc9 | bigcode/the-stack | train |
23b221df1c547655f8a594b3 | train | class | class _ISynthesisSessionProxy():
"""Represents a single session of synthesis.
Passed into ``Construct.synthesize()`` methods.
"""
__jsii_type__ = "@aws-cdk/core.ISynthesisSession"
@property
@jsii.member(jsii_name="assembly")
def assembly(self) -> aws_cdk.cx_api.CloudAssemblyBuilder:
... | class _ISynthesisSessionProxy():
| """Represents a single session of synthesis.
Passed into ``Construct.synthesize()`` methods.
"""
__jsii_type__ = "@aws-cdk/core.ISynthesisSession"
@property
@jsii.member(jsii_name="assembly")
def assembly(self) -> aws_cdk.cx_api.CloudAssemblyBuilder:
"""The cloud assembly being synt... | @jsii.member(jsii_name="assembly")
def assembly(self) -> aws_cdk.cx_api.CloudAssemblyBuilder:
"""The cloud assembly being synthesized."""
...
@assembly.setter
def assembly(self, value: aws_cdk.cx_api.CloudAssemblyBuilder):
...
class _ISynthesisSessionProxy():
| 64 | 64 | 125 | 7 | 57 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ISynthesisSessionProxy | _ISynthesisSessionProxy | 4,431 | 4,445 | 4,431 | 4,431 | ebabce1ddcf2b5bfa3f223c1ecbc4dce57d41d98 | bigcode/the-stack | train |
c61be2b04560992035a27a41 | train | class | class _IResourceProxy(jsii.proxy_for(IConstruct)):
"""Interface for the Resource construct."""
__jsii_type__ = "@aws-cdk/core.IResource"
@property
@jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
"""The stack in which this resource is defined."""
return jsii.get(self, "sta... | class _IResourceProxy(jsii.proxy_for(IConstruct)):
| """Interface for the Resource construct."""
__jsii_type__ = "@aws-cdk/core.IResource"
@property
@jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
"""The stack in which this resource is defined."""
return jsii.get(self, "stack")
|
def __jsii_proxy_class__():
return _IResourceProxy
@property
@jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
"""The stack in which this resource is defined."""
...
class _IResourceProxy(jsii.proxy_for(IConstruct)):
| 64 | 64 | 78 | 12 | 52 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _IResourceProxy | _IResourceProxy | 4,372 | 4,379 | 4,372 | 4,372 | 572bab961ff4fdd98d4311e136c1507ef1048502 | bigcode/the-stack | train |
3e7a7cee545a343bf6e09270 | train | class | class CfnParameter(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnParameter"):
"""A CloudFormation parameter.
Use the optional Parameters section to customize your templates.
Parameters enable you to input custom values to your template each time you create or
update a stack.
"""
... | class CfnParameter(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnParameter"):
| """A CloudFormation parameter.
Use the optional Parameters section to customize your templates.
Parameters enable you to input custom values to your template each time you create or
update a stack.
"""
def __init__(self, scope: "Construct", id: str, *, allowed_pattern: typing.Optional[str]=None... | :param id: -
:param props: CfnOutput properties.
:param value: The value of the property returned by the aws cloudformation describe-stacks command. The value of an output can include literals, parameter references, pseudo-parameters, a mapping value, or intrinsic functions.
:param condition: A... | 256 | 256 | 1,051 | 29 | 227 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnParameter | CfnParameter | 3,600 | 3,664 | 3,600 | 3,600 | 20d6e41881b4795185a545fb0122147bebbe4751 | bigcode/the-stack | train |
1c63e2d7e1f70395923907c8 | train | class | @jsii.implements(IResolvable)
class Intrinsic(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Intrinsic"):
"""Token subclass that represents values intrinsic to the target document language.
WARNING: this class should not be externally exposed, but is currently visible
because of a limitation of jsii (ht... | @jsii.implements(IResolvable)
class Intrinsic(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Intrinsic"):
| """Token subclass that represents values intrinsic to the target document language.
WARNING: this class should not be externally exposed, but is currently visible
because of a limitation of jsii (https://github.com/aws/jsii/issues/524).
This class will disappear in a future release and should not be u... | resolveString", [fragments, context])
@jsii.member(jsii_name="resolveToken")
def resolve_token(self, t: "IResolvable", context: "IResolveContext", post_processor: "IPostProcessor") -> typing.Any:
"""Default Token resolution.
Resolve the Token, recurse into whatever it returns,
then fin... | 157 | 157 | 525 | 32 | 125 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Intrinsic | Intrinsic | 4,761 | 4,836 | 4,761 | 4,762 | 4f727a08f06d14bc94da3f99968a1416c3e449f3 | bigcode/the-stack | train |
a567918afd16ece9b4fe3ddf | train | class | class _ICfnResourceOptionsProxy():
__jsii_type__ = "@aws-cdk/core.ICfnResourceOptions"
@property
@jsii.member(jsii_name="condition")
def condition(self) -> typing.Optional["CfnCondition"]:
"""A condition to associate with this resource.
This means that only if the condition evaluates to... | class _ICfnResourceOptionsProxy():
| __jsii_type__ = "@aws-cdk/core.ICfnResourceOptions"
@property
@jsii.member(jsii_name="condition")
def condition(self) -> typing.Optional["CfnCondition"]:
"""A condition to associate with this resource.
This means that only if the condition evaluates to 'true' when the stack
is d... | CloudFormation template automatically.
"""
...
@metadata.setter
def metadata(self, value: typing.Optional[typing.Mapping[str,typing.Any]]):
...
@property
@jsii.member(jsii_name="updatePolicy")
def update_policy(self) -> typing.Optional["CfnUpdatePolicy"]:
"""Use th... | 256 | 256 | 856 | 8 | 248 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | _ICfnResourceOptionsProxy | _ICfnResourceOptionsProxy | 3,177 | 3,255 | 3,177 | 3,177 | dbfb9702bec05c86e8eb403d5353026c8ab3e3fa | bigcode/the-stack | train |
3deef970fc50f2ee51c2af34 | train | class | class CfnResource(CfnRefElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnResource"):
"""Represents a CloudFormation resource."""
def __init__(self, scope: "Construct", id: str, *, type: str, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None) -> None:
"""Creates a resource con... | class CfnResource(CfnRefElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnResource"):
| """Represents a CloudFormation resource."""
def __init__(self, scope: "Construct", id: str, *, type: str, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None) -> None:
"""Creates a resource construct.
:param scope: -
:param id: -
:param props: -
:param type:... | you want to specify for each specific region. Default: - No mapping.
"""
props = CfnMappingProps(mapping=mapping)
jsii.create(CfnMapping, self, [scope, id, props])
@jsii.member(jsii_name="findInMap")
def find_in_map(self, key1: str, key2: str) -> str:
"""
:param key1: ... | 256 | 256 | 1,583 | 30 | 226 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnResource | CfnResource | 3,738 | 3,907 | 3,738 | 3,738 | 6a7ad5a76682971ed4febd1125e21809aa86b162 | bigcode/the-stack | train |
f4afc2fe38f58b5fa6a54439 | train | class | @jsii.implements(ITaggable)
class Stack(Construct, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Stack"):
"""A root construct which represents a single CloudFormation stack."""
def __init__(self, scope: typing.Optional["Construct"]=None, id: typing.Optional[str]=None, *, description: typing.Optional[str]=No... | @jsii.implements(ITaggable)
class Stack(Construct, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Stack"):
| """A root construct which represents a single CloudFormation stack."""
def __init__(self, scope: typing.Optional["Construct"]=None, id: typing.Optional[str]=None, *, description: typing.Optional[str]=None, env: typing.Optional["Environment"]=None, stack_name: typing.Optional[str]=None, tags: typing.Optional[typ... | [str]:
"""Specifies the unique identifier of the version of the secret you want to use.
Can specify at most one of ``versionId`` and ``versionStage``.
default
:default: AWSCURRENT
"""
return self._values.get('version_id')
@property
def version_stage(self) -> ty... | 256 | 256 | 5,349 | 32 | 224 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Stack | Stack | 5,541 | 6,014 | 5,541 | 5,542 | 6168e3ed5bbe341898bc5d4ef861cfe1327b9a08 | bigcode/the-stack | train |
e9eca12e7aa659824ea7859c | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IResolvable")
class IResolvable(jsii.compat.Protocol):
"""Interface for values that can be resolvable later.
Tokens are special objects that participate in synthesis.
"""
@staticmethod
def __jsii_proxy_class__():
return _IResolvableProxy
@proper... | @jsii.interface(jsii_type="@aws-cdk/core.IResolvable")
class IResolvable(jsii.compat.Protocol):
| """Interface for values that can be resolvable later.
Tokens are special objects that participate in synthesis.
"""
@staticmethod
def __jsii_proxy_class__():
return _IResolvableProxy
@property
@jsii.member(jsii_name="creationStack")
def creation_stack(self) -> typing.List[str]:... | Process the completely resolved value, after full recursion/resolution has happened.
:param input: -
:param context: -
"""
return jsii.invoke(self, "postProcess", [input, context])
@jsii.interface(jsii_type="@aws-cdk/core.IResolvable")
class IResolvable(jsii.compat.Protocol):
| 66 | 66 | 221 | 22 | 44 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IResolvable | IResolvable | 4,111 | 4,144 | 4,111 | 4,112 | 675e5b42fe4d94865339ccdd1494e5d9a9a0fb3c | bigcode/the-stack | train |
d453f06d7135ac293bfe810a | train | class | @jsii.enum(jsii_type="@aws-cdk/core.RemovalPolicy")
class RemovalPolicy(enum.Enum):
DESTROY = "DESTROY"
"""This is the default removal policy.
It means that when the resource is
removed from the app, it will be physically destroyed.
"""
RETAIN = "RETAIN"
"""This uses the 'Retain' DeletionPo... | @jsii.enum(jsii_type="@aws-cdk/core.RemovalPolicy")
class RemovalPolicy(enum.Enum):
| DESTROY = "DESTROY"
"""This is the default removal policy.
It means that when the resource is
removed from the app, it will be physically destroyed.
"""
RETAIN = "RETAIN"
"""This uses the 'Retain' DeletionPolicy, which will cause the resource to be retained in the account, but orphaned from... | @property
@jsii.member(jsii_name="target")
def target(self) -> "IConstruct":
return jsii.get(self, "target")
class _ReferenceProxy(Reference):
pass
@jsii.enum(jsii_type="@aws-cdk/core.RemovalPolicy")
class RemovalPolicy(enum.Enum):
| 64 | 64 | 101 | 21 | 42 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | RemovalPolicy | RemovalPolicy | 5,076 | 5,085 | 5,076 | 5,077 | 5118b3f424052de5430994dd17f641e5b31aa48c | bigcode/the-stack | train |
b0bca40fa84ce165f81eae3b | train | class | class ValidationResult(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ValidationResult"):
"""Representation of validation results.
Models a tree of validation errors so that we have as much information as possible
about the failure that occurred.
"""
def __init__(self, error_message: typing.Opti... | class ValidationResult(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ValidationResult"):
| """Representation of validation results.
Models a tree of validation errors so that we have as much information as possible
about the failure that occurred.
"""
def __init__(self, error_message: typing.Optional[str]=None, results: typing.Optional["ValidationResults"]=None) -> None:
"""
... | __eq__(self, rhs) -> bool:
return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'ValidationError(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
class Valid... | 111 | 111 | 371 | 24 | 87 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ValidationResult | ValidationResult | 6,694 | 6,738 | 6,694 | 6,694 | 5668330ae8578fbebe823e38508fe70461542c27 | bigcode/the-stack | train |
3f1234a9a157fa2f58c69f78 | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.LazyListValueOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint', 'omit_empty': 'omitEmpty'})
class LazyListValueOptions():
def __init__(self, *, display_hint: typing.Optional[str]=None, omit_empty: typing.Optional[bool]=None):
"""Options for ... | @jsii.data_type(jsii_type="@aws-cdk/core.LazyListValueOptions", jsii_struct_bases=[], name_mapping={'display_hint': 'displayHint', 'omit_empty': 'omitEmpty'})
class LazyListValueOptions():
| def __init__(self, *, display_hint: typing.Optional[str]=None, omit_empty: typing.Optional[bool]=None):
"""Options for creating a lazy list token.
:param display_hint: Use the given name as a display hint. Default: - No hint
:param omit_empty: If the produced list is empty, return 'undefine... |
def __ne__(self, rhs) -> bool:
return not (rhs == self)
def __repr__(self) -> str:
return 'LazyAnyValueOptions(%s)' % ', '.join(k + '=' + repr(v) for k, v in self._values.items())
@jsii.data_type(jsii_type="@aws-cdk/core.LazyListValueOptions", jsii_struct_bases=[], name_mapping={'display_hint... | 110 | 110 | 369 | 48 | 62 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | LazyListValueOptions | LazyListValueOptions | 4,950 | 4,988 | 4,950 | 4,951 | 7e2012923f905824d6cf940094c6efe4bed607a9 | bigcode/the-stack | train |
3fbd37f6a53f105d4f029f5d | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.SynthesisOptions", jsii_struct_bases=[aws_cdk.cx_api.AssemblyBuildOptions], name_mapping={'runtime_info': 'runtimeInfo', 'outdir': 'outdir', 'skip_validation': 'skipValidation'})
class SynthesisOptions(aws_cdk.cx_api.AssemblyBuildOptions):
def __init__(self, *, runtime_info:... | @jsii.data_type(jsii_type="@aws-cdk/core.SynthesisOptions", jsii_struct_bases=[aws_cdk.cx_api.AssemblyBuildOptions], name_mapping={'runtime_info': 'runtimeInfo', 'outdir': 'outdir', 'skip_validation': 'skipValidation'})
class SynthesisOptions(aws_cdk.cx_api.AssemblyBuildOptions):
| def __init__(self, *, runtime_info: typing.Optional[aws_cdk.cx_api.RuntimeInfo]=None, outdir: typing.Optional[str]=None, skip_validation: typing.Optional[bool]=None):
"""Options for synthesis.
:param runtime_info: Include the specified runtime information (module versions) in manifest. Default: - i... | 's.
"""
def __init__(self) -> None:
jsii.create(StringConcat, self, [])
@jsii.member(jsii_name="join")
def join(self, left: typing.Any, right: typing.Any) -> typing.Any:
"""Join the fragment on the left and on the right.
:param left: -
:param right: -
"""
... | 168 | 168 | 561 | 73 | 95 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | SynthesisOptions | SynthesisOptions | 6,102 | 6,155 | 6,102 | 6,103 | d91766442d5142fad469226ca8320ea90fcd625e | bigcode/the-stack | train |
65b1f914f0ad119b528712ef | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.ValidationError", jsii_struct_bases=[], name_mapping={'message': 'message', 'source': 'source'})
class ValidationError():
def __init__(self, *, message: str, source: "Construct"):
"""An error returned during the validation phase.
:param message: The error me... | @jsii.data_type(jsii_type="@aws-cdk/core.ValidationError", jsii_struct_bases=[], name_mapping={'message': 'message', 'source': 'source'})
class ValidationError():
| def __init__(self, *, message: str, source: "Construct"):
"""An error returned during the validation phase.
:param message: The error message.
:param source: The construct which emitted the error.
"""
self._values = {
'message': message,
'source': sou... | ")
def attributes(self) -> typing.Mapping[str,typing.Any]:
"""Represents the bag of attributes as key-value pairs."""
return jsii.get(self, "attributes")
@jsii.data_type(jsii_type="@aws-cdk/core.ValidationError", jsii_struct_bases=[], name_mapping={'message': 'message', 'source': 'source'})
class Va... | 76 | 76 | 256 | 39 | 37 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | ValidationError | ValidationError | 6,661 | 6,691 | 6,661 | 6,662 | 6d0d2a4e9b0513506849ceaf5211d832b990a27a | bigcode/the-stack | train |
b71daa4385e3a448cb2dd7b7 | train | class | @jsii.implements(ICfnConditionExpression, IResolvable)
class CfnCondition(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnCondition"):
"""Represents a CloudFormation condition, for resources which must be conditionally created and the determination must be made at deploy time."""
def __init__(s... | @jsii.implements(ICfnConditionExpression, IResolvable)
class CfnCondition(CfnElement, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.CfnCondition"):
| """Represents a CloudFormation condition, for resources which must be conditionally created and the determination must be made at deploy time."""
def __init__(self, scope: "Construct", id: str, *, expression: typing.Optional["ICfnConditionExpression"]=None) -> None:
"""Build a new condition.
Th... | /issues/826
sqs.Queue(self, "MyQueue",
queue_name=Fn.condition_if("Condition", "Hello", "World").to_string()
)
"""
__jsii_type__ = "@aws-cdk/core.ICfnConditionExpression"
pass
@jsii.implements(ICfnConditionExpression, IResolvable)
class CfnCondition(CfnElement, metaclass=jsii.JSIIMe... | 97 | 97 | 326 | 41 | 55 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | CfnCondition | CfnCondition | 4,253 | 4,287 | 4,253 | 4,254 | c39ec8b6ca30c2bdbbc557044a39189d80cf4fa8 | bigcode/the-stack | train |
543e78c49d37189ee8d638bf | train | class | @jsii.data_type(jsii_type="@aws-cdk/core.TagProps", jsii_struct_bases=[], name_mapping={'apply_to_launched_instances': 'applyToLaunchedInstances', 'exclude_resource_types': 'excludeResourceTypes', 'include_resource_types': 'includeResourceTypes', 'priority': 'priority'})
class TagProps():
def __init__(self, *, appl... | @jsii.data_type(jsii_type="@aws-cdk/core.TagProps", jsii_struct_bases=[], name_mapping={'apply_to_launched_instances': 'applyToLaunchedInstances', 'exclude_resource_types': 'excludeResourceTypes', 'include_resource_types': 'includeResourceTypes', 'priority': 'priority'})
class TagProps():
| def __init__(self, *, apply_to_launched_instances: typing.Optional[bool]=None, exclude_resource_types: typing.Optional[typing.List[str]]=None, include_resource_types: typing.Optional[typing.List[str]]=None, priority: typing.Optional[jsii.Number]=None):
"""Properties for a tag.
:param apply_to_launc... | The priority of the remove operation.
"""
return jsii.invoke(self, "removeTag", [key, priority])
@jsii.member(jsii_name="renderTags")
def render_tags(self) -> typing.Any:
"""Renders tags into the proper format based on TagType."""
return jsii.invoke(self, "renderTags", [])
... | 256 | 256 | 893 | 67 | 189 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | TagProps | TagProps | 6,301 | 6,380 | 6,301 | 6,302 | d5dc9ea0cae56ece5aaa4837286bbd64f6e55228 | bigcode/the-stack | train |
374c27d7639e48d7330fc62e | train | class | @jsii.interface(jsii_type="@aws-cdk/core.IStringProducer")
class IStringProducer(jsii.compat.Protocol):
"""Interface for lazy string producers."""
@staticmethod
def __jsii_proxy_class__():
return _IStringProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveCon... | @jsii.interface(jsii_type="@aws-cdk/core.IStringProducer")
class IStringProducer(jsii.compat.Protocol):
| """Interface for lazy string producers."""
@staticmethod
def __jsii_proxy_class__():
return _IStringProducerProxy
@jsii.member(jsii_name="produce")
def produce(self, context: "IResolveContext") -> typing.Optional[str]:
"""Produce the string value.
:param context: -
... | @jsii.member(jsii_name="stack")
def stack(self) -> "Stack":
"""The stack in which this resource is defined."""
return jsii.get(self, "stack")
@jsii.interface(jsii_type="@aws-cdk/core.IStringProducer")
class IStringProducer(jsii.compat.Protocol):
| 64 | 64 | 96 | 24 | 40 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | IStringProducer | IStringProducer | 4,382 | 4,395 | 4,382 | 4,383 | 24a0966d5013c0fd7e8a81d85b20386822f65150 | bigcode/the-stack | train |
a2d3e5e3d15b094f81e6b1a0 | train | class | class Tokenization(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Tokenization"):
"""Less oft-needed functions to manipulate Tokens."""
@jsii.member(jsii_name="isResolvable")
@classmethod
def is_resolvable(cls, obj: typing.Any) -> bool:
"""Return whether the given object is an IResolvable obj... | class Tokenization(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Tokenization"):
| """Less oft-needed functions to manipulate Tokens."""
@jsii.member(jsii_name="isResolvable")
@classmethod
def is_resolvable(cls, obj: typing.Any) -> bool:
"""Return whether the given object is an IResolvable object.
This is different from Token.isUnresolved() which will also check for
... | """
options = EncodingOptions(display_hint=display_hint)
return jsii.sinvoke(cls, "asString", [value, options])
@jsii.member(jsii_name="isUnresolved")
@classmethod
def is_unresolved(cls, obj: typing.Any) -> bool:
"""Returns true if obj represents an unresolved value.
One ... | 192 | 192 | 642 | 24 | 168 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Tokenization | Tokenization | 6,502 | 6,568 | 6,502 | 6,502 | 3ed66c38f7d1e344e62e8e85c44584a559a00dc0 | bigcode/the-stack | train |
b22ae2041753c67f4e3b1bc5 | train | class | class Lazy(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Lazy"):
"""Lazily produce a value.
Can be used to return a string, list or numeric value whose actual value
will only be calculated later, during synthesis.
"""
@jsii.member(jsii_name="anyValue")
@classmethod
def any_value(cls, pr... | class Lazy(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Lazy"):
| """Lazily produce a value.
Can be used to return a string, list or numeric value whose actual value
will only be calculated later, during synthesis.
"""
@jsii.member(jsii_name="anyValue")
@classmethod
def any_value(cls, producer: "IAnyProducer", *, display_hint: typing.Optional[str]=None, o... | SIIMeta, jsii_type="@aws-cdk/core.CfnDynamicReference"):
"""References a dynamically retrieved value.
This is a Construct so that subclasses will (eventually) be able to attach
metadata to themselves without having to change call signatures.
see
:see: https://docs.aws.amazon.com/AWSCloudFormation/... | 160 | 160 | 534 | 23 | 137 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Lazy | Lazy | 4,856 | 4,906 | 4,856 | 4,856 | f9af10940a14d07b8e68582f3713c8a421a8f150 | bigcode/the-stack | train |
213d60881495c2f902aa7bc2 | train | class | class TokenizedStringFragments(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.TokenizedStringFragments"):
"""Fragments of a concatenated string containing stringified Tokens."""
def __init__(self) -> None:
jsii.create(TokenizedStringFragments, self, [])
@jsii.member(jsii_name="addIntrinsic")
... | class TokenizedStringFragments(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.TokenizedStringFragments"):
| """Fragments of a concatenated string containing stringified Tokens."""
def __init__(self) -> None:
jsii.create(TokenizedStringFragments, self, [])
@jsii.member(jsii_name="addIntrinsic")
def add_intrinsic(self, value: typing.Any) -> None:
"""
:param value: -
"""
... | containing encoded tokens.
:param s: -
"""
return jsii.sinvoke(cls, "reverseString", [s])
@jsii.member(jsii_name="stringifyNumber")
@classmethod
def stringify_number(cls, x: jsii.Number) -> str:
"""Stringify a number directly or lazily if it's a Token.
If it is an... | 149 | 149 | 499 | 28 | 121 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | TokenizedStringFragments | TokenizedStringFragments | 6,571 | 6,634 | 6,571 | 6,571 | 2d988a134a29001d60cd8a4b0b06db6bab09814c | bigcode/the-stack | train |
14e08aa56efea1eea99f0edc | train | class | @jsii.implements(IAspect)
class Tag(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Tag"):
"""The Tag Aspect will handle adding a tag to this node and cascading tags to children."""
def __init__(self, key: str, value: str, *, apply_to_launched_instances: typing.Optional[bool]=None, exclude_resource_types: typ... | @jsii.implements(IAspect)
class Tag(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.Tag"):
| """The Tag Aspect will handle adding a tag to this node and cascading tags to children."""
def __init__(self, key: str, value: str, *, apply_to_launched_instances: typing.Optional[bool]=None, exclude_resource_types: typing.Optional[typing.List[str]]=None, include_resource_types: typing.Optional[typing.List[str]... | if this option is not specified, runtime info will not be included
stability
:stability: experimental
"""
return self._values.get('runtime_info')
@property
def outdir(self) -> typing.Optional[str]:
"""The output directory into which to synthesize the cloud assembly.
... | 256 | 256 | 1,424 | 29 | 227 | chriscoombs/amazon-sagemaker-cdk-examples | dask-fargate/.env/lib/python3.6/site-packages/aws_cdk/core/__init__.py | Python | Tag | Tag | 6,158 | 6,240 | 6,158 | 6,159 | a4e7600cfe7f44fa3c83c29ad653bcfd1053ab72 | bigcode/the-stack | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.