typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
132 lines (131 loc) • 5.23 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type Policy_Type = 'AWS::FMS::Policy';
export declare const Policy_Type = "AWS::FMS::Policy";
/**
* Creates an AWS Firewall Manager policy. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html}
*/
export default function Policy(props: Policy_Properties): CfnResource<Policy_Properties>;
/**
* Creates an AWS Firewall Manager policy. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html}
*/
export declare type Policy_Properties = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-excludemap}
*/
ExcludeMap?: IEMap;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-excluderesourcetags}
*/
ExcludeResourceTags: Resolvable<boolean>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-includemap}
*/
IncludeMap?: IEMap;
Id?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-policyname}
*/
PolicyName: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-remediationenabled}
*/
RemediationEnabled: Resolvable<boolean>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetags}
*/
ResourceTags?: ResourceTag[];
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetype}
*/
ResourceType: ResourceType;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetypelist}
*/
ResourceTypeList?: ResourceType[];
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-securityservicepolicydata}
*/
SecurityServicePolicyData: {
ManagedServiceData?: Resolvable<string>;
Type: Resolvable<'WAF' | 'WAFV2' | 'SHIELD_ADVANCED' | 'SECURITY_GROUPS_COMMON' | 'SECURITY_GROUPS_CONTENT_AUDIT' | 'SECURITY_GROUPS_USAGE_AUDIT' | 'NETWORK_FIREWALL' | 'DNS_FIREWALL'>;
};
Arn?: ResourceArn;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-deleteallpolicyresources}
*/
DeleteAllPolicyResources?: Resolvable<boolean>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcescleanup}
*/
ResourcesCleanUp?: Resolvable<boolean>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-tags}
*/
Tags?: PolicyTag[];
};
export declare type AccountId = Resolvable<string>;
export declare type OrganizationalUnitId = Resolvable<string>;
/**
* An FMS includeMap or excludeMap. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-iemap.html}
*/
export declare type IEMap = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-iemap.html#cfn-fms-policy-iemap-account}
*/
ACCOUNT?: AccountId[];
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-iemap.html#cfn-fms-policy-iemap-orgunit}
*/
ORGUNIT?: OrganizationalUnitId[];
};
/**
* A policy tag. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policytag.html}
*/
export declare type PolicyTag = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policytag.html#cfn-fms-policy-policytag-key}
*/
Key: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policytag.html#cfn-fms-policy-policytag-value}
*/
Value: Resolvable<string>;
};
/**
* A resource tag. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-resourcetag.html}
*/
export declare type ResourceTag = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-resourcetag.html#cfn-fms-policy-resourcetag-key}
*/
Key: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-resourcetag.html#cfn-fms-policy-resourcetag-value}
*/
Value?: Resolvable<string>;
};
export declare type ResourceType = Resolvable<string>;
export declare type ResourceArn = Resolvable<string>;