local_sensitive_file (Resource)

Generates a local file with the given sensitive content.

The arguments accepted by this resource are marked as sensitive.

Example Usage

# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
from constructs import Construct
from cdktf import TerraformStack
#
# Provider bindings are generated by running `cdktf get`.
# See https://cdk.tf/provider-generation for more details.
#
from imports.local.sensitive_file import SensitiveFile
class MyConvertedCode(TerraformStack):
    def __init__(self, scope, name):
        super().__init__(scope, name)
        SensitiveFile(self, "foo",
            content="foo!",
            filename="${path.module}/foo.bar"
        )

Schema

Required

Optional

Read-Only