Documentation ¶
Index ¶
- func CognitoUser_IsConstruct(x interface{}) *bool
- func CognitoUser_IsTerraformElement(x interface{}) *bool
- func CognitoUser_IsTerraformResource(x interface{}) *bool
- func CognitoUser_TfResourceType() *string
- func NewCognitoUser_Override(c CognitoUser, scope constructs.Construct, id *string, ...)
- type CognitoUser
- type CognitoUserConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CognitoUser_IsConstruct ¶
func CognitoUser_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 CognitoUser_IsTerraformElement ¶
func CognitoUser_IsTerraformElement(x interface{}) *bool
Experimental.
func CognitoUser_IsTerraformResource ¶
func CognitoUser_IsTerraformResource(x interface{}) *bool
Experimental.
func CognitoUser_TfResourceType ¶
func CognitoUser_TfResourceType() *string
func NewCognitoUser_Override ¶
func NewCognitoUser_Override(c CognitoUser, scope constructs.Construct, id *string, config *CognitoUserConfig)
Create a new {@link https://www.terraform.io/docs/providers/aws/r/cognito_user aws_cognito_user} Resource.
Types ¶
type CognitoUser ¶
type CognitoUser interface { cdktf.TerraformResource Attributes() *map[string]*string SetAttributes(val *map[string]*string) AttributesInput() *map[string]*string // Experimental. CdktfStack() cdktf.TerraformStack ClientMetadata() *map[string]*string SetClientMetadata(val *map[string]*string) ClientMetadataInput() *map[string]*string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreationDate() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DesiredDeliveryMediums() *[]*string SetDesiredDeliveryMediums(val *[]*string) DesiredDeliveryMediumsInput() *[]*string Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} ForceAliasCreation() interface{} SetForceAliasCreation(val interface{}) ForceAliasCreationInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string LastModifiedDate() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MessageAction() *string SetMessageAction(val *string) MessageActionInput() *string MfaSettingList() *[]*string // The tree node. Node() constructs.Node Password() *string SetPassword(val *string) PasswordInput() *string PreferredMfaSetting() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Status() *string Sub() *string TemporaryPassword() *string SetTemporaryPassword(val *string) TemporaryPasswordInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Username() *string SetUsername(val *string) UsernameInput() *string UserPoolId() *string SetUserPoolId(val *string) UserPoolIdInput() *string ValidationData() *map[string]*string SetValidationData(val *map[string]*string) ValidationDataInput() *map[string]*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) ResetAttributes() ResetClientMetadata() ResetDesiredDeliveryMediums() ResetEnabled() ResetForceAliasCreation() ResetId() ResetMessageAction() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPassword() ResetTemporaryPassword() ResetValidationData() 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://www.terraform.io/docs/providers/aws/r/cognito_user aws_cognito_user}.
func NewCognitoUser ¶
func NewCognitoUser(scope constructs.Construct, id *string, config *CognitoUserConfig) CognitoUser
Create a new {@link https://www.terraform.io/docs/providers/aws/r/cognito_user aws_cognito_user} Resource.
type CognitoUserConfig ¶
type CognitoUserConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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://www.terraform.io/docs/providers/aws/r/cognito_user#username CognitoUser#username}. Username *string `field:"required" json:"username" yaml:"username"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#user_pool_id CognitoUser#user_pool_id}. UserPoolId *string `field:"required" json:"userPoolId" yaml:"userPoolId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#attributes CognitoUser#attributes}. Attributes *map[string]*string `field:"optional" json:"attributes" yaml:"attributes"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#client_metadata CognitoUser#client_metadata}. ClientMetadata *map[string]*string `field:"optional" json:"clientMetadata" yaml:"clientMetadata"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#desired_delivery_mediums CognitoUser#desired_delivery_mediums}. DesiredDeliveryMediums *[]*string `field:"optional" json:"desiredDeliveryMediums" yaml:"desiredDeliveryMediums"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#enabled CognitoUser#enabled}. Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#force_alias_creation CognitoUser#force_alias_creation}. ForceAliasCreation interface{} `field:"optional" json:"forceAliasCreation" yaml:"forceAliasCreation"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#id CognitoUser#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"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#message_action CognitoUser#message_action}. MessageAction *string `field:"optional" json:"messageAction" yaml:"messageAction"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#password CognitoUser#password}. Password *string `field:"optional" json:"password" yaml:"password"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#temporary_password CognitoUser#temporary_password}. TemporaryPassword *string `field:"optional" json:"temporaryPassword" yaml:"temporaryPassword"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/cognito_user#validation_data CognitoUser#validation_data}. ValidationData *map[string]*string `field:"optional" json:"validationData" yaml:"validationData"` }