// Fixture with packages imported and a VPC created import { Construct } from 'constructs'; import { Stack } from '@aws-cdk/core'; import iam = require('@aws-cdk/aws-iam'); import ec2 = require('@aws-cdk/aws-ec2'); class Fixture extends Stack { constructor(scope: Construct, id: string) { super(scope, id); const vpc = new ec2.Vpc(this, 'VPC'); const samlProvider = new iam.SamlProvider(this, 'Provider', { metadataDocument: iam.SamlMetadataDocument.fromXml('xml'), }) /// here } }