# Functions
Create a new AWS sub account
A subaccount consists of the profile name (which needs to match the executing machines aws configuration) and a region for any new resources to be created in.
NewExistingIamRoleDetails Create new existing IAM role details.
NewTerraform returns an instance of the GenerateAwsTfConfigurationArgs struct with the provided region and enabled settings (config/cloudtrail).
WithAgentlessManagementAccountID Set Agentless management account ID.
WithAgentlessMonitoredAccountIDs Set Agentless monitored account IDs.
WithAgentlessMonitoredAccounts Set Agentless monitored accounts.
WithAgentlessScanningAccounts Set Agentless scanning accounts.
WithAwsAssumeRole Set the AWS Assume Role to utilize for the main AWS provider.
WithAwsProfile Set the AWS Profile to utilize for the main AWS provider.
WithAwsRegion Set the AWS region to utilize for the main AWS provider.
WithBucketEncryptionEnabled Enable encryption on a newly created bucket.
WithBucketName add bucket name for CloudTrail integration.
WithBucketSSEKeyArn Set existing KMS encryption key arn for bucket.
WithCloudtrailName add optional name for CloudTrail integration.
WithCloudtrailUseExistingSNSTopic Use the existing Cloudtrail SNS topic.
WithCloudtrailUseExistingTrail Use the existing Cloudtrail S3 bucket.
WithConfigAdditionalAccounts Set Config additional accounts.
WithConfigOrgCfResourcePrefix Set Config org resource prefix.
WithConfigOrgId Set Config org ID.
WithConfigOrgLWAccessKeyId Set Config org LW access key ID.
WithConfigOrgLWAccount Set Config org LW account.
WithConfigOrgLWSecretKey Set Config org LW secret key.
WithConfigOrgLWSubaccount Set Config org LW sub-account.
WithConfigOrgUnits Set Config org units.
WithConsolidatedCloudtrail Enable Consolidated Cloudtrail use.
WithControlTower Set ControlTower.
WithControlTowerAuditAccount Set ControlTower audit account.
WithControlTowerKmsKeyArn Set ControlTower custom KMS key ARN.
WithControlTowerLogArchiveAccount Set ControlTower log archive account.
WithConfigOutputs Set Custom Terraform Outputs.
WithExistingCloudtrailBucketArn Set the bucket ARN of an existing Cloudtrail setup.
WithExistingIamRole Set an existing IAM role configuration to use with the created Terraform code.
WithExistingSnsTopicArn Set the SNS Topic ARN of an existing Cloudtrail setup.
WithExtraBlocks enables adding additional arbitrary blocks to the root hcl document.
WithExtraProviderArguments enables adding additional arguments into the `aws` provider block this enables custom use cases.
WithExtraRootBlocks allows adding generic hcl blocks to the root `terraform{}` block this enables custom use cases.
WithLaceworkAccountID Set the Lacework AWS root account ID to use.
WithLaceworkProfile Set the Lacework Profile to utilize when integrating.
WithOrgAccountMappings add optional name for Organization account mappings Sets lacework org level to true.
WithProviderDefaultTags adds default_tags to the provider configuration for AWS (if tags are present).
No description provided by the author
WithSnsTopicEncryptionEnabled Enable encryption on SNS Topic when created.
WithSnsTopicEncryptionKeyArn Set existing KMS encryption key arn for SNS topic.
WithSnsTopicName Set SNS Topic Name if creating new one.
WithSqsEncryptionEnabled Enable encryption on SQS queue when created.
WithSqsEncryptionKeyArn Set existing KMS encryption key arn for SQS queue.
WithSqsQueueName Set SQS Queue Name if creating new one.
WithSubaccounts Supply additional AWS Profiles to integrate.
WithUseCloudTrailRandomName CloudTrail random name.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author