@pdmlab/cdk-constructs
Version:
Shared constructs for AWS CDK
20 lines (19 loc) • 687 B
TypeScript
import * as cdk from '@aws-cdk/core';
import * as iam from '@aws-cdk/aws-iam';
export interface AllowHostedZoneChangeResourceRecordSetsPolicyProps {
/**
* The domain name the hosted zone has been setup for.
*/
domainName: string;
/**
* The name of the policy being created
*/
policyName?: string;
}
export declare class AllowHostedZoneChangeResourceRecordSetsPolicy extends cdk.Construct {
policy: iam.ManagedPolicy;
/**
* Create a policy which allows changing DNS records for a domain in a hosted zone in AWS Route53
*/
constructor(scope: cdk.Construct, id: string, props: AllowHostedZoneChangeResourceRecordSetsPolicyProps);
}