logsarchive

package
v6.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

README

datadog_logs_archive

Refer to the Terraform Registory for docs: datadog_logs_archive.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogsArchive_IsConstruct

func LogsArchive_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func LogsArchive_IsTerraformElement

func LogsArchive_IsTerraformElement(x interface{}) *bool

Experimental.

func LogsArchive_IsTerraformResource

func LogsArchive_IsTerraformResource(x interface{}) *bool

Experimental.

func LogsArchive_TfResourceType

func LogsArchive_TfResourceType() *string

func NewLogsArchiveAzureArchiveOutputReference_Override

func NewLogsArchiveAzureArchiveOutputReference_Override(l LogsArchiveAzureArchiveOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewLogsArchiveGcsArchiveOutputReference_Override

func NewLogsArchiveGcsArchiveOutputReference_Override(l LogsArchiveGcsArchiveOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewLogsArchiveS3ArchiveOutputReference_Override

func NewLogsArchiveS3ArchiveOutputReference_Override(l LogsArchiveS3ArchiveOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewLogsArchive_Override

func NewLogsArchive_Override(l LogsArchive, scope constructs.Construct, id *string, config *LogsArchiveConfig)

Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive datadog_logs_archive} Resource.

Types

type LogsArchive

type LogsArchive interface {
	cdktf.TerraformResource
	AzureArchive() LogsArchiveAzureArchiveOutputReference
	AzureArchiveInput() *LogsArchiveAzureArchive
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	// Experimental.
	Connection() interface{}
	// Experimental.
	SetConnection(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Count() interface{}
	// Experimental.
	SetCount(val interface{})
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	GcsArchive() LogsArchiveGcsArchiveOutputReference
	GcsArchiveInput() *LogsArchiveGcsArchive
	Id() *string
	SetId(val *string)
	IdInput() *string
	IncludeTags() interface{}
	SetIncludeTags(val interface{})
	IncludeTagsInput() interface{}
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	Name() *string
	SetName(val *string)
	NameInput() *string
	// The tree node.
	Node() constructs.Node
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	Query() *string
	SetQuery(val *string)
	QueryInput() *string
	// Experimental.
	RawOverrides() interface{}
	RehydrationMaxScanSizeInGb() *float64
	SetRehydrationMaxScanSizeInGb(val *float64)
	RehydrationMaxScanSizeInGbInput() *float64
	RehydrationTags() *[]*string
	SetRehydrationTags(val *[]*string)
	RehydrationTagsInput() *[]*string
	S3Archive() LogsArchiveS3ArchiveOutputReference
	S3ArchiveInput() *LogsArchiveS3Archive
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	PutAzureArchive(value *LogsArchiveAzureArchive)
	PutGcsArchive(value *LogsArchiveGcsArchive)
	PutS3Archive(value *LogsArchiveS3Archive)
	ResetAzureArchive()
	ResetGcsArchive()
	ResetId()
	ResetIncludeTags()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetRehydrationMaxScanSizeInGb()
	ResetRehydrationTags()
	ResetS3Archive()
	SynthesizeAttributes() *map[string]interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive datadog_logs_archive}.

func NewLogsArchive

func NewLogsArchive(scope constructs.Construct, id *string, config *LogsArchiveConfig) LogsArchive

Create a new {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive datadog_logs_archive} Resource.

type LogsArchiveAzureArchive

type LogsArchiveAzureArchive struct {
	// Your client id.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#client_id LogsArchive#client_id}
	ClientId *string `field:"required" json:"clientId" yaml:"clientId"`
	// The container where the archive is stored.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#container LogsArchive#container}
	Container *string `field:"required" json:"container" yaml:"container"`
	// The associated storage account.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#storage_account LogsArchive#storage_account}
	StorageAccount *string `field:"required" json:"storageAccount" yaml:"storageAccount"`
	// Your tenant id.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#tenant_id LogsArchive#tenant_id}
	TenantId *string `field:"required" json:"tenantId" yaml:"tenantId"`
	// The path where the archive is stored.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#path LogsArchive#path}
	Path *string `field:"optional" json:"path" yaml:"path"`
}

type LogsArchiveAzureArchiveOutputReference

type LogsArchiveAzureArchiveOutputReference interface {
	cdktf.ComplexObject
	ClientId() *string
	SetClientId(val *string)
	ClientIdInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	Container() *string
	SetContainer(val *string)
	ContainerInput() *string
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *LogsArchiveAzureArchive
	SetInternalValue(val *LogsArchiveAzureArchive)
	Path() *string
	SetPath(val *string)
	PathInput() *string
	StorageAccount() *string
	SetStorageAccount(val *string)
	StorageAccountInput() *string
	TenantId() *string
	SetTenantId(val *string)
	TenantIdInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetPath()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewLogsArchiveAzureArchiveOutputReference

func NewLogsArchiveAzureArchiveOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LogsArchiveAzureArchiveOutputReference

type LogsArchiveConfig

type LogsArchiveConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count interface{} `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// Your archive name.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#name LogsArchive#name}
	Name *string `field:"required" json:"name" yaml:"name"`
	// The archive query/filter. Logs matching this query are included in the archive.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#query LogsArchive#query}
	Query *string `field:"required" json:"query" yaml:"query"`
	// azure_archive block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#azure_archive LogsArchive#azure_archive}
	AzureArchive *LogsArchiveAzureArchive `field:"optional" json:"azureArchive" yaml:"azureArchive"`
	// gcs_archive block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#gcs_archive LogsArchive#gcs_archive}
	GcsArchive *LogsArchiveGcsArchive `field:"optional" json:"gcsArchive" yaml:"gcsArchive"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#id LogsArchive#id}.
	//
	// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
	// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
	Id *string `field:"optional" json:"id" yaml:"id"`
	// To store the tags in the archive, set the value `true`.
	//
	// If it is set to `false`, the tags will be dropped when the logs are sent to the archive.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#include_tags LogsArchive#include_tags}
	IncludeTags interface{} `field:"optional" json:"includeTags" yaml:"includeTags"`
	// To limit the rehydration scan size for the archive, set a value in GB.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#rehydration_max_scan_size_in_gb LogsArchive#rehydration_max_scan_size_in_gb}
	RehydrationMaxScanSizeInGb *float64 `field:"optional" json:"rehydrationMaxScanSizeInGb" yaml:"rehydrationMaxScanSizeInGb"`
	// An array of tags to add to rehydrated logs from an archive.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#rehydration_tags LogsArchive#rehydration_tags}
	RehydrationTags *[]*string `field:"optional" json:"rehydrationTags" yaml:"rehydrationTags"`
	// s3_archive block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#s3_archive LogsArchive#s3_archive}
	S3Archive *LogsArchiveS3Archive `field:"optional" json:"s3Archive" yaml:"s3Archive"`
}

type LogsArchiveGcsArchive

type LogsArchiveGcsArchive struct {
	// Name of your GCS bucket.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#bucket LogsArchive#bucket}
	Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
	// Your client email.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#client_email LogsArchive#client_email}
	ClientEmail *string `field:"required" json:"clientEmail" yaml:"clientEmail"`
	// Your project id.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#project_id LogsArchive#project_id}
	ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
	// Path where the archive is stored.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#path LogsArchive#path}
	Path *string `field:"optional" json:"path" yaml:"path"`
}

type LogsArchiveGcsArchiveOutputReference

type LogsArchiveGcsArchiveOutputReference interface {
	cdktf.ComplexObject
	Bucket() *string
	SetBucket(val *string)
	BucketInput() *string
	ClientEmail() *string
	SetClientEmail(val *string)
	ClientEmailInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *LogsArchiveGcsArchive
	SetInternalValue(val *LogsArchiveGcsArchive)
	Path() *string
	SetPath(val *string)
	PathInput() *string
	ProjectId() *string
	SetProjectId(val *string)
	ProjectIdInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetPath()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewLogsArchiveGcsArchiveOutputReference

func NewLogsArchiveGcsArchiveOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LogsArchiveGcsArchiveOutputReference

type LogsArchiveS3Archive

type LogsArchiveS3Archive struct {
	// Your AWS account id.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#account_id LogsArchive#account_id}
	AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
	// Name of your s3 bucket.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#bucket LogsArchive#bucket}
	Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
	// Your AWS role name.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#role_name LogsArchive#role_name}
	RoleName *string `field:"required" json:"roleName" yaml:"roleName"`
	// Path where the archive is stored.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/datadog/datadog/3.25.0/docs/resources/logs_archive#path LogsArchive#path}
	Path *string `field:"optional" json:"path" yaml:"path"`
}

type LogsArchiveS3ArchiveOutputReference

type LogsArchiveS3ArchiveOutputReference interface {
	cdktf.ComplexObject
	AccountId() *string
	SetAccountId(val *string)
	AccountIdInput() *string
	Bucket() *string
	SetBucket(val *string)
	BucketInput() *string
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *LogsArchiveS3Archive
	SetInternalValue(val *LogsArchiveS3Archive)
	Path() *string
	SetPath(val *string)
	PathInput() *string
	RoleName() *string
	SetRoleName(val *string)
	RoleNameInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetPath()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewLogsArchiveS3ArchiveOutputReference

func NewLogsArchiveS3ArchiveOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LogsArchiveS3ArchiveOutputReference

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL