1. Packages
  2. Sentry
  3. API Docs
  4. SentryProject
Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse

sentry.SentryProject

Explore with Pulumi AI

sentry logo
Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse

    # sentry.SentryProject Resource

    Sentry Project resource.

    Example Usage

    using Pulumi;
    using Sentry = Pulumiverse.Sentry;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            // Create a project
            var @default = new Sentry.SentryProject("default", new Sentry.SentryProjectArgs
            {
                Organization = "my-organization",
                Platform = "javascript",
                ResolveAge = 720,
                Slug = "web-app",
                Team = "my-team",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-sentry/sdk/go/sentry"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sentry.NewSentryProject(ctx, "default", &sentry.SentryProjectArgs{
    			Organization: pulumi.String("my-organization"),
    			Platform:     pulumi.String("javascript"),
    			ResolveAge:   pulumi.Int(720),
    			Slug:         pulumi.String("web-app"),
    			Team:         pulumi.String("my-team"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import java.util.*;
    import java.io.*;
    import java.nio.*;
    import com.pulumi.*;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new SentryProject("default", SentryProjectArgs.builder()        
                .organization("my-organization")
                .platform("javascript")
                .resolveAge(720)
                .slug("web-app")
                .team("my-team")
                .build());
    
        }
    }
    
    import pulumi
    import pulumiverse_sentry as sentry
    
    # Create a project
    default = sentry.SentryProject("default",
        organization="my-organization",
        platform="javascript",
        resolve_age=720,
        slug="web-app",
        team="my-team")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as sentry from "@pulumi/sentry";
    
    // Create a project
    const defaultSentryProject = new sentry.SentryProject("default", {
        organization: "my-organization",
        platform: "javascript",
        resolveAge: 720,
        slug: "web-app",
        team: "my-team",
    });
    
    resources:
      default:
        type: sentry:SentryProject
        properties:
          organization: my-organization
          platform: javascript
          resolveAge: 720
          slug: web-app
          team: my-team
    

    Create SentryProject Resource

    new SentryProject(name: string, args: SentryProjectArgs, opts?: CustomResourceOptions);
    @overload
    def SentryProject(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      digests_max_delay: Optional[int] = None,
                      digests_min_delay: Optional[int] = None,
                      name: Optional[str] = None,
                      organization: Optional[str] = None,
                      platform: Optional[str] = None,
                      resolve_age: Optional[int] = None,
                      slug: Optional[str] = None,
                      team: Optional[str] = None)
    @overload
    def SentryProject(resource_name: str,
                      args: SentryProjectArgs,
                      opts: Optional[ResourceOptions] = None)
    func NewSentryProject(ctx *Context, name string, args SentryProjectArgs, opts ...ResourceOption) (*SentryProject, error)
    public SentryProject(string name, SentryProjectArgs args, CustomResourceOptions? opts = null)
    public SentryProject(String name, SentryProjectArgs args)
    public SentryProject(String name, SentryProjectArgs args, CustomResourceOptions options)
    
    type: sentry:SentryProject
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SentryProjectArgs
    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 SentryProjectArgs
    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 SentryProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SentryProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SentryProjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SentryProject Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SentryProject resource accepts the following input properties:

    Organization string

    The slug of the organization the project should be created for.

    Team string

    The slug of the team the project should be created for.

    DigestsMaxDelay int

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    DigestsMinDelay int

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    Name string

    The human readable name for the project.

    Platform string

    The integration platform.

    ResolveAge int

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    Slug string

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    Organization string

    The slug of the organization the project should be created for.

    Team string

    The slug of the team the project should be created for.

    DigestsMaxDelay int

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    DigestsMinDelay int

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    Name string

    The human readable name for the project.

    Platform string

    The integration platform.

    ResolveAge int

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    Slug string

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    organization String

    The slug of the organization the project should be created for.

    team String

    The slug of the team the project should be created for.

    digestsMaxDelay Integer

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digestsMinDelay Integer

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    name String

    The human readable name for the project.

    platform String

    The integration platform.

    resolveAge Integer

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug String

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    organization string

    The slug of the organization the project should be created for.

    team string

    The slug of the team the project should be created for.

    digestsMaxDelay number

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digestsMinDelay number

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    name string

    The human readable name for the project.

    platform string

    The integration platform.

    resolveAge number

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug string

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    organization str

    The slug of the organization the project should be created for.

    team str

    The slug of the team the project should be created for.

    digests_max_delay int

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digests_min_delay int

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    name str

    The human readable name for the project.

    platform str

    The integration platform.

    resolve_age int

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug str

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    organization String

    The slug of the organization the project should be created for.

    team String

    The slug of the team the project should be created for.

    digestsMaxDelay Number

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digestsMinDelay Number

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    name String

    The human readable name for the project.

    platform String

    The integration platform.

    resolveAge Number

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug String

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SentryProject resource produces the following output properties:

    Color string
    Features List<string>
    Id string

    The provider-assigned unique ID for this managed resource.

    IsBookmarked bool

    Deprecated:

    is_bookmarked is no longer used

    IsPublic bool
    ProjectId string
    Status string
    Color string
    Features []string
    Id string

    The provider-assigned unique ID for this managed resource.

    IsBookmarked bool

    Deprecated:

    is_bookmarked is no longer used

    IsPublic bool
    ProjectId string
    Status string
    color String
    features List<String>
    id String

    The provider-assigned unique ID for this managed resource.

    isBookmarked Boolean

    Deprecated:

    is_bookmarked is no longer used

    isPublic Boolean
    projectId String
    status String
    color string
    features string[]
    id string

    The provider-assigned unique ID for this managed resource.

    isBookmarked boolean

    Deprecated:

    is_bookmarked is no longer used

    isPublic boolean
    projectId string
    status string
    color str
    features Sequence[str]
    id str

    The provider-assigned unique ID for this managed resource.

    is_bookmarked bool

    Deprecated:

    is_bookmarked is no longer used

    is_public bool
    project_id str
    status str
    color String
    features List<String>
    id String

    The provider-assigned unique ID for this managed resource.

    isBookmarked Boolean

    Deprecated:

    is_bookmarked is no longer used

    isPublic Boolean
    projectId String
    status String

    Look up Existing SentryProject Resource

    Get an existing SentryProject 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?: SentryProjectState, opts?: CustomResourceOptions): SentryProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            color: Optional[str] = None,
            digests_max_delay: Optional[int] = None,
            digests_min_delay: Optional[int] = None,
            features: Optional[Sequence[str]] = None,
            is_bookmarked: Optional[bool] = None,
            is_public: Optional[bool] = None,
            name: Optional[str] = None,
            organization: Optional[str] = None,
            platform: Optional[str] = None,
            project_id: Optional[str] = None,
            resolve_age: Optional[int] = None,
            slug: Optional[str] = None,
            status: Optional[str] = None,
            team: Optional[str] = None) -> SentryProject
    func GetSentryProject(ctx *Context, name string, id IDInput, state *SentryProjectState, opts ...ResourceOption) (*SentryProject, error)
    public static SentryProject Get(string name, Input<string> id, SentryProjectState? state, CustomResourceOptions? opts = null)
    public static SentryProject get(String name, Output<String> id, SentryProjectState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Color string
    DigestsMaxDelay int

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    DigestsMinDelay int

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    Features List<string>
    IsBookmarked bool

    Deprecated:

    is_bookmarked is no longer used

    IsPublic bool
    Name string

    The human readable name for the project.

    Organization string

    The slug of the organization the project should be created for.

    Platform string

    The integration platform.

    ProjectId string
    ResolveAge int

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    Slug string

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    Status string
    Team string

    The slug of the team the project should be created for.

    Color string
    DigestsMaxDelay int

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    DigestsMinDelay int

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    Features []string
    IsBookmarked bool

    Deprecated:

    is_bookmarked is no longer used

    IsPublic bool
    Name string

    The human readable name for the project.

    Organization string

    The slug of the organization the project should be created for.

    Platform string

    The integration platform.

    ProjectId string
    ResolveAge int

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    Slug string

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    Status string
    Team string

    The slug of the team the project should be created for.

    color String
    digestsMaxDelay Integer

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digestsMinDelay Integer

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    features List<String>
    isBookmarked Boolean

    Deprecated:

    is_bookmarked is no longer used

    isPublic Boolean
    name String

    The human readable name for the project.

    organization String

    The slug of the organization the project should be created for.

    platform String

    The integration platform.

    projectId String
    resolveAge Integer

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug String

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    status String
    team String

    The slug of the team the project should be created for.

    color string
    digestsMaxDelay number

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digestsMinDelay number

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    features string[]
    isBookmarked boolean

    Deprecated:

    is_bookmarked is no longer used

    isPublic boolean
    name string

    The human readable name for the project.

    organization string

    The slug of the organization the project should be created for.

    platform string

    The integration platform.

    projectId string
    resolveAge number

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug string

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    status string
    team string

    The slug of the team the project should be created for.

    color str
    digests_max_delay int

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digests_min_delay int

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    features Sequence[str]
    is_bookmarked bool

    Deprecated:

    is_bookmarked is no longer used

    is_public bool
    name str

    The human readable name for the project.

    organization str

    The slug of the organization the project should be created for.

    platform str

    The integration platform.

    project_id str
    resolve_age int

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug str

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    status str
    team str

    The slug of the team the project should be created for.

    color String
    digestsMaxDelay Number

    The maximum amount of time (in seconds) to wait between scheduling digests for delivery.

    digestsMinDelay Number

    The minimum amount of time (in seconds) to wait between scheduling digests for delivery after the initial scheduling.

    features List<String>
    isBookmarked Boolean

    Deprecated:

    is_bookmarked is no longer used

    isPublic Boolean
    name String

    The human readable name for the project.

    organization String

    The slug of the organization the project should be created for.

    platform String

    The integration platform.

    projectId String
    resolveAge Number

    Hours in which an issue is automatically resolve if not seen after this amount of time.

    slug String

    The unique URL slug for this project. If this is not provided a slug is automatically generated based on the name.

    status String
    team String

    The slug of the team the project should be created for.

    Import

    This resource can be imported using an ID made up of the organization slug and project slugbash

     $ pulumi import sentry:index/sentryProject:SentryProject default org-slug/project-slug
    

    Package Details

    Repository
    sentry pulumiverse/pulumi-sentry
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the sentry Terraform Provider.

    sentry logo
    Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse