// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsCloudfrontResponseHeadersPolicyCorsConfigAccessControlAllowHeaders extends cdktf.ComplexComputedList {
    // items - computed: true, optional: false, required: false
    get items() {
        return cdktf.Fn.tolist(this.getListAttribute('items'));
    }
}
export class DataAwsCloudfrontResponseHeadersPolicyCorsConfigAccessControlAllowMethods extends cdktf.ComplexComputedList {
    // items - computed: true, optional: false, required: false
    get items() {
        return cdktf.Fn.tolist(this.getListAttribute('items'));
    }
}
export class DataAwsCloudfrontResponseHeadersPolicyCorsConfigAccessControlAllowOrigins extends cdktf.ComplexComputedList {
    // items - computed: true, optional: false, required: false
    get items() {
        return cdktf.Fn.tolist(this.getListAttribute('items'));
    }
}
export class DataAwsCloudfrontResponseHeadersPolicyCorsConfigAccessControlExposeHeaders extends cdktf.ComplexComputedList {
    // items - computed: true, optional: false, required: false
    get items() {
        return cdktf.Fn.tolist(this.getListAttribute('items'));
    }
}
export class DataAwsCloudfrontResponseHeadersPolicyCorsConfig extends cdktf.ComplexComputedList {
    // access_control_allow_credentials - computed: true, optional: false, required: false
    get accessControlAllowCredentials() {
        return this.getBooleanAttribute('access_control_allow_credentials');
    }
    // access_control_allow_headers - computed: true, optional: false, required: false
    get accessControlAllowHeaders() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('access_control_allow_headers');
    }
    // access_control_allow_methods - computed: true, optional: false, required: false
    get accessControlAllowMethods() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('access_control_allow_methods');
    }
    // access_control_allow_origins - computed: true, optional: false, required: false
    get accessControlAllowOrigins() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('access_control_allow_origins');
    }
    // access_control_expose_headers - computed: true, optional: false, required: false
    get accessControlExposeHeaders() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('access_control_expose_headers');
    }
    // access_control_max_age_sec - computed: true, optional: false, required: false
    get accessControlMaxAgeSec() {
        return this.getNumberAttribute('access_control_max_age_sec');
    }
    // origin_override - computed: true, optional: false, required: false
    get originOverride() {
        return this.getBooleanAttribute('origin_override');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicyCustomHeadersConfigItems extends cdktf.ComplexComputedList {
    // header - computed: true, optional: false, required: false
    get header() {
        return this.getStringAttribute('header');
    }
    // override - computed: true, optional: false, required: false
    get override() {
        return this.getBooleanAttribute('override');
    }
    // value - computed: true, optional: false, required: false
    get value() {
        return this.getStringAttribute('value');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicyCustomHeadersConfig extends cdktf.ComplexComputedList {
    // items - computed: true, optional: false, required: false
    get items() {
        // Getting the computed value is not yet implemented
        return cdktf.Token.asAny(cdktf.Fn.tolist(this.interpolationForAttribute('items')));
    }
}
export class DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy extends cdktf.ComplexComputedList {
    // content_security_policy - computed: true, optional: false, required: false
    get contentSecurityPolicy() {
        return this.getStringAttribute('content_security_policy');
    }
    // override - computed: true, optional: false, required: false
    get override() {
        return this.getBooleanAttribute('override');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfigContentTypeOptions extends cdktf.ComplexComputedList {
    // override - computed: true, optional: false, required: false
    get override() {
        return this.getBooleanAttribute('override');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfigFrameOptions extends cdktf.ComplexComputedList {
    // frame_option - computed: true, optional: false, required: false
    get frameOption() {
        return this.getStringAttribute('frame_option');
    }
    // override - computed: true, optional: false, required: false
    get override() {
        return this.getBooleanAttribute('override');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfigReferrerPolicy extends cdktf.ComplexComputedList {
    // override - computed: true, optional: false, required: false
    get override() {
        return this.getBooleanAttribute('override');
    }
    // referrer_policy - computed: true, optional: false, required: false
    get referrerPolicy() {
        return this.getStringAttribute('referrer_policy');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity extends cdktf.ComplexComputedList {
    // access_control_max_age_sec - computed: true, optional: false, required: false
    get accessControlMaxAgeSec() {
        return this.getNumberAttribute('access_control_max_age_sec');
    }
    // include_subdomains - computed: true, optional: false, required: false
    get includeSubdomains() {
        return this.getBooleanAttribute('include_subdomains');
    }
    // override - computed: true, optional: false, required: false
    get override() {
        return this.getBooleanAttribute('override');
    }
    // preload - computed: true, optional: false, required: false
    get preload() {
        return this.getBooleanAttribute('preload');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfigXssProtection extends cdktf.ComplexComputedList {
    // mode_block - computed: true, optional: false, required: false
    get modeBlock() {
        return this.getBooleanAttribute('mode_block');
    }
    // override - computed: true, optional: false, required: false
    get override() {
        return this.getBooleanAttribute('override');
    }
    // protection - computed: true, optional: false, required: false
    get protection() {
        return this.getBooleanAttribute('protection');
    }
    // report_uri - computed: true, optional: false, required: false
    get reportUri() {
        return this.getStringAttribute('report_uri');
    }
}
export class DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfig extends cdktf.ComplexComputedList {
    // content_security_policy - computed: true, optional: false, required: false
    get contentSecurityPolicy() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('content_security_policy');
    }
    // content_type_options - computed: true, optional: false, required: false
    get contentTypeOptions() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('content_type_options');
    }
    // frame_options - computed: true, optional: false, required: false
    get frameOptions() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('frame_options');
    }
    // referrer_policy - computed: true, optional: false, required: false
    get referrerPolicy() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('referrer_policy');
    }
    // strict_transport_security - computed: true, optional: false, required: false
    get strictTransportSecurity() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('strict_transport_security');
    }
    // xss_protection - computed: true, optional: false, required: false
    get xssProtection() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('xss_protection');
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/cloudfront_response_headers_policy aws_cloudfront_response_headers_policy}
*/
export class DataAwsCloudfrontResponseHeadersPolicy extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_cloudfront_response_headers_policy";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/cloudfront_response_headers_policy aws_cloudfront_response_headers_policy} Data Source
    *
    * @param scope The scope in which to define this construct
    * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
    * @param options DataAwsCloudfrontResponseHeadersPolicyConfig = {}
    */
    constructor(scope, id, config = {}) {
        super(scope, id, {
            terraformResourceType: 'aws_cloudfront_response_headers_policy',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._name = config.name;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // comment - computed: true, optional: false, required: false
    get comment() {
        return this.getStringAttribute('comment');
    }
    // cors_config - computed: true, optional: false, required: false
    corsConfig(index) {
        return new DataAwsCloudfrontResponseHeadersPolicyCorsConfig(this, 'cors_config', index, false);
    }
    // custom_headers_config - computed: true, optional: false, required: false
    customHeadersConfig(index) {
        return new DataAwsCloudfrontResponseHeadersPolicyCustomHeadersConfig(this, 'custom_headers_config', index, false);
    }
    // etag - computed: true, optional: false, required: false
    get etag() {
        return this.getStringAttribute('etag');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // name - computed: true, optional: true, required: false
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    resetName() {
        this._name = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // security_headers_config - computed: true, optional: false, required: false
    securityHeadersConfig(index) {
        return new DataAwsCloudfrontResponseHeadersPolicySecurityHeadersConfig(this, 'security_headers_config', index, false);
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            name: cdktf.stringToTerraform(this._name),
        };
    }
}
//# sourceMappingURL=data-aws-cloudfront-response-headers-policy.js.map