CfnGitHubRepositoryPropsMixin Mixin
The AWS::CodeStar::GitHubRepository resource creates a GitHub repository where users can store source code for use with AWS workflows.
You must provide a location for the source code ZIP file in the CloudFormation template, so the code can be uploaded to the created repository. You must have created a personal access token in GitHub to provide in the CloudFormation template. AWS uses this token to connect to GitHub on your behalf.
Initializer
ts
new CfnGitHubRepositoryPropsMixin(props: CfnGitHubRepositoryMixinProps, options?: CfnPropertyMixinOptions)
python
CfnGitHubRepositoryPropsMixin(props: CfnGitHubRepositoryMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnGitHubRepositoryPropsMixin(CfnGitHubRepositoryMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnGitHubRepositoryPropsMixin(CfnGitHubRepositoryMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnGitHubRepositoryPropsMixin(Props CfnGitHubRepositoryMixinProps, 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{}) *boolstatic#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.