ActualResult
- class aws_cdk.integ_tests_alpha.ActualResult
Bases:
object
(experimental) Represents the “actual” results to compare.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# my_custom_resource: CustomResource # stack: Stack # app: App integ = IntegTest(app, "Integ", test_cases=[stack]) integ.assertions.expect("CustomAssertion", ExpectedResult.object_like({"foo": "bar"}), ActualResult.from_custom_resource(my_custom_resource, "data"))
- Stability:
experimental
Attributes
- result
(experimental) The actual results as a string.
- Stability:
experimental
Static Methods
- classmethod from_aws_api_call(query, attribute)
(experimental) Get the actual results from a AwsApiCall.
- Parameters:
query (
IApiCall
) –attribute (
str
) –
- Stability:
experimental
- Return type:
- classmethod from_custom_resource(custom_resource, attribute)
(experimental) Get the actual results from a CustomResource.
- Parameters:
custom_resource (
CustomResource
) –attribute (
str
) –
- Stability:
experimental
- Return type: