Documentation ¶
Index ¶
- func Contact_IsConstruct(x interface{}) *bool
- func Contact_IsTerraformElement(x interface{}) *bool
- func Contact_IsTerraformResource(x interface{}) *bool
- func Contact_TfResourceType() *string
- func NewContact_Override(c Contact, scope constructs.Construct, id *string, config *ContactConfig)
- type Contact
- type ContactConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contact_IsConstruct ¶
func Contact_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 Contact_IsTerraformElement ¶
func Contact_IsTerraformElement(x interface{}) *bool
Experimental.
func Contact_IsTerraformResource ¶
func Contact_IsTerraformResource(x interface{}) *bool
Experimental.
func Contact_TfResourceType ¶
func Contact_TfResourceType() *string
func NewContact_Override ¶
func NewContact_Override(c Contact, scope constructs.Construct, id *string, config *ContactConfig)
Create a new {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact dnsimple_contact} Resource.
Types ¶
type Contact ¶
type Contact interface { cdktf.TerraformResource AccountId() *float64 Address1() *string SetAddress1(val *string) Address1Input() *string Address2() *string SetAddress2(val *string) Address2Input() *string // Experimental. CdktfStack() cdktf.TerraformStack City() *string SetCity(val *string) CityInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) Country() *string SetCountry(val *string) CountryInput() *string CreatedAt() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Email() *string SetEmail(val *string) EmailInput() *string Fax() *string SetFax(val *string) FaxInput() *string FaxNormalized() *string FirstName() *string SetFirstName(val *string) FirstNameInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *float64 JobTitle() *string SetJobTitle(val *string) JobTitleInput() *string Label() *string SetLabel(val *string) LabelInput() *string LastName() *string SetLastName(val *string) LastNameInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node OrganizationName() *string SetOrganizationName(val *string) OrganizationNameInput() *string Phone() *string SetPhone(val *string) PhoneInput() *string PhoneNormalized() *string PostalCode() *string SetPostalCode(val *string) PostalCodeInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} StateProvince() *string SetStateProvince(val *string) StateProvinceInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string UpdatedAt() *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) ResetAddress2() ResetFax() ResetJobTitle() ResetLabel() ResetOrganizationName() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() 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/dnsimple/dnsimple/1.1.2/docs/resources/contact dnsimple_contact}.
func NewContact ¶
func NewContact(scope constructs.Construct, id *string, config *ContactConfig) Contact
Create a new {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact dnsimple_contact} Resource.
type ContactConfig ¶
type ContactConfig 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"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#address1 Contact#address1}. Address1 *string `field:"required" json:"address1" yaml:"address1"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#city Contact#city}. City *string `field:"required" json:"city" yaml:"city"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#country Contact#country}. Country *string `field:"required" json:"country" yaml:"country"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#email Contact#email}. Email *string `field:"required" json:"email" yaml:"email"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#first_name Contact#first_name}. FirstName *string `field:"required" json:"firstName" yaml:"firstName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#last_name Contact#last_name}. LastName *string `field:"required" json:"lastName" yaml:"lastName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#phone Contact#phone}. Phone *string `field:"required" json:"phone" yaml:"phone"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#postal_code Contact#postal_code}. PostalCode *string `field:"required" json:"postalCode" yaml:"postalCode"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#state_province Contact#state_province}. StateProvince *string `field:"required" json:"stateProvince" yaml:"stateProvince"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#address2 Contact#address2}. Address2 *string `field:"optional" json:"address2" yaml:"address2"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#fax Contact#fax}. Fax *string `field:"optional" json:"fax" yaml:"fax"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#job_title Contact#job_title}. JobTitle *string `field:"optional" json:"jobTitle" yaml:"jobTitle"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#label Contact#label}. Label *string `field:"optional" json:"label" yaml:"label"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.1.2/docs/resources/contact#organization_name Contact#organization_name}. OrganizationName *string `field:"optional" json:"organizationName" yaml:"organizationName"` }