Skip to content
v2.278.0

CfnSourceCredentialPropsMixin Mixin ​

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

We strongly recommend that you use AWS Secrets Manager to store your credentials. If you use Secrets Manager , you must have secrets in your secrets manager. For more information, see Using Dynamic References to Specify Template Values .

For security purposes, do not use plain text in your CloudFormation template to store your credentials.

Initializer ​

ts
new CfnSourceCredentialPropsMixin(props: CfnSourceCredentialMixinProps, options?: CfnPropertyMixinOptions)
python
CfnSourceCredentialPropsMixin(props: CfnSourceCredentialMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnSourceCredentialPropsMixin(CfnSourceCredentialMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnSourceCredentialPropsMixin(CfnSourceCredentialMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnSourceCredentialPropsMixin(Props CfnSourceCredentialMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

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

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #
Check if this mixin supports the given construct.