published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Create RepositoryDependabotSecurityUpdates Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RepositoryDependabotSecurityUpdates(name: string, args: RepositoryDependabotSecurityUpdatesArgs, opts?: CustomResourceOptions);@overload
def RepositoryDependabotSecurityUpdates(resource_name: str,
args: RepositoryDependabotSecurityUpdatesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RepositoryDependabotSecurityUpdates(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
repository: Optional[str] = None)func NewRepositoryDependabotSecurityUpdates(ctx *Context, name string, args RepositoryDependabotSecurityUpdatesArgs, opts ...ResourceOption) (*RepositoryDependabotSecurityUpdates, error)public RepositoryDependabotSecurityUpdates(string name, RepositoryDependabotSecurityUpdatesArgs args, CustomResourceOptions? opts = null)
public RepositoryDependabotSecurityUpdates(String name, RepositoryDependabotSecurityUpdatesArgs args)
public RepositoryDependabotSecurityUpdates(String name, RepositoryDependabotSecurityUpdatesArgs args, CustomResourceOptions options)
type: github:RepositoryDependabotSecurityUpdates
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RepositoryDependabotSecurityUpdatesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RepositoryDependabotSecurityUpdatesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RepositoryDependabotSecurityUpdatesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RepositoryDependabotSecurityUpdatesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryDependabotSecurityUpdatesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var repositoryDependabotSecurityUpdatesResource = new Github.RepositoryDependabotSecurityUpdates("repositoryDependabotSecurityUpdatesResource", new()
{
Enabled = false,
Repository = "string",
});
example, err := github.NewRepositoryDependabotSecurityUpdates(ctx, "repositoryDependabotSecurityUpdatesResource", &github.RepositoryDependabotSecurityUpdatesArgs{
Enabled: pulumi.Bool(false),
Repository: pulumi.String("string"),
})
var repositoryDependabotSecurityUpdatesResource = new RepositoryDependabotSecurityUpdates("repositoryDependabotSecurityUpdatesResource", RepositoryDependabotSecurityUpdatesArgs.builder()
.enabled(false)
.repository("string")
.build());
repository_dependabot_security_updates_resource = github.RepositoryDependabotSecurityUpdates("repositoryDependabotSecurityUpdatesResource",
enabled=False,
repository="string")
const repositoryDependabotSecurityUpdatesResource = new github.RepositoryDependabotSecurityUpdates("repositoryDependabotSecurityUpdatesResource", {
enabled: false,
repository: "string",
});
type: github:RepositoryDependabotSecurityUpdates
properties:
enabled: false
repository: string
RepositoryDependabotSecurityUpdates Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RepositoryDependabotSecurityUpdates resource accepts the following input properties:
- Enabled bool
- The state of the automated security fixes.
- Repository string
- The GitHub repository.
- Enabled bool
- The state of the automated security fixes.
- Repository string
- The GitHub repository.
- enabled Boolean
- The state of the automated security fixes.
- repository String
- The GitHub repository.
- enabled boolean
- The state of the automated security fixes.
- repository string
- The GitHub repository.
- enabled bool
- The state of the automated security fixes.
- repository str
- The GitHub repository.
- enabled Boolean
- The state of the automated security fixes.
- repository String
- The GitHub repository.
Outputs
All input properties are implicitly available as output properties. Additionally, the RepositoryDependabotSecurityUpdates resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RepositoryDependabotSecurityUpdates Resource
Get an existing RepositoryDependabotSecurityUpdates resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RepositoryDependabotSecurityUpdatesState, opts?: CustomResourceOptions): RepositoryDependabotSecurityUpdates@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
repository: Optional[str] = None) -> RepositoryDependabotSecurityUpdatesfunc GetRepositoryDependabotSecurityUpdates(ctx *Context, name string, id IDInput, state *RepositoryDependabotSecurityUpdatesState, opts ...ResourceOption) (*RepositoryDependabotSecurityUpdates, error)public static RepositoryDependabotSecurityUpdates Get(string name, Input<string> id, RepositoryDependabotSecurityUpdatesState? state, CustomResourceOptions? opts = null)public static RepositoryDependabotSecurityUpdates get(String name, Output<String> id, RepositoryDependabotSecurityUpdatesState state, CustomResourceOptions options)resources: _: type: github:RepositoryDependabotSecurityUpdates get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Enabled bool
- The state of the automated security fixes.
- Repository string
- The GitHub repository.
- Enabled bool
- The state of the automated security fixes.
- Repository string
- The GitHub repository.
- enabled Boolean
- The state of the automated security fixes.
- repository String
- The GitHub repository.
- enabled boolean
- The state of the automated security fixes.
- repository string
- The GitHub repository.
- enabled bool
- The state of the automated security fixes.
- repository str
- The GitHub repository.
- enabled Boolean
- The state of the automated security fixes.
- repository String
- The GitHub repository.
Package Details
- Repository
- GitHub pulumi/pulumi-github
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
githubTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
