constructor()

in cdk/lib/content-api-firehose-client-testing.ts [8:24]


	constructor(scope: App, id: string, props: GuStackProps) {
		super(scope, id, props);
		new GuGithubActionsRole(this, {
			policies: [
				new GuAllowPolicy(this, 'kinesis-stream-access', {
					actions: ['kinesis:DescribeStreamSummary'],
					resources: [
						`arn:aws:kinesis:${this.region}:${this.account}:stream/content-api-firehose-v2-CODE`,
					],
				}),
			],
			condition: {
				githubOrganisation: 'guardian',
				repositories: 'content-api-firehose-client:*',
			},
		});
	}