CodeConfig
- class aws_cdk.aws_synthetics.CodeConfig(*, inline_code=None, s3_location=None)
Bases:
object(experimental) Configuration of the code class.
- Parameters:
inline_code (
Optional[str]) – (experimental) Inline code (mutually exclusive withs3Location). Default: - nones3_location (
Union[Location,Dict[str,Any],None]) – (experimental) The location of the code in S3 (mutually exclusive withinlineCode). Default: - none
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_synthetics as synthetics code_config = synthetics.CodeConfig( inline_code="inlineCode", s3_location=Location( bucket_name="bucketName", object_key="objectKey", # the properties below are optional object_version="objectVersion" ) )
Attributes
- inline_code
(experimental) Inline code (mutually exclusive with
s3Location).- Default:
none
- Stability:
experimental
- s3_location
(experimental) The location of the code in S3 (mutually exclusive with
inlineCode).- Default:
none
- Stability:
experimental