Documentation ¶
Index ¶
- func NewShare_Override(s Share, scope constructs.Construct, id *string, config *ShareConfig)
- func Share_IsConstruct(x interface{}) *bool
- func Share_IsTerraformElement(x interface{}) *bool
- func Share_IsTerraformResource(x interface{}) *bool
- func Share_TfResourceType() *string
- type Share
- type ShareConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShare_Override ¶
func NewShare_Override(s Share, scope constructs.Construct, id *string, config *ShareConfig)
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/share snowflake_share} Resource.
func Share_IsConstruct ¶
func Share_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 Share_TfResourceType ¶
func Share_TfResourceType() *string
Types ¶
type Share ¶
type Share interface { cdktf.TerraformResource // Experimental. Connection() interface{} SetConnection(val interface{}) ConstructNodeMetadata() *map[string]interface{} Count() interface{} SetCount(val interface{}) DependsOn() *[]*string SetDependsOn(val *[]*string) ForEach() cdktf.ITerraformIterator SetForEach(val cdktf.ITerraformIterator) Fqn() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. Node() constructs.Node Provider() cdktf.TerraformProvider SetProvider(val cdktf.TerraformProvider) Provisioners() *[]interface{} SetProvisioners(val *[]interface{}) RawOverrides() interface{} TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformMetaArguments() *map[string]interface{} TerraformResourceType() *string AddOverride(path *string, value interface{}) GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ToMetadata() interface{} ToString() *string // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/share snowflake_share}.
func NewShare ¶
func NewShare(scope constructs.Construct, id *string, config *ShareConfig) Share
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/share snowflake_share} Resource.
type ShareConfig ¶
type ShareConfig struct { cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/share#name Share#name} Name *string `field:"required" json:"name" yaml:"name"` // // Values should not be the account locator, but in the form of 'organization_name.account_name // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/share#accounts Share#accounts} Accounts *[]*string `field:"optional" json:"accounts" yaml:"accounts"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.66.1/docs/resources/share#comment Share#comment} Comment *string `field:"optional" json:"comment" yaml:"comment"` // // 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"` }Connection interface{} `field:"optional" json:"connection" yaml:"connection"` Count interface{} `field:"optional" json:"count" yaml:"count"` DependsOn *[]