key

package
v0.0.0-...-4f78cf2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 7 Imported by: 1

README

sentry_key

Refer to the Terraform Registry for docs: sentry_key.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Key_GenerateConfigForImport

func Key_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource

Generates CDKTF code for importing a Key resource upon running "cdktf plan <stack-name>".

func Key_IsConstruct

func Key_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 Key_IsTerraformElement

func Key_IsTerraformElement(x interface{}) *bool

Experimental.

func Key_IsTerraformResource

func Key_IsTerraformResource(x interface{}) *bool

Experimental.

func Key_TfResourceType

func Key_TfResourceType() *string

func NewKeyJavascriptLoaderScriptOutputReference_Override

func NewKeyJavascriptLoaderScriptOutputReference_Override(k KeyJavascriptLoaderScriptOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewKey_Override

func NewKey_Override(k Key, scope constructs.Construct, id *string, config *KeyConfig)

Create a new {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key sentry_key} Resource.

Types

type Key

type Key interface {
	cdktf.TerraformResource
	// 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)
	Dsn() cdktf.StringMap
	DsnCsp() *string
	DsnPublic() *string
	DsnSecret() *string
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	Id() *string
	JavascriptLoaderScript() KeyJavascriptLoaderScriptOutputReference
	JavascriptLoaderScriptInput() interface{}
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	Name() *string
	SetName(val *string)
	NameInput() *string
	// The tree node.
	Node() constructs.Node
	Organization() *string
	SetOrganization(val *string)
	OrganizationInput() *string
	Project() *string
	SetProject(val *string)
	ProjectId() *string
	ProjectInput() *string
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	Public() *string
	RateLimitCount() *float64
	SetRateLimitCount(val *float64)
	RateLimitCountInput() *float64
	RateLimitWindow() *float64
	SetRateLimitWindow(val *float64)
	RateLimitWindowInput() *float64
	// Experimental.
	RawOverrides() interface{}
	Secret() *string
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
	// Experimental.
	AddMoveTarget(moveTarget *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.
	HasResourceMove() interface{}
	// Experimental.
	ImportFrom(id *string, provider cdktf.TerraformProvider)
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// Move the resource corresponding to "id" to this resource.
	//
	// Note that the resource being moved from must be marked as moved using it's instance function.
	// Experimental.
	MoveFromId(id *string)
	// Moves this resource to the target resource given by moveTarget.
	// Experimental.
	MoveTo(moveTarget *string, index interface{})
	// Moves this resource to the resource corresponding to "id".
	// Experimental.
	MoveToId(id *string)
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	PutJavascriptLoaderScript(value *KeyJavascriptLoaderScript)
	ResetJavascriptLoaderScript()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetRateLimitCount()
	ResetRateLimitWindow()
	SynthesizeAttributes() *map[string]interface{}
	SynthesizeHclAttributes() *map[string]interface{}
	// Experimental.
	ToHclTerraform() 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/jianyuan/sentry/0.14.5/docs/resources/key sentry_key}.

func NewKey

func NewKey(scope constructs.Construct, id *string, config *KeyConfig) Key

Create a new {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key sentry_key} Resource.

type KeyConfig

type KeyConfig 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"`
	// The name of the client key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#name Key#name}
	Name *string `field:"required" json:"name" yaml:"name"`
	// The organization of this resource.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#organization Key#organization}
	Organization *string `field:"required" json:"organization" yaml:"organization"`
	// The project of this resource.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#project Key#project}
	Project *string `field:"required" json:"project" yaml:"project"`
	// The JavaScript loader script configuration.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#javascript_loader_script Key#javascript_loader_script}
	JavascriptLoaderScript *KeyJavascriptLoaderScript `field:"optional" json:"javascriptLoaderScript" yaml:"javascriptLoaderScript"`
	// Number of events that can be reported within the rate limit window.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#rate_limit_count Key#rate_limit_count}
	RateLimitCount *float64 `field:"optional" json:"rateLimitCount" yaml:"rateLimitCount"`
	// Length of time in seconds that will be considered when checking the rate limit.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#rate_limit_window Key#rate_limit_window}
	RateLimitWindow *float64 `field:"optional" json:"rateLimitWindow" yaml:"rateLimitWindow"`
}

type KeyJavascriptLoaderScript

type KeyJavascriptLoaderScript struct {
	// The version of the browser SDK to load.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#browser_sdk_version Key#browser_sdk_version}
	BrowserSdkVersion *string `field:"optional" json:"browserSdkVersion" yaml:"browserSdkVersion"`
	// Whether debug bundles & logging are enabled for this key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#debug_enabled Key#debug_enabled}
	DebugEnabled interface{} `field:"optional" json:"debugEnabled" yaml:"debugEnabled"`
	// Whether performance monitoring is enabled for this key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#performance_monitoring_enabled Key#performance_monitoring_enabled}
	PerformanceMonitoringEnabled interface{} `field:"optional" json:"performanceMonitoringEnabled" yaml:"performanceMonitoringEnabled"`
	// Whether session replay is enabled for this key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/jianyuan/sentry/0.14.5/docs/resources/key#session_replay_enabled Key#session_replay_enabled}
	SessionReplayEnabled interface{} `field:"optional" json:"sessionReplayEnabled" yaml:"sessionReplayEnabled"`
}

type KeyJavascriptLoaderScriptOutputReference

type KeyJavascriptLoaderScriptOutputReference interface {
	cdktf.ComplexObject
	BrowserSdkVersion() *string
	SetBrowserSdkVersion(val *string)
	BrowserSdkVersionInput() *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
	DebugEnabled() interface{}
	SetDebugEnabled(val interface{})
	DebugEnabledInput() interface{}
	// Experimental.
	Fqn() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	PerformanceMonitoringEnabled() interface{}
	SetPerformanceMonitoringEnabled(val interface{})
	PerformanceMonitoringEnabledInput() interface{}
	SessionReplayEnabled() interface{}
	SetSessionReplayEnabled(val interface{})
	SessionReplayEnabledInput() interface{}
	// 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
	ResetBrowserSdkVersion()
	ResetDebugEnabled()
	ResetPerformanceMonitoringEnabled()
	ResetSessionReplayEnabled()
	// 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 NewKeyJavascriptLoaderScriptOutputReference

func NewKeyJavascriptLoaderScriptOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) KeyJavascriptLoaderScriptOutputReference

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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