public void SetUp() { var awsEndpoint = TestConfiguration.AwsEndpoint; var credentials = new TestSuiteCredentials(); _s3Client = new AmazonS3Client(awsEndpoint); _iamClient = new AmazonIdentityManagementServiceClient(awsEndpoint); _awsConfiguration = new AwsConfiguration { IamRolePolicyDocument = Roles.Path("s3-policy-new-bucket.json"), AssumeRoleTrustDocument = Roles.Path("code-deploy-trust.json"), Bucket = "s3-push-test", RoleName = "SomeNewRole", AwsEndpoint = awsEndpoint, Credentials = credentials }; _deployer = new Deployer(_awsConfiguration); _localBuildDirectory = ExampleRevisions.Directory("HelloWorld-1.2.3"); _applicationSetName = "HelloWorld"; _version = "1.1.1"; DeleteRolesAndPolicies(); }